]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix FPE in memusagestat when malloc utilization is zero
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7da6d9ed
SP
12013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 [BZ #15160]
4 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6
b7688c42
PE
72013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8
9 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10 Define __attribute__.
11
53a5c423
SP
122013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13
14 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15 unused.
16 * posix/regex_internal.h (__attribute): Remove.
17 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18 (re_string_context_at): Likewise.
19 (bitset_not): Use __attribute__ and mark function as possibly
20 unused.
21 (bitset_merge): Likewise.
22 (bitset_mask): Likewise.
23 (re_string_char_size_at): Likewise.
24 (re_string_wchar_at): Likewise.
25 (re_string_elem_size_at): Likewise.
26
60f5a8b5
SP
272013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28
2a983a2e
SP
29 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30 code.
31 (cc32): Likewise.
32
e69804d1
SP
33 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34 (__acr): Likewise.
35 (__cpy): Likewise.
36 (norm): Likewise.
37 (denorm): Likewise.
38 (__dbl_mp): Likewise.
39 (add_magnitudes): Likewise.
40 (sub_magnitudes): Likewise.
41 (__mul): Likewise.
42 (__inv): Likewise.
43
2f22a1e8
SP
44 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
45 style.
46
8930ddc7
SP
47 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
48 style.
49
dc60cb11
SP
50 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51 code.
52
60f5a8b5
SP
53 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54 up changes with default code.
55 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
56 Likewise.
57
b4d1fd33
AM
582013-02-24 Allan McRae <allan@archlinux.org>
59
faf6f8bc
AM
60 * manual/socket.texi (The Internet Namespace): Order menu items
61 to match that in the file.
62
b4d1fd33
AM
63 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
64 node listing of the info page menu.
65
2366713d
JM
662013-02-21 Joseph Myers <joseph@codesourcery.com>
67
68 [BZ #13550]
69 * sysdeps/i386/bp-asm.h: Remove file.
70 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
71 (PARMS): Do not use macros from bp-asm.h.
72 (S1): Likewise.
73 (S2): Likewise.
74 (SIZE): Likewise.
75 (__mpn_add_n): Do not use BP_SYM
76 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
77 "bp-asm.h".
78 (PARMS): Do not use macros from bp-asm.h.
79 (S1): Likewise.
80 (SIZE): Likewise.
81 (__mpn_addmul_1): Do not use BP_SYM
82 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
83 "bp-asm.h".
84 (PARMS): Do not use macros from bp-asm.h.
85 (SIGMSK): Likewise.
86 (_setjmp): Likewise. Do not use BP_SYM.
87 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
88 "bp-asm.h".
89 (PARMS): Do not use macros from bp-asm.h.
90 (SIGMSK): Likewise.
91 (setjmp): Likewise. Do not use BP_SYM.
92 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
93 "bp-asm.h".
94 (PARMS): Do not use macros from bp-asm.h.
95 (__frexp): Do not use BP_SYM.
96 (frexp): Likewise.
97 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
98 "bp-asm.h".
99 (PARMS): Do not use macros from bp-asm.h.
100 (__frexpf): Do not use BP_SYM.
101 (frexpf): Likewise.
102 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
103 "bp-asm.h".
104 (PARMS): Do not use macros from bp-asm.h.
105 (__frexpl): Do not use BP_SYM.
106 (frexpl): Likewise.
107 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
108 "bp-asm.h".
109 (PARMS): Do not use macros from bp-asm.h.
110 (__remquo): Do not use BP_SYM.
111 (remquo): Likewise.
112 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
113 "bp-asm.h".
114 (PARMS): Do not use macros from bp-asm.h.
115 (__remquof): Do not use BP_SYM.
116 (remquof): Likewise.
117 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
118 "bp-asm.h".
119 (PARMS): Do not use macros from bp-asm.h.
120 (__remquol): Do not use BP_SYM.
121 (remquol): Likewise.
122 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
123 "bp-asm.h".
124 (PARMS): Do not use macros from bp-asm.h.
125 (DEST): Likewise.
126 (SRC): Likewise.
127 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
128 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
129 "bp-asm.h".
130 (PARMS): Do not use macros from bp-asm.h.
131 (strlen): Do not use BP_SYM.
132 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
133 "bp-asm.h".
134 (PARMS): Do not use macros from bp-asm.h.
135 (S1): Likewise.
136 (S2): Likewise.
137 (SIZE): Likewise.
138 (__mpn_add_n): Do not use BP_SYM.
139 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
140 "bp-asm.h".
141 (PARMS): Do not use macros from bp-asm.h.
142 (S1): Likewise.
143 (SIZE): Likewise.
144 (__mpn_addmul_1): Do not use BP_SYM.
145 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
146 weak_alias.
147 (bzero): Likewise.
148 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
149 "bp-asm.h".
150 (PARMS): Do not use macros from bp-asm.h.
151 (S): Likewise.
152 (SIZE): Likewise.
153 (__mpn_lshift): Do not use BP_SYM.
154 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
155 "bp-asm.h".
156 (PARMS): Do not use macros from bp-asm.h.
157 (DEST): Likewise.
158 (SRC): Likewise.
159 (LEN): Likewise.
160 (memcpy): Likewise. Do not use BP_SYM.
161 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
162 libc_hidden_def and weak_alias.
163 (mempcpy): Do not use BP_SYM in weak_alias.
164 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
165 "bp-asm.h".
166 (PARMS): Do not use macros from bp-asm.h.
167 (DEST): Likewise.
168 (LEN): Likewise.
169 [!BZERO_P] (CHR): Likewise.
170 (memset): Likewise. Do not use BP_SYM.
171 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
172 "bp-asm.h".
173 (PARMS): Do not use macros from bp-asm.h.
174 (S1): Likewise.
175 (SIZE): Likewise.
176 (__mpn_mul_1): Do not use BP_SYM.
177 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
178 "bp-asm.h".
179 (PARMS): Do not use macros from bp-asm.h.
180 (S): Likewise.
181 (SIZE): Likewise.
182 (__mpn_rshift): Do not use BP_SYM.
183 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
184 "bp-asm.h".
185 (PARMS): Do not use macros from bp-asm.h.
186 (STR): Likewise.
187 (CHR): Likewise.
188 (strchr): Likewise. Do not use BP_SYM.
189 (index): Do not use BP_SYM in weak_alias.
190 * sysdeps/i386/i586/strcpy.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 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
196 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
197 "bp-asm.h".
198 (PARMS): Do not use macros from bp-asm.h.
199 (strlen): Do not use BP_SYM.
200 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
201 "bp-asm.h".
202 (PARMS): Do not use macros from bp-asm.h.
203 (S1): Likewise.
204 (S2): Likewise.
205 (SIZE): Likewise.
206 (__mpn_sub_n): Do not use BP_SYM.
207 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
208 "bp-asm.h".
209 (PARMS): Do not use macros from bp-asm.h.
210 (S1): Likewise.
211 (SIZE): Likewise.
212 (__mpn_submul_1): Do not use BP_SYM.
213 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
214 "bp-asm.h".
215 (PARMS): Do not use macros from bp-asm.h.
216 (S1): Likewise.
217 (S2): Likewise.
218 (SIZE): Likewise.
219 (__mpn_add_n): Do not use BP_SYM.
220 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
221 weak_alias.
222 (bzero): Likewise.
223 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
224 "bp-asm.h".
225 (PARMS): Do not use macros from bp-asm.h.
226 (BLK2): Likewise.
227 (LEN): Likewise.
228 (memcmp): Do not use BP_SYM.
229 (bcmp): Do not use BP_SYM in weak_alias.
230 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
231 "bp-asm.h".
232 (PARMS): Do not use macros from bp-asm.h.
233 (DEST): Likewise.
234 (SRC): Likewise.
235 (LEN): Likewise.
236 (memcpy): Likewise. Do not use BP_SYM.
237 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
238 "bp-asm.h".
239 (PARMS): Do not use macros from bp-asm.h.
240 (DEST): Likewise.
241 (SRC): Likewise.
242 (LEN): Likewise.
243 (memmove): Likewise. Do not use BP_SYM.
244 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
245 "bp-asm.h".
246 (PARMS): Do not use macros from bp-asm.h.
247 (DEST): Likewise.
248 (SRC): Likewise.
249 (LEN): Likewise.
250 (__mempcpy): Likewise. Do not use BP_SYM.
251 (mempcpy): Do not use BP_SYM in weak_alias.
252 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
253 "bp-asm.h".
254 (PARMS): Do not use macros from bp-asm.h.
255 (DEST): Likewise.
256 (LEN): Likewise.
257 [!BZERO_P] (CHR): Likewise.
258 (memset): Likewise. Do not use BP_SYM.
259 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
260 "bp-asm.h".
261 (PARMS): Do not use macros from bp-asm.h.
262 (STR2): Likewise.
263 (strcmp): Do not use BP_SYM.
264 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
265 "bp-asm.h".
266 (PARMS): Do not use macros from bp-asm.h.
267 (STR): Likewise.
268 (DELIM): Likewise.
269 [USE_AS_STRTOK_R] (SAVE): Likewise.
270 (FUNCTION): Likewise. Do not use BP_SYM.
271 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
272 aliases.
273 (strtok_r): Likewise.
274 (__GI___strtok_r): Likewise.
275 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
276 (PARMS): Do not use macros from bp-asm.h.
277 (S): Likewise.
278 (SIZE): Likewise.
279 (__mpn_lshift): Do not use BP_SYM.
280 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
281 (PARMS): Do not use macros from bp-asm.h.
282 (STR): Likewise.
283 (CHR): Likewise.
284 (__memchr): Do not use BP_SYM.
285 (memchr): Do not use BP_SYM in weak_alias.
286 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
287 (PARMS): Do not use macros from bp-asm.h.
288 (BLK2): Likewise.
289 (LEN): Likewise.
290 (memcmp): Do not use BP_SYM.
291 (bcmp): Do not use BP_SYM in weak_alias.
292 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
293 (PARMS): Do not use macros from bp-asm.h.
294 (S1): Likewise.
295 (SIZE): Likewise.
296 (__mpn_mul_1): Do not use BP_SYM.
297 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
298 "bp-asm.h".
299 (PARMS): Do not use macros from bp-asm.h.
300 (STR): Likewise.
301 (CHR): Likewise.
302 (__rawmemchr): Do not use BP_SYM.
303 (rawmemchr): Do not use BP_SYM in weak_alias.
304 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
305 (PARMS): Do not use macros from bp-asm.h.
306 (S): Likewise.
307 (SIZE): Likewise.
308 (__mpn_rshift): Do not use BP_SYM.
309 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
310 (PARMS): Do not use macros from bp-asm.h.
311 (SIGMSK): Likewise.
312 (__sigsetjmp): Likewise. Do not use BP_SYM.
313 * sysdeps/i386/start.S: Do not include "bp-sym.h".
314 (_start): Do not use BP_SYM.
315 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
316 (PARMS): Do not use macros from bp-asm.h.
317 (DEST): Likewise.
318 (SRC): Likewise.
319 (__stpcpy): Likewise. Do not use BP_SYM.
320 (stpcpy): Do not use BP_SYM in weak_alias.
321 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
322 "bp-asm.h".
323 (PARMS): Do not use macros from bp-asm.h.
324 (DEST): Likewise.
325 (SRC): Likewise.
326 (LEN): Likewise.
327 (__stpncpy): Likewise. Do not use BP_SYM.
328 (stpncpy): Do not use BP_SYM in weak_alias.
329 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
330 (PARMS): Do not use macros from bp-asm.h.
331 (STR): Likewise.
332 (CHR): Likewise.
333 (strchr): Likewise. Do not use BP_SYM.
334 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
335 "bp-asm.h".
336 (PARMS): Do not use macros from bp-asm.h.
337 (STR): Likewise.
338 (CHR): Likewise.
339 (__strchrnul): Likewise. Do not use BP_SYM.
340 (strchrnul): Do not use BP_SYM in weak_alias.
341 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
342 "bp-asm.h".
343 (PARMS): Do not use macros from bp-asm.h.
344 (STOP): Likewise.
345 (strcspn): Do not use BP_SYM.
346 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
347 "bp-asm.h".
348 (PARMS): Do not use macros from bp-asm.h.
349 (STR): Likewise.
350 (STOP): Likewise.
351 (strpbrk): Likewise. Do not use BP_SYM.
352 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
353 "bp-asm.h".
354 (PARMS): Do not use macros from bp-asm.h.
355 (STR): Likewise.
356 (CHR): Likewise.
357 (strrchr): Likewise. Do not use BP_SYM.
358 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
359 (PARMS): Do not use macros from bp-asm.h.
360 (SKIP): Likewise.
361 (strspn): Do not use BP_SYM.
362 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
363 (PARMS): Do not use macros from bp-asm.h.
364 (STR): Likewise.
365 (DELIM): Likewise.
366 (SAVE): Likewise.
367 (FUNCTION): Likewise. Do not use BP_SYM.
368 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
369 aliases.
370 (strtok_r): Likewise.
371 (__GI___strtok_r): Likewise.
372 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
373 (PARMS): Do not use macros from bp-asm.h.
374 (S1): Likewise.
375 (S2): Likewise.
376 (SIZE): Likewise.
377 (__mpn_sub_n): Do not use BP_SYM.
378 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
379 "bp-asm.h".
380 (PARMS): Do not use macros from bp-asm.h.
381 (S1): Likewise.
382 (SIZE): Likewise.
383 (__mpn_submul_1): Do not use BP_SYM.
384 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
385 <bp-sym.h>.
386 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
387 and <bp-asm.h>.
388 (PARMS): Do not use macros from bp-asm.h.
389 (FLAGS): Likewise.
390 (PTID): Likewise.
391 (TLS): Likewise.
392 (CTID): Likewise.
393 (__clone): Do not use BP_SYM.
394 (clone): Do not use BP_SYM in weak_alias.
395 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
396 and <bp-asm.h>.
397 (PARMS): Do not use macros from bp-asm.h.
398 (LEN): Likewise.
399 (__mmap64): Do not use BP_SYM.
400 (mmap64): Do not use BP_SYM in weak_alias.
401 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
402 <bp-sym.h> and <bp-asm.h>.
403 (PARMS): Do not use macros from bp-asm.h.
404 (__posix_fadvise64_l64): Do not use BP_SYM.
405 * sysdeps/unix/sysv/linux/i386/semtimedop.S
406 (PARMS): Do not use macros from bp-asm.h.
407 (NSOPS): Likewise.
408 (semtimedop): Do not use BP_SYM.
409 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
410 and <bp-asm.h>.
411
582a3cff
AM
4122013-02-21 Allan McRae <allan@archlinux.org>
413
414 * manual/message.texi (Charset conversion in gettext):
415 Move @end statement to beginning of line.
416
bab8a695
SP
4172013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
418
80945231
SP
419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
420 static.
421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
422 Likewise.
423
bab8a695
SP
424 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
425 (denorm): Likewise.
426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
428
e21d7aa7
AK
4292013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
430
431 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
432 tail-call to the resolved function if pltexit isn't needed.
433
4c7a4263
SP
4342013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
435
436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
437 or Y being zero as being unlikely.
438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
439 Likewise.
440
41f49342
CD
4412013-02-20 Carlos O'Donell <carlos@redhat.com>
442
443 * manual/nss.texi (System Databases and Name Service Switch):
444 Remove frobnicate @pxref.
445
50022a93
TS
4462013-02-20 Thomas Schwinge <thomas@codesourcery.com>
447
448 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
449 __attribute__ ((unused)) to __attribute__ ((__unused__)).
450
08cbd996
PM
4512013-02-20 Petr Machata <pmachata@redhat.com>
452
453 * elf/elf.h (R_ARM_TARGET1): New macro.
454 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
455 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
456 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
457 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
458 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
459 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
460 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
461 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
462 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
463 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
464 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
465 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
466 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
467 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
468 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
469 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
470 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
471 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
472 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
473 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
474 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
475 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
476 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
477 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
478 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
479 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
480 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
481 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
482 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
483 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
484 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
485 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
486 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
487 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
488 (R_ARM_THM_GOT_BREL12): Likewise.
489 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
490 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
491 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
492 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
493 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
494 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
495 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
496 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
497 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
498
c7b275d6
TS
4992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
500
501 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
502 __attribute_used__ to __attribute__ ((unused)).
503
20cd7fb3
SP
5042013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
505
506 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
507 powerpc mpa.c.
508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
509 comment formatting.
510 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
511
92945b52
JM
5122013-02-19 Joseph Myers <joseph@codesourcery.com>
513
514 [BZ #13550]
515 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
516 Remove macro.
517 (ENTER): Remove both macro definitions.
518 (LEAVE): Likewise.
519 (CHECK_BOUNDS_LOW): Likewise.
520 (CHECK_BOUNDS_HIGH): Likewise.
521 (CHECK_BOUNDS_BOTH): Likewise.
522 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
523 (RETURN_BOUNDED_POINTER): Likewise.
524 (RETURN_NULL_BOUNDED_POINTER): Likewise.
525 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
526 (POP_ERRNO_LOCATION_RETURN): Likewise.
527 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
528 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
529 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
530 macros.
531 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
532 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
533 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
534 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
535 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
536 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
537 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
538 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
539 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
540 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
541 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
542 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
543 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
544 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
545 removed macros.
546 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
547 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
548 macros.
549 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
550 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
551 * sysdeps/i386/i586/memset.S (memset): Likewise.
552 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
553 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
554 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
555 macros.
556 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
557 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
558 Change uses of L(2) to L(out).
559 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
560 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
561 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
562 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
563 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
564 removed macros.
565 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
566 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
567 macros.
568 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
569 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
570 (RETURN): Do not use macro LEAVE.
571 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
572 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
573 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
574 * sysdeps/i386/i686/memset.S (memset): Likewise.
575 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
576 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
577 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
578 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
579 Likewise.
580 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
581 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
582 L(1_2) and L(1_3) into L(1).
583 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
584 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
585 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
586 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
587 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
588 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
589 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
590 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
591 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
592 macros.
593 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
594 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
595 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
596 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
597 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
598 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
599 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
600 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
601 * sysdeps/i386/strcspn.S (strcspn): Likewise.
602 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
603 * sysdeps/i386/strrchr.S (strrchr): Likewise.
604 * sysdeps/i386/strspn.S (strspn): Likewise.
605 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
606 conditional code.
607 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
608 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
609 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
610 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
611 L(1_3) into L(1_1).
612 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
613 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
614 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
615 macros.
616 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
617
2389741a
JJ
6182013-02-19 Jakub Jelinek <jakub@redhat.com>
619
620 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
621 macro.
622
2016b3cd
SP
6232013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
624
e4f22324
SP
625 * math/atest-exp.c (exp_mpn): Remove ROUND.
626 * math/atest-exp2.c (exp_mpn): Likewise.
627 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
628
2016b3cd
SP
629 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
630 * stdlib/tst-tls-atexit-lib.c: Likewise.
631 * stdlib/tst-tls-atexit.c: Likewise.
632
4be9b544
MF
6332013-02-18 Mike Frysinger <vapier@gentoo.org>
634
635 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
636 and __attribute_alloc_size__.
637
2f62b9ee
MF
6382013-02-18 Mike Frysinger <vapier@gentoo.org>
639
640 * include/programs/xmalloc.h: Change __attribute_alloc_size to
641 __attribute_alloc_size__.
642 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
643 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
644
6ff444c4
MF
6452013-02-18 Mike Frysinger <vapier@gentoo.org>
646
647 * include/programs/xmalloc.h: New file.
648 * catgets/gencat.c: Include it.
649 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
650 * elf/pldd.c: Likewise.
651 * iconv/iconv_charmap.c: Likewise.
652 * iconv/iconvconfig.c: Likewise.
653 * iconv/strtab.c: Likewise.
654 * locale/programs/locale.c: Likewise.
655 * locale/programs/localedef.h: Likewise.
656 * locale/programs/simple-hash.c: Likewise.
657 * nscd/nscd.h: Likewise.
658 * nss/makedb.c: Likewise.
659 * sysdeps/generic/ldconfig.h: Likewise.
660
be179c8a
SP
6612013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
662
ba384f6e
SP
663 * Versions.def: Add GLIBC_2.18.
664 * include/link.h (struct link_map): New member l_tls_dtor_count.
665 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
666 (__call_tls_dtors): Likewise.
667 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
668 __cxa_thread_atexit_impl.
669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
670 Likewise.
671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
672 Likewise.
673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
674 Likewise.
675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
676 Likewise.
677 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
679 Likewise.
680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
681 Likewise.
682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
684 Likewise.
685 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
686 (tests): Add test case tst-tls-atexit.
687 (modules-names): Add shared library for tst-tls-atexit.
688 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
689 (GLIBC_PRIVATE): Add __call_tls_dtors.
690 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
691 for libstdc++.
692 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
693 * stdlib/tst-tls-atexit.c: New test case.
694 * stdlib/tst-tls-atexit-lib.c: New test case.
695
ffaa74cf 696 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 697
be179c8a
SP
698 * elf/Versions (ld): Add _dl_find_dso_for_object.
699 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
700 * elf/dl-open.c (_dl_find_dso_for_object): New function.
701 (dl_open_worker): Use _dl_find_dso_for_object.
702 * elf/dl-sym.c (do_sym): Likewise.
703 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
704
f78b5caa
AK
7052013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
706
707 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
708 Syntactic changes only.
709 (_dl_runtime_profile): Do a tail-call to the resolved function.
710
29691210
JM
7112013-02-17 Joseph Myers <joseph@codesourcery.com>
712
713 [BZ #13550]
714 * sysdeps/x86_64/bp-asm.h: Remove file.
715 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
716 <bp-sym.h> and <bp-asm.h>.
717 (__clone): Do not use BP_SYM.
718 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
719 <bp-sym.h> and <bp-asm.h>.
720 * sysdeps/unix/x86_64/sysdep.S: Likewise.
721 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
722 "bp-asm.h".
723 (_setjmp): Do not use BP_SYM.
724 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
725 "bp-asm.h".
726 (setjmp): Do not use BP_SYM.
727 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
728 libc_hidden_def.
729 (mempcpy): Do not use BP_SYM in weak_alias.
730 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
731 "bp-asm.h".
732 (strchr): Do not use BP_SYM.
733 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
734 "bp-asm.h".
735 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
736 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
737 (_start): Do not use BP_SYM.
738 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
739 "bp-asm.h".
740 (strcat): Do not use BP_SYM.
741 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
742 "bp-asm.h".
743 (STRCMP): Do not use BP_SYM.
744 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
745 "bp-asm.h".
746 (STRCPY): Do not use BP_SYM.
747 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
748 "bp-asm.h".
749 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
750 "bp-asm.h".
751 (FUNCTION): Do not use BP_SYM.
752 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
753 weak_alias.
754 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
755
f238fd19
AJ
7562013-02-17 Andreas Jaeger <aj@suse.de>
757
758 * time/Versions: Sort entries.
759 * string/Versions: Likewise.
760 * resolv/Versions: Likewise.
761 * posix/Versions: Likewise.
762 * iconv/Versions: Likewise.
763 * elf/Versions: Likewise.
764 * wcsmbs/Versions: Likewise.
765
bd07f23c 7662013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 767
22af19f9
SP
768 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
769 loop termination condition.
770
4709fe76
SP
771 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
772 variable to calculate EZ.
773 (__sqr): Likewise.
2d0e0f29
SP
774
775 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
776 the lower precision input.
777
daaa7713
JM
7782013-02-15 Joseph Myers <joseph@codesourcery.com>
779
780 [BZ #13550]
781 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
782 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
783 (run-via-rtld-prefix): Do not handle %-bp tests.
784 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
785 (all-object-suffixes): Remove .ob.
786 (bppfx): Remove variable.
787 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
788 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
789 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
790 [$(build-bounded) = yes] (libtype.ob): Likewise.
791 * Makerules (elide-routines.ob): Remove variable.
792 (do-tests-clean): Do not handle *-bp.out.
793 (common-mostlyclean): Do not handle *-bp and *-bp.out.
794 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
795 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
796 (tests): Do not include $(tests-bp.out).
797 (xtests): Do not include $(xtests-bp.out).
798 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
799 [$(build-bounded) = yes] ($(addprefix
800 $(objpfx),$(binaries-bounded))): Remove rule.
801 ($(objpfx)%-bp.out): Remove rule.
802 * config.make.in (build-bounded): Remove variable.
803 * crypt/Makefile [$(build-bounded) = yes]
804 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
805 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
806 append to variable.
807 [$(build-bounded) = yes] (install-lib): Likewise.
808 [$(build-bounded) = yes] (generated): Likewise.
809 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
810 Remove rule.
811 * intl/Makefile [$(build-bounded) = yes]
812 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
813 * math/Makefile [$(build-bounded) = yes]
814 ($(tests:%=$(objpfx)%-bp): Likewise.
815 * misc/Makefile [$(build-bounded) = yes]
816 ($(objpfx)tst-tsearch-bp): Likewise.
817 * nptl/Makeconfig (bounded-thread-library): Remove variable.
818 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
819 Remove dependency.
820 * string/Makefile (o-objects.ob): Remove variable.
821 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
822 (CFLAGS-.ob): Remove variable.
823 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
824 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
825 both definitions of variable.
826 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
827 (ASFLAGS-.ob): Remove variable.
828
e97ed6dd
JM
8292013-02-14 Joseph Myers <joseph@codesourcery.com>
830
2bdd4ca6
JM
831 [BZ #13550]
832 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
833 Remove __BOUNDED_POINTERS__ from condition.
834 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
835 * string/bits/string2.h [!__NO_STRING_INLINES &&
836 !__BOUNDED_POINTERS__]: Likewise.
837 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
838 Likewise.
839 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
840 Remove conditional code.
841 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
842 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
843 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
844 condition.
845
e97ed6dd
JM
846 [BZ #13550]
847 * csu/libc-start.c: Do not include <bp-sym.h>.
848 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
849 * elf/dl-open.c: Do not include <bp-sym.h>.
850 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
851 * math/fegetenv.c: Do not include <bp-sym.h>.
852 (fegetenv): Do not use BP_SYM in versioned symbols.
853 * nptl/sysdeps/pthread/bits/libc-lockP.h
854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
855 <bp-sym.h>.
856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
857 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
859 (__pthread_mutex_destroy): Likewise.
860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
861 (__pthread_mutex_lock): Likewise.
862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
863 (__pthread_mutex_trylock): Likewise.
864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
865 (__pthread_mutex_unlock): Likewise.
866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
867 (__pthread_mutexattr_init): Likewise.
868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
869 (__pthread_mutexattr_destroy): Likewise.
870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
871 (__pthread_mutexattr_settype): Likewise.
872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
873 (__pthread_rwlock_init): Likewise.
874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
875 (__pthread_rwlock_destroy): Likewise.
876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
877 (__pthread_rwlock_rdlock): Likewise.
878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
879 (__pthread_rwlock_tryrdlock): Likewise.
880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
881 (__pthread_rwlock_wrlock): Likewise.
882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
883 (__pthread_rwlock_trywrlock): Likewise.
884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
885 (__pthread_rwlock_unlock): Likewise.
886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
887 (__pthread_key_create): Likewise.
888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
889 (__pthread_setspecific): Likewise.
890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
891 (__pthread_getspecific): Likewise.
892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
893 Likewise.
894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
895 (_pthread_cleanup_push_defer): Likewise.
896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
897 (_pthread_cleanup_pop_restore): Likewise.
898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
899 (pthread_setcancelstate): Likewise.
900 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
901 <bp-sym.h>.
902 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
903 (memchr): Do not use BP_SYM in weak_alias.
904 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
905 (fegetenv): Do not use BP_SYM in versioned symbols.
906 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
907 (fesetenv): Do not use BP_SYM in versioned symbols.
908 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
909 (feupdateenv): Do not use BP_SYM in versioned symbols.
910 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
911 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
912 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
913 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
914 (open64): Do not use BP_SYM in weak_alias.
915 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
916 (fegetenv): Do not use BP_SYM in versioned symbols.
917 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
918 (fesetenv): Do not use BP_SYM in versioned symbols.
919 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
920 (feupdateenv): Do not use BP_SYM in versioned symbols.
921 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
922 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
923 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
924 (feraiseexcept): Do not use BP_SYM in versioned symbols.
925 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
926 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
927 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
928 <bp-sym.h>.
929 (__libc_start_main): Do not use BP_SYM.
930
d6752ccd
SP
9312013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
932
cb57ce60
SP
933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
934 redundant return line.
935 (norm): Likewise.
936 (denorm): Likewise.
937 (dbl_mp): Likewise.
938 (sub_magnitudes): Likewise.
939 (__add): Likewise.
940 (__sub): Likewise.
941 (__mul): Likewise.
942 (__inv): Likewise.
943 (__dvd): Likewise.
944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
945 (norm): Likewise.
946 (denorm): Likewise.
947 (dbl_mp): Likewise.
948 (sub_magnitudes): Likewise.
949 (__add): Likewise.
950 (__sub): Likewise.
951 (__mul): Likewise.
952 (__inv): Likewise.
953 (__dvd): Likewise.
954
f414520d
SP
955 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
956 instead of __mul.
957 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
958 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
959 (cc32): Likewise.
960
d6752ccd
SP
961 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
962 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
963 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
964 of __mul for squares.
965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
966 function
967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
968 Likewise.
969 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
970 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
971
70d9946a
JM
9722013-02-13 Joseph Myers <joseph@codesourcery.com>
973
974 [BZ #13550]
975 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
976 code.
977 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
978 prototype or function definition. Rename ubp_* variables and
979 parameters. Remove argv definitions conditional on
980 [__BOUNDED_POINTERS__].
981 * debug/backtrace.c (__backtrace): Do not use __unbounded.
982 * elf/dl-runtime.c (_dl_fixup): Likewise.
983 * include/set-hooks.h (RUN_HOOK): Likewise.
984 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
985 definition.
986 * string/strcpy.c (strcpy): Do not use __unbounded.
987 * sysdeps/generic/frame.h (struct layout): Likewise.
988 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
989 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
990 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
991 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
992 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
993 (__backtrace): Likewise.
994 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
995 use __ptrvalue.
996 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
997 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
998 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
999 Likewise.
1000 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1001 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1002 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1003 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1004 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1005 Do not use __unbounded.
1006 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1007 Rename __unboundedrlimits parameter to rlimits in prototype.
1008 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1009 Do not use __unbounded.
1010 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1011 not use __ptrvalue.
1012 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1013 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1014 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1015 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1016 __ptrvalue or __unbounded.
1017 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1018 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1019 use __unbounded.
1020 (__new_msgctl): Do not use __ptrvalue.
1021 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1022 __unbounded.
1023 (__libc_msgrcv): Do not use __ptrvalue.
1024 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1025 startup_info): Do not use __unbounded.
1026 (__libc_start_main): Likewise. Rename ubp_* variables and
1027 parameters. Remove argv definitions conditional on
1028 [__BOUNDED_POINTERS__].
1029 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1030 __ptrvalue.
1031 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1032 use __unbounded.
1033 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1034 or __ptrvalue.
1035 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1036 use __unbounded.
1037 (__new_shmctl): Do not use __ptrvalue.
1038 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1039 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1040 Likewise.
1041 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1042 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1043 (__libc_sigaction): Likewise.
1044 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1045 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1046 Likewise.
1047 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1048
cc7834d6
OB
10492013-02-13 Ondřej Bílka <neleai@seznam.cz>
1050
ffb1ec7b 1051 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1052
1053 * string/mempcpy.c: Implement by calling memcpy.
1054
bdf02814
SP
10552013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1056
c2af38aa
SP
1057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1058
4e92d59e
SP
1059 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1060 evaluation.
1061
909279a5
SP
1062 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1063 values in the mantissa.
1064
bdf02814
SP
1065 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1066 minimize writes to Z.
1067 (sub_magnitudes): Simplify code a bit.
1068
cd525923
RM
10692013-02-12 Roland McGrath <roland@hack.frob.com>
1070
1071 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1072 from the message. The linker prefixes all warnings with that already.
1073
7e2f0d2d
AS
10742013-02-12 Andreas Schwab <schwab@suse.de>
1075
a445af0b
AS
1076 [BZ #15078]
1077 * posix/regexec.c (extend_buffers): Add parameter min_len.
1078 (check_matching): Pass minimum needed length.
1079 (clean_state_log_if_needed): Likewise.
1080 (get_subexp): Likewise.
1081 * posix/Makefile (tests): Add bug-regex34.
1082 (bug-regex34-ENV): Define.
1083 * posix/bug-regex34.c: New file.
1084
7e2f0d2d
AS
1085 [BZ #11561]
1086 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1087 elements compare against the byte sequence of it, not its name.
1088 * posix/Makefile (tests): Add bug-regex35.
1089 (bug-regex35-ENV): Define.
1090 * posix/bug-regex35.c: New file.
1091
a175b684
TV
10922013-02-11 Tom de Vries <tom@codesourcery.com>
1093
1094 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1095 comment.
1096 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1097 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1098 (CHECK_EOL): Add undef.
1099
310998fe 11002013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1101
1102 * bits/stdlib-bsearch.h: New file.
1103 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1104 * stdlib/stdlib.h: Likewise.
41eda41d 1105
8ded91fb
RM
11062013-02-11 Roland McGrath <roland@hack.frob.com>
1107
1108 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1109 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1110 declaration.
1111 * manual/search.texi (Array Search Function): Add missing const in
1112 lfind prototype.
1113 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1114 declaration to use rlim_t.
1115 (Basic Scheduling Functions): Remove erroneous const from
1116 sched_getparam prototype. Remove erroneous * from
1117 sched_get_priority_max and sched_get_priority_min prototypes.
1118 (Resource Usage): Fix summary @comment on vtimes to refer to
1119 sys/vtimes.h rather than vtimes.h.
1120 Add missing *s in vtimes prototype.
1121 (Limits on Resources): Fix ulimit prototype to return long int.
1122 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1123 prototypes to use long int rather than double.
1124 (BSD Random): Fix initstate and setstate to use char *, not void *.
1125 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1126 prototype to make second argument 'struct aiocb64 *const[]'.
1127 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1128 (Status of AIO Operations): Remove erroneous const in aio_return and
1129 aio_return64 prototypes.
1130 (Synchronizing I/O): Fix sync prototype to return void.
1131 * manual/startup.texi (Suboptions): Remove an erroneous const in
1132 getsubopt prototype.
1133 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1134 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1135 use size_t rather than int.
1136 (Scanning All Users): Likewise for getpwent_r.
1137 (Setting Groups): Add missing const to setgroups prototype.
1138 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1139 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1140 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1141 'const void *' rather than 'const char *'.
1142 (Host Address Functions): Likewise for inet_ntop.
1143 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1144 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1145 ssize_t for return value.
1146 (Sending Data): Likewise for send, sendto, sendmsg.
1147 (Socket Option Functions): Add a missing const in setsockopt prototype.
1148 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1149 use wchar_t for the argument.
1150 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1151 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1152 take no arguments.
1153 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1154 double/float/long double for second argument.
1155 Fix return types of significand, significandf, significandl.
1156 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1157 argument in fchmod prototype.
1158 (File Owner): Use uid_t and gid_t in fchown prototype.
1159 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1160 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1161 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1162 use 'const struct dirent **' as argument types to CMP function pointer
1163 argument.
1164 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1165 (File Times): Fix summary magic @comment for struct utimbuf and utime
1166 to refer to utime.h, not time.h.
1167 * manual/string.texi (Argz Functions): Add missing const in
1168 argz_extract and argz_next prototypes.
1169 (Finding Tokens in a String): Likewise for basename.
1170 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1171 (Copying and Concatenation): Fix typo in wmemmove prototype.
1172 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1173 (Signal Stack): Remove erroneous const in sigstack prototype.
1174 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1175 prototype.
1176 (Simple Calendar Time): Likewise for stime.
1177 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1178 prototype.
1179 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1180 say sys/sysctl.h instead.
1181 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1182 and vsyslog prototypes.
1183
fe77fe6d
TV
11842013-02-11 Tom de Vries <tom@codesourcery.com>
1185
1186 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1187 Remove.
1188
3a09b620
RM
11892013-02-11 Roland McGrath <roland@hack.frob.com>
1190
1191 * misc/sys/mman.h: Fix typo in mremap comment.
1192
550a0b89
RM
11932013-02-08 Roland McGrath <roland@hack.frob.com>
1194
1195 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1196 the '\0' terminator.
1197
a2da1673
JM
11982013-02-08 Joseph Myers <joseph@codesourcery.com>
1199
1200 [BZ #13550]
1201 * debug/segfault.c: Don't include <bp-checks.h>.
1202 * sysdeps/generic/bp-checks.h: Remove file.
1203 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1204 (__GETDENTS): Don't use CHECK_N.
1205 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1206 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1207 (__getgroups): Don't use CHECK_N.
1208 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1209 (setgroups): Don't use CHECK_N.
1210 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1211 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1212 (__libc_msgrcv): Don't use CHECK_N.
1213 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1214 (__libc_msgsnd): Don't use CHECK_N.
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1216 <bp-checks.h>.
1217 (__libc_pread): Don't use CHECK_N.
1218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1219 include <bp-checks.h>.
1220 (__libc_pread64): Don't use CHECK_N.
1221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1222 include <bp-checks.h>.
1223 (__libc_pwrite): Don't use CHECK_N.
1224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1225 include <bp-checks.h>.
1226 (__libc_pwrite64): Don't use CHECK_N.
1227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1228 <bp-checks.h>.
1229 (__libc_pread): Don't use CHECK_N.
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1231 include <bp-checks.h>.
1232 (__libc_pread64): Don't use CHECK_N.
1233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1234 include <bp-checks.h>.
1235 (__libc_pwrite): Don't use CHECK_N.
1236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1237 include <bp-checks.h>.
1238 (__libc_pwrite64): Don't use CHECK_N.
1239 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1240 (do_pread): Don't use CHECK_N.
1241 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1242 (do_pread64): Don't use CHECK_N.
1243 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1244 (do_pwrite): Don't use CHECK_N.
1245 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1246 (do_pwrite64): Don't use CHECK_N.
1247 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1248 (__libc_readv): Don't use CHECK_N.
1249 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1250 (semop): Don't use CHECK_N.
1251 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1252 <bp-checks.h>.
1253 (semtimedop): Don't use CHECK_N.
1254 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1255 (__libc_pread): Don't use CHECK_N.
1256 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1257 <bp-checks.h>.
1258 (__libc_pread64): Don't use CHECK_N.
1259 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1260 <bp-checks.h>.
1261 (__libc_pwrite): Don't use CHECK_N.
1262 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1263 <bp-checks.h>.
1264 (__libc_pwrite64): Don't use CHECK_N.
1265 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1266 <bp-checks.h>.
1267 (__libc_msgrcv): Don't use CHECK_N.
1268 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1269 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1270 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1271 (__libc_writev): Don't use CHECK_N.
1272
b84660a8
RM
12732013-02-08 Roland McGrath <roland@hack.frob.com>
1274
7f3e75f8
RM
1275 * string/strcpy.c: Removed unused variable.
1276
b84660a8
RM
1277 * Makeconfig (+sysdep-includes): Define with := rather than =.
1278 Use an existing include/ subdir of each sysdeps dir before it.
1279
471514d3
CD
12802013-02-08 Carlos O'Donell <carlos@redhat.com>
1281
1282 * nscd/connection.c (register_traced_file): Comment function.
1283 [HAVE_INOTIFY] (union __inev): Define.
1284 [HAVE_INOTIFY] (inotify_check_files): New function.
1285 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1286 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1287 clear_db_cache.
1288 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1289
b2d3c3be
CD
12902013-02-08 Carlos O'Donell <carlos@redhat.com>
1291
1292 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1293 loaded if not already and that a failure is permanent.
1294
b39949d2
CD
12952013-02-08 Carlos O'Donell <carlos@redhat.com>
1296
ddacd1db 1297 [BZ #15006]
b39949d2
CD
1298 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1299 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1300
b2c9eff4
JM
13012013-02-08 Joseph Myers <joseph@codesourcery.com>
1302
f3aae3f3
JM
1303 [BZ #13550]
1304 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1305 (CHECK_1_NULL_OK): Likewise.
1306 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1307 (__fxstat): Do not use CHECK_1.
1308 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1309 <bp-checks.h>.
1310 (___fxstat64): Do not use CHECK_1.
1311 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1312 <bp-checks.h>.
1313 (__fxstatat): Do not use CHECK_1.
1314 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1315 <bp-checks.h>.
1316 (__fxstatat64): Do not use CHECK_1.
1317 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1318 <bp-checks.h>.
1319 (__fxstat): Do not use CHECK_1.
1320 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1321 <bp-checks.h>.
1322 (__fxstatat): Do not use CHECK_1.
1323 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1324 <bp-checks.h>.
1325 (__getresgid): Do not use CHECK_1.
1326 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1327 <bp-checks.h>.
1328 (__getresuid): Do not use CHECK_1.
1329 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1330 <bp-checks.h>.
1331 (__lxstat): Do not use CHECK_1.
1332 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1333 <bp-checks.h>.
1334 (__old_msgctl): Do not use CHECK_1.
1335 (__new_msgctl): Likewise.
1336 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1337 <bp-checks.h>.
1338 (__new_setrlimit): Do not use CHECK_1.
1339 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1340 <bp-checks.h>.
1341 (__old_shmctl): Do not use CHECK_1.
1342 (__new_shmctl): Likewise.
1343 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1344 <bp-checks.h>.
1345 (__xstat): Do not use CHECK_1.
1346 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1347 (__lxstat): Do not use CHECK_1.
1348 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1349 <bp-checks.h>.
1350 (___lxstat64): Do not use CHECK_1.
1351 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1352 (__old_msgctl): Do not use CHECK_1.
1353 (__new_msgctl): Likewise.
1354 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1355 <bp-checks.h>.
1356 (__gettimeofday): Do not use CHECK_1.
1357 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1358 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1359 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1360 <bp-checks.h>.
1361 (__gettimeofday): Do not use CHECK_1.
1362 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1363 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1364 (__new_shmctl): Do not use CHECK_1.
1365 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1366 <bp-checks.h>.
1367 (do_sigtimedwait): Do not use CHECK_1.
1368 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1369 <bp-checks.h>.
1370 (do_sigwaitinfo): Do not use CHECK_1.
1371 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1372 <bp-checks.h>.
1373 (msgctl): Do not use CHECK_1.
1374 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1375 <bp-checks.h>.
1376 (shmctl): Do not use CHECK_1.
1377 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1378 (ustat): Do not use CHECK_1.
1379 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1380 <bp-checks.h>.
1381 (__fxstat): Do not use CHECK_1.
1382 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1383 <bp-checks.h>.
1384 (__fxstatat): Do not use CHECK_1.
1385 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1386 <bp-checks.h>.
1387 (__lxstat): Do not use CHECK_1.
1388 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1389 <bp-checks.h>.
1390 (__xstat): Do not use CHECK_1.
1391 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1392 (__xstat): Do not use CHECK_1.
1393 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1394 (___xstat64): Do not use CHECK_1.
1395
b2c9eff4
JM
1396 [BZ #13550]
1397 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1398 definitions.
1399 (CHECK_BOUNDS_HIGH): Likewise.
1400 * string/strcpy.c: Do not include <bp-checks.h>.
1401 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1402
f1d70dad
RM
14032013-02-07 Roland McGrath <roland@hack.frob.com>
1404
1405 * nscd/nscd-client.h (__nscd_drop_map_ref):
1406 Add __attribute__ ((unused)).
1407 * nis/nss-nisplus.h (niserr2nss): Likewise.
1408
1409 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1410 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1411
1412 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1413 Remove inline keyword.
1414 * include/rounding-mode.h (round_away): Likewise.
1415 * libio/wfileops.c (adjust_wide_data): Likewise.
1416 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1417 (__m128i_strloadu_tolower): Likewise.
1418 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1419 (__m128i_strloadu_tolower): Likewise.
1420 * time/mktime.c (ydhms_diff): Likewise.
1421 * locale/elem-hash.h (elem_hash): Likewise.
1422 * locale/setlocale.c (setdata): Likewise.
1423 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1424 (re_string_wchar_at): Likewise.
1425 (bitset_not, bitset_merge, bitset_mask): Likewise.
1426 [!(__GNUC__ > 3)] (inline): Remove macro.
1427 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1428 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1429 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1430 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1431 * string/memcmp.c (memcmp_bytes): Likewise.
1432 * locale/programs/locarchive.c (compute_hashval): Likewise.
1433 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1434 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1435 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1436 * nss/getent.c (print_rpc, print_protocols): Likewise.
1437 (print_passwd, print_group, print_aliases): Likewise.
1438 * nis/nss-nisplus.h (niserr2nss): Likewise.
1439 * nscd/connections.c (restart_p): Likewise.
1440 Change return type to bool.
1441
eab55bfb
RM
14422013-02-05 Roland McGrath <roland@hack.frob.com>
1443
7bd642f5
RM
1444 * Makeconfig (all-Depend-files): Add existing
1445 $(sorted-subdirs:=/Depend) files.
1446 (all-subdirs): Remove nss.
1447 * sysdeps/unix/inet/Subdirs: Add it here instead.
1448 * hesiod/Depend: New file.
1449
573c29b2
RM
1450 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1451 instead of calling alloca.
1452
b2e25af0
RM
1453 * io/lseek.c (__lseek): Rename to __libc_lseek.
1454 Define __lseek as an alias.
1455
eab55bfb
RM
1456 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1457
9a0d1941
CD
14582013-02-04 Carlos O'Donell <carlos@redhat.com>
1459
1460 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1461 else clause and remove check for non-standard endianness.
1462
b83bbec4
DM
14632013-02-04 David S. Miller <davem@davemloft.net>
1464
1465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1466
6277fdab
JM
14672013-02-04 Joseph Myers <joseph@codesourcery.com>
1468
1469 [BZ #13550]
1470 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1471 (__ubp_memchr): Remove prototype.
1472 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1473 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1474 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1475 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1476 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1477 Remove alias.
1478 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1479 (__ubp_memchr): Likewise.
1480 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1481 (__ubp_memchr): Likewise.
1482 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1483 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1484 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1485 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1486 CHECK_STRING.
1487 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1488 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1489 (__getcwd): Do not use CHECK_STRING.
1490 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1491 <bp-checks.h>.
1492 (__real_chown): Do not use CHECK_STRING.
1493 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1494 <bp-checks.h>.
1495 (fchownat): Do not use CHECK_STRING.
1496 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1497 CHECK_STRING.
1498 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1499 <bp-checks.h>.
1500 (__lchown): Do not use CHECK_STRING.
1501 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1502 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1503 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1504 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1506 include <bp-checks.h>.
1507 (truncate64): Do not use CHECK_STRING.
1508 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1509 <bp-checks.h>.
1510 (__real_chown): Do not use CHECK_STRING.
1511 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1512 <bp-checks.h>.
1513 (__lchown): Do not use CHECK_STRING.
1514 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1515 <bp-checks.h>.
1516 (__chown): Do not use CHECK_STRING.
1517 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1518 <bp-checks.h>.
1519 (truncate64): Do not use CHECK_STRING.
1520 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1521 Likewise.
1522 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1523 (__xmknod): Do not use CHECK_STRING.
1524 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1525 <bp-checks.h>.
1526 (__xmknodat): Do not use CHECK_STRING.
1527 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1528 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1529
903ae060
AS
15302013-02-04 Andreas Schwab <schwab@suse.de>
1531
1532 [BZ #14142]
1533 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1534 * include/netdb.h: Likewise for h_errno.
1535 * elf/tst-stackguard1.c: Include <tls.h>.
1536
542f9466
JK
15372013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1538
1539 * elf/link.h (struct link_map): Extend the l_addr comment.
1540 * include/link.h (struct link_map): Likewise.
1541
e782a927
JM
15422013-02-01 Joseph Myers <joseph@codesourcery.com>
1543
1544 [BZ #13550]
1545 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1546 (BOUNDED_1): Remove macro.
1547 * debug/backtrace.c: Don't include <bp-checks.h>.
1548 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1549 (__backtrace): Likewise.
1550 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1551 <bp-checks.h>.
1552 (__backtrace): Don't use BOUNDED_1.
1553 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1554 <bp-checks.h>.
1555 (__backtrace): Don't use BOUNDED_1.
1556 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1557 (__backtrace): Don't use BOUNDED_1.
1558 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1559 (shmat): Don't use BOUNDED_N.
1560
8cf28c5e
JM
15612013-01-31 Joseph Myers <joseph@codesourcery.com>
1562
3a7ac8a0
JM
1563 [BZ #13550]
1564 * sysdeps/generic/bp-start.h: Remove file.
1565 * csu/libc-start.c: Don't include <bp-start.h>.
1566 (LIBC_START_MAIN): Set up __environ directly instead of using
1567 INIT_ARGV_and_ENVIRON.
1568 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1569 <bp-start.h>.
1570
f3499f95
JM
1571 [BZ #13550]
1572 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1573 definitions.
1574 (CHECK_FCNTL): Likewise.
1575 (CHECK_N_PAGES): Likewise.
1576
32a45bea
JM
1577 [BZ #13550]
1578 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1579 definitions.
1580 (CHECK_SIGSET_NULL_OK): Likewise.
1581 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1582 <bp-checks.h>.
1583 (sigpending): Don't use CHECK_SIGSET.
1584 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1585 <bp-checks.h>.
1586 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1587 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1588 <bp-checks.h>.
1589 (do_sigsuspend): Don't use CHECK_SIGSET.
1590 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1591 use CHECK_SIGSET.
1592 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1593 (do_sigwait): Don't use CHECK_SIGSET.
1594 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1595 use CHECK_SIGSET.
1596 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1597 include <bp-checks.h>.
1598 (sigpending): Don't use CHECK_SIGSET.
1599 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1600 include <bp-checks.h>.
1601 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1602 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1603 <bp-checks.h>.
1604 (sigpending): Don't use CHECK_SIGSET.
1605 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1606 <bp-checks.h>.
1607 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1608
2e8a5c8c
JM
1609 [BZ #13550]
1610 * sysdeps/generic/bp-semctl.h: Remove file.
1611 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1612 <bp-checks.h> and <bp-semctl.h>.
1613 (__old_semctl): Don't use CHECK_SEMCTL.
1614 (__new_semctl): Likewise.
1615 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1616 and <bp-semctl.h>.
1617 (__old_semctl): Don't use CHECK_SEMCTL.
1618 (__new_semctl): Likewise.
1619 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1620 <bp-checks.h> and <bp-semctl.h>.
1621 (__old_semctl): Don't use CHECK_SEMCTL.
1622 (__new_semctl): Likewise.
1623 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1624 <bp-checks.h> and <bp-semctl.h>.
1625 (semctl): Don't use CHECK_SEMCTL.
1626
c2d54929
JM
1627 [BZ #13550]
1628 * Makerules (elide-bp-thunks): Remove variable.
1629 (elide-routines.oS): Don't use $(elide-bp-thunks).
1630 (elide-routines.os): Likewise.
1631 (elide-routines.o): Likewise.
1632 (elide-routines.op): Likewise.
1633 (elide-routines.og): Likewise.
1634 (objects): Don't use $(bp-thunks).
1635 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1636 include.
1637 (common-generated): Do not add s-proto-bp.d.
1638 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1639 (int): Likewise.
1640 (typ): Likewise.
1641 Do not generate makefile rules for bounded-pointer thunks.
1642 * sysdeps/generic/bp-thunks.h: Remove file.
1643 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1644 * sysdeps/unix/s-proto-bp.S: Likewise.
1645
8cf28c5e
JM
1646 [BZ #15062]
1647 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1648 parts of result separately when argument is not close to line from
1649 -i to i and one part of argument is small.
1650 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1651 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1652 * math/libm-test.inc (cacos_test): Add more tests.
1653 (casin_test): Likewise.
1654 (casinh_test): Likewise.
1655 * sysdeps/i386/fpu/libm-test-ulps: Update.
1656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1657
c4e33b8d
DM
16582013-01-31 David S. Miller <davem@davemloft.net>
1659
1660 * po/de.po: Update from translation team.
1661
3b60b421
MK
16622013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1663
1664 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1665
bb931195
TS
16662013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1667
b5a5da23
TS
1668 * configure.in (_AC_PROG_CC_C89): New definition.
1669 * configure: Regenerate.
1670
bb931195
TS
1671 * configure.in (AC_PROG_CPP): New definition.
1672 * configure: Regenerate.
1673
8c53a12c
JM
16742013-01-23 Joseph Myers <joseph@codesourcery.com>
1675
1676 * debug/tst-backtrace.h: New file.
1677 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1678 (ret): Remove variable.
1679 (x): Likewise.
1680 (FAIL): Remove macro.
1681 (NO_INLINE): Likewise.
1682 (fn1): Use match function instead of strstr.
1683 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1684 (ret): Remove variable.
1685 (x): Likewise.
1686 (FAIL): Remove macro.
1687 (NO_INLINE): Likewise.
1688 (fn): Use match function instead of strstr.
1689 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1690 (ret): Remove variable.
1691 (x): Likewise.
1692 (FAIL): Remove macro.
1693 (NO_INLINE): Likewise.
1694 (handle_signal): Use match function instead of strstr.
1695 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1696 (ret): Remove variable.
1697 (x): Likewise.
1698 (FAIL): Remove macro.
1699 (NO_INLINE): Likewise.
1700 (handle_signal): Use match function instead of strstr.
1701
4858fa2a
RM
17022013-01-23 Roland McGrath <roland@hack.frob.com>
1703
1704 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1705
bae8e7f5
DM
17062013-01-23 David S. Miller <davem@davemloft.net>
1707
1708 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1709 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1710 argument of CAS if possible.
1711 * sysdeps/sparc/sparc64/bits/atomic.h
1712 (__arch_compare_and_exchange_val_32_acq): Likewise.
1713 (__arch_compare_and_exchange_val_64_acq): Likewise.
1714
9cbbc4ae
PT
17152013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1716
1717 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1718 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1719 Include <limits.h>.
67b3f58c 1720 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1721
5655a0b5
AC
17222013-01-23 Adam Conrad <adconrad@0c3.net>
1723
1724 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1725 (LDFLAGS-tst-array5): Likewise.
1726
052aff95
JM
17272013-01-23 Joseph Myers <joseph@codesourcery.com>
1728
1729 [BZ #15036]
1730 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1731 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1732 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1733 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1734
7c1e01aa
DM
17352013-01-21 David S. Miller <davem@davemloft.net>
1736
1737 * sysdeps/sparc/backtrace.c: New file.
1738 * sysdeps/sparc/sparc32/backtrace.h: New file.
1739 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1740 * sysdeps/sparc/sparc64/backtrace.h: New file.
1741 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1742 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1743 -funwind-tables.
1744
ab087e0a
AS
17452013-01-21 Andreas Schwab <schwab@suse.de>
1746
1747 [BZ #15020]
1748 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1749 closed its stdout.
1750
ed689c2f
AS
17512013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1752
1753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1754 "mpa2.h".
1755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1756
31d470ac
JM
17572013-01-18 Joseph Myers <joseph@codesourcery.com>
1758 Mark Mitchell <mark@codesourcery.com>
1759 Tom de Vries <tom@codesourcery.com>
1760 Paul Pluzhnikov <ppluzhnikov@google.com>
1761
1762 * debug/tst-backtrace2.c: New file.
1763 * debug/tst-backtrace3.c: Likewise.
1764 * debug/tst-backtrace4.c: Likewise.
1765 * debug/tst-backtrace5.c: Likewise.
1766 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1767 (CFLAGS-tst-backtrace3.c): Likewise.
1768 (CFLAGS-tst-backtrace4.c): Likewise.
1769 (CFLAGS-tst-backtrace5.c): Likewise.
1770 (LDFLAGS-tst-backtrace2): Likewise.
1771 (LDFLAGS-tst-backtrace3): Likewise.
1772 (LDFLAGS-tst-backtrace4): Likewise.
1773 (LDFLAGS-tst-backtrace5): Likewise.
1774 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1775 tst-backtrace4 and tst-backtrace5.
1776
90567f30 17772013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1778 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1779
1780 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1781 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1782 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1783 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1785 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1786 "+r" and remove output regs list as redundant. Add explicit inline
1787 asm to specify register of return val to work around compiler codegen
1788 bug. Remove (int) cast on return value. Add return type parameter to
1789 use in macro so that this macro does not truncate return value for
1790 64-bit values.
1791 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1792 pass to INTERNAL_VSYSCALL_NCS.
1793 (INLINE_VSYSCALL): Add 'long int' as return type to
1794 INTERNAL_VSYSCALL_NCS macro invocation.
1795 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1796 INTERNAL_VSYSCALL_NCS macro invocation.
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1798
d3b9ea61
SP
17992013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1800
0b57daeb
SP
1801 [BZ #14496]
1802 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1803 Fix application of SIMD FP exception mask.
1804
caa99d06
SP
1805 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1806 mp_no from a power of two.
1807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1808 __mpexp_twomm1. Use __pow_mp.
1809
d3b9ea61
SP
1810 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1811 multiplication.
1812
1dbaee3c
DM
18132013-01-17 David S. Miller <davem@davemloft.net>
1814
1815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1816
728d7b43
JM
18172013-01-17 Joseph Myers <joseph@codesourcery.com>
1818
1819 [BZ #15023]
1820 * include/complex.h: Condition contents on [!_COMPLEX_H].
1821 (__kernel_casinhf): New prototype.
1822 (__kernel_casinh): Likewise.
1823 (__kernel_casinhl): Likewise.
1824 * math/Makefile (libm_calls): Add k_casinh.
1825 * math/k_casinh.c: New file.
1826 * math/k_casinhf.c: Likewise.
1827 * math/k_casinhl.c: Likewise.
1828 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1829 finite nonzero arguments.
1830 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1831 finite nonzero arguments.
1832 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1833 finite nonzero arguments.
1834 * math/s_casinh.c: Do not include <float.h>.
1835 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1836 * math/s_casinhf.c: Do not include <float.h>.
1837 (__casinhf): Move code for finite nonzero arguments to
1838 k_casinhf.c.
1839 * math/s_casinhl.c: Do not include <float.h>.
1840 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1841 redefine.
1842 (__casinhl): Move code for finite nonzero arguments to
1843 k_casinhl.c.
1844 * math/libm-test.inc (cacos_test): Add more tests.
1845 * sysdeps/i386/fpu/libm-test-ulps: Update.
1846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1847
2a26ef3a
PT
18482013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1849
1850 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1851 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1852 [!HAVE_MREMAP]: Remove [defined linux] case.
1853 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1854
a897655d
SP
18552013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1856
1857 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1858
881ebe89 18592013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1860
1861 * elf/elf.h (R_386_SIZE32): New relocation.
1862 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1863 R_386_SIZE32.
1864 (elf_machine_rela): Likewise.
1865 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1866 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1867
59981e9b
JM
18682013-01-17 Joseph Myers <joseph@codesourcery.com>
1869
1870 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1871 (FP_FAST_FMA): Do not define.
1872 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1873 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1874 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1875 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1876 !_SOFT_FLOAT]: Likewise.
1877 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1878 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1879 value.
1880 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1881 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1882 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1883 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1884 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1885 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1886 file.
1887
cfa8054f
AS
18882013-01-16 Andreas Schwab <schwab@suse.de>
1889
1890 [BZ #14327]
1891 * include/stdlib.h (__mktemp): Add declaration.
1892 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1893 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1894
dd930cc5
SP
18952013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1896
881ebe89
SP
1897 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1898 definitions.
1899 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1900 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1901 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1902 definitions here.
1903 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1904 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1905 definitions.
1906 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1907 and ONE.
1908 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1909 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1910 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1911 definitions.
1912 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1913 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1914 definitions.
1915 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1916
dd930cc5
SP
1917 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1918
c19a9f89
DM
19192013-01-15 David S. Miller <davem@davemloft.net>
1920
1aa61767
DM
1921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1922 trunc{,f} to libm-sysdep_routes.
1923 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1925 file.
1926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1928 file.
1929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1930 file.
1931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1933 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1934 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1935 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1936 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1937 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1938 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1939
c42d5e98
DM
1940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1941 nearbyint{,f} to libm-sysdep_routes.
1942 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1944 New file.
1945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1946 file.
1947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1948 New file.
1949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1950 file.
1951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1953 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1954 file.
1955 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1956 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1957 file.
1958 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1959 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1960 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1961
c19a9f89
DM
1962 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1963 libc_feholdexcept and libc_fesetenv.
1964
357679d2
MF
19652013-01-15 Mike Frysinger <vapier@gentoo.org>
1966
1967 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1968
65a82e3d
DM
19692013-01-14 David S. Miller <davem@davemloft.net>
1970
8b954ab9
DM
1971 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1972 (SPARC_ASM_VIS2_IFUNC): Likewise.
1973 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1975 use of 'siam' instruction.
1976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1977 Likewise.
1978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1979 Likewise.
1980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1981 Likewise.
1982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1987 file.
1988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1989 file.
1990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1991 file.
1992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1993 file.
1994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1999 new VIS2 routines.
2000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2003 Likewise.
2004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2005 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2006 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2007 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2009 routines to libm-sysdep_routines.
2010 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2011
65a82e3d
DM
2012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2013 fdim/fdimf to libm-sysdep_routines.
2014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2015 file.
2016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2018 file.
2019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2022 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2023 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2024 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2025 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2026
e34ab705
SP
20272013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2028
2a91b573
SP
2029 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2030 to optimize copies.
2031
1066a534
SP
2032 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2035
e34ab705
SP
2036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2037 local variable MPTWO.
2038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2039 Likewise.
2040
aba5e596
MF
20412013-01-13 Mike Frysinger <vapier@gentoo.org>
2042
2043 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2044 GLOB_NOESCAPE.
2045
e557e9e5
MF
20462013-01-13 Mike Frysinger <vapier@gentoo.org>
2047
2048 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2049
0428cec9
MF
20502013-01-13 Mike Frysinger <vapier@gentoo.org>
2051
2052 * manual/pattern.texi (glob_t): Document gl_flags.
2053 (glob64_t): Likewise.
2054
8794a964
DM
20552013-01-11 David S. Miller <davem@davemloft.net>
2056
66438c3f
RM
2057 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2058 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2059 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2060 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2061 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2062 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2063 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2064 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2065 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2066 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2067 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2068 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2069 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2070
4ae4244d
DM
2071 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2072 sparc V9 rather than using V8 code.
2073 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2074 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2075
8794a964
DM
2076 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2077 Move to...
2078 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2079 Here.
2080
6270516e
RM
20812013-01-11 Roland McGrath <roland@hack.frob.com>
2082
2083 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2084 not in the main loop.
2085 * configure: Regenerated.
2086
6a57d931
JM
20872013-01-11 Joseph Myers <joseph@codesourcery.com>
2088
2089 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2090 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2091 to just #else.
2092 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2093 [!__GLIBC_HAVE_LONG_LONG] case.
2094 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2095 condition to just #else.
2096 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2097 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2098 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2099 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2100 unconditional.
2101 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2102 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2103 #elif condition to just #else.
2104 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2105 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2106 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2107 #elif condition to just #else.
2108
0e8529e9
SE
21092013-01-11 Steve Ellcey <sellcey@mips.com>
2110
2111 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2112 (EF_MIPS_ARCH_64): Fix value.
2113 (EF_MIPS_ARCH_32R2): New.
2114 (EF_MIPS_ARCH_64R2): New.
2115
740b3dbe
L
21162013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2117
2118 * Makeconfig (+link-pie-before-libc): New.
2119 (+link-pie-after-libc): Likewise.
2120 (+link-pie-tests): Likewise.
2121 (+link-pie): Rewritten.
2122 (link-before-libc): Remove $(config-LDFLAGS).
2123 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2124 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2125 (config-LDFLAGS): Renamed to ...
2126 (rtld-LDFLAGS): This.
2127 (rtld-tests-LDFLAGS): New macro.
2128 (link-libc-rpath-link): Likewise.
2129 (link-libc-tests-rpath-link): Likewise.
2130 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2131 (link-libc): Prepand $(link-libc-rpath-link).
2132 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2133 (test-program-prefix): New macro.
2134 (test-via-rtld-prefix): Likewise.
2135 (test-program-cmd): Likewise.
2136 (host-test-program-cmd): Likewise.
2137 * Makefile ($(common-objpfx)testrun.sh): Replace
2138 $(run-program-prefix) with $(test-program-prefix).
2139 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2140 $(rtld-LDFLAGS).
2141 ($(common-objpfx)shlib.lds): Likewise.
2142 (build-module-helper): Likewise.
2143 ($(common-objpfx)format.lds): Likewise.
2144 * Rules (binaries-pie-tests): New.
2145 (binaries-pie-notests): Likewise.
2146 (binaries-pie): Rewritten.
2147 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2148 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2149 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2150 (make-test-out): Replace $(host-built-program-cmd) with
2151 $(host-test-program-cmd).
2152 * config.make.in (build-hardcoded-path-in-tests): New variable.
2153 * configure.in (--enable-hardcoded-path-in-tests): New configure
2154 option.
2155 (hardcoded_path_in_tests): New AC_SUBST.
2156 * configure: Regenerated.
2157 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2158 $(built-program-cmd) with $(test-program-cmd).
2159 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2160 (test_program_cmd): This.
2161 * elf/Makefile ($(objpfx)order.out): Run test with
2162 $(test-program-prefix).
2163 ($(objpfx)order2.out): Likewise.
2164 ($(objpfx)tst-initorder.out): Likewise.
2165 ($(objpfx)tst-initorder2.out): Likewise.
2166 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2167 $(test-program-cmd).
2168 ($(objpfx)tst-array1-static.out): Likewise.
2169 ($(objpfx)tst-array2.out): Likewise.
2170 ($(objpfx)tst-array3.out): Likewise.
2171 ($(objpfx)tst-array4.out): Likewise.
2172 ($(objpfx)tst-array5.out): Likewise.
2173 ($(objpfx)tst-array5-static.out): Likewise.
2174 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2175 $(test-program-cmd).
2176 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2177 $(run-program-prefix) with $(test-program-prefix).
2178 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2179 (test_program_prefix): This.
2180 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2181 $(run-program-prefix) with $(test-program-prefix).
2182 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2183 (test_program_prefix): This.
2184 * iconvdata/tst-tables.sh: Likewise.
2185 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2186 $(run-program-prefix) with $(test-program-prefix).
2187 ($(objpfx)tst-translit.out): Likewise.
2188 ($(objpfx)tst-gettext2.out): Likewise.
2189 ($(objpfx)tst-gettext4.out): Likewise.
2190 ($(objpfx)tst-gettext6.out): Likewise.
2191 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2192 (test_program_prefix): This.
2193 * intl/tst-gettext2.sh: Likewise.
2194 * intl/tst-gettext4.sh Likewise.
2195 * intl/tst-gettext6.sh: Likewise.
2196 * intl/tst-translit.sh: Likewise.
2197 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2198 with $(test-program-cmd).
2199 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2200 $(run-program-prefix) with $(test-program-prefix).
2201 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2202 (test_program_prefix): This.
2203 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2204 $(run-program-prefix) with $(test-program-prefix).
2205 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2206 (test_program_prefix): This.
2207 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2208 * posix/Makefile ($(objpfx)globtest.out): Replace
2209 $(run-via-rtld-prefix) and $(test-wrapper) with
2210 $(test-program-prefix) and $(test-via-rtld-prefix).
2211 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2212 $(test-program-prefix).
2213 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2214 $(host-test-program-cmd).
2215 (tst-spawn-ARGS): Likewise.
2216 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2217 $(test-program-prefix).
2218 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2219 (test_via_rtld_prefix): This.
2220 (test_wrapper): Renamed to ...
2221 (test_program_prefix): This.
2222 (run_program_prefix): Replaced by test_program_prefix.
2223 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2224 (test_program_prefix): This.
2225 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2226 with $(host-test-program-cmd).
2227 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2228 $(run-program-prefix) with $(test-program-prefix).
2229 ($(objpfx)tst-printf.out): Likewise.
2230 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2231 $(test-program-cmd).
2232 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2233 (test_program_prefix): This.
2234 * stdio-common/tst-unbputc.sh: Likewise.
2235 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2236 $(run-program-prefix) with $(test-program-prefix).
2237 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2238 (test_program_prefix): This.
2239 * string/Makefile ($(objpfx)tst-svc.out): Replace
2240 $(built-program-cmd) with $(test-program-cmd).
2241
c6fe55cf
AJ
22422013-01-11 Andreas Jaeger <aj@suse.de>
2243
2244 [BZ #15003]
2245 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2246 value. Sync with Linux 3.7.
2247
9e6919c8
DM
22482013-01-10 David S. Miller <davem@davemloft.net>
2249
2250 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2251 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2252 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2253
1c9f1a02
RM
22542013-01-10 Roland McGrath <roland@hack.frob.com>
2255
2256 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2257 never set.
2258 * configure: Regenerated.
2259
b9de2dde
DM
22602013-01-10 David S. Miller <davem@davemloft.net>
2261
2262 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2263 sparc V9 rather than using V8 code.
2264 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2265 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2266
e7f68ef4
RM
22672013-01-10 Roland McGrath <roland@hack.frob.com>
2268
2269 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2270 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2271 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2272 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2273 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2274 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2275 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2276 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2277 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2278 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2279 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2280 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2281 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2282 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2283 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2284 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2285 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2286 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2287 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2288 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2289 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2290 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2291 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2292 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2293 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2294 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2295 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2296
5a47cc9c
DM
22972013-01-10 David S. Miller <davem@davemloft.net>
2298
2299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2300
4cf8f209
L
23012013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2302
2303 * posix/Makefile (tests-static): New variable.
2304 (tests): Add $(tests-static).
2305 (tst-exec-static-ARGS): New variable.
2306 (tst-spawn-static-ARGS): Likewise.
2307 * posix/tst-exec-static.c: New file.
2308 * posix/tst-spawn-static.c: Likewise.
2309 * posix/tst-exec.c: Support run directly.
2310 * posix/tst-spawn.c: Likewise.
2311
fed0faa1
JM
23122013-01-10 Joseph Myers <joseph@codesourcery.com>
2313
828beb13
JM
2314 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2315 long.
2316 * math/bits/mathcalls.h (llrint): Likewise.
2317 (llround): Likewise.
2318 * stdlib/stdlib.h (struct drand48_data): Likewise.
2319 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2320 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2321 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2322 Likewise.
2323 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2324 Likewise.
2325 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2326 (elf_greg_t): Likewise.
2327 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2328 (__jmp_buf): Likewise.
2329 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2330 definitions.
2331 (llrint): Likewise, for all definitions.
2332 (llrintl): Likewise.
2333
fed0faa1
JM
2334 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2335 Remove [__GNUC__] condition.
2336 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2337 condition to just [__USE_ISOC99].
2338 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2339
1a20cb20
L
23402013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2341
2342 [BZ #14200]
2343 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2344 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2345 defined.
2346 (_POSIX_V6_ILP32_OFF32): Likewise.
2347 (_XBS5_ILP32_OFF32): Likewise.
2348 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2349 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2350
751b85f7
SP
23512013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2352
7490eb81
SP
2353 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2354
751b85f7
SP
2355 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2356 doubles __mpexp_twomm1. Adjust usage.
2357 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2358 Remove.
2359
988197f0
AS
23602013-01-10 Andreas Schwab <schwab@suse.de>
2361
2362 [BZ #14964]
2363 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2364 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2365
e83d7298
DM
23662013-01-09 David S. Miller <davem@davemloft.net>
2367
034ed64b 2368 [BZ #15003]
e83d7298
DM
2369 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2370 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2371 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2372 TCP_FASTOPEN): Define.
2373 (tcp_repair_opt): New structure.
2374 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2375 enum values.
2376 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2377 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2378 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2379 (tcp_cookie_transactions): New structure.
2380
d5e0b9bd
AB
23812013-01-09 Anton Blanchard <anton@samba.org>
2382
2383 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2384 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2385 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2386 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2387
0c07e3ea
JM
23882013-01-09 Joseph Myers <joseph@codesourcery.com>
2389
2390 * include/features.h (__USE_ANSI): Remove.
2391
232f7002
RM
23922013-01-09 Roland McGrath <roland@hack.frob.com>
2393
ad98e30c
RM
2394 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2395
232f7002
RM
2396 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2397
950c99ca
SP
23982013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2399
b5792741
SP
2400 * sysdeps/s390/fpu/libm-test-ulps: Update.
2401
47cf2278
SP
2402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2403
950c99ca
SP
2404 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2405 (__acr): Likewise.
2406 (__cpy): Likewise.
2407 (norm): Likewise.
2408 (denorm): Likewise.
2409 (__mp_dbl): Likewise.
2410 (__dbl_mp): Likewise.
2411 (add_magnitudes): Likewise.
2412 (sub_magnitudes): Likewise.
2413 (__add): Likewise.
2414 (__sub): Likewise.
2415 (__mul): Likewise.
2416 (__inv): Likewise.
2417 (__dvd): Likewise.
2418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2419 (__acr): Likewise.
2420 (__cpy): Likewise.
2421 (norm): Likewise.
2422 (denorm): Likewise.
2423 (__mp_dbl): Likewise.
2424 (__dbl_mp): Likewise.
2425 (add_magnitudes): Likewise.
2426 (sub_magnitudes): Likewise.
2427 (__add): Likewise.
2428 (__sub): Likewise.
2429 (__mul): Likewise.
2430 (__inv): Likewise.
2431 (__dvd): Likewise.
2432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2433 (__acr): Likewise.
2434 (__cpy): Likewise.
2435 (norm): Likewise.
2436 (denorm): Likewise.
2437 (__mp_dbl): Likewise.
2438 (__dbl_mp): Likewise.
2439 (add_magnitudes): Likewise.
2440 (sub_magnitudes): Likewise.
2441 (__add): Likewise.
2442 (__sub): Likewise.
2443 (__mul): Likewise.
2444 (__inv): Likewise.
2445 (__dvd): Likewise.
2446
eede9df9
JM
24472013-01-08 Joseph Myers <joseph@codesourcery.com>
2448
2449 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2450 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2451 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2452 2 && __USE_EXTERN_INLINES]: Likewise.
2453
c40ea3d9
AJ
24542013-01-08 Andreas Jaeger <aj@suse.de>
2455
2456 [BZ# 14985]
2457 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2458 Remove.
2459 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2460 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2461
2ccdea26
AB
24622013-01-07 Anton Blanchard <anton@samba.org>
2463
2464 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2465 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2466 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2467 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2468 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2469 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2470 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2471 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2473 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2474 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2475 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2476 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2477 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2478 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2479 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2480 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2481 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2482 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2483 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2484 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2485 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2486 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2487 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2488 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2489 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2490 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2491 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2492 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2493 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2494 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2496 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2497 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2498 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2499 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2500 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2501 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2502 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2503 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2504 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2505 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2506 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2507
a9708fed
JM
25082013-01-07 Joseph Myers <joseph@codesourcery.com>
2509
375607b9
JM
2510 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2511 (__MALLOC_PMT): Likewise.
2512 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2513 [__GNUC__], only on [_LIBC].
2514 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2515 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2516 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2517 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2518 forward declaration.
2519 (realloc_hook_ini): Likewise.
2520 (memalign_hook_ini): Likewise.
2521 (__libc_memalign): Do not use __MALLOC_PMT in variable
2522 declaration.
2523 (__libc_valloc): Likewise.
2524 (__libc_pvalloc): Likewise.
2525 (__libc_calloc): Likewise.
2526 (__posix_memalign): Likewise.
2527
a9708fed
JM
2528 [BZ #14996]
2529 * math/s_casinh.c: Include <float.h>.
2530 (__casinh): Do not do computation with squaring and square root
2531 for large arguments.
2532 * math/s_casinhf.c: Include <float.h>.
2533 (__casinhf): Do not do computation with squaring and square root
2534 for large arguments.
2535 * math/s_casinhl.c: Include <float.h>.
2536 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2537 (__casinhl): Do not do computation with squaring and square root
2538 for large arguments.
2539 * math/libm-test.inc (casin_test): Add more tests.
2540 (casinh_test): Likewise.
2541 * sysdeps/i386/fpu/libm-test-ulps: Update.
2542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2543
afec409a
L
25442013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2545
2546 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2547 (__x86_64_raw_data_cache_size): Likewise.
2548 (__x86_64_data_cache_size_half): Likewise.
2549 (__x86_64_raw_data_cache_size_half): Likewise.
2550 (__x86_64_shared_cache_size): Likewise.
2551 (__x86_64_raw_shared_cache_size): Likewise.
2552 (__x86_64_shared_cache_size_half): Likewise.
2553 (__x86_64_raw_shared_cache_size_half): Likewise.
2554 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2555 to ...
2556 (__x86_data_cache_size): This.
2557 (__x86_64_raw_data_cache_size): Renamed to ...
2558 (__x86_raw_data_cache_size): This.
2559 (__x86_64_data_cache_size_half): Renamed to ...
2560 (__x86_data_cache_size_half): This.
2561 (__x86_64_raw_data_cache_size_half): Renamed to ...
2562 (__x86_raw_data_cache_size_half): This.
2563 (__x86_64_shared_cache_size): Renamed to ...
2564 (__x86_shared_cache_size): This.
2565 (__x86_64_raw_shared_cache_size): Renamed to ...
2566 (__x86_raw_shared_cache_size): This.
2567 (__x86_64_shared_cache_size_half): Renamed to ...
2568 (__x86_shared_cache_size_half): This.
2569 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2570 (__x86_raw_shared_cache_size_half): This.
2571 * sysdeps/x86_64/memcpy.S: Updated.
2572 * sysdeps/x86_64/memset.S: Likewise.
2573 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2574 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2575 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2576
0b3986d0
DM
25772013-01-04 David S. Miller <davem@davemloft.net>
2578
2579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2580
e47686e9
AS
25812013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2582
d643bac1
AS
2583 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2584 1 to avoid redefinition warning.
2585 (__USE_GNU): Don't define.
2586 (init_signaling_nan): Protoize.
2587
e47686e9
AS
2588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2589
b18decba
SP
25902013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2591
fffb407f
SP
2592 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2594 (__cpymn): Likewise.
2595 (norm): Remove commented code.
2596 (denorm): Likewise.
2597 (__mp_dbl): Likewise.
2598 (__inv): Likewise.
2599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2600 (__cpymn): Likewise.
2601 (norm): Remove commented code.
2602 (denorm): Likewise.
2603 (__mp_dbl): Likewise.
2604 (__inv): Likewise.
2605
b18decba
SP
2606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2607 mp_no value for 1.0 and 2.0.
2608 (norm): Use RADIXI instead of radixi.d.
2609 (denorm): Likewise.
2610 (__mul): Use 0.0 instead of zero.d.
2611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2612 mp_no value for 1.0 and 2.0.
2613 (norm): Use RADIXI instead of radixi.d.
2614 (denorm): Likewise.
2615 (__mul): Use 0.0 instead of zero.d.
2616
cdc1c96f
JM
26172013-01-04 Joseph Myers <joseph@codesourcery.com>
2618
2619 [BZ #14994]
2620 * math/s_casinh.c (__casinh): Reduce finite argument to first
2621 quadrant then set signs of results at the end.
2622 * math/s_casinhf.c (__casinhf): Likewise.
2623 * math/s_casinhl.c (__casinhl): Likewise.
2624 * math/libm-test.inc (casin_test): Add more tests.
2625 (casinh_test): Likewise.
2626 * sysdeps/i386/fpu/libm-test-ulps: Update.
2627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2628
302913e1
SP
26292013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2630
6420d207
SP
2631 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2632
a9e48ab4
SP
2633 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2634
b7837264
SP
2635 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2636 declarations.
2637 (denorm): Likewise.
2638 (__mp_dbl): Likewise.
2639 (__inv): Likewise.
2640
f8af25d2
SP
2641 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2642 and adjust the header comment.
2643
302913e1
SP
2644 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2645 variable name from declaration.
2646
5d7dd1ca
L
26472013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2648
2649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2650 Initialize COMMON_CPUID_INDEX_7 element.
2651 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2652 (CPUID_RTM): Likewise.
2653 (HAS_RTM): Likewise.
2654 (COMMON_CPUID_INDEX_7): New enum.
2655
2f5f40f4
AS
26562013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2657
2658 [BZ #14981]
2659 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2660 size is zero, record memory as freed.
2661
4056f4a0
AJ
26622013-01-03 Andreas Jaeger <aj@suse.de>
2663
2664 * po/ia.po: Add new Interlingua translation.
2665
ab15736f 26662012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2667
2668 * locale/programs/localedef.c: Fix description of '--posix' flag.
2669
568035b7
JM
26702013-01-02 Joseph Myers <joseph@codesourcery.com>
2671
e6898b8d
JM
2672 * NEWS: Update dates in second copyright notice.
2673 * README: Update copyright dates in example.
2674 * manual/libc.texinfo: Update copyright dates.
2675 * scripts/test-installation.pl: Update copyright date in --version
2676 output.
2677
0e2f9562
JM
2678 * hurd/ctty-input.c: Fix copyright notice formatting.
2679 * hurd/ctty-output.c: Likewise.
2680 * hurd/dtable.c: Likewise.
2681 * hurd/hurd-raise.c: Likewise.
2682 * hurd/hurdprio.c: Likewise.
2683 * hurd/msgportdemux.c: Likewise.
2684 * misc/sys/file.h: Likewise.
2685 * misc/sys/ioctl.h: Likewise.
2686 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2687 * sysdeps/mach/hurd/chdir.c: Likewise.
2688 * sysdeps/mach/hurd/fchdir.c: Likewise.
2689 * sysdeps/mach/hurd/rename.c: Likewise.
2690 * sysdeps/mach/hurd/rmdir.c: Likewise.
2691 * sysdeps/mach/hurd/seekdir.c: Likewise.
2692 * sysdeps/mach/hurd/setsid.c: Likewise.
2693 * sysdeps/posix/wait3.c: Likewise.
2694
568035b7
JM
2695 * All files with FSF copyright notices: Update copyright dates
2696 using scripts/update-copyrights.
2697 * intl/plural.c: Regenerated.
2698 * locale/programs/charmap-kw.h: Likewise.
2699 * locale/programs/locfile-kw.h: Likewise.
2700
da08f647
SP
27012013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2702
0f5477af
SP
2703 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2704 four values.
2705
44e0d4c2
SP
2706 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2707 calculation loop and add branch prediction.
2708
4d55b4e5
SP
2709 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2710 check access beyond bounds of m1np.
2711
da08f647
SP
2712 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2713 MPTWO.
2714 (__inv): Remove local variable MPTWO to use the global
2715 constant.
2716 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2717 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2718 variable MPTWO.
2719 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2720 MP3HALFS static const.
2721
8e051029
DM
27222013-01-01 David S. Miller <davem@davemloft.net>
2723
2724 * po/ca.po: Update from translation team.
2725
f4cf5f2d
JM
27262013-01-01 Joseph Myers <joseph@codesourcery.com>
2727
2728 * scripts/update-copyrights: New file.
2729 * Makeconfig: Reformat copyright notice.
2730 * ctype/ctype.h: Likewise.
2731 * debug/swprintf_chk.c: Likewise.
2732 * elf/dl-cache.c: Likewise.
2733 * elf/dl-debug.c: Likewise.
2734 * elf/dl-object.c: Likewise.
2735 * grp/initgroups.c: Likewise.
2736 * hurd/Makefile: Likewise.
2737 * hurd/hurd/signal.h: Likewise.
2738 * hurd/hurdfault.c: Likewise.
2739 * hurd/hurdioctl.c: Likewise.
2740 * hurd/hurdlookup.c: Likewise.
2741 * hurd/intr-msg.c: Likewise.
2742 * iconv/gconv_open.c: Likewise.
2743 * libio/swprintf.c: Likewise.
2744 * locale/lc-ctype.c: Likewise.
2745 * locale/nl_langinfo.c: Likewise.
2746 * mach/Machrules: Likewise.
2747 * mach/Makefile: Likewise.
2748 * malloc/obstack.h: Likewise.
2749 * manual/Makefile: Likewise.
2750 * manual/tsort.awk: Likewise.
2751 * misc/bits/stab.def: Likewise.
2752 * nis/nis_print_group_entry.c: Likewise.
2753 * nis/nis_table.c: Likewise.
2754 * nis/nss_compat/compat-pwd.c: Likewise.
2755 * nis/nss_compat/compat-spwd.c: Likewise.
2756 * po/Makefile: Likewise.
2757 * posix/fnmatch.c: Likewise.
2758 * posix/regex.h: Likewise.
2759 * resolv/Makefile: Likewise.
2760 * resolv/nss_dns/dns-network.c: Likewise.
2761 * resolv/res_hconf.c: Likewise.
2762 * scripts/gen-sorted.awk: Likewise.
2763 * soft-fp/soft-fp.h: Likewise.
2764 * stdio-common/printf.h: Likewise.
2765 * stdlib/monetary.h: Likewise.
2766 * stdlib/random.c: Likewise.
2767 * stdlib/random_r.c: Likewise.
2768 * sysdeps/generic/Makefile: Likewise.
2769 * sysdeps/gnu/Makefile: Likewise.
2770 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2771 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2772 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2774 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2777 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2778 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2779 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2780 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2781 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2782 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2783 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2784 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2785 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2786 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2787 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2788 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2790 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2791 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2792 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2793 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2794 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2795 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2796 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2797 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2798 * sysdeps/mach/hurd/errnos.awk: Likewise.
2799 * sysdeps/mach/hurd/fork.c: Likewise.
2800 * sysdeps/mach/hurd/getcwd.c: Likewise.
2801 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2802 * sysdeps/mach/hurd/mmap.c: Likewise.
2803 * sysdeps/mach/hurd/utimes.c: Likewise.
2804 * sysdeps/mach/hurd/xmknod.c: Likewise.
2805 * sysdeps/posix/profil.c: Likewise.
2806 * sysdeps/posix/readdir_r.c: Likewise.
2807 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2808 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2809 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2810 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2812 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2813 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2814 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2816 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2817 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2818 * sysdeps/pthread/lio_listio.c: Likewise.
2819 * sysdeps/sparc/dl-procinfo.h: Likewise.
2820 * sysdeps/unix/i386/sysdep.S: Likewise.
2821 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2822 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2823 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2824 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2826 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2827 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2828 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2829 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2830 * sysdeps/wordsize-32/divdi3.c: Likewise.
2831 * time/sys/time.h: Likewise.
2832 * wcsmbs/Makefile: Likewise.
2833
0549fbba
DM
28342013-01-01 David S. Miller <davem@davemloft.net>
2835
a141f1a7
DM
2836 * po/fr.po: Update from translation team.
2837
0549fbba
DM
2838 * catgets/gencat.c: Update copyright year.
2839 * csu/version.c: Likewise.
2840 * debug/catchsegv.sh: Likewise.
2841 * debug/pcprofiledump.c: Likewise.
2842 * debug/xtrace.sh: Likewise.
2843 * elf/ldconfig.c: Likewise.
2844 * elf/ldd.bash.in: Likewise.
2845 * elf/pldd.c: Likewise.
2846 * elf/sotruss.ksh: Likewise.
2847 * elf/sprof.c: Likewise.
2848 * iconv/iconv_prog.c: Likewise.
2849 * iconv/iconvconfig.c: Likewise.
2850 * locale/programs/locale.c: Likewise.
2851 * locale/programs/localedef.c: Likewise.
2852 * login/programs/pt_chown.c: Likewise.
2853 * malloc/memusage.sh: Likewise.
2854 * malloc/memusagestat.c: Likewise.
2855 * malloc/mtrace.pl: Likewise.
2856 * nscd/nscd.c: Likewise.
2857 * nss/getent.c: Likewise.
2858 * nss/makedb.c: Likewise.
2859 * posix/getconf.c: Likewise.
2860
18ea052c
SP
28612012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2862
2863 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2864 numbers.
2865
9c89fca6
MF
28662012-12-30 Mike Frysinger <vapier@gentoo.org>
2867
2868 * math/bits/mathcalls.h (modf): Use __nonnull.
2869
085ec079
SP
28702012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2871
2872 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2873 (split): Use macro CN instead of the bare value.
2874 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2875 could be used.
2876 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2877 instead of the bare value.
2878 (power1): Likewise.
2879
6d9f97e1
SP
28802012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2881
d63f73be
SP
2882 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2883 __ATAN_TWOM.
2884 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2885
6d9f97e1
SP
2886 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2887 their values.
2888 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2889 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2890 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2891 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2892
4c4febf5
AJ
28932012-12-28 Andreas Jaeger <aj@suse.de>
2894
af5843ef
AJ
2895 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2896 values are from Linux 3.7.
2897
4c4febf5
AJ
2898 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2899 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2900
99136f82
SP
29012012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2902
2f216c3c 2903 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2904 TRUE case.
2905
99136f82
SP
2906 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2907 (norm): Likewise.
2908 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2909 variables with preprocessor constants.
2910 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2911 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2912 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2913
7fffbdff
BH
29142012-12-27 Bruno Haible <bruno@clisp.org>
2915
2916 [BZ #14317]
2917 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2918 only if needed.
2919
b76eb5f0
SP
29202012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2921
31a7fe5c
SP
2922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2923 and use variable directly.
2924 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2925
b76eb5f0
SP
2926 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2927 MPONE.
2928 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2929 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2930 variable MPONE.
2931 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2933 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2934 include directive. Remove local variable MPONE.
2935 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2936 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2937 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2938
2c8bfe7d
DM
29392012-12-25 David S. Miller <davem@davemloft.net>
2940
2941 * version.h (RELEASE): Set to "development".
2942 (VERSION): Set to "2.17.90".
2943 * NEWS: Add 2.18 section.
2944
147d03b0
DM
29452012-12-21 David S. Miller <davem@davemloft.net>
2946
2947 * po/hr.po: Update from translation team.
2948
a8ebb2b9
AK
29492012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2950
2951 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2952
95b4f1b6
SE
29532012-12-19 Steve Ellcey <sellcey@mips.com>
2954
b2d94007 2955 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2956
cedb2a90
MS
29572012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2958
2959 * manual/contrib.texi (Contributors): Spelling correction.
2960
bbf527d6
DM
29612012-12-15 David S. Miller <davem@davemloft.net>
2962
2963 * po/ru.po: Update from translation team.
2964
bc38c906
DM
29652012-12-13 David S. Miller <davem@davemloft.net>
2966
85429b1a
DM
2967 * NEWS: Mention IFUNC testsuite enhancements.
2968
d283e353
DM
2969 * po/pl.po: Update from translation team.
2970 * po/bg.po: Likewise.
2971
bc38c906
DM
2972 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2973 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2974
a181b0d7
DM
29752012-12-11 David S. Miller <davem@davemloft.net>
2976
4641d57e
DM
2977 * po/sv.po: Update from translation team.
2978
f7bc6495
DM
2979 * po/vi.po: Update from translation team.
2980
6fc9048f
DM
2981 * po/cs.po: Update from translation team.
2982
a181b0d7
DM
2983 * po/de.po: Update from translation team.
2984 * po/eo.po: Likewise.
2985 * po/nl.po: Likewise.
2986
f70bfe80
SP
29872012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2988
3c8b4190
SP
2989 [BZ #14246]
2990 * manual/argp.texi (Argp Helper Functions): Move node to follow
2991 Argp Parsing State.
2992
f70bfe80
SP
2993 [BZ #14872]
2994 * manual/conf.texi (Limits on File System Capacity): Mention if
2995 terminating null is included in the max size.
2996
188f0adf
AJ
29972012-12-10 Andreas Jaeger <aj@suse.de>
2998
2999 * po/cs.po: Update from translation team.
3000
56e7d3ad
SP
30012012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3002
3003 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3004 void pointer and cast to uintptr_t.
3005 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3006 path.
3007 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3008 * sysdeps/s390/s390-64/memset.S: Likewise.
3009
76f2d2ea 30102012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
3011
3012 [BZ #14833]
3013 * menual/message.texi (Message Translation): Fix typos.
3014 (Helper programs for gettext): Likewise.
3015
67cbf9a2
AS
30162012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3017
3018 [BZ #14898]
3019 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3020 Change to -1.
3021
682d0e9a
DM
30222012-12-07 David S. Miller <davem@davemloft.net>
3023
3024 * po/libc.pot: Update.
3025
573cd484
RH
30262012-12-07 Richard Henderson <rth@redhat.com>
3027
7e9da188 3028 [BZ #10114]
573cd484
RH
3029 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3030 normal/normal case to before the switch.
3031 (_FP_DIV): Likewise.
3032
e933a943
MF
30332012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3034 Mike Frysinger <vapier@gentoo.org>
3035
3036 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3037 check for __NR_fadvise64_64.
3038
82123268
CM
30392012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3040
3041 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3042 0, not just to plain "0" as a statement.
3043 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3044 with cw.
3045
d9814526
JM
30462012-12-06 Joseph Myers <joseph@codesourcery.com>
3047
3048 * NEWS: Use sourceware.org in Bugzilla URL.
3049
7728c574
SP
30502012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3051
f16946dd
SP
3052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3053 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3054
5704bbcb
SP
3055 * stdio-common/tst-put-error.c (do_test): Add newline to the
3056 padded test to ensure flush.
3057
17aa0516
JL
30582012-12-05 Jeff Law <law@redhat.com>
3059
3060 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3061
363313b5
JM
30622012-12-05 Joseph Myers <joseph@codesourcery.com>
3063
effbd42a
JM
3064 * README: Don't refer to ports add-on as distributed separately.
3065 Mention AArch64 in list of systems supported in the ports add-on.
3066
87600365
JM
3067 * LICENSES: Add more non-FSF copyright and license notices.
3068
a0d7066a
JM
3069 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3070 ((unused)).
3071
66ca5a5b
JM
3072 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3073
363313b5
JM
3074 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3075 10000 as width of padded output.
3076
b37984ad
JM
30772012-12-04 Joseph Myers <joseph@codesourcery.com>
3078
9003570a
JM
3079 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3080
b37984ad
JM
3081 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3082 variable LX with __attribute__ ((unused)).
3083 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3084 Likewise.
3085 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3086 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3087 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3088 with __attribute__ ((unused)).
3089
c8df52ec
DM
30902012-12-04 David S. Miller <davem@abraco.davemloft.net>
3091
3092 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3093
b3b099af
JM
30942012-12-04 Joseph Myers <joseph@codesourcery.com>
3095
c33aa6e3
JM
3096 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3097 (CFLAGS-nldbl-acos.c): New variable.
3098 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3099 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3100 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3101 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3102 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3103 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3104 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3105 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3106 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3107 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3108 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3109 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3110 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3111 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3112 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3113 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3114 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3115 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3116 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3117 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3118 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3119 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3120 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3121 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3122 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3123 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3124 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3125 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3126 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3127 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3128 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3129 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3130 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3131 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3132 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3133 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3134 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3135 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3136 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3137 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3138 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3139 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3140 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3141 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3142 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3143 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3144 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3145 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3146 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3147 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3148 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3149 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3150 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3151 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3152 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3153 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3154 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3155 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3156 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3157 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3158 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3159 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3160 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3161 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3162 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3163 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3164 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3165 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3166 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3167 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3168 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3169 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3170 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3171 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3172 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3173 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3174 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3175 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3176 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3177 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3178 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3179 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3180 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3181 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3182 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3183 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3184 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3185 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3186 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3187 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3188 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3189 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3190 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3191 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3192 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3193 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3194 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3195
20f0018d
JM
3196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3197 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3198
b3b099af
JM
3199 [BZ #14914]
3200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3201 whole low double instead of just low 47 bits when splitting values
3202 into two parts.
3203
029264d1
AM
32042012-12-03 Allan McRae <allan@archlinux.org>
3205
3206 * manual/stdio.texi (Predefined Printf Handlers): Remove
3207 @hsep and @vsep usage.
3208
c9d6789e
MF
32092012-12-03 Mike Frysinger <vapier@gentoo.org>
3210
3211 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3212 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3213
4b7634a5
JL
32142012-12-03 Jeff Law <law@redhat.com>
3215
3216 * time/sys/time.h (settimeofday): Do not mark TV argument
3217 as __nonnull.
3218
eb6cbd24
MF
32192012-12-01 Mike Frysinger <vapier@gentoo.org>
3220
3221 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3222 when currently writing and seek to current position when not.
3223 * libio/Makefile (tests): Remove bug-fclose1.
3224 * libio/bug-fclose1.c: Delete.
3225
f638872a
JM
32262012-12-01 Joseph Myers <joseph@codesourcery.com>
3227
3228 * manual/arith.texi (feenableexcept): Fix typo.
3229 (fedisableexcept): Likewise.
3230
48085d14
RM
32312012-11-30 Roland McGrath <roland@hack.frob.com>
3232
3233 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3234 second, differently-typed declaration, rather than a cast.
3235
1a538b9f
SP
32362012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3237
3238 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3239 * include/rpc/svc.h: ... here.
3240
d07f2ff1 32412012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3242
3243 [BZ #13013]
3244 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3245 depending n and resplen2 to catch cases where answer
3246 equals answerp2.
3247
c93ec1f0
CD
32482012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3249
3250 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3251 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3252
37db69de
MF
32532012-11-29 Mike Frysinger <vapier@gentoo.org>
3254
3255 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3256
e10c4e4f
RM
32572012-11-29 Roland McGrath <roland@hack.frob.com>
3258
3259 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3260
2af1b328
JL
32612012-11-28 Jeff Law <law@redhat.com>
3262
3263 [BZ #13761]
3264 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3265 dataset_temporary. Track alloca usage into alloca_used.
3266 If dataset is large allocate and release it via malloc/free.
3267
111db5b1
FW
32682012-06-04 Florian Weimer <fweimer@redhat.com>
3269
f06cc227 3270 [BZ #14197]
111db5b1
FW
3271 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3272
dd694abd
DM
32732012-11-28 David S. Miller <davem@davemloft.net>
3274
3275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3276
9984dd01
JM
32772012-11-28 Joseph Myers <joseph@codesourcery.com>
3278
3279 [BZ #14803]
3280 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3281 of pi/2 rounded to nearest to 64 bits.
3282 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3283 nearest to 64 bits.
3284 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3285 bits.
3286
14bc93a9
JL
32872012-11-28 Jeff Law <law@redhat.com>
3288 Martin Osvald <mosvald@redhat.com>
3289
3290 [BZ #14889]
3291 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3292 * sunrpc/svc.c: Include time.h.
3293 (__svc_accept_failed): New function.
3294 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3295 any reason other than EINTR, call __svc_accept_failed.
3296 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3297 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3298
e3c6aa3a
AS
32992012-11-28 Andreas Schwab <schwab@suse.de>
3300
3301 * scripts/abilist.awk: Also handle indirect functions in .opd
3302 section.
3303
1bead169
JM
33042012-11-28 Joseph Myers <joseph@codesourcery.com>
3305
3306 [BZ #13881]
3307 * sysdeps/x86/fpu/powl_helper.c: New file.
3308 * sysdeps/x86/fpu/Makefile: Likewise.
3309 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3310 (p3): New object.
3311 (__ieee754_powl): Use __powl_helper for finite arguments except
3312 integer exponents below 8.
3313 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3314 (p3): New object.
3315 (__ieee754_powl): Use __powl_helper for finite arguments except
3316 integer exponents below 8.
3317 * math/libm-test.inc (pow_test): Add more tests and enable some
3318 previously disabled tests.
3319 * sysdeps/i386/fpu/libm-test-ulps: Update.
3320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3321
0817d63d
SP
33222012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3323 Carlos O'Donell <carlos_odonell@mentor.com>
3324
3325 * nss/makedb.c (is_prime): Assert that input is odd and greater
3326 than 4. Note that fact in a comment too.
3327 (next_prime): Add 4 to input.
3328
de2fd463
SP
33292012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3330
3331 [BZ #11741]
3332 * libio/Makefile (tests): Add test case tst-fwrite-error.
3333 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3334 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3335 * libio/tst-fwrite-error.c: New test case.
3336
c515fb51
L
33372012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3338
3339 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3340 before casting to void *.
3341 * include/libc-internal.h (__pointer_type): New macro.
3342 (__integer_if_pointer_type_sub): Likewise.
3343 (__integer_if_pointer_type): Likewise.
3344 (cast_to_integer): Likewise.
3345 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3346 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3347 before casting to atomic64_t.
3348 (atomic_exchange_acq): Likewise.
3349 (__arch_exchange_and_add_body): Likewise.
3350 (__arch_add_body): Likewise.
3351 (atomic_add_negative): Likewise.
3352 (atomic_add_zero): Likewise.
3353
4cf77aa9
JM
33542012-11-26 Joseph Myers <joseph@codesourcery.com>
3355
3356 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3357 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3358 (add_fdes): Likewise.
3359 (linear_search_fdes): Likewise.
3360 (binary_search_unencoded_fdes): Likewise.
3361
d260b3b4
AS
33622012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3363
3364 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3365
67060746
AC
33662012-11-24 Adam Conrad <adconrad@0c3.net>
3367
3368 * configure.in: Autodetect C++ header directories.
3369 * configure: Regenerated.
3370
800938a1
MF
33712012-11-23 Mike Frysinger <vapier@gentoo.org>
3372
3373 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3374
4e6e34e6
AS
33752012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3376
3377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3378
7c7feb47
JM
33792012-11-22 Joseph Myers <joseph@codesourcery.com>
3380
7184dcdf
JM
3381 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3382 LDBL_MANT_DIG == 106]: Disable some tests.
3383 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3384 Likewise.
3385 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3386 Likewise.
3387
0a42601f
JM
3388 [BZ #14871]
3389 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3390 input for small inputs. Return +/- pi/2 for large inputs.
3391 * math/libm-test.inc (atan_test): Add more tests.
3392
79c9b9fe
JM
3393 * sysdeps/generic/unwind-dw2-fde-glibc.c
3394 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3395 __attribute__ ((unused)).
3396
c60d3bf2
JM
3397 [BZ #14645]
3398 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3399 x * y if x and y are nonzero and z is zero.
3400
ef1e0867
JM
3401 [BZ #14811]
3402 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3403 nonzero exponents with absolute value below 0x1p-117 to +/-
3404 0x1p-117.
3405
1468ded3
JM
3406 [BZ #14869]
3407 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3408 up arguments below 2**-450, not just those below 2**-500.
3409 * math/libm-test.inc (hypot_test): Add another test.
3410
8e27e3cc
JM
3411 [BZ #14868]
3412 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3413 Return a+b for ratio over 2**120, not 2**60.
3414 * math/libm-test.inc (hypot_test): Add another test.
3415
c9c0279b
JM
3416 * math/libm-test.inc (clog_test): Use
3417 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3418 (clog10_test): Likewise.
3419
7c7feb47
JM
3420 [BZ #6778]
3421 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3422
fff1530e
AS
34232012-11-22 Andreas Schwab <schwab@suse.de>
3424
3425 * sysdeps/i386/fpu/libm-test-ulps: Update.
3426
94558d30
PT
34272012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3428
3429 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3430 printf output with newline.
3431
7e1be741
L
34322012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3433
6bfea974
L
3434 [BZ #14865]
3435 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3436 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3437 -z nodlopen, -z initfirst and -z execstack support.
3438 * configure: Regenerated.
3439
7e1be741
L
3440 * elf/elf.h (DF_1_NODIRECT): New macro.
3441 (DF_1_IGNMULDEF): Likewise.
3442 (DF_1_NOKSYMS): Likewise.
3443 (DF_1_NOHDR): Likewise.
3444 (DF_1_EDITED): Likewise.
3445 (DF_1_NORELOC): Likewise.
3446 (DF_1_SYMINTPOSE): Likewise.
3447 (DF_1_GLOBAUDIT): Likewise.
3448 (DF_1_SINGLETON): Likewise.
3449 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3450 DT_1_SUPPORTED_MASK bits.
3451 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3452
105ce2ce
CD
34532012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3454
3455 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3456
123be9de
TS
34572012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3458
d072f3f7
TS
3459 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3460 macro.
3461
123be9de
TS
3462 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3463 (sendmmsg): Move declarations...
3464 * socket/sys/socket.h: ... here.
3465 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3466 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3467 include it from...
3468 * socket/recvmmsg.c: ... this new file.
3469 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3470 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3471 definition of __sendmmsg hidden.
3472 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3473 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3474 Move ENOSYS stub into and include it from...
3475 * socket/sendmmsg.c: ... this new file.
3476 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3477 (sysdep_routines): Move recvmmsg and sendmmsg...
3478 * socket/Makefile (routines): ... here.
3479 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3480 (GLIBC_PRIVATE): Add __sendmmsg.
3481 * include/sys/socket.h (__sendmmsg): Add declarations.
3482 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3483 sendmmsg.
3484
cf9a5d18
JM
34852012-11-20 Joseph Myers <joseph@codesourcery.com>
3486
3487 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3488 variable I1 with __attribute__ ((unused)).
3489 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3490
ecd4caf9
JM
34912012-11-19 Joseph Myers <joseph@codesourcery.com>
3492
be14d48f
JM
3493 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3494 DUMMY variables with __attribute__ ((unused)).
3495
ecd4caf9
JM
3496 * bits/byteswap.h: Include <bits/types.h>.
3497 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3498
986cab95
PT
34992012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3500
3501 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3502 string_t. Do not manually set errno.
3503 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3504 length with __strnlen. Make sure to both set errno and return it on
3505 failure.
3506
6d33cc9d
DM
35072012-11-19 David S. Miller <davem@davemloft.net>
3508
3509 With help from Joseph Myers.
3510 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3511 very large arguments properly.
3512 * math/libm-test.inc (atan_test): New tests.
3513 (atan2_test): New tests.
3514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3516
ee663277
JM
35172012-11-19 Joseph Myers <joseph@codesourcery.com>
3518
877f2d8e
JM
3519 [BZ #14856]
3520 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3521 Define to 3.
3522
116fc08a
JM
3523 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3524 [POSIX] (EADDRNOTAVAIL): Likewise.
3525 [POSIX] (EAFNOSUPPORT): Likewise.
3526 [POSIX] (EALREADY): Likewise.
3527 [POSIX] (ECONNABORTED): Likewise.
3528 [POSIX] (ECONNREFUSED): Likewise.
3529 [POSIX] (ECONNRESET): Likewise.
3530 [POSIX] (EDESTADDRREQ): Likewise.
3531 [POSIX] (EDQUOT): Likewise.
3532 [POSIX] (EHOSTUNREACH): Likewise.
3533 [POSIX] (EIDRM): Likewise.
3534 [POSIX] (EISCONN): Likewise.
3535 [POSIX] (ELOOP): Likewise.
3536 [POSIX] (EMULTIHOP): Likewise.
3537 [POSIX] (ENETDOWN): Likewise.
3538 [POSIX] (ENETUNREACH): Likewise.
3539 [POSIX] (ENOBUFS): Likewise.
3540 [POSIX] (ENODATA): Likewise.
3541 [POSIX] (ENOLINK): Likewise.
3542 [POSIX] (ENOMSG): Likewise.
3543 [POSIX] (ENOPROTOOPT): Likewise.
3544 [POSIX] (ENOSR): Likewise.
3545 [POSIX] (ENOSTR): Likewise.
3546 [POSIX] (ENOTCONN): Likewise.
3547 [POSIX] (ENOTSOCK): Likewise.
3548 [POSIX] (EOPNOTSUPP): Likewise.
3549 [POSIX] (EOVERFLOW): Likewise.
3550 [POSIX] (EPROTO): Likewise.
3551 [POSIX] (EPROTONOSUPPORT): Likewise.
3552 [POSIX] (EPROTOTYPE): Likewise.
3553 [POSIX] (ESTALE): Likewise.
3554 [POSIX] (ETIME): Likewise.
3555 [POSIX] (ETXTBSY): Likewise.
3556 [POSIX] (EWOULDBLOCK): Likewise.
3557 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3558 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3559 [POSIX] (SEEK_CUR): Likewise.
3560 [POSIX] (SEEK_END): Likewise.
3561 [POSIX || UNIX98] (mode_t): Do not require.
3562 [POSIX] (off_t): Likewise.
3563 [POSIX] (pid_t): Likewise.
3564 [POSIX] (sys/stat.h): Do not allow header.
3565 [POSIX] (unistd.h): Likewise.
3566 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3567 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3568 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3569 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3570 require.
3571 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3572 sigevent): Specify elements.
3573 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3574 entry.
3575 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3576 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3577
a483863f
JM
3578 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3579 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3580 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3581 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3582 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3583 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3584 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3585 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3586 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3587 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3588 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3589 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3590 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3591 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3592 Likewise.
3593 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3594 Likewise.
3595 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3596 Likewise.
3597 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3598 Likewise.
3599 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3600 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3601 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3602 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3603 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3604 Specify lower bound on value.
3605 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3606 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3607 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3608 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3609 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3610 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3611 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3612 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3613 value.
3614 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3615 as optional.
3616 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3617 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3618 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3619 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3620 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3621 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3622 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3623 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3624 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3625 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3626 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3627 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3628 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3629 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3630 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3631 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3632 entry.
3633 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3634 optional.
3635 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3636 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3637 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3638 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3639 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3640 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3641 Likewise.
3642 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3643 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3644 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3645 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3646 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3647 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3648 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3649 as optional.
3650 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3651 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3652 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3653 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3654 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3655 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3656 specify as optional.
3657 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3658 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3659 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3660 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3661 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3662 [XPG3] (NL_LANGMAX): Likewise.
3663 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3664 [POSIX || XPG3] (NL_NMAX): Likewise.
3665 [POSIX || XPG3] (NL_SETMAX): Likewise.
3666 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3667 [XPG3] (NZERO): Likewise.
3668 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3669 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3670 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3671 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3672 (REG_ERANGE): Expect.
3673 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3674 optional-constant.
3675 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3676 Use (void) in prototype.
3677 [POSIX] (*_t): Allow.
3678 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3679 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3680 (WRDE_BADVAL): Expect.
3681
5ba924e3
JM
3682 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3683 expect.
3684 [XPG3 || XPG4] (O_RSYNC): Likewise.
3685 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3686 Likewise.
3687 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3688 [XPG3 || XPG4] (sigqueue): Likewise.
3689 [XPG3 || XPG4] (sigtimedwait): Likewise.
3690 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3691 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3692 [XPG3 || XPG4] (vsnprintf): Likewise.
3693 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3694 Likewise.
3695 [XPG3 || XPG4] (blksize_t): Likewise.
3696 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3697 Likewise.
3698 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3699 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3700 [XPG3 || XPG4] (struct itimerspec): Likewise.
3701 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3702 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3703 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3704 [XPG3 || XPG4] (clockid_t): Likewise.
3705 [XPG3 || XPG4] (timer_t): Likewise.
3706 [XPG3 || XPG4] (clock_getres): Likewise.
3707 [XPG3 || XPG4] (clock_gettime): Likewise.
3708 [XPG3 || XPG4] (clock_settime): Likewise.
3709 [XPG3 || XPG4] (nanosleep): Likewise.
3710 [XPG3 || XPG4] (timer_create): Likewise.
3711 [XPG3 || XPG4] (timer_delete): Likewise.
3712 [XPG3 || XPG4] (timer_gettime): Likewise.
3713 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3714 [XPG3 || XPG4] (timer_settime): Likewise.
3715 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3716 [XPG3 || XPG4] (getlogin_r): Likewise.
3717 [XPG3 || XPG4] (pread): Likewise.
3718 [XPG3 || XPG4] (pthread_atfork): Likewise.
3719 [XPG3 || XPG4] (pwrite): Likewise.
3720
ee663277
JM
3721 [BZ #14835]
3722 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3723 <bits/siginfo.h>.
3724
942caa16
PT
37252012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3726
e19af380
PT
3727 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3728 finalizing MALLSTREAM.
3729
942caa16
PT
3730 * sysdeps/mach/hurd/syncfs.c: New file.
3731
cfde9b46
SP
37322012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3733
3734 [BZ #14719]
3735 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3736 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3737 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3738 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3739 (_nss_dns_gethostbyname4_r): Likewise.
3740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3741 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3742
f6da27e5
PH
37432012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3744
3745 [BZ #13763]
3746 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3747
6665d4a2
SM
37482012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3749
1f51ee92
SM
3750 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3751 * elf/cache.c (print_entry): Print ",AArch64" for
3752 FLAG_AARCH64_LIB64
3753
6665d4a2
SM
3754 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3755 * elf/cache.c (print_entry): Print ",hard-float" for
3756 FLAG_ARM_LIBHF.
3757
05b227bd
DM
37582012-11-18 David S. Miller <davem@davemloft.net>
3759
3760 With help from Joseph Myers.
3761 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3762 cutoff to 2**-13.
3763 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3764 cutoff to 2**-25.
3765 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3766 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3767 small.
3768 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3769 * math/libm-test.inc (y0_test): New tests.
3770 (y1_test): New tests.
3771 * sysdeps/i386/fpu/libm-test-ulps: Update.
3772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3774
786b0b67
AS
37752012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3776
3777 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3778 64-bit targets.
3779 * configure: Regenerated.
3780
8e18b86d
DM
37812012-11-17 David S. Miller <davem@davemloft.net>
3782
3783 [BZ #14811]
3784 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3785 nonzero exponents with absolute value below 0x1p-128 to +/-
3786 0x1p-128.
3787
531f1ae0
JM
37882012-11-17 Joseph Myers <joseph@codesourcery.com>
3789
12df29e2
JM
3790 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3791
150dc1a0
JM
3792 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3793
531f1ae0
JM
3794 * posix/getconf-speclist.c: New file.
3795 * posix/posix-envs.def: Likewise.
3796 * posix/confstr.c (START_ENV_GROUP): New macro.
3797 (END_ENV_GROUP): Likewise.
3798 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3799 (KNOWN_PRESENT_ENV_STRING): Likewise.
3800 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3801 (UNKNOWN_ENVIRONMENT): Likewise.
3802 (confstr): Include posix-envs.def instead of handling
3803 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3804 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3805 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3806 (END_ENV_GROUP): Likewise.
3807 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3808 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3809 (UNKNOWN_ENVIRONMENT): Likewise.
3810 (__sysconf): Include posix-envs.def instead of handling associated
3811 cases directly here.
3812 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3813 preprocessing getconf-speclist.c rather than running getconf or
3814 generating empty file.
3815
a93f9cbc
PT
38162012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3817
3818 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3819
d64d9f87
AL
38202012-11-16 Andrej Lajovic <natrij@gmail.com>
3821
3822 [BZ #14672]
3823 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3824
447885eb
DM
38252012-11-16 David S. Miller <davem@davemloft.net>
3826
3827 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3828 smaller than LDBL_EPSILON/2.0L, just return xm1.
3829
bcbf9830
L
38302012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3831
3832 * elf/tst-array1.c (init): Set constructor priority to 1000.
3833 (fini): Set destructor priority to 1000.
3834 * elf/tst-array2dep.c: Likewise.
3835
2b766585
SP
38362012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3837
3838 [BZ #11741]
3839 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3840 (_IO_new_file_xsputn): Also return EOF if none of the input
3841 data was written when overflow failed.
3842 * libio/iopadn.c (_IO_padn): Likewise.
3843 * libio/iowpadn.c (_IO_wpadn): Likewise.
3844 * stdio-common/tst-put-error.c: Add copyright notice.
3845 (do_test): Add case for printing padded string.
3846 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3847 _IO_padn returned error.
3848 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3849 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3850 return EOF.
3851
b1848fde
SP
38522012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3853
3854 * libio/libioP.h: Add comment note that the references to C++
3855 bits are now obsolete.
3856
2fd89785
MS
38572012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3858
3859 * math/libm-test.inc (check_complex): Use asprintf.
3860
e3ea5409
JM
38612012-11-14 Joseph Myers <joseph@codesourcery.com>
3862
3863 * debug/pcprofiledump.c (print_version): Update copyright year.
3864 * malloc/memusagestat.c (print_version): Likewise.
3865
2e64d265
L
38662012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3867
3868 [BZ #14831]
3869 * elf/Makefile (tests): Add tst-audit8.
3870 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3871 ($(objpfx)tst-audit8.out): New target.
3872 (tst-audit8-ENV): New variable.
3873 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3874 audit if l_reloc_result is NULL.
3875 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3876 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3877 * elf/tst-audit8.c: New file.
3878
c485e4d2
MS
38792012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3880
3881 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3882 * misc/Makefile (CFLAGS-select.c): Define.
3883 * posix/Makefile (CFLAGS-pause.c): Define.
3884
3a0d900a
DM
38852012-11-13 David S. Miller <davem@davemloft.net>
3886
3887 * crypt/Makefile: Move test targets after toplevel Rules
3888 inclusion. Grab any necessary sysdep routines when linking.
3889 * crypt/md5.c (md5_process_block): Remove define, we will always
3890 name it __md5_process_block.
3891 (md5_finish_ctx): Update md5_process_block call.
3892 (md5_stream): Likewise.
3893 (md5_process_bytes): Likewise.
3894 (md5_process_block): Rename to __md5_process_block and move to ...
3895 * crypt/md5-block.c: ... here.
3896 * crypt/sha256.c (sha256_process_block): Move to ...
3897 * crypt/sha256-block.c: ... here.
3898 * crypt/sha512.c (sha512_process_block): Move to ...
3899 * crypt/sha512-block.c: ... here.
3900 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3901 path.
3902 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3903 * sysdeps/sparc/sparc64/multiarch/Makefile
3904 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3905 crypt subdir.
3906 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3907 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3908 multiarch changes.
3909 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3910 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3911 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3912 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3913 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3914 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3915 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3916 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3917 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3918 file.
3919 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3920 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3921 file.
3922 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3923
8ca89318
JM
39242012-11-13 Joseph Myers <joseph@codesourcery.com>
3925
e27d476a
JM
3926 * timezone/tzselect.ksh: Update from tzcode git revision
3927 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3928 * timezone/zdump.c: Likewise.
3929 * timezone/zic.c: Likewise.
3930 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3931 in TZVERSION setting, not $(PKGVERSION).
3932 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3933 REPORT_BUGS_TO settings.
3934
8ca89318
JM
3935 [BZ #14838]
3936 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3937 macro.
3938
47594329
MS
39392012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3940
3941 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3942 detection to immediately after _FP_ROUND().
3943 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3944 bits are 0.
3945
640ac3f1
DM
39462012-11-11 David S. Miller <davem@davemloft.net>
3947
3948 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3949 inttypes.h
3950 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3951 __close rather than their public counterparts.
3952
3d2577bb
JM
39532012-11-10 Joseph Myers <joseph@codesourcery.com>
3954
3955 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3956 file.
3957 [UNIX98] (sem_timedwait): Do not expect.
3958 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3959 [XPG4 || UNIX98] (sockatmark): Do not expect.
3960 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3961 (clock_getcpuclockid): Do not expect.
3962 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3963 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3964 Do not expect.
3965 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3966 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3967 [UNIX98] (vwscanf): Likewise.
3968 [UNIX98] (vswscanf): Likewise.
3969
fb1ae1ee
JM
39702012-11-09 Joseph Myers <joseph@codesourcery.com>
3971
9ec6f8bd
JM
3972 * timezone/version.h: Remove file.
3973 * timezone/README: Do not refer to version.h.
3974 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3975 $(objpfx)version.h.
3976 ($(objpfx)zdump.o): Likewise.
c3f81911 3977 ($(objpfx)version.h): New target.
9ec6f8bd 3978
0aa8f8a1
JM
3979 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3980 2012i.
3981 * timezone/README: Don't mention modification to tzselect.ksh.
3982 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3983 work on unmodified tzselect.ksh. Substitute version numbers in
3984 tzselect.ksh.
3985
4e87147f
JM
3986 * Makefile (format-me): Remove.
3987 (INSTALL): Adjust indentation. Use commands directly instead of
3988 using $(format-me).
3989
8b748aed
JM
3990 * aclocal.m4 (ACX_PKGVERSION): New macro.
3991 (ACX_BUGURL): Likewise.
3992 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3993 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3994 (REPORT_BUGS_TO): Likewise.
3995 * configure: Regenerated.
3996 * config.h.in (PKGVERSION): New macro.
3997 (REPORT_BUGS_TO): Likewise.
3998 * config.make.in (PKGVERSION): New variable.
3999 (PKGVERSION_TEXI): Likewise.
4000 (REPORT_BUGS_TO): Likewise.
4001 (REPORT_BUGS_TEXI): Likewise.
4002 * Makefile (format-me): Use -I$(common-objpfx)manual.
4003 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4004 ($(common-objpfx)manual/%): New target.
4005 (manual/%): Remove target.
4006 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4007 (print_version): Use PKGVERSION.
4008 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4009 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4010 and REPORT_BUGS_TO.
4011 ($(objpfx)xtrace): Likewise.
4012 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4013 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4014 (print_version): Use PKGVERSION.
4015 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4016 (do_version): Use PKGVERSION.
4017 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4018 REPORT_BUGS_TO.
4019 (common-ldd-rewrite): Likewise.
4020 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4021 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4022 (print_version): Use PKGVERSION.
4023 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4024 * elf/pldd.c (argp_program_bug_address): Remove variable.
4025 (more_help): New function.
4026 (argp): Use more_help.
4027 (print_version): Use PKGVERSION.
4028 * elf/sln.c (main): Use PKGVERSION.
4029 (usage): Use REPORT_BUGS_TO.
4030 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4031 (top level): Use PKGVERSION.
4032 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4033 (print_version): Use PKGVERSION.
4034 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4035 (print_version): Use PKGVERSION.
4036 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4037 (print_version): Use PKGVERSION.
4038 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4039 (print_version): Use PKGVERSION.
4040 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4041 (print_version): Use PKGVERSION.
4042 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4043 (print_version): Use PKGVERSION.
4044 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4045 and BUGURL.
4046 ($(objpfx)memusage): Likewise.
4047 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4048 (do_version): Use PKGVERSION.
4049 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4050 (print_version): Use PKGVERSION.
4051 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4052 ($PKGVERSION): New variable.
4053 ($REPORT_BUGS_TO): Likewise.
4054 (usage): Use $REPORT_BUGS_TO.
4055 (top level): Use $PKGVERSION.
4056 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4057 ($(objpfx)pkgvers.texi): New rule.
4058 ($(objpfx)stamp-pkgvers): Likewise.
4059 * manual/install.texi: Include pkgvers.texi.
4060 (--with-pkgversion): Document new configure option.
4061 (--with-bugurl): Likewise.
4062 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4063 than necessarily for this particular distribution. Use
4064 REPORT_BUGS_TO for where to report bugs.
4065 * INSTALL: Regenerated.
4066 * manual/libc.texinfo: Include pkgvers.texi.
4067 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4068 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4069 (print_version): Use PKGVERSION.
4070 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4071 (print_version): Use PKGVERSION.
4072 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4073 (print_version): Use PKGVERSION.
4074 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4075 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4076 macro.
4077 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4078 (print_version): Use PKGVERSION.
4079 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4080 (print_version): Use PKGVERSION.
4081 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4082 and PKGVERSION.
4083
92e4b6a9
JM
4084 * timezone/checktab.awk: Update from tzcode 2012i.
4085 * timezone/ialloc.c: Likewise.
4086 * timezone/private.h: Likewise.
4087 * timezone/scheck.c: Likewise.
4088 * timezone/tzfile.h: Likewise.
4089 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4090 (TZVERSION): Hardcode tzcode version number.
4091 * timezone/zdump.c: Update from tzcode 2012i.
4092 * timezone/zic.c: Likewise.
4093 * timezone/version.h: New file.
4094 * timezone/README: Describe version.h. Update upstream location.
4095
9bde902c
JM
4096 [BZ #14824]
4097 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4098 (mktemp): Enable declaration.
4099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4100 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4102 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4103 Likewise.
4104 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4105 Likewise.
4106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4107 Likewise.
4108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4109 Likewise.
4110 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4111 Likewise.
4112 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4113 Likewise.
4114
fb1ae1ee
JM
4115 [BZ #14821]
4116 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4117 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4118 for copies of such integer values.
4119 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4120 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4121
2c1adbcb
AJ
41222012-11-09 Andreas Jaeger <aj@suse.de>
4123
4124 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4125 definitions and declarations that are provided by
4126 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4127
d0f8457e
AK
41282012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4129
3a235abb 4130 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4131 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4132 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4133 definition.
4134
57241e26
MS
41352012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4136
4137 * elf/elf.h: Update comment before AArch64 relocations.
4138
60e8270d
DM
41392012-11-07 David S. Miller <davem@davemloft.net>
4140
4141 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4142 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4143 (__start_context): Declare.
4144 (__makecontext_ret): Delete.
4145 (__makecontext): Hook up __start_context instead of
4146 __makecontext_ret.
4147 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4148 (sysdep_routines): Add __start_context when in stdlib.
4149
0fbb0fbc
JM
41502012-11-07 Joseph Myers <joseph@codesourcery.com>
4151
4152 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4153 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4154 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4155 hardcoded "nm".
4156 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4157 (READELF): New variable. Use it instead of hardcoded "readelf".
4158
eb48db7e
L
41592012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4160
4161 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4162 * sysdeps/x86/Makefile: Here.
4163 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4164 * sysdeps/x86/tst-xmmymm.sh: This.
4165
05bcf62a
JM
41662012-11-07 Joseph Myers <joseph@codesourcery.com>
4167
c4b6cf53
JM
4168 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4169 expectations.
4170 [UNIX98] (pthread_barrier_t): Do not expect.
4171 [UNIX98] (pthread_barrierattr_t): Likewise.
4172 [UNIX98] (pthread_spinlock_t): Likewise.
4173 [UNIX98] (pthread_barrier_destroy): Likewise.
4174 [UNIX98] (pthread_barrier_init): Likewise.
4175 [UNIX98] (pthread_barrier_wait): Likewise.
4176 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4177 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4178 [UNIX98] (pthread_barrierattr_init): Likewise.
4179 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4180 [UNIX98] (pthread_getcpuclockid): Likewise.
4181 [UNIX98] (pthread_mutex_timedlock): Likewise.
4182 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4183 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4184 [UNIX98] (pthread_sigmask): Likewise.
4185 [UNIX98] (pthread_spin_destroy): Likewise.
4186 [UNIX98] (pthread_spin_init): Likewise.
4187 [UNIX98] (pthread_spin_lock): Likewise.
4188 [UNIX98] (pthread_spin_trylock): Likewise.
4189 [UNIX98] (pthread_spin_unlock): Likewise.
4190 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4191 Do not expect.
4192 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4193 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4194 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4195 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4196 [XPG3 || XPG4] (pthread_key_t): Likewise.
4197 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4198 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4199 [XPG3 || XPG4] (pthread_once_t): Likewise.
4200 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4201 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4202 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4203 [XPG3 || XPG4] (pthread_t): Likewise.
4204
cbe6e120
JM
4205 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4206 not expect.
4207 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4208
1b126443
JM
4209 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4210 Change function return type to int.
4211
b961a573
JM
4212 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4213 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4214 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4215 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4216 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4217 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4218 [!POSIX] (posix_madvise): Likewise.
4219 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4220 && !UNIX98].
4221 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4222 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4223 (mode_t): Likewise.
4224 (posix_mem_offset): Likewise.
4225 (posix_typed_mem_get_info): Likewise.
4226 (posix_typed_mem_open): Likewise.
4227
9e188909
JM
4228 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4229 Change condition to [XOPEN2K8].
4230
05bcf62a
JM
4231 * conform/conformtest.pl: Preprocess allow-header data with -x c
4232 instead of from stdin.
4233 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4234 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4235 [C99-based standards] (cerfc): Likewise.
4236 [C99-based standards] (cexp2): Likewise.
4237 [C99-based standards] (cexpm1): Likewise.
4238 [C99-based standards] (clog10): Likewise.
4239 [C99-based standards] (clog1p): Likewise.
4240 [C99-based standards] (clog2): Likewise.
4241 [C99-based standards] (clgamma): Likewise.
4242 [C99-based standards] (ctgamma): Likewise.
4243 [C99-based standards] (cerff): Likewise.
4244 [C99-based standards] (cerfcf): Likewise.
4245 [C99-based standards] (cexp2f): Likewise.
4246 [C99-based standards] (cexpm1f): Likewise.
4247 [C99-based standards] (clog10f): Likewise.
4248 [C99-based standards] (clog1pf): Likewise.
4249 [C99-based standards] (clog2f): Likewise.
4250 [C99-based standards] (clgammaf): Likewise.
4251 [C99-based standards] (ctgammaf): Likewise.
4252 [C99-based standards] (cerfl): Likewise.
4253 [C99-based standards] (cerfcl): Likewise.
4254 [C99-based standards] (cexp2l): Likewise.
4255 [C99-based standards] (cexpm1l): Likewise.
4256 [C99-based standards] (clog10l): Likewise.
4257 [C99-based standards] (clog1pl): Likewise.
4258 [C99-based standards] (clog2l): Likewise.
4259 [C99-based standards] (clgammal): Likewise.
4260 [C99-based standards] (ctgammal): Likewise.
4261 * conform/data/inttypes.h-data [C99-based standards]: Include
4262 stdint.h-data. Remove all expectations for stdint.h contents.
4263 [C99-based standards] (PRI*): Do not allow.
4264 [C99-based standards] (SCN*): Likewise.
4265 [C99-based standards] (*_t): Likewise.
4266 [C99-based-standards] (PRId8): Expect macro.
4267 [C99-based-standards] (PRIi8): Likewise.
4268 [C99-based-standards] (PRIo8): Likewise.
4269 [C99-based-standards] (PRIu8): Likewise.
4270 [C99-based-standards] (PRIx8): Likewise.
4271 [C99-based-standards] (PRIX8): Likewise.
4272 [C99-based-standards] (SCNd8): Likewise.
4273 [C99-based-standards] (SCNi8): Likewise.
4274 [C99-based-standards] (SCNo8): Likewise.
4275 [C99-based-standards] (SCNu8): Likewise.
4276 [C99-based-standards] (SCNx8): Likewise.
4277 [C99-based-standards] (PRIdLEAST8): Likewise.
4278 [C99-based-standards] (PRIiLEAST8): Likewise.
4279 [C99-based-standards] (PRIoLEAST8): Likewise.
4280 [C99-based-standards] (PRIuLEAST8): Likewise.
4281 [C99-based-standards] (PRIxLEAST8): Likewise.
4282 [C99-based-standards] (PRIXLEAST8): Likewise.
4283 [C99-based-standards] (SCNdLEAST8): Likewise.
4284 [C99-based-standards] (SCNiLEAST8): Likewise.
4285 [C99-based-standards] (SCNoLEAST8): Likewise.
4286 [C99-based-standards] (SCNuLEAST8): Likewise.
4287 [C99-based-standards] (SCNxLEAST8): Likewise.
4288 [C99-based-standards] (PRIdFAST8): Likewise.
4289 [C99-based-standards] (PRIiFAST8): Likewise.
4290 [C99-based-standards] (PRIoFAST8): Likewise.
4291 [C99-based-standards] (PRIuFAST8): Likewise.
4292 [C99-based-standards] (PRIxFAST8): Likewise.
4293 [C99-based-standards] (PRIXFAST8): Likewise.
4294 [C99-based-standards] (SCNdFAST8): Likewise.
4295 [C99-based-standards] (SCNiFAST8): Likewise.
4296 [C99-based-standards] (SCNoFAST8): Likewise.
4297 [C99-based-standards] (SCNuFAST8): Likewise.
4298 [C99-based-standards] (SCNxFAST8): Likewise.
4299 [C99-based-standards] (PRId16): Likewise.
4300 [C99-based-standards] (PRIi16): Likewise.
4301 [C99-based-standards] (PRIo16): Likewise.
4302 [C99-based-standards] (PRIu16): Likewise.
4303 [C99-based-standards] (PRIx16): Likewise.
4304 [C99-based-standards] (PRIX16): Likewise.
4305 [C99-based-standards] (SCNd16): Likewise.
4306 [C99-based-standards] (SCNi16): Likewise.
4307 [C99-based-standards] (SCNo16): Likewise.
4308 [C99-based-standards] (SCNu16): Likewise.
4309 [C99-based-standards] (SCNx16): Likewise.
4310 [C99-based-standards] (PRIdLEAST16): Likewise.
4311 [C99-based-standards] (PRIiLEAST16): Likewise.
4312 [C99-based-standards] (PRIoLEAST16): Likewise.
4313 [C99-based-standards] (PRIuLEAST16): Likewise.
4314 [C99-based-standards] (PRIxLEAST16): Likewise.
4315 [C99-based-standards] (PRIXLEAST16): Likewise.
4316 [C99-based-standards] (SCNdLEAST16): Likewise.
4317 [C99-based-standards] (SCNiLEAST16): Likewise.
4318 [C99-based-standards] (SCNoLEAST16): Likewise.
4319 [C99-based-standards] (SCNuLEAST16): Likewise.
4320 [C99-based-standards] (SCNxLEAST16): Likewise.
4321 [C99-based-standards] (PRIdFAST16): Likewise.
4322 [C99-based-standards] (PRIiFAST16): Likewise.
4323 [C99-based-standards] (PRIoFAST16): Likewise.
4324 [C99-based-standards] (PRIuFAST16): Likewise.
4325 [C99-based-standards] (PRIxFAST16): Likewise.
4326 [C99-based-standards] (PRIXFAST16): Likewise.
4327 [C99-based-standards] (SCNdFAST16): Likewise.
4328 [C99-based-standards] (SCNiFAST16): Likewise.
4329 [C99-based-standards] (SCNoFAST16): Likewise.
4330 [C99-based-standards] (SCNuFAST16): Likewise.
4331 [C99-based-standards] (SCNxFAST16): Likewise.
4332 [C99-based-standards] (PRId32): Likewise.
4333 [C99-based-standards] (PRIi32): Likewise.
4334 [C99-based-standards] (PRIo32): Likewise.
4335 [C99-based-standards] (PRIu32): Likewise.
4336 [C99-based-standards] (PRIx32): Likewise.
4337 [C99-based-standards] (PRIX32): Likewise.
4338 [C99-based-standards] (SCNd32): Likewise.
4339 [C99-based-standards] (SCNi32): Likewise.
4340 [C99-based-standards] (SCNo32): Likewise.
4341 [C99-based-standards] (SCNu32): Likewise.
4342 [C99-based-standards] (SCNx32): Likewise.
4343 [C99-based-standards] (PRIdLEAST32): Likewise.
4344 [C99-based-standards] (PRIiLEAST32): Likewise.
4345 [C99-based-standards] (PRIoLEAST32): Likewise.
4346 [C99-based-standards] (PRIuLEAST32): Likewise.
4347 [C99-based-standards] (PRIxLEAST32): Likewise.
4348 [C99-based-standards] (PRIXLEAST32): Likewise.
4349 [C99-based-standards] (SCNdLEAST32): Likewise.
4350 [C99-based-standards] (SCNiLEAST32): Likewise.
4351 [C99-based-standards] (SCNoLEAST32): Likewise.
4352 [C99-based-standards] (SCNuLEAST32): Likewise.
4353 [C99-based-standards] (SCNxLEAST32): Likewise.
4354 [C99-based-standards] (PRIdFAST32): Likewise.
4355 [C99-based-standards] (PRIiFAST32): Likewise.
4356 [C99-based-standards] (PRIoFAST32): Likewise.
4357 [C99-based-standards] (PRIuFAST32): Likewise.
4358 [C99-based-standards] (PRIxFAST32): Likewise.
4359 [C99-based-standards] (PRIXFAST32): Likewise.
4360 [C99-based-standards] (SCNdFAST32): Likewise.
4361 [C99-based-standards] (SCNiFAST32): Likewise.
4362 [C99-based-standards] (SCNoFAST32): Likewise.
4363 [C99-based-standards] (SCNuFAST32): Likewise.
4364 [C99-based-standards] (SCNxFAST32): Likewise.
4365 [C99-based-standards] (PRId64): Likewise.
4366 [C99-based-standards] (PRIi64): Likewise.
4367 [C99-based-standards] (PRIo64): Likewise.
4368 [C99-based-standards] (PRIu64): Likewise.
4369 [C99-based-standards] (PRIx64): Likewise.
4370 [C99-based-standards] (PRIX64): Likewise.
4371 [C99-based-standards] (SCNd64): Likewise.
4372 [C99-based-standards] (SCNi64): Likewise.
4373 [C99-based-standards] (SCNo64): Likewise.
4374 [C99-based-standards] (SCNu64): Likewise.
4375 [C99-based-standards] (SCNx64): Likewise.
4376 [C99-based-standards] (PRIdLEAST64): Likewise.
4377 [C99-based-standards] (PRIiLEAST64): Likewise.
4378 [C99-based-standards] (PRIoLEAST64): Likewise.
4379 [C99-based-standards] (PRIuLEAST64): Likewise.
4380 [C99-based-standards] (PRIxLEAST64): Likewise.
4381 [C99-based-standards] (PRIXLEAST64): Likewise.
4382 [C99-based-standards] (SCNdLEAST64): Likewise.
4383 [C99-based-standards] (SCNiLEAST64): Likewise.
4384 [C99-based-standards] (SCNoLEAST64): Likewise.
4385 [C99-based-standards] (SCNuLEAST64): Likewise.
4386 [C99-based-standards] (SCNxLEAST64): Likewise.
4387 [C99-based-standards] (PRIdFAST64): Likewise.
4388 [C99-based-standards] (PRIiFAST64): Likewise.
4389 [C99-based-standards] (PRIoFAST64): Likewise.
4390 [C99-based-standards] (PRIuFAST64): Likewise.
4391 [C99-based-standards] (PRIxFAST64): Likewise.
4392 [C99-based-standards] (PRIXFAST64): Likewise.
4393 [C99-based-standards] (SCNdFAST64): Likewise.
4394 [C99-based-standards] (SCNiFAST64): Likewise.
4395 [C99-based-standards] (SCNoFAST64): Likewise.
4396 [C99-based-standards] (SCNuFAST64): Likewise.
4397 [C99-based-standards] (SCNxFAST64): Likewise.
4398 [C99-based-standards] (PRIdMAX): Likewise.
4399 [C99-based-standards] (PRIiMAX): Likewise.
4400 [C99-based-standards] (PRIoMAX): Likewise.
4401 [C99-based-standards] (PRIuMAX): Likewise.
4402 [C99-based-standards] (PRIxMAX): Likewise.
4403 [C99-based-standards] (PRIXMAX): Likewise.
4404 [C99-based-standards] (SCNdMAX): Likewise.
4405 [C99-based-standards] (SCNiMAX): Likewise.
4406 [C99-based-standards] (SCNoMAX): Likewise.
4407 [C99-based-standards] (SCNuMAX): Likewise.
4408 [C99-based-standards] (SCNxMAX): Likewise.
4409 [C99-based-standards] (PRIdPTR): Likewise.
4410 [C99-based-standards] (PRIiPTR): Likewise.
4411 [C99-based-standards] (PRIoPTR): Likewise.
4412 [C99-based-standards] (PRIuPTR): Likewise.
4413 [C99-based-standards] (PRIxPTR): Likewise.
4414 [C99-based-standards] (PRIXPTR): Likewise.
4415 [C99-based-standards] (SCNdPTR): Likewise.
4416 [C99-based-standards] (SCNiPTR): Likewise.
4417 [C99-based-standards] (SCNoPTR): Likewise.
4418 [C99-based-standards] (SCNuPTR): Likewise.
4419 [C99-based-standards] (SCNxPTR): Likewise.
4420 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4421 allow.
4422 * conform/data/stdint.h-data: Update comments to clarify
4423 requirements.
4424 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4425 type.
4426 [C99-based standards] (INT8_MAX): Likewise.
4427 [C99-based standards] (INT16_MIN): Likewise.
4428 [C99-based standards] (INT16_MAX): Likewise.
4429 [C99-based standards] (INT32_MIN): Likewise.
4430 [C99-based standards] (INT32_MAX): Likewise.
4431 [C99-based standards] (INT64_MIN): Likewise.
4432 [C99-based standards] (INT64_MAX): Likewise.
4433 [C99-based standards] (UINT8_MAX): Likewise.
4434 [C99-based standards] (UINT16_MAX): Likewise.
4435 [C99-based standards] (UINT32_MAX): Likewise.
4436 [C99-based standards] (UINT64_MAX): Likewise.
4437 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4438 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4439 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4440 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4441 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4442 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4443 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4444 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4445 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4446 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4447 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4448 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4449 [C99-based standards] (INT_FAST8_MIN): Likewise.
4450 [C99-based standards] (INT_FAST8_MAX): Likewise.
4451 [C99-based standards] (INT_FAST16_MIN): Likewise.
4452 [C99-based standards] (INT_FAST16_MAX): Likewise.
4453 [C99-based standards] (INT_FAST32_MIN): Likewise.
4454 [C99-based standards] (INT_FAST32_MAX): Likewise.
4455 [C99-based standards] (INT_FAST64_MIN): Likewise.
4456 [C99-based standards] (INT_FAST64_MAX): Likewise.
4457 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4458 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4459 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4460 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4461 [C99-based standards] (INTPTR_MIN): Likewise.
4462 [C99-based standards] (INTPTR_MAX): Likewise.
4463 [C99-based standards] (UINTPTR_MAX): Likewise.
4464 [C99-based standards] (INTMAX_MIN): Likewise.
4465 [C99-based standards] (INTMAX_MAX): Likewise.
4466 [C99-based standards] (UINTMAX_MAX): Likewise.
4467 [C99-based standards] (PTRDIFF_MIN): Likewise.
4468 [C99-based standards] (PTRDIFF_MAX): Likewise.
4469 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4470 [C99-based standards] (SIZE_MAX): Likewise.
4471 [C99-based standards] (WCHAR_MAX): Likewise.
4472 [C99-based standards] (WINT_MAX): Likewise.
4473 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4474 constraint on value.
4475 [C99-based standards] (WCHAR_MIN): Likewise.
4476 [C99-based standards] (WINT_MIN): Likewise.
4477 [C99-based standards] (*_t): Allow.
4478 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4479 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4480 Include math.h-data and complex.h-data. Remove all expectations
4481 of math.h and complex.h contents.
4482 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4483 at end of line.
4484 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4485 (struct tm): Expect tag.
4486 [C99-based-standards] (wcstof): Expect function.
4487 [C99-based-standards] (wcstold): Likewise.
4488 [C99-based-standards] (wcstoll): Likewise.
4489 [C99-based-standards] (wcstoull): Likewise.
4490 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4491 macro-int-constant. Specify type.
4492 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4493 constraint on value.
4494 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4495 Specify type.
4496 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4497 Specify value.
4498 [ISO C standards]: Do not allow headers.
4499 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4500 wcs[abcdefghijklmnopqrstuvwxyz]*.
4501 [ISO C standards] (*_t): Do not allow.
4502 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4503 Expect function.
4504 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4505 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4506 Specify type.
4507 [ISO C standards]: Do not allow headers.
4508 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4509 is[abcdefghijklmnopqrstuvwxyz]*.
4510 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4511 to[abcdefghijklmnopqrstuvwxyz]*.
4512 [ISO C standards] (*_t): Do not allow.
4513 * conform/data/stdalign.h-data: New file.
4514 * conform/data/stdbool.h-data: Likewise.
4515 * conform/data/stdnoreturn.h-data: Likewise.
4516
7514feb8
RM
45172012-11-07 Roland McGrath <roland@hack.frob.com>
4518
4519 [BZ #14815]
4520 * manual/filesys.texi (Directory Entries): Typo fix.
4521 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4522
19b2ecfc
MS
45232012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4524
4525 * elf/elf.h (EM_AARCH64): New macro.
4526 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4527 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4528 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4529 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4530 (R_AARCH64_TLSDESC): Likewise.
4531 (NT_ARM_TLS): Likewise.
4532 (NT_ARM_HW_BREAK): Likewise.
4533 (NT_ARM_HW_WATCH): Likewise.
4534
60e235ee
JM
45352012-11-07 Joseph Myers <joseph@codesourcery.com>
4536
4537 [BZ #14811]
4538 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4539 (__ieee754_powl): Saturate nonzero exponents with absolute value
4540 below 0x1p-79 to +/- 0x1p-79.
4541 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4542 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4543 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4544 nonzero exponents with absolute value below 0x1p-32 to +/-
4545 0x1p-32.
4546 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4547 (__ieee754_powl): Saturate nonzero exponents with absolute value
4548 below 0x1p-79 to +/- 0x1p-79.
4549 * math/libm-test.inc (pow_test): Add more tests.
4550
0ab234b7
AK
45512012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4552
4553 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4554 _dl_s390_cap_flags with kernel. Increase string length.
4555 (_dl_s390_platforms): Add z196 and zEC12.
4556
45832f74
JM
45572012-11-07 Joseph Myers <joseph@codesourcery.com>
4558
4559 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4560 Change XOPEN21K to XOPEN2K.
4561
19218757
MK
45622012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4563
4564 * string/memmove.c: Use memcpy when possible.
4565
c5f45721
AJ
45662012-11-06 Andreas Jaeger <aj@suse.de>
4567
4568 * po/eo.po: Update from translation team.
4569
82477c28
JM
45702012-11-06 Joseph Myers <joseph@codesourcery.com>
4571
4572 [BZ #14793]
4573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4574 exponent and small x and y exponents, scale x or y up. Increase
4575 by 2 the exponent used in scaling up.
4576 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4578 * math/libm-test.inc (fma_test): Add more tests.
4579 (fma_test_towardzero): Likewise.
4580 (fma_test_downward): Likewise.
4581 (fma_test_upward): Likewise.
4582
99252c8c
JM
45832012-11-05 Joseph Myers <joseph@codesourcery.com>
4584
acfa885f
JM
4585 [BZ #14805]
4586 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4587 fenv_t *.
4588
99252c8c
JM
4589 [BZ #14801]
4590 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4591 namespace for names of struct fields.
4592 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4593 fenv_t fields.
4594 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4595 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4596
d6d98dea
ST
45972012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4598
4599 [BZ #3665]
4600 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4601
e10bb107
TS
46022012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4603
4604 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4605 PTR_DEMANGLE.
4606
4607 [BZ #5246]
4608 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4609 PTR_DEMANGLE.
4610
a0c2940d
JM
46112012-11-04 Joseph Myers <joseph@codesourcery.com>
4612
4613 [BZ #14797]
4614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4615 definitely overflow as x * y not x * y + z.
4616 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4617 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4618 * math/libm-test.inc (fma_test): Add more tests.
4619 (fma_test_towardzero): Likewise.
4620 (fma_test_downward): Likewise.
4621 (fma_test_upward): Likewise.
4622
b830319d
TS
46232012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4624
4625 [BZ #157]
4626
4627 * include/stub-tag.h: Remove file.
4628 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4629 '#include' of it.
4630 * manual/maint.texi (Porting): Don't reference it.
4631 * Makerules ($(objpfx)stubs): Likewise.
4632 * dirent/closedir.c: Don't include <stub-tag.h>.
4633 * dirent/dirfd.c: Likewise.
4634 * dirent/fdopendir.c: Likewise.
4635 * dirent/getdents.c: Likewise.
4636 * dirent/getdents64.c: Likewise.
4637 * dirent/opendir.c: Likewise.
4638 * dirent/readdir.c: Likewise.
4639 * dirent/readdir64.c: Likewise.
4640 * dirent/readdir64_r.c: Likewise.
4641 * dirent/readdir_r.c: Likewise.
4642 * dirent/rewinddir.c: Likewise.
4643 * dirent/seekdir.c: Likewise.
4644 * dirent/telldir.c: Likewise.
4645 * gmon/profil.c: Likewise.
4646 * grp/setgroups.c: Likewise.
4647 * inet/if_index.c: Likewise.
4648 * io/access.c: Likewise.
4649 * io/chdir.c: Likewise.
4650 * io/chmod.c: Likewise.
4651 * io/chown.c: Likewise.
4652 * io/close.c: Likewise.
4653 * io/dup.c: Likewise.
4654 * io/dup2.c: Likewise.
4655 * io/dup3.c: Likewise.
4656 * io/euidaccess.c: Likewise.
4657 * io/faccessat.c: Likewise.
4658 * io/fchdir.c: Likewise.
4659 * io/fchmod.c: Likewise.
4660 * io/fchmodat.c: Likewise.
4661 * io/fchown.c: Likewise.
4662 * io/fchownat.c: Likewise.
4663 * io/fcntl.c: Likewise.
4664 * io/flock.c: Likewise.
4665 * io/fstatfs.c: Likewise.
4666 * io/fstatfs64.c: Likewise.
4667 * io/fstatvfs.c: Likewise.
4668 * io/fstatvfs64.c: Likewise.
4669 * io/futimens.c: Likewise.
4670 * io/fxstat.c: Likewise.
4671 * io/fxstat64.c: Likewise.
4672 * io/fxstatat.c: Likewise.
4673 * io/fxstatat64.c: Likewise.
4674 * io/getcwd.c: Likewise.
4675 * io/isatty.c: Likewise.
4676 * io/lchmod.c: Likewise.
4677 * io/lchown.c: Likewise.
4678 * io/link.c: Likewise.
4679 * io/linkat.c: Likewise.
4680 * io/lseek.c: Likewise.
4681 * io/lseek64.c: Likewise.
4682 * io/lxstat64.c: Likewise.
4683 * io/mkdir.c: Likewise.
4684 * io/mkdirat.c: Likewise.
4685 * io/mkfifo.c: Likewise.
4686 * io/mkfifoat.c: Likewise.
4687 * io/open.c: Likewise.
4688 * io/open64.c: Likewise.
4689 * io/openat.c: Likewise.
4690 * io/openat64.c: Likewise.
4691 * io/pipe.c: Likewise.
4692 * io/pipe2.c: Likewise.
4693 * io/poll.c: Likewise.
4694 * io/posix_fadvise.c: Likewise.
4695 * io/posix_fadvise64.c: Likewise.
4696 * io/posix_fallocate.c: Likewise.
4697 * io/posix_fallocate64.c: Likewise.
4698 * io/read.c: Likewise.
4699 * io/readlink.c: Likewise.
4700 * io/readlinkat.c: Likewise.
4701 * io/rmdir.c: Likewise.
4702 * io/sendfile.c: Likewise.
4703 * io/sendfile64.c: Likewise.
4704 * io/statfs.c: Likewise.
4705 * io/statfs64.c: Likewise.
4706 * io/statvfs.c: Likewise.
4707 * io/statvfs64.c: Likewise.
4708 * io/symlink.c: Likewise.
4709 * io/symlinkat.c: Likewise.
4710 * io/ttyname.c: Likewise.
4711 * io/ttyname_r.c: Likewise.
4712 * io/umask.c: Likewise.
4713 * io/unlink.c: Likewise.
4714 * io/unlinkat.c: Likewise.
4715 * io/utime.c: Likewise.
4716 * io/utimensat.c: Likewise.
4717 * io/write.c: Likewise.
4718 * io/xmknod.c: Likewise.
4719 * io/xmknodat.c: Likewise.
4720 * io/xstat.c: Likewise.
4721 * io/xstat64.c: Likewise.
4722 * login/getpt.c: Likewise.
4723 * login/grantpt.c: Likewise.
4724 * login/unlockpt.c: Likewise.
4725 * math/e_acoshl.c: Likewise.
4726 * math/e_acosl.c: Likewise.
4727 * math/e_asinl.c: Likewise.
4728 * math/e_atan2l.c: Likewise.
4729 * math/e_atanhl.c: Likewise.
4730 * math/e_coshl.c: Likewise.
4731 * math/e_expl.c: Likewise.
4732 * math/e_fmodl.c: Likewise.
4733 * math/e_gammal_r.c: Likewise.
4734 * math/e_hypotl.c: Likewise.
4735 * math/e_j0l.c: Likewise.
4736 * math/e_j1l.c: Likewise.
4737 * math/e_jnl.c: Likewise.
4738 * math/e_lgammal_r.c: Likewise.
4739 * math/e_log10l.c: Likewise.
4740 * math/e_log2l.c: Likewise.
4741 * math/e_logl.c: Likewise.
4742 * math/e_powl.c: Likewise.
4743 * math/e_rem_pio2l.c: Likewise.
4744 * math/e_sinhl.c: Likewise.
4745 * math/e_sqrtl.c: Likewise.
4746 * math/fclrexcpt.c: Likewise.
4747 * math/fedisblxcpt.c: Likewise.
4748 * math/feenablxcpt.c: Likewise.
4749 * math/fegetenv.c: Likewise.
4750 * math/fegetexcept.c: Likewise.
4751 * math/fegetround.c: Likewise.
4752 * math/feholdexcpt.c: Likewise.
4753 * math/fesetenv.c: Likewise.
4754 * math/fesetround.c: Likewise.
4755 * math/feupdateenv.c: Likewise.
4756 * math/fgetexcptflg.c: Likewise.
4757 * math/fraiseexcpt.c: Likewise.
4758 * math/fsetexcptflg.c: Likewise.
4759 * math/ftestexcept.c: Likewise.
4760 * math/k_cosl.c: Likewise.
4761 * math/k_rem_pio2l.c: Likewise.
4762 * math/k_sinl.c: Likewise.
4763 * math/k_tanl.c: Likewise.
4764 * math/s_asinhl.c: Likewise.
4765 * math/s_atanl.c: Likewise.
4766 * math/s_cbrtl.c: Likewise.
4767 * math/s_erfl.c: Likewise.
4768 * math/s_expm1l.c: Likewise.
4769 * math/s_log1pl.c: Likewise.
4770 * math/s_tanhl.c: Likewise.
4771 * misc/acct.c: Likewise.
4772 * misc/brk.c: Likewise.
4773 * misc/chflags.c: Likewise.
4774 * misc/chroot.c: Likewise.
4775 * misc/fchflags.c: Likewise.
4776 * misc/fgetxattr.c: Likewise.
4777 * misc/flistxattr.c: Likewise.
4778 * misc/fremovexattr.c: Likewise.
4779 * misc/fsetxattr.c: Likewise.
4780 * misc/fsync.c: Likewise.
4781 * misc/ftruncate.c: Likewise.
4782 * misc/futimes.c: Likewise.
4783 * misc/futimesat.c: Likewise.
4784 * misc/getdomain.c: Likewise.
4785 * misc/getdtsz.c: Likewise.
4786 * misc/gethostid.c: Likewise.
4787 * misc/gethostname.c: Likewise.
4788 * misc/getloadavg.c: Likewise.
4789 * misc/getpagesize.c: Likewise.
4790 * misc/getsysstats.c: Likewise.
4791 * misc/getxattr.c: Likewise.
4792 * misc/gtty.c: Likewise.
4793 * misc/ioctl.c: Likewise.
4794 * misc/lgetxattr.c: Likewise.
4795 * misc/listxattr.c: Likewise.
4796 * misc/llistxattr.c: Likewise.
4797 * misc/lremovexattr.c: Likewise.
4798 * misc/lsetxattr.c: Likewise.
4799 * misc/lutimes.c: Likewise.
4800 * misc/madvise.c: Likewise.
4801 * misc/mincore.c: Likewise.
4802 * misc/mlock.c: Likewise.
4803 * misc/mlockall.c: Likewise.
4804 * misc/mmap.c: Likewise.
4805 * misc/mprotect.c: Likewise.
4806 * misc/msync.c: Likewise.
4807 * misc/munlock.c: Likewise.
4808 * misc/munlockall.c: Likewise.
4809 * misc/munmap.c: Likewise.
4810 * misc/preadv.c: Likewise.
4811 * misc/preadv64.c: Likewise.
4812 * misc/ptrace.c: Likewise.
4813 * misc/pwritev.c: Likewise.
4814 * misc/pwritev64.c: Likewise.
4815 * misc/readv.c: Likewise.
4816 * misc/reboot.c: Likewise.
4817 * misc/remap_file_pages.c: Likewise.
4818 * misc/removexattr.c: Likewise.
4819 * misc/revoke.c: Likewise.
4820 * misc/select.c: Likewise.
4821 * misc/setdomain.c: Likewise.
4822 * misc/setegid.c: Likewise.
4823 * misc/seteuid.c: Likewise.
4824 * misc/sethostid.c: Likewise.
4825 * misc/sethostname.c: Likewise.
4826 * misc/setregid.c: Likewise.
4827 * misc/setreuid.c: Likewise.
4828 * misc/setxattr.c: Likewise.
4829 * misc/sstk.c: Likewise.
4830 * misc/stty.c: Likewise.
4831 * misc/swapoff.c: Likewise.
4832 * misc/swapon.c: Likewise.
4833 * misc/sync.c: Likewise.
4834 * misc/syncfs.c: Likewise.
4835 * misc/syscall.c: Likewise.
4836 * misc/truncate.c: Likewise.
4837 * misc/ualarm.c: Likewise.
4838 * misc/usleep.c: Likewise.
4839 * misc/ustat.c: Likewise.
4840 * misc/utimes.c: Likewise.
4841 * misc/vhangup.c: Likewise.
4842 * misc/writev.c: Likewise.
4843 * posix/_exit.c: Likewise.
4844 * posix/alarm.c: Likewise.
4845 * posix/execve.c: Likewise.
4846 * posix/fexecve.c: Likewise.
4847 * posix/fork.c: Likewise.
4848 * posix/fpathconf.c: Likewise.
4849 * posix/getaddrinfo.c: Likewise.
4850 * posix/getegid.c: Likewise.
4851 * posix/geteuid.c: Likewise.
4852 * posix/getgid.c: Likewise.
4853 * posix/getgroups.c: Likewise.
4854 * posix/getlogin.c: Likewise.
4855 * posix/getlogin_r.c: Likewise.
4856 * posix/getpgid.c: Likewise.
4857 * posix/getpid.c: Likewise.
4858 * posix/getppid.c: Likewise.
4859 * posix/getresgid.c: Likewise.
4860 * posix/getresuid.c: Likewise.
4861 * posix/getsid.c: Likewise.
4862 * posix/getuid.c: Likewise.
4863 * posix/glob64.c: Likewise.
4864 * posix/nanosleep.c: Likewise.
4865 * posix/pathconf.c: Likewise.
4866 * posix/pause.c: Likewise.
4867 * posix/posix_madvise.c: Likewise.
4868 * posix/pread.c: Likewise.
4869 * posix/pread64.c: Likewise.
4870 * posix/pwrite.c: Likewise.
4871 * posix/pwrite64.c: Likewise.
4872 * posix/sched_getaffinity.c: Likewise.
4873 * posix/sched_getp.c: Likewise.
4874 * posix/sched_gets.c: Likewise.
4875 * posix/sched_primax.c: Likewise.
4876 * posix/sched_primin.c: Likewise.
4877 * posix/sched_rr_gi.c: Likewise.
4878 * posix/sched_setaffinity.c: Likewise.
4879 * posix/sched_setp.c: Likewise.
4880 * posix/sched_sets.c: Likewise.
4881 * posix/sched_yield.c: Likewise.
4882 * posix/setgid.c: Likewise.
4883 * posix/setlogin.c: Likewise.
4884 * posix/setpgid.c: Likewise.
4885 * posix/setresgid.c: Likewise.
4886 * posix/setresuid.c: Likewise.
4887 * posix/setsid.c: Likewise.
4888 * posix/setuid.c: Likewise.
4889 * posix/sleep.c: Likewise.
4890 * posix/spawni.c: Likewise.
4891 * posix/sysconf.c: Likewise.
4892 * posix/times.c: Likewise.
4893 * posix/wait.c: Likewise.
4894 * posix/wait3.c: Likewise.
4895 * posix/wait4.c: Likewise.
4896 * posix/waitpid.c: Likewise.
4897 * resolv/gai_sigqueue.c: Likewise.
4898 * resource/getpriority.c: Likewise.
4899 * resource/getrlimit.c: Likewise.
4900 * resource/getrusage.c: Likewise.
4901 * resource/nice.c: Likewise.
4902 * resource/setpriority.c: Likewise.
4903 * resource/setrlimit.c: Likewise.
4904 * resource/ulimit.c: Likewise.
4905 * rt/aio_cancel.c: Likewise.
4906 * rt/aio_fsync.c: Likewise.
4907 * rt/aio_read.c: Likewise.
4908 * rt/aio_sigqueue.c: Likewise.
4909 * rt/aio_suspend.c: Likewise.
4910 * rt/aio_write.c: Likewise.
4911 * rt/clock_getres.c: Likewise.
4912 * rt/clock_gettime.c: Likewise.
4913 * rt/clock_nanosleep.c: Likewise.
4914 * rt/clock_settime.c: Likewise.
4915 * rt/lio_listio.c: Likewise.
4916 * rt/mq_close.c: Likewise.
4917 * rt/mq_getattr.c: Likewise.
4918 * rt/mq_notify.c: Likewise.
4919 * rt/mq_open.c: Likewise.
4920 * rt/mq_receive.c: Likewise.
4921 * rt/mq_send.c: Likewise.
4922 * rt/mq_setattr.c: Likewise.
4923 * rt/mq_timedreceive.c: Likewise.
4924 * rt/mq_timedsend.c: Likewise.
4925 * rt/mq_unlink.c: Likewise.
4926 * rt/shm_open.c: Likewise.
4927 * rt/shm_unlink.c: Likewise.
4928 * rt/timer_create.c: Likewise.
4929 * rt/timer_delete.c: Likewise.
4930 * rt/timer_getoverr.c: Likewise.
4931 * rt/timer_gettime.c: Likewise.
4932 * rt/timer_settime.c: Likewise.
4933 * setjmp/__longjmp.c: Likewise.
4934 * setjmp/setjmp.c: Likewise.
4935 * signal/kill.c: Likewise.
4936 * signal/killpg.c: Likewise.
4937 * signal/raise.c: Likewise.
4938 * signal/sigaction.c: Likewise.
4939 * signal/sigaltstack.c: Likewise.
4940 * signal/sigblock.c: Likewise.
4941 * signal/sigignore.c: Likewise.
4942 * signal/sigintr.c: Likewise.
4943 * signal/signal.c: Likewise.
4944 * signal/sigpause.c: Likewise.
4945 * signal/sigpending.c: Likewise.
4946 * signal/sigqueue.c: Likewise.
4947 * signal/sigreturn.c: Likewise.
4948 * signal/sigset.c: Likewise.
4949 * signal/sigsetmask.c: Likewise.
4950 * signal/sigstack.c: Likewise.
4951 * signal/sigsuspend.c: Likewise.
4952 * signal/sigtimedwait.c: Likewise.
4953 * signal/sigvec.c: Likewise.
4954 * signal/sigwait.c: Likewise.
4955 * signal/sigwaitinfo.c: Likewise.
4956 * signal/sysv_signal.c: Likewise.
4957 * socket/accept.c: Likewise.
4958 * socket/accept4.c: Likewise.
4959 * socket/bind.c: Likewise.
4960 * socket/connect.c: Likewise.
4961 * socket/getpeername.c: Likewise.
4962 * socket/getsockname.c: Likewise.
4963 * socket/getsockopt.c: Likewise.
4964 * socket/isfdtype.c: Likewise.
4965 * socket/listen.c: Likewise.
4966 * socket/recv.c: Likewise.
4967 * socket/recvfrom.c: Likewise.
4968 * socket/recvmsg.c: Likewise.
4969 * socket/send.c: Likewise.
4970 * socket/sendmsg.c: Likewise.
4971 * socket/sendto.c: Likewise.
4972 * socket/setsockopt.c: Likewise.
4973 * socket/shutdown.c: Likewise.
4974 * socket/sockatmark.c: Likewise.
4975 * socket/socket.c: Likewise.
4976 * socket/socketpair.c: Likewise.
4977 * stdio-common/ctermid.c: Likewise.
4978 * stdio-common/cuserid.c: Likewise.
4979 * stdio-common/remove.c: Likewise.
4980 * stdio-common/rename.c: Likewise.
4981 * stdio-common/renameat.c: Likewise.
4982 * stdio-common/tempname.c: Likewise.
4983 * stdlib/getcontext.c: Likewise.
4984 * stdlib/makecontext.c: Likewise.
4985 * stdlib/setcontext.c: Likewise.
4986 * stdlib/swapcontext.c: Likewise.
4987 * stdlib/system.c: Likewise.
4988 * streams/fattach.c: Likewise.
4989 * streams/fdetach.c: Likewise.
4990 * streams/getmsg.c: Likewise.
4991 * streams/getpmsg.c: Likewise.
4992 * streams/putmsg.c: Likewise.
4993 * streams/putpmsg.c: Likewise.
4994 * sysdeps/unix/bsd/getpt.c: Likewise.
4995 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4996 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4997 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4999 Likewise.
5000 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5001 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5002 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5003 * sysvipc/msgctl.c: Likewise.
5004 * sysvipc/msgget.c: Likewise.
5005 * sysvipc/msgrcv.c: Likewise.
5006 * sysvipc/msgsnd.c: Likewise.
5007 * sysvipc/semctl.c: Likewise.
5008 * sysvipc/semget.c: Likewise.
5009 * sysvipc/semop.c: Likewise.
5010 * sysvipc/semtimedop.c: Likewise.
5011 * sysvipc/shmat.c: Likewise.
5012 * sysvipc/shmctl.c: Likewise.
5013 * sysvipc/shmdt.c: Likewise.
5014 * sysvipc/shmget.c: Likewise.
5015 * termios/tcdrain.c: Likewise.
5016 * termios/tcflow.c: Likewise.
5017 * termios/tcflush.c: Likewise.
5018 * termios/tcgetattr.c: Likewise.
5019 * termios/tcgetpgrp.c: Likewise.
5020 * termios/tcsendbrk.c: Likewise.
5021 * termios/tcsetattr.c: Likewise.
5022 * termios/tcsetpgrp.c: Likewise.
5023 * time/adjtime.c: Likewise.
5024 * time/clock.c: Likewise.
5025 * time/getitimer.c: Likewise.
5026 * time/gettimeofday.c: Likewise.
5027 * time/setitimer.c: Likewise.
5028 * time/settimeofday.c: Likewise.
5029 * time/stime.c: Likewise.
5030 * time/time.c: Likewise.
5031
50322012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 5033
a20492cf
PT
5034 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5035 /usr/old/bin.
5036
72e182e3
PT
5037 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5038 instead of spaces.
5039 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5040
fbeafede
JM
50412012-11-03 Joseph Myers <joseph@codesourcery.com>
5042
5b5b04d6
JM
5043 [BZ #14796]
5044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5045 FE_TONEAREST before applying Dekker multiplication and Knuth
5046 addition. Clear inexact exceptions and check for exact zero
5047 results afterwards.
5048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5049 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5050 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5051 * math/libm-test.inc (fma_test): Add more tests.
5052 (fma_test_towardzero): Likewise.
5053 (fma_test_downward): Likewise.
5054 (fma_test_upward): Likewise.
5055 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5056 function.
5057 (libc_fesetround): New macro.
5058 (libc_fesetroundf): Likewise.
5059 (libc_fesetroundl): Likewise.
5060 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5061 function.
5062 (libc_fesetround_387): Likewise.
5063 (libc_fesetroundf): New macro.
5064 (libc_fesetround): Likewise.
5065 (libc_fesetroundl): Likewise.
5066 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5067 function.
5068 (libc_fesetroundf): New macro.
5069 (libc_fesetround): Likewise.
5070 (libc_fesetroundl): Likewise.
5071 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5072 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5073 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5074 libm_hidden_ver.
5075 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5076 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5077 libm_hidden_def.
5078 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5079 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5080 libm_hidden_ver.
5081 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5082 libm_hidden_def.
5083
fbeafede
JM
5084 [BZ #3439]
5085 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5086 integer constant usable in #if and use that to give value to enum
5087 constant.
5088 (FE_DIVBYZERO): Likewise.
5089 (FE_UNDERFLOW): Likewise.
5090 (FE_OVERFLOW): Likewise.
5091 (FE_INVALID): Likewise.
5092 (FE_INVALID_SNAN): Likewise.
5093 (FE_INVALID_ISI): Likewise.
5094 (FE_INVALID_IDI): Likewise.
5095 (FE_INVALID_ZDZ): Likewise.
5096 (FE_INVALID_IMZ): Likewise.
5097 (FE_INVALID_COMPARE): Likewise.
5098 (FE_INVALID_SOFTWARE): Likewise.
5099 (FE_INVALID_SQRT): Likewise.
5100 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5101 (FE_TONEAREST): Likewise.
5102 (FE_TOWARDZERO): Likewise.
5103 (FE_UPWARD): Likewise.
5104 (FE_DOWNWARD): Likewise.
5105 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5106 (FE_DIVBYZERO): Likewise.
5107 (FE_OVERFLOW): Likewise.
5108 (FE_UNDERFLOW): Likewise.
5109 (FE_INEXACT): Likewise.
5110 (FE_TONEAREST): Likewise.
5111 (FE_DOWNWARD): Likewise.
5112 (FE_UPWARD): Likewise.
5113 (FE_TOWARDZERO): Likewise.
5114 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5115 (FE_UNDERFLOW): Likewise.
5116 (FE_OVERFLOW): Likewise.
5117 (FE_DIVBYZERO): Likewise.
5118 (FE_INVALID): Likewise.
5119 (FE_TONEAREST): Likewise.
5120 (FE_TOWARDZERO): Likewise.
5121 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5122 (FE_OVERFLOW): Likewise.
5123 (FE_UNDERFLOW): Likewise.
5124 (FE_DIVBYZERO): Likewise.
5125 (FE_INEXACT): Likewise.
5126 (FE_TONEAREST): Likewise.
5127 (FE_TOWARDZERO): Likewise.
5128 (FE_UPWARD): Likewise.
5129 (FE_DOWNWARD): Likewise.
5130 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5131 (FE_DIVBYZERO): Likewise.
5132 (FE_OVERFLOW): Likewise.
5133 (FE_UNDERFLOW): Likewise.
5134 (FE_INEXACT): Likewise.
5135 (FE_TONEAREST): Likewise.
5136 (FE_DOWNWARD): Likewise.
5137 (FE_UPWARD): Likewise.
5138 (FE_TOWARDZERO): Likewise.
5139
105ca950
CM
51402012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5141
5142 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5143
a542b389
AS
51442012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5145
5146 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5147 commands. Quote $PWD.
5148 (blacklist_exports): Don't use remove_newlines. Replace "declare
5149 -x" by "export".
5150 (remove_newlines): Remove.
5151
f62c8abc
L
51522012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5153
5154 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5155 * stdlib/stdlib.h (atof): Moved to ...
5156 * include/bits/stdlib-float.h: Here. New file.
5157 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5158 * stdlib/bits/stdlib-float.h: New file.
5159 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5160 -mno-sse -mno-mmx.
5161 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5162 <xmmintrin.h>.
5163
0155d5b2
JM
51642012-11-02 Joseph Myers <joseph@codesourcery.com>
5165
a68d0680
JM
5166 * conform/conformtest.pl (@headers): Add fenv.h.
5167 * conform/data/fenv.h-data: New file.
5168 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5169 include of <math/fenv.h>.
5170
caf7f573
JM
5171 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5172 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5173 && !UNIX98]. Enables tests for XOPEN2K8.
5174 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5175 POSIX2008]: Likewise.
5176
6c073ad6
JM
5177 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5178 (struct rusage): Do not expect type or its members.
5179
0155d5b2
JM
5180 [BZ #3439]
5181 * math/math.h (FP_NAN): Define macro to integer constant usable in
5182 #if and use that to give value to enum constant.
5183 (FP_INFINITE): Likewise.
5184 (FP_ZERO): Likewise.
5185 (FP_SUBNORMAL): Likewise.
5186 (FP_NORMAL): Likewise.
5187
b5dcacb4
AS
51882012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5189
5190 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5191 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5192 arguments.
5193
f7934be8
RM
51942012-11-02 Roland McGrath <roland@hack.frob.com>
5195
5196 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5197 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5198 autoconf-time if not.
5199 * configure.in: Remove AC_PREREQ.
5200
d7d08bde
TMQMF
52012012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5202
5203 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5204 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5205 of the internal implementation.
5206
dcdae19a
JM
52072012-11-02 Joseph Myers <joseph@codesourcery.com>
5208
5209 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5210 except include of <misc/sys/syslog.h>.
5211
d6cffd3e
AS
52122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5213
5214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5215 function returns with a NULL context exit with zero.
5216
b3563932
TMQMF
52172012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5218
5219 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5220
b288a93d
L
52212012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5222
5223 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5224 (run_program_cmd): This.
5225 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5226 (tst_langinfo): New variable. Use it.
5227
a2421a68
SAS
52282012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5229
5230 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5231 floating point opcodes.
5232
6f796e1b
TS
52332012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5234
7402596b
TS
5235 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5236 variable.
5237
d0d4f868
TS
5238 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5239
6f796e1b
TS
5240 * sysdeps/mach/hurd/powerpc: Remove directory.
5241 * sysdeps/mach/powerpc: Likewise.
5242
4da224a2
AS
52432012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5244
5245 * scripts/check-local-headers.sh: Ignore c++ headers.
5246
341dd673
TS
52472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5248
5249 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5250 __libc_cleanup_region_start argument.
5251
473611b2
JM
52522012-11-01 Joseph Myers <joseph@codesourcery.com>
5253
5254 [BZ #14784]
5255 [BZ #14785]
5256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5257 x * y using scaling, not as x * y + z.
5258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5259 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5260 * math/libm-test.inc (fma_test): Add more tests.
5261 (fma_test_towardzero): Likewise.
5262 (fma_test_downward): Likewise.
5263 (fma_test_upward): Likewise.
5264
4078da3d
TS
52652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5266
5267 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5268
903252aa
JM
52692012-10-31 Joseph Myers <joseph@codesourcery.com>
5270
5271 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5272 New variable.
5273
cbc818d0
TS
52742012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5275
5276 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5277
5a03cb1e
AS
52782012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5279
5280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5281 Fix sort order.
5282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5283 Likewise.
5284
90aff2ff
TMQMF
52852012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5286
5287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5288 Fix the order of the list for glibc 2.17.
5289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5290 Likewise.
5291
1818fcb7
AS
52922012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5293
5294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5295
ef82f4da
JM
52962012-10-31 Joseph Myers <joseph@codesourcery.com>
5297
16a0e2ec
JM
5298 [BZ #14610]
5299 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5300 for low part of x being zero before using __atanl (y).
5301 * math/libm-test.inc (atan2_test): Add another test.
5302
0eb69512
JM
5303 * manual/install.texi (Configuring and compiling): Document
5304 general use of test-wrapper and test-wrapper-env.
5305 * INSTALL: Regenerated.
5306
ef82f4da
JM
5307 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5308 (__fma): Do not extract and scale down low bits on after-rounding
5309 systems when result rounded to normal precision would have normal
5310 exponent.
5311 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5312 (__fmal): Do not extract and scale down low bits on after-rounding
5313 systems when result rounded to normal precision would have normal
5314 exponent.
5315 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5316 (__fmal): Do not extract and scale down low bits on after-rounding
5317 systems when result rounded to normal precision would have normal
5318 exponent.
5319 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5320 macro.
5321 (fma_test): Add more tests.
5322 (fma_test_towardzero): Likewise.
5323 (fma_test_downward): Likewise.
5324 (fma_test_upward): Likewise.
5325
954ef0d9
L
53262012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5327
5328 * sysdeps/i386/tininess.h: Renamed to ...
5329 * sysdeps/x86/tininess.h: This.
5330 * sysdeps/x86_64/tininess.h: Removed.
5331
df61ffb2
JM
53322012-10-30 Joseph Myers <joseph@codesourcery.com>
5333
5334 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5335 input. Use $(build-program-cmd).
5336 ($(objpfx)tst-array1-static.out): Likewise.
5337 ($(objpfx)tst-array2.out): Likewise.
5338 ($(objpfx)tst-array3.out): Likewise.
5339 ($(objpfx)tst-array4.out): Likewise.
5340 ($(objpfx)tst-array5.out): Likewise.
5341 ($(objpfx)tst-array5-static.out): Likewise.
5342
01767843
CM
53432012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5344
47cc1490
CM
5345 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5346 if defined.
5347
01767843
CM
5348 * nss/nsswitch.h (nss_interface_function): Provide new
5349 macro for use with NSS functions.
5350 * grp/initgroups.c: Use new macro.
5351 * nss/getXXbyYY.c: Likewise.
5352 * nss/getXXbyYY_r.c: Likewise.
5353 * nss/getXXent.c: Likewise.
5354 * nss/getXXent_r.c: Likewise.
5355 * sysdeps/posix/getaddrinfo.c: Likewise.
5356
8321aa97
AJ
53572012-10-30 Andreas Jaeger <aj@suse.de>
5358
5359 * po/ru.po: Update Russion translation from translation project.
5360
2a27fd6d
JM
53612012-10-30 Joseph Myers <joseph@codesourcery.com>
5362
8627a232
JM
5363 [BZ #14152]
5364 [BZ #14783]
5365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5366 result and shift together with sticky bit instead of replicating
5367 round-to-nearest rounding.
5368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5369 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5370 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5371 missing underflow exceptions.
5372 (fma_test_towardzero): Add more tests.
5373 (fma_test_downward): Likewise.
5374 (fma_test_upward): Likewise.
5375
2a27fd6d
JM
5376 [BZ #14047]
5377 * sysdeps/generic/tininess.h: New file.
5378 * sysdeps/i386/tininess.h: Likewise.
5379 * sysdeps/sh/tininess.h: Likewise.
5380 * sysdeps/x86_64/tininess.h: Likewise.
5381 * stdlib/tst-strtod-underflow.c: Likewise.
5382 * stdlib/tst-tininess.c: Likewise.
5383 * stdlib/strtod_l.c: Include <tininess.h>.
5384 (round_and_return): Do not set errno for exact underflow cases.
5385 Force an underflow exception when setting errno for underflow.
5386 Determine underflow based on rounding to normal precision if
5387 TININESS_AFTER_ROUNDING.
5388 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5389 ERANGE for exact underflow cases.
5390 * stdlib/Makefile (tests): Add tst-tininess and
5391 tst-strtod-underflow.
5392 ($(objpfx)tst-tininess): Use $(link-libm).
5393 ($(objpfx)tst-strtod-underflow): Likewise.
5394
e7170363
AJ
53952012-10-30 Andreas Jaeger <aj@suse.de>
5396
e5088dc6
AJ
5397 [BZ#14767]
5398 * elf/Makefile (tests): Remove conditional for have-initfini-array
5399 since this is now always required and the variable does not exist
5400 anymore.
5401 (tests-static): Likewise.
5402 (modules-names): Likewise.
5403
e7170363 5404 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
5405
5406 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5407 merged with constructor/destructor.
5408 (init_array): Likewise.
5409 * elf/tst-array2dep.c (fini_array): Likewise.
5410 (init_array): Likewise.
5411
60457d8a
MF
54122012-10-29 Mike Frysinger <vapier@gentoo.org>
5413
5414 * manual/message.texi: Delete @cartouche tags.
5415
8bece752
PT
54162012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5417
94ce799f
PT
5418 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5419 EOPNOTSUPP.
5420 * sysdeps/mach/hurd/fsync.c: Likewise.
5421
8bece752
PT
5422 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5423 [_POSIX_REALTIME_SIGNALS]: Change condition to
5424 [_POSIX_REALTIME_SIGNALS > 0].
5425
86ebe6b1
AJ
54262012-10-27 Andreas Jaeger <aj@suse.de>
5427
5428 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5429 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5431 [__WORDSIZE != 64]: Likewise.
5432
54399c08
L
54332012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5434
5435 * iconvdata/tst-table.sh: Remove ${SHELL}.
5436 * iconvdata/tst-tables.sh: Likewise.
5437
e2211bed
DM
54382012-10-25 David S. Miller <davem@davemloft.net>
5439
5440 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5441 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5442 of strtoull.
5443
f303f97c
DM
5444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5445 ifunc-impl-list.c
5446 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5447 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5448 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5449 file.
5450
1e9d84cd
RM
54512012-10-25 Roland McGrath <roland@hack.frob.com>
5452
5453 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5454 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5455 __getdirentries.
5456
df381762
JM
54572012-10-25 Joseph Myers <joseph@codesourcery.com>
5458 Jim Blandy <jimb@codesourcery.com>
5459
5460 * scripts/cross-test-ssh.sh: New file.
5461 * manual/install.texi (Configuring and compiling): Document use of
5462 cross-test-ssh.sh.
5463 * INSTALL: Regenerated.
5464
bff64913
PT
54652012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5466
5467 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5468 EOPNOTSUPP.
5469
25fe8932
JM
54702012-10-25 Joseph Myers <joseph@codesourcery.com>
5471
5472 * Makeconfig (run-program-prefix): Fix comment.
5473
cc1290d0
JM
54742012-10-24 Joseph Myers <joseph@codesourcery.com>
5475 Jim Blandy <jimb@codesourcery.com>
5476
5477 * Makeconfig (test-wrapper): New variable,
5478 (test-wrapper-env): Likewise.
5479 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5480 (run-built-tests): Define to yes.
5481 (run-program-prefix): Use $(test-wrapper).
5482 (built-program-cmd): Likewise.
5483 * Rules (make-test-out): Use $(test-wrapper-env) and
5484 $(host-built-program-cmd).
5485 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5486 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5487 tst-pathopt.sh.
5488 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5489 $(test-wrapper-env) to tst-rtld-load-self.sh.
5490 ($(objpfx)order2.out): Use $(test-wrapper).
5491 ($(objpfx)tst-initorder.out): Likewise.
5492 ($(objpfx)tst-initorder2.out): Likewise.
5493 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5494 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5495 (test_wrapper_env): New variable. Use it to run ld.so.
5496 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5497 Use it to run ld.so.
5498 (test_wrapper_env): Likewise.
5499 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5500 $(test-wrapper) to run-iconv-test.sh.
5501 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5502 (ICONV): Use $test_wrapper.
5503 * posix/Makefile ($(objpfx)globtest.out): Pass
5504 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5505 globtest.sh, not $(run-program-prefix).
5506 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5507 (test_wrapper): Likewise.
5508 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5509 set together with run_via_rtld_prefix.
5510 (run_program_prefix): Define in terms of test_wrapper and
5511 run_via_rtld_prefix.
5512
6e6249d0
RM
55132012-10-24 Roland McGrath <roland@hack.frob.com>
5514
5515 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5516 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5517 Targets removed.
5518
5519 [BZ #14743]
5520 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5521 Declare __clock_getres, __clock_gettime, __clock_settime,
5522 __clock_nanosleep, and __clock_getcpuclockid.
5523 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5524 Remove librt_hidden_def (clock_gettime).
5525 * sysdeps/unix/clock_gettime.c: Likewise.
5526 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5527 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5528 * rt/clock_getres.c: Define __clock_getres as an alias.
5529 * sysdeps/posix/clock_getres.c: Likewise.
5530 * rt/clock_settime.c: Define __clock_settime as an alias.
5531 * sysdeps/unix/clock_settime.c: Likewise.
5532 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5533 * sysdeps/unix/clock_nanosleep.c: Likewise.
5534 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5535 * rt/clock-compat.c: New file.
5536 * rt/Makefile (librt-routines): Add clock-compat and move
5537 $(clock-routines) to ...
5538 (routines): ... here, new variable.
5539 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5540 Don't add get_clockfreq here.
5541 * rt/Versions (libc: GLIBC_2.17): New version set.
5542 Add clock_* symbols here.
5543 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5544 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5545 (GLIBC_2.17): Add clock_* symbols.
5546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5548 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5550 Likewise.
5551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5552 Likewise.
5553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5557 * NEWS: Mention the move.
5558
5559 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5560 Use __open, __read, __close rather than their public counterparts.
5561 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5562 (__get_clockfreq_via_cpuinfo): Likewise.
5563 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5564 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5565
5566 * config.h.in (HAVE_IFUNC): New #undef.
5567 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5568 was successful.
5569 * configure: Regenerated.
5570
0cae3f4b
MF
55712012-10-24 Mike Frysinger <vapier@gentoo.org>
5572
5573 * configure.in: Move READELF check to start of file.
5574 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5575 libc_cv_asm_gnu_indirect_function in the process.
5576 * configure: Regenerated.
5577
8175a253
MF
55782012-10-24 Mike Frysinger <vapier@gentoo.org>
5579
5580 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5581 send the output to /dev/null.
5582 (libc_cv_cc_with_libunwind): Likewise.
5583 (libc_cv_as_noexecstack): Likewise.
5584 * configure: Regenerate.
5585
0708a7d1
JM
55862012-10-24 Joseph Myers <joseph@codesourcery.com>
5587
10b40d85
JM
5588 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5589
0708a7d1
JM
5590 * posix/globtest.sh (TMPDIR): Do not set.
5591 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5592 (testout): Likewise.
5593
9fddec1a
AJ
55942012-10-24 Andreas Jaeger <aj@suse.de>
5595
3a8db22f
AJ
5596 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5597 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5598 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5599 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5600 posix_fadvise64, posix_fallocate64.
5601
9fddec1a
AJ
5602 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5603 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5604 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5605 Likewise.
5606 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5607 Likewise.
5608 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5609
5610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5611 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5612 <bits/fcntl-linux.h>.
5613 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5614
5615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5616 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5617 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5618 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5619 [__WORDSIZE != 64]: Likewise.
5620
ebfd1bbd
JM
56212012-10-23 Joseph Myers <joseph@codesourcery.com>
5622
03ac099f
JM
5623 * Makeconfig (run-built-tests): New variable.
5624 * Rules [$(cross-compiling) = yes]: Change condition to
5625 [$(run-built-tests) = no].
5626 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5627 to [$(run-built-tests) = yes].
5628 * elf/Makefile [$(cross-compiling) = no]: Likewise
5629 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5630 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5631 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5632 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5633 * io/Makefile [$(cross-compiling) = no]: Likewise.
5634 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5635 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5636 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5637 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5638 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5639 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5640 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5641 * string/Makefile [$(cross-compiling) = no]: Likewise.
5642
ebfd1bbd
JM
5643 * posix/Makefile ($(objpfx)globtest.out): Pass
5644 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5645 $(rtld-installed-name).
5646 * posix/globtest.sh (elf_objpfx): Remove variable.
5647 (rtld_installed_name): Likewise.
5648 (library_path): Likewise.
5649 (run_program_prefix): New variable. Use for running globtest
5650 binary.
5651
166bca24
JB
56522012-10-23 Jim Blandy <jimb@codesourcery.com>
5653 Joseph Myers <joseph@codesourcery.com>
5654
5655 * Makeconfig (host-built-program-cmd): New variable.
5656 * elf/Makefile (tst-stackguard1-ARGS): Use
5657 $(host-built-program-cmd).
5658 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5659 (tst-spawn-ARGS): Likewise.
5660 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5661
88866099
JM
56622012-10-23 Joseph Myers <joseph@codesourcery.com>
5663 Jim Blandy <jimb@codesourcery.com>
5664
5665 * Makeconfig (run-via-rtld-prefix): New variable.
5666 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5667 (built-program-cmd): Likewise.
5668
b4b4c296
AJ
56692012-10-22 Andreas Jaeger <aj@suse.de>
5670
5671 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5672 __O_RSYNC if it exists, otherwise to O_SYNC.
5673
6fb54a22
JB
56742012-10-22 Jim Blandy <jimb@codesourcery.com>
5675 Joseph Myers <joseph@codesourcery.com>
5676
5677 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5678 /dev/null.
5679 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5680 from /dev/null
5681 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5682 /dev/null.
5683
481b90b9
AJ
56842012-10-22 Andreas Jaeger <aj@suse.de>
5685
2a0e2669
AJ
5686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5687 Define always.
5688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5689
76e38f9a
AJ
5690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5691 bits/fcntl-linux.h.
5692
7cd37b43
AJ
5693 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5694 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5695
481b90b9
AJ
5696 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5697 to __O_LARGEFILE.
5698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5699 to __O_LARGEFILE.
5700
aba75984
JB
57012012-10-21 Jim Blandy <jimb@codesourcery.com>
5702 Joseph Myers <joseph@codesourcery.com>
5703
5704 * config.make.in (NM): New variable.
5705
88d4247f
AJ
57062012-10-21 Andreas Jaeger <aj@suse.de>
5707
5708 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5709 definitions and declarations that are provided by
5710 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5711
f2eed205
L
57122012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5713
5714 [BZ #14683]
5715 * elf/Makefile (tests-static): Add tst-leaks1-static.
5716 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5717 ($(objpfx)tst-leaks1-static): New rule.
5718 ($(objpfx)tst-leaks1-static-mem): Likewise.
5719 (tst-leaks1-static-ENV): New macro.
5720 * elf/dl-open.c (dl_open_worker): Check the main application
5721 only if SHARED is defined.
5722 * elf/tst-leaks1-static.c: New file.
5723
335e6931
AJ
57242012-10-20 Andreas Jaeger <aj@suse.de>
5725
5726 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5727 generic values for Linux.
5728 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5729 and declarations that are provided by <bits/fcntl-linux.h> and
5730 include <bits/fcntl-linux.h>.
5731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5732 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5733
ac5c94d3
RM
57342012-10-20 Roland McGrath <roland@hack.frob.com>
5735
5736 * io/fcntl.h: Move include of <bits/types.h> to the top and
5737 include it unconditionally.
5738
de54b33a
L
57392012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5740
228cfb01
L
5741 * wcsmbs/Makefile (tests-ifunc): New variable.
5742 (tests): Add $(tests-ifunc).
5743 * wcsmbs/test-wcschr-ifunc.c: New file.
5744 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5745 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5746 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5747 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5748 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5749
69f07e5f
L
5750 * string/Makefile (tests-ifunc): New variable.
5751 (tests): Add $(tests-ifunc).
5752 * string/test-memccpy.c (TEST_NAME): New macro.
5753 * string/test-memchr.c (TEST_NAME): Likewise.
5754 * string/test-memcmp.c (TEST_NAME): Likewise.
5755 * string/test-memcpy.c (TEST_NAME): Likewise.
5756 * string/test-memmem.c (TEST_NAME): Likewise.
5757 * string/test-memmove.c (TEST_NAME): Likewise.
5758 * string/test-memset.c (TEST_NAME): Likewise.
5759 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5760 * string/test-stpcpy.c (TEST_NAME): Likewise.
5761 * string/test-stpncpy.c (TEST_NAME): Likewise.
5762 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5763 * string/test-strcasestr.c (TEST_NAME): Likewise.
5764 * string/test-strcat.c (TEST_NAME): Likewise.
5765 * string/test-strchr.c (TEST_NAME): Likewise.
5766 * string/test-strcmp.c(TEST_NAME): Likewise.
5767 * string/test-strcpy.c (TEST_NAME): Likewise.
5768 * string/test-strcspn.c (TEST_NAME): Likewise.
5769 * string/test-strlen.c (TEST_NAME): Likewise.
5770 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5771 * string/test-strncmp.c (TEST_NAME): Likewise.
5772 * string/test-strncpy.c (TEST_NAME): Likewise.
5773 * string/test-strnlen.c (TEST_NAME): Likewise.
5774 * string/test-strpbrk.c (TEST_NAME): Likewise.
5775 * string/test-strrchr.c (TEST_NAME): Likewise.
5776 * string/test-strspn.c (TEST_NAME): Likewise.
5777 * string/test-strstr.c (TEST_NAME): Likewise.
5778 * string/test-bcopy-ifunc.c: New file.
5779 * string/test-bzero-ifunc.c: Likewise.
5780 * string/test-memccpy-ifunc.c: Likewise.
5781 * string/test-memchr-ifunc.c: Likewise.
5782 * string/test-memcmp-ifunc.c: Likewise.
5783 * string/test-memcpy-ifunc.c: Likewise.
5784 * string/test-memmem-ifunc.c: Likewise.
5785 * string/test-memmove-ifunc.c: Likewise.
5786 * string/test-mempcpy-ifunc.c: Likewise.
5787 * string/test-memset-ifunc.c: Likewise.
5788 * string/test-rawmemchr-ifunc.c: Likewise.
5789 * string/test-stpcpy-ifunc.c: Likewise.
5790 * string/test-stpncpy-ifunc.c: Likewise.
5791 * string/test-strcasecmp-ifunc.c: Likewise.
5792 * string/test-strcasestr-ifunc.c: Likewise.
5793 * string/test-strcat-ifunc.c: Likewise.
5794 * string/test-strchr-ifunc.c: Likewise.
5795 * string/test-strchrnul-ifunc.c: Likewise.
5796 * string/test-strcmp-ifunc.c: Likewise.
5797 * string/test-strcpy-ifunc.c: Likewise.
5798 * string/test-strcspn-ifunc.c: Likewise.
5799 * string/test-strlen-ifunc.c: Likewise.
5800 * string/test-strncasecmp-ifunc.c: Likewise.
5801 * string/test-strncat-ifunc.c: Likewise.
5802 * string/test-strncmp-ifunc.c: Likewise.
5803 * string/test-strncpy-ifunc.c: Likewise.
5804 * string/test-strnlen-ifunc.c: Likewise.
5805 * string/test-strpbrk-ifunc.c: Likewise.
5806 * string/test-strrchr-ifunc.c: Likewise.
5807 * string/test-strspn-ifunc.c: Likewise.
5808 * string/test-strstr-ifunc.c: Likewise.
5809
de54b33a
L
5810 * debug/Makefile (tests-ifunc): New variable.
5811 (tests): Add $(tests-ifunc).
5812 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5813 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5814 * debug/test-stpcpy_chk-ifunc.c: New file.
5815 * debug/test-strcpy_chk-ifunc.c: Likewise.
5816
88481c16
SP
58172012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5818
5819 [BZ #13601]
5820 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5821 header is not read in.
5822
135948bd
JM
58232012-10-19 Joseph Myers <joseph@codesourcery.com>
5824
89f1c388
JM
5825 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5826 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5827 directly. Pass built executable to script as
5828 $(built-program-cmd).
5829 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5830 $testprogram without using LD_LIBRARY_PATH and $ldso.
5831
e40a0d21
JM
5832 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5833 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5834 $(rtld-installed-name).
5835 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5836 (rtld_installed_name): Likewise.
5837 (library_path): Likewise.
5838 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5839 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5840 $(run-program-prefix) to tst-tables.sh.
5841 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5842 it to run tst-table-from and tst-table-to.
5843 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5844 Pass it to tst-table.sh.
5845 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5846 $(run-program-prefix) to tst-gettext.sh.
5847 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5848 tst-translit.sh.
5849 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5850 tst-gettext2.sh.
5851 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5852 to run tst-gettext.
5853 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5854 to run tst-gettext2.
5855 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5856 to run tst-translit.
5857 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5858 $(run-program-prefix) to tst-mtrace.sh.
5859 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5860 to run tst-mtrace.
5861 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5862 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5863 $(rtld-installed-name).
5864 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5865 (rtld_installed_name): Likewise.
5866 (run_program_prefix): New variable. Use it to run wordexp-test.
5867
728e272a
JM
5868 * Makeconfig (ARCH): Remove all definitions.
5869 (machine): Likewise.
5870 [ARCH]: Remove conditional code.
5871 [!objdir]: Give error.
5872 [!objdir] (objpfx): Remove.
5873 [!objdir] (common-objpfx): Likewise.
5874 [!objdir] (common-objdir): Likewise.
5875 * configure.in (config_makefile): Remove. Hardcode Makefile in
5876 AC_CONFIG_FILES call.
5877 * configure: Regenerated.
5878
d528cdcf
JM
5879 [BZ #13888]
5880 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5881 or TMPDIR.
5882 (testout): Likewise.
5883
135948bd
JM
5884 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5885 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5886 $(rtld-installed-name).
5887 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5888 (rtld_installed_name): Likwise.
5889 (runit): Remove function.
5890 (run_getconf): New variable, Use it for running getconf binary.
5891
38c78296
L
58922012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5893
5894 [BZ #14716]
5895 * string/test-memmem.c (check_result): New function.
5896 (do_one_test): Use it.
5897 (check1): New function.
5898 (test_main): Use it.
5899
d077f65f
MT
59002012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5901
5902 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5903
ced52c71
JM
59042012-10-18 Joseph Myers <joseph@codesourcery.com>
5905
5906 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5907 (_G_LSEEK64): Likewise.
5908 (_G_MMAP64): Likewise.
5909 (_G_FSTAT64): Likewise.
5910 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5911 (_G_LSEEK64): Likewise.
5912 (_G_MMAP64): Likewise.
5913 (_G_FSTAT64): Likewise.
5914 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5915 unconditional. Call __mmap64 directly.
5916 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5917 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5918 __lseek64 directly.
5919 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5920 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5921 __mmap64 directly.
5922 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5923 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5924 __lseek64 directly.
5925 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5926 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5927 __lseek64 directly.
5928 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5929 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5930 __lseek64 directly.
5931 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5932 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5933 __fxstat64 directly.
5934 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5935 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5936 unconditional.
5937 (freopen64) [!_G_OPEN64]: Remove conditional code.
5938 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5939 unconditional.
5940 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5941 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5942 unconditional.
5943 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5944 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5945 unconditional.
5946 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5947 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5948 unconditional.
5949 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5950 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5951 unconditional.
5952 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5953 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5954 unconditional.
5955 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5956 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5957 unconditional.
5958 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5959
b741de23
SP
59602012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5961
5962 [BZ #12140]
5963 * manual/memory.texi (Malloc Tunable Parameters): Add note
5964 about free list pointers overwriting some perturb bytes.
5965 Wording suggested by Roland McGrath.
5966
f9b9d9c9
JM
59672012-10-17 Joseph Myers <joseph@codesourcery.com>
5968
5969 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5970 (lgamma_test): Likewise.
5971 (tgamma_test): Likewise.
5972
172a631a
FW
59732012-10-16 Florian Weimer <fweimer@redhat.com>
5974
5975 [BZ #14700]
5976 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5977 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5978
e9f37252
MK
59792012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5980
5981 * NEWS: Mention BZ #14716.
5982 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5983 when removing AVAILABLE1_USES_J macro.
5984
d394eb74
L
59852012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5986
5987 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5988 (__bswap_64): __uint64_t for unsigned 64-bit int.
5989
ca38dc17
AS
59902012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5991
5992 * include/string.h (memmem): Declare libc hidden alias.
5993 * string/memmem.c (memmem): Define libc hidden alias.
5994 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5995 __read, __close instead of open, read, close.
5996
9a387d1f
L
59972012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5998
ac49ecaf
L
5999 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6000 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6001 global and hidden.
6002 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6003 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6004 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6005 Likewise.
6006 (__rawmemchr_sse2): Likewise.
6007 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6008 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6009 (__strchr_sse2): Likewise.
6010 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6011 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6012 (__strcasecmp_sse2): Likewise.
6013 (__strncasecmp_sse2): Likewise.
6014 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6015 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6016 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6017 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6018 (__strrchr_sse2): Likewise.
6019 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6020 ifunc-impl-list.c.
6021 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6022 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6023 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6024 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6025 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6026 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6027 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6028 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6029 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6030 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6031 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6032 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6033 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6034 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6035 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6036 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6037 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6038 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6039 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6040 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6041 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6042 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6043 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6044 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6045 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6046 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6047 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6048 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6049 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6050 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6051
b090e8ea
L
6052 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6053 global and hidden.
6054 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6055 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6056 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6057 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6058 Likewise.
6059 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6060 Likewise.
6061 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6062 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6063 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6064 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6065 ifunc-impl-list.c.
6066 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6067 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6068 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6069 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6070 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6071 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6072 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6073 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6074 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6075 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6076 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6077 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6078 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6079 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6080 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6081 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6082 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6083 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6084 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6085 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6086 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6087 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6088 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6089 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6090 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6091 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6092 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6093 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6094 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6095 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6096 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6097 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6098 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6099 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6100 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6101 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6102 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6103 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6104 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6105 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6106 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6107
11dd4af6
L
6108 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6109 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6110 * include/ifunc-impl-list.h: New file.
6111 * misc/ifunc-impl-list.c: Likewise.
6112 * misc/Makefile (routines): Add ifunc-impl-list.
6113 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6114 * string/test-string.h: Include <ifunc-impl-list.h>.
6115 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6116 impl_array): New variables.
6117 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6118 are defined.
6119 (test_init): Call __libc_ifunc_impl_list to initialize
6120 func_list if TEST_IFUNC and TEST_NAME are defined.
6121
9a387d1f
L
6122 * string/Makefile (strop-tests): Add bcopy and bzero.
6123 * string/test-bcopy.c: New file.
6124 * string/test-bzero.c: Likewise.
6125 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6126 defined.
6127 * string/test-memset.c: Support bzero test if TEST_BZERO is
6128 defined.
6129 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6130 __libc_memmove.
6131 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6132 __libc_memset.
6133 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6134 of memset.
6135
472371b9
JM
61362012-10-10 Joseph Myers <joseph@codesourcery.com>
6137
1e4a9536
JM
6138 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6139 * configure: Regenerated.
6140
d173d12e
JM
6141 * Makeconfig (+link-static-before-libc): Don't include
6142 $(link-static-libc).
6143
472371b9
JM
6144 * libio/libio.h (_IO_pos_t): Remove.
6145
89a3ad0b
AO
61462012-10-10 Alexandre Oliva <aoliva@redhat.com>
6147
6148 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6149 McGrath.
6150
e7451425
AO
61512012-10-10 Alexandre Oliva <aoliva@redhat.com>
6152
6153 * crypt/crypt-entry.c: Include fips-private.h.
6154 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6155 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6156 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6157 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6158
4ba74a35
AO
61592012-10-10 Alexandre Oliva <aoliva@redhat.com>
6160
6161 * crypt/crypt-private.h: Include stdbool.h.
6162 (_ufc_setup_salt_r): Return bool.
6163 * crypt/crypt-entry.c: Include errno.h.
6164 (__crypt_r): Return NULL with EINVAL for bad salt.
6165 * crypt/crypt_util.c (bad_for_salt): New.
6166 (_ufc_setup_salt_r): Check that salt is long enough and within
6167 the specified alphabet.
6168 * crypt/badsalttest.c: New file.
6169 * crypt/Makefile (tests): Add it.
6170 ($(objpfx)badsalttest): New.
6171
f96f1242
MK
61722012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6173
6174 * NEWS: Add entry for BZ #14602.
6175
0e8e0c1c
JM
61762012-10-09 Joseph Myers <joseph@codesourcery.com>
6177
6178 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6179 type-generic.
6180 * math/libm-test.inc: Update comment listing what functions and
6181 macros are tested.
6182 (isgreater_test): New function.
6183 (isgreaterequal_test): Likewise.
6184 (isless_test): Likewise.
6185 (islessequal_test): Likewise.
6186 (islessgreater_test): Likewise.
6187 (isunordered_test): Likewise.
6188 (main): Call the new functions.
6189
273edc5e
RM
61902012-10-09 Roland McGrath <roland@hack.frob.com>
6191
b8493de0
RM
6192 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6193 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6194 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6195 * sysdeps/i386/configure: Regenerated.
6196 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6197 * sysdeps/mach/configure: Regenerated.
6198 * sysdeps/mach/hurd/configure: Regenerated.
6199 * sysdeps/powerpc/configure: Regenerated.
6200 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6201 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6202 * sysdeps/s390/s390-32/configure: Regenerated.
6203 * sysdeps/s390/s390-64/configure: Regenerated.
6204 * sysdeps/sh/configure: Regenerated.
6205 * sysdeps/sparc/configure: Regenerated.
6206 * sysdeps/unix/sysv/linux/configure: Regenerated.
6207 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6208 * sysdeps/x86_64/configure: Regenerated.
6209
273edc5e
RM
6210 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6211 defined. Don't check if MAP is NULL.
6212
c8450f70
JM
62132012-10-09 Joseph Myers <joseph@codesourcery.com>
6214
6215 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6216 (_G_stat64): Likewise.
6217 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6218 (_G_stat64): Likewise.
6219 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6220 instead of struct _G_stat64.
6221 * libio/fileops.c (mmap_remap_check): Likewise.
6222 (decide_maybe_mmap): Likewise.
6223 (_IO_new_file_seekoff): Likewise.
6224 (_IO_file_stat): Likewise.
6225 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6226 _G_off64_t.
6227 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6228 instead of struct _G_stat64.
6229 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6230
57e605ba
MK
62312012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6232
6233 [BZ #14602]
6234 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6235 Replace with ...
6236 (CHECK_EOL): New macro.
6237 (two_way_short_needle): Check beginning of haystack for EOL. Use
6238 CHECK_EOL.
6239 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6240 Replace with CHECK_EOL.
6241 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6242 Replace with CHECK_EOL.
6243
ef1bb361
JM
62442012-10-08 Joseph Myers <joseph@codesourcery.com>
6245
6246 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6247 type-generic.
6248 * math/libm-test.inc: Update comment listing what functions and
6249 macros are tested.
6250 (finite_test): New function.
6251 (isinf_test): Likewise.
6252 (isnan_test): Likewise.
6253 (fpclassify_test): Test subnormal input.
6254 (isfinite_test): Likewise.
6255 (isnormal_test): Likewise.
6256 (main): Call the new functions.
6257
55f11534
JN
62582012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6259
6260 [BZ #14660]
6261 * Makerules (%.dynsym): Force C locale when running
6262 $(OBJDUMP) --dynamic-syms.
6263
1ab29350
AS
62642012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6265
6266 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6267 <stdint.h>.
6268
f1ecb7ef
DM
62692012-10-06 David S. Miller <davem@davemloft.net>
6270
6271 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6272 upper 32-bits of the length value in %o2 since we use branch-on-register
6273 tests which consider the entire 64-bit register.
6274
5d41d91a
L
62752012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6276
6277 * string/test-strstr.c (check2): Add a test for page boundary.
6278
3baddb72
DM
62792012-10-05 David S. Miller <davem@davemloft.net>
6280
6281 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6282 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6283 file.
6284 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6285 sysdep_routines.
6286 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6287 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6288 and bzero when HWCAP_SPARC_CRYPTO is present.
6289
9cee5585
L
62902012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6291
d7e0dab9
L
6292 [BZ #14602]
6293 * string/test-strstr.c (check2): New function.
6294 (test_main): Call check2.
6295
03759f47
L
6296 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6297 and bug-strchr1.
6298 * string/bug-strcasestr1.c (do_test): Moved to ...
6299 * string/test-strcasestr.c (check1): Here. New function.
6300 (do_one_test): Break out result checking code into ...
6301 (check_result): This. New function.
6302 (do_one_test): Call check_result.
6303 (test_main): Call check1.
6304 * string/bug-strchr1.c (do_test): Moved to ...
6305 * string/test-strchr.c (check1): Here. New function.
6306 (do_one_test): Break out result checking code into ...
6307 (check_result): This. New function.
6308 (do_one_test): Call check_result.
6309 (test_main): Call check1.
6310 * string/bug-strstr1.c (main): Moved to ...
046f153e 6311 * string/test-strstr.c (check1): Here. New function.
03759f47
L
6312 (do_one_test): Break out result checking code into ...
6313 (check_result): This. New function.
6314 (do_one_test): Call check_result.
6315 (test_main): Call check1.
6316 * string/bug-strcasestr1.c: Removed.
6317 * string/bug-strchr1.c: Likewise.
6318 * string/bug-strstr1.c: Likewise.
6319
53cea63e
L
6320 * elf/Makefile (dl-routines): Add hwcaps.
6321 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6322 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6323 (_dl_important_hwcaps): Moved to ...
6324 * elf/dl-hwcaps.c: Here. New file.
6325 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6326
9cee5585 6327 [BZ #14557]
bb859b06
L
6328 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6329 if IS_IN_rtld isn't defined.
6330
9cee5585
L
6331 * elf/dl-support.c (_dl_sysinfo_map): New.
6332 Include "get-dynamic-info.h" and "setup-vdso.h".
6333 (_dl_non_dynamic_init): Call setup_vdso.
6334 * elf/dynamic-link.h: Don't include <assert.h>.
6335 (elf_get_dynamic_info): Moved to ...
6336 * elf/get-dynamic-info.h: Here. New file.
6337 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6338 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6339 * elf/setup-vdso.h: Here. New file.
6340 * elf/rtld.c: Include "setup-vdso.h".
6341 (dl_main): Call setup_vdso.
6342
23c31b76
JM
63432012-10-05 Joseph Myers <joseph@codesourcery.com>
6344
28234b07
JM
6345 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6346 creal in comment listing functions tested. List finite, isinf,
6347 isnan, isless, islessequal, isgreater, isgreaterequal,
6348 islessgreater, isunordered, lgamma_r and pow10 as functions and
6349 macros not tested. Mention which functions not tested are aliases
6350 for other functions. Fix typo. Note that signs of NaNs are not
6351 tested.
6352
23c31b76
JM
6353 * scripts/config.guess: Update from config.git.
6354 * scripts/config.sub: Likewise.
6355
9043e228
RM
63562012-10-04 Roland McGrath <roland@hack.frob.com>
6357
6358 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6359 * misc/madvise.c (madvise): Renamed to __madvise.
6360 Make madvise a weak alias.
6361 * include/sys/mman.h: Declare __madvise.
6362 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6363 * sysdeps/unix/syscalls.list
6364 (madvise): Make __madvise the strong name, and madvise a weak alias.
6365 * sysdeps/unix/sysv/linux/syscalls.list
6366 (madvise, mmap): Remove redundant entries.
6367 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6368 * malloc/malloc.c (mtrim): Likewise.
6369 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6370
f57f8055
RM
63712012-10-03 Roland McGrath <roland@hack.frob.com>
6372
6373 * sysdeps/mach/hurd/dl-cache.c: File removed.
6374 * config.h.in (USE_LDCONFIG): New #undef.
6375 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6376 * configure: Regenerated.
6377 * elf/Makefile (dl-routines): Add dl-cache only under
6378 [$(use-ldconfig) = yes].
6379 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6380 cache on [USE_LDCONFIG].
6381 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6382 [USE_LDCONFIG].
6383 * elf/rtld.c (dl_main): Likewise.
6384
5bb0c10a
PT
63852012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6386
6387 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6388 _SC_LEVEL4_CACHE_LINESIZE.
6389
010188c6
RM
63902012-10-03 Roland McGrath <roland@hack.frob.com>
6391
6392 * sysdeps/unix/bsd/confstr.h: File removed.
6393
b6c5ec07
AO
63942012-10-02 Alexandre Oliva <aoliva@redhat.com>
6395
6396 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6397 sys/sdt-config.h.
6398
408223d4
RM
63992012-10-02 Roland McGrath <roland@hack.frob.com>
6400
6401 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6402 Make 'mapoff' field ElfW(Off) rather than off_t.
6403
bb9510dc
DL
64042012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6405
fc997c6e
DL
6406 * nscd/Makefile: Remove nscd-cflags and all its users.
6407 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6408 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6409
bb9510dc
DL
6410 [BZ #10631]
6411 * malloc.c (malloc_printerr): Clarify error message.
6412
05699367
L
64132012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6414
6415 [BZ #14648]
6416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6417 Set bit_FMA_Usable if FMA is supported.
6418 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6419 macro.
6420 (bit_FMA4_Usable): Updated.
6421 (index_FMA_Usable): New macro.
6422 (CPUID_FMA): Likewise
6423 (HAS_FMA): Defined with bit_FMA_Usable.
6424
51367701
RM
64252012-10-01 Roland McGrath <roland@hack.frob.com>
6426
6427 * bits/types.h (__swblk_t): Type removed.
6428 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6429 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6430 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6431 (__SWBLK_T_TYPE): Likewise.
6432 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6433 (__SWBLK_T_TYPE): Likewise.
6434 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6435 (__SWBLK_T_TYPE): Likewise.
6436 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6437 (__SWBLK_T_TYPE): Likewise.
6438
4d57bf63 64392012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 6440 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
6441
6442 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6443 (xdr_mapname): Use YPMAXMAP as maxsize.
6444 (xdr_peername): Use YPMAXPEER as maxsize.
6445 (xdr_keydat): Use YPAXRECORD as maxsize.
6446 (xdr_valdat): Use YPMAXRECORD as maxsize.
6447
93c65d43
RM
64482012-10-01 Roland McGrath <roland@hack.frob.com>
6449
497a03d6
RM
6450 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6451
93c65d43
RM
6452 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6453 * csu/init-first.c: ... here.
6454 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6455 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6456 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6457 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6458 * sysdeps/i386/init-first.c: File removed.
6459 * sysdeps/sh/init-first.c: File removed.
6460
bec749fd
JM
64612012-10-01 Joseph Myers <joseph@codesourcery.com>
6462
6463 [BZ #14645]
6464 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6465 if x * y might underflow to zero and z is zero.
6466 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6467 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6468 * math/libm-test.inc (min_subnorm_value): New variable.
6469 (fma_test): Add more tests.
6470 (fma_test_towardzero): Likewise.
6471 (fma_test_downward): Likewise
6472 (fma_test_upward): Likewise.
6473 (initialize): Set min_subnorm_value.
6474
8ec5b013
JM
64752012-09-29 Joseph Myers <joseph@codesourcery.com>
6476
6477 [BZ #14638]
6478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6479 0 + 0.
6480 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6481 mode for addition resulting in exact zero.
6482 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6483 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6484 exact 0 + 0.
6485 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6486 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6487 * math/libm-test.inc (fma_test): Add more tests.
6488 (fma_test_towardzero): New function.
6489 (fma_test_downward): Likewise.
6490 (fma_test_upward): Likewise.
6491 (main): Call the new functions.
6492
b1fa802e
DM
64932012-09-28 David S. Miller <davem@davemloft.net>
6494
6495 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6496
d3b9fd9e
RM
64972012-09-28 Roland McGrath <roland@hack.frob.com>
6498
ea4d37b3
RM
6499 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6500 instead of SIGALRM.
6501
ac51c949
RM
6502 * sysdeps/gnu/_G_config.h: Moved to ...
6503 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6504 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6505 * sysdeps/generic/_G_config.h: ... here.
6506
28c195f7
RM
6507 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6508
848917f9
RM
6509 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6510
6bacf05b
RM
6511 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6512 Conditionalize target on [libnss_test1.so-version].
6513
91363dbb
RM
6514 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6515
cc87f7d8
RM
6516 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6517 (elfobjdir): Move out of conditionals.
6518
b1c608fe
RM
6519 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6520 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6521 (__nss_lookup_function): Conditionalize label remove_from_tree on
6522 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 6523
1d9a6d96
DM
65242012-09-28 David S. Miller <davem@davemloft.net>
6525
6526 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6527 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6528 file.
6529 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6530 sysdep_routines.
6531 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6532 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6533 when HWCAP_SPARC_CRYPTO is present.
6534
72581615
PT
65352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6536
6537 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6538
715a900c
JL
65392012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6540
6541 [BZ #6530]
6542 * stdio-common/vfprintf.c (process_string_arg): Revert
6543 2000-07-22 change.
6544
65452011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6546
6547 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6548 for testcase.
6549 * stdio-common/tst-sprintf.c: Include <locale.h>
6550 (main): Test sprintf's handling of incomplete multibyte
6551 characters.
6552
9bac1d86
L
65532012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6554
6555 * elf/dl-runtime.c (VERSYMIDX): Removed.
6556 * elf/dl-version.c (VERSYMIDX): Likewise.
6557 * elf/do-rel.h (VERSYMIDX): Likewise.
6558 (VALIDX): Likewise.
6559 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6560 * elf/rtld.c (VALIDX): Likewise.
6561 (ADDRIDX): Likewise.
9bac1d86
L
6562 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6563 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6564 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
6565 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6566 (VALIDX): Likewise.
6567 (ADDRIDX): Likewise.
9bac1d86 6568
b31606c0
PT
65692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6570
6571 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6572
11541177
JL
65732012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6574
6575 [BZ #11438]
6576 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6577 to global scope.
6578 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6579 addresses are in the same scope as 192.0.2/24.
6580 * posix/gai.conf: Document new scope table defaults.
6581
adb26fae
SP
65822012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6583
6584 [BZ #5298]
6585 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6586 for ftell. Compute offsets from write pointers instead.
6587 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6588
4573c6b0
SP
65892012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6590
6591 [BZ #14543]
6592 * libio/Makefile (tests): New test case tst-fseek.
6593 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6594 combination works in wide mode.
6595 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6596 state when the external buffer state changes.
6597
aa9bbfe6
DM
65982012-09-27 David S. Miller <davem@davemloft.net>
6599
6600 [BZ #14376]
6601 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6602 pass reloc->r_addend in as the 'high' argument to
6603 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6604
784421e7
DM
6605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6606
c39bc8b8
PT
66072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6608
6609 * rt/tst-aio2.c: Include <pthread.h>.
6610 * rt/tst-aio3.c: Likewise.
6611
1ccc2399
SE
66122012-09-27 Steve Ellcey <sellcey@mips.com>
6613
6614 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6615
31ed4153
L
66162012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6617
25f5f885
L
6618 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6619 contents on [SHARED].
31ed4153 6620
b7bfe116
MP
66212012-09-26 Marek Polacek <polacek@redhat.com>
6622
6623 [BZ #14530]
6624 [BZ #13741]
6625 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6626 for C++ and GCC <4.3 as well as for non GCC compilers.
6627
43c4edba
MT
66282012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6629
6630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6631
6a1bf82f
RM
66322012-09-25 Roland McGrath <roland@hack.frob.com>
6633
6634 * Makefile.in (all, install): Declare with .PHONY.
6635 Reported by Michael Hope <michael.hope@linaro.org>.
6636
8ad11b9a
TMQMF
66372012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6638
6639 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6640 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6641 system header.
6642 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6643 Likewise.
6644 (sydep_routines): Add the new and the internal functions.
6645 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6646 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6648 (GLIBC_2.17): Add the new function.
6649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6650 (GLIBC_2.17): Likewise.
6651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6652 (GLIBC_2.17): Likewise.
6653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6654 (GLIBC_2.17): Likewise.
6655 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6656
7e2fca8d
AM
66572012-09-25 Alan Modra <amodra@gmail.com>
6658
6659 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6660 Add release barrier before setting once_control to say
6661 initialisation is done. Add hints on lwarx. Use macro in
6662 place of isync.
6663 (clear_once_control): Add release barrier.
6664
b87c4b24
JM
66652012-09-25 Joseph Myers <joseph@codesourcery.com>
6666
d032e0d2
JM
6667 [BZ #13629]
6668 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6669 specially.
6670 * math/s_clog10.c (__clog10): Likewise.
6671 * math/s_clog10f.c (__clog10f): Likewise.
6672 * math/s_clog10l.c (__clog10l): Likewise.
6673 * math/s_clogf.c (__clogf): Likewise.
6674 * math/s_clogl.c (__clogl): Likewise.
6675 * math/Makefile (libm-calls): Add x2y2m1.
6676 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6677 (__x2y2m1): Likewise.
6678 (__x2y2m1l): Likewise.
6679 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6680 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6683 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6684 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6685 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6686 * sysdeps/i386/fpu/libm-test-ulps: Update.
6687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6688
b87c4b24
JM
6689 [BZ #14621]
6690 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6691 int as type of variable DEPTH.
6692 (glob): Use size_t instead of int as type of variables NEWCOUNT
6693 and OLD_PATHC.
6694
6d3bf199
LD
66952012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6696
22bf5c17
LD
6697 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6698 Add s_sincosf-sse2.
6699 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6700 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6701 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6702 macros for using routine as __sincosf_ia32.
6703 Use macro for function declaration and weak_alias.
6704 * sysdeps/i386/fpu/libm-test-ulps: Update.
6705
6706 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6708
6709 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6710 subnormal argument.
6711 * math/s_cexpf.c (__cexpf): Likewise.
6712 * math/s_csinf.c (__csinf): Likewise.
6713 * math/s_csinhf.c (__csinhf): Likewise.
6714 * math/s_ctanf.c (__ctanf): Likewise.
6715 * math/s_ctanhf.c (__ctanhf): Likewise.
6716 * math/s_ccosh.c (__ccoshf): Likewise.
6717 * math/s_cexp.c (__cexpl): Likewise.
6718 * math/s_csin.c (__csin): Likewise.
6719 * math/s_csinh.c (__csinh): Likewise.
6720 * math/s_ctan.c (__ctan): Likewise.
6721 * math/s_ctanh.c (ctanh): Likewise.
6722 * math/s_ccoshl.c (__ccoshl): Likewise.
6723 * math/s_cexpl.c (__cexpl): Likewise.
6724 * math/s_csinl.c (__csinl): Likewise.
6725 * math/s_csinhl.c (__csinhl): Likewise.
6726 * math/s_ctanl.c (__ctanl): Likewise.
6727 * math/s_ctanhl.c (__ctanhl): Likewise.
6728
203e5603
JM
67292012-09-25 Joseph Myers <joseph@codesourcery.com>
6730
6731 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6732 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6733 (_IO_off_t): Define to __off_t, not _G_off_t.
6734 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6735 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6736 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6737 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6738 type of __dummy and __dummy2 fields.
6739 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6740 (_G_ssize_t): Likewise.
6741 (_G_off_t): Likewise.
6742 (_G_pid_t): Likewise.
6743 (_G_uid_t): Likewise.
6744 (_G_wchar_t): Likewise.
6745 (_G_wint_t): Likewise.
6746 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6747 (_G_ssize_t): Likewise.
6748 (_G_off_t): Likewise.
6749 (_G_pid_t): Likewise.
6750 (_G_uid_t): Likewise.
6751 (_G_wchar_t): Likewise.
6752 (_G_wint_t): Likewise.
6753 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6754 (_G_ssize_t): Likewise.
6755 (_G_off_t): Likewise.
6756 (_G_pid_t): Likewise.
6757 (_G_uid_t): Likewise.
6758 (_G_wchar_t): Likewise.
6759 (_G_wint_t): Likewise.
6760
9fab36eb
SP
67612012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6762
6763 * malloc/arena.c: Include malloc-sysdep.h.
6764 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6765 is sufficient to shrink the heap or an unmap is needed.
6766 * sysdeps/generic/malloc-sysdep.h: New file. Define
6767 new function check_may_shrink_heap.
6768 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6769 new function check_may_shrink_heap.
6770
2b4f00d1
SP
67712012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6772
6773 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6774 comments.
6775
9a9028b1
DL
67762012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6777
57c69bef
DL
6778 * catgets/test-gencat.sh: Add "set -e".
6779 * elf/tst-pathopt.sh: Likewise.
6780 * grp/tst_fgetgrent.sh: Likewise.
6781 * iconvdata/run-iconv-test.sh: Likewise.
6782 * intl/tst-gettext.sh: Likewise.
6783 * intl/tst-gettext2.sh: Likewise.
6784 * intl/tst-gettext4.sh: Likewise.
6785 * intl/tst-gettext6.sh: Likewise.
6786 * intl/tst-translit.sh: Likewise.
6787 * io/ftwtest-sh: Likewise.
6788 * libio/test-freopen.sh: Likewise.
6789 * malloc/tst-mtrace.sh: Likewise.
6790 * posix/globtest.sh: Likewise.
6791 * posix/tst-getconf.sh: Likewise.
6792 * posix/wordexp-tst.sh: Likewise.
6793 * stdio-common/tst-printf.sh: Likewise.
6794 * stdio-common/tst-unbputc.sh: Likewise.
6795 * stdlib/tst-fmtmsg.sh: Likewise.
6796 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6797 * catgets/Makefile: Do not specify -e option when running
6798 testsuite shell scripts.
6799 * elf/Makefile: Likewise.
6800 * grp/Makefile: Likewise.
6801 * iconvdata/Makefile: Likewise.
6802 * intl/Makefile: Likewise.
6803 * io/Makefile: Likewise.
6804 * libio/Makefile: Likewise.
6805 * malloc/Makefile: Likewise.
6806 * posix/Makefile: Likewise.
6807 * stdio-common/Makefile: Likewise.
6808 * stdlib/Makefile: Likewise.
6809 * sysdeps/x86_64/Makefile: Likewise.
6810
9a9028b1
DL
6811 * io/ftwtest-sh: Add copyright header.
6812 * posix/globtest.sh: Likewise.
6813 * posix/tst-getconf.sh: Likewise.
6814 * posix/wordexp-tst.sh: Likewise.
6815 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6816
ced6f16e
L
68172012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6818
94b32c39
L
6819 [BZ #13679]
6820 * Makeconfig (+link): Defined as $(+link-static) if
6821 $(build-shared) isn't yes.
6822 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6823 isn't yes.
6824 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6825
189e935b
L
6826 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6827
ced6f16e
L
6828 [BZ #14562]
6829 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6830 new chunk size with MALLOC_ALIGN_MASK.
6831
a9f8e53a
JM
68322012-09-24 Joseph Myers <joseph@codesourcery.com>
6833
6834 [BZ #5044]
6835 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6836 <rounding-mode.h>.
6837 (__printf_fphex): Determine rounding using get_rounding_mode and
6838 round_away.
6839 * stdio-common/tst-printf-round.c (struct hex_test): New
6840 structure.
6841 (hex_tests): New variable.
6842 (test_hex_in_one_mode): New function.
6843 (do_test): Also run tests for hex float output.
6844
43153109
JM
68452012-09-21 Joseph Myers <joseph@codesourcery.com>
6846
6847 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6848 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6849 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6850 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6851 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6852 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6853 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6854 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6855
8a26625d
JM
68562012-09-20 Joseph Myers <joseph@codesourcery.com>
6857
6858 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6859 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6860 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6861 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6862
f3fd569c
DL
68632012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6864
6865 [BZ #14579]
6866 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6867 mode only.
6868 * elf/tst-rtld-load-self.sh: New test.
6869 * elf/Makefile: Run it.
6870
63bbedd4
JM
68712012-09-18 Joseph Myers <joseph@codesourcery.com>
6872
6873 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6874 (tst-writev-ENV): Remove.
6875 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6876
626f8b6a
CM
68772012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6878
6879 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6880
b7aaa4d6
JM
68812012-09-17 Joseph Myers <joseph@codesourcery.com>
6882
6883 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6884 unconditional.
6885 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6886 Likewise.
6887 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6888 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6889 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6890 Likewise.
6891
65513990
L
68922012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6893
6894 [BZ #14587]
6895 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6896 * config.make.in (have-cpp-asm-debuginfo): Removed.
6897 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6898 * configure: Regenerated.
6899
784761be
JM
69002012-09-14 Joseph Myers <joseph@codesourcery.com>
6901
6902 [BZ #5044]
6903 * stdio-common/printf_fp.c: Include <stdbool.h> and
6904 <rounding-mode.h>.
6905 (___printf_fp): Determine rounding using get_rounding_mode and
6906 round_away.
6907 * stdio-common/tst-printf-round.c: New file.
6908 * stdio-common/Makefile (tests): Add tst-printf-round.
6909 (link-libm): New variable.
6910 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6911
9503345f
L
69122012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6913
6914 [BZ #14576]
6915 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6916 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6917 Likewise.
6918 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6919 Likewise.
6920
ad35fc00
JM
69212012-09-13 Joseph Myers <joseph@codesourcery.com>
6922
6923 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6924 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6925 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6926 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6927
6c9b0f68
JM
69282012-09-12 Joseph Myers <joseph@codesourcery.com>
6929
6930 [BZ #14518]
6931 * include/rounding-mode.h: New file.
6932 * sysdeps/generic/get-rounding-mode.h: Likewise.
6933 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6934 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6935 (MAX_VALUE): New macro.
6936 (MIN_VALUE): Likewise.
6937 (overflow_value): New function.
6938 (underflow_value): Likewise.
6939 (round_and_return): Use overflow_value and underflow_value to
6940 determine return values in overflow and underflow cases. Use
6941 round_away to determine rounding depending on rounding mode.
6942 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6943 determine return values in overflow and underflow cases.
6944 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6945 (struct test_results): New structure.
6946 (struct test): Use struct test_results to store expected results
6947 for all rounding modes.
6948 (TEST): Include expected results for all rounding modes.
6949 (test_in_one_mode): New function.
6950 (do_test): Use test_in_one_mode to compute and check results.
6951 Check results for all rounding modes.
6952 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6953 $(link-libm).
6954
19fcedd5
AM
69552012-12-09 Allan McRae <allan@archlinux.org>
6956
1e9d84cd 6957 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 6958
8bbfd2f1
JM
69592012-09-11 Joseph Myers <joseph@codesourcery.com>
6960
6961 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6962 (_G_int32_t): Likewise.
6963 (_G_uint16_t): Likewise.
6964 (_G_uint32_t): Likewise.
6965 (_G_HAVE_BOOL): Likewise.
6966 (_G_HAVE_ATEXIT): Likewise.
6967 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6968 (_G_HAVE_IO_FILE_OPEN): Likewise.
6969 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6970 (_G_int32_t): Likewise.
6971 (_G_uint16_t): Likewise.
6972 (_G_uint32_t): Likewise.
6973 (_G_HAVE_BOOL): Likewise.
6974 (_G_HAVE_ATEXIT): Likewise.
6975 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6976 (_G_HAVE_IO_FILE_OPEN): Likewise.
6977 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6978 (_G_int32_t): Likewise.
6979 (_G_uint16_t): Likewise.
6980 (_G_uint32_t): Likewise.
6981 (_G_HAVE_BOOL): Likewise.
6982 (_G_HAVE_ATEXIT): Likewise.
6983 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6984 (_G_HAVE_IO_FILE_OPEN): Likewise.
6985
b1dc5912
L
69862012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6987
6988 * csu/libc-tls.c: Update copyright years.
6989
0e886ef9
JM
69902012-09-10 Joseph Myers <joseph@codesourcery.com>
6991
28361c5e
JM
6992 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6993 [!_G_USING_THUNKS]: Remove conditional code.
6994 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6995 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6996
0e886ef9
JM
6997 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6998 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6999 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7000 (_G_VTABLE_LABEL_PREFIX): Likewise.
7001 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7002 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7003 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7004 (_G_VTABLE_LABEL_PREFIX): Likewise.
7005 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7006 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7007 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7008 (_G_VTABLE_LABEL_PREFIX): Likewise.
7009 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7010
bcba7aa2
L
70112012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7012
7013 * libio/Makefile: Include ../Makeconfig before tests.
7014 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7015 only if $(build-shared) is yes.
7016
06585ee8
L
7017 * iconv/gconv_db.c: Update copyright years.
7018
80ccd52c
LD
70192012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7020
7021 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7022 unwind info if defined PIC. Fix special cases description.
7023 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7024
7025 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7026 DP_HI_MASK entry.
7027 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7028
691bc9c1
L
70292012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7030
3d9b46b3
L
7031 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7032
de2139a9
L
7033 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7034 is NULL.
7035
5ca78dd0
L
7036 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7037 (LDLIBS-tst-chk4): This.
7038 (LDFLAGS-tst-chk5): Renamed to ...
7039 (LDLIBS-tst-chk5): This.
7040 (LDFLAGS-tst-chk6): Renamed to ...
7041 (LDLIBS-tst-chk6): This.
7042 (LDFLAGS-tst-lfschk4): Renamed to ...
7043 (LDLIBS-tst-lfschk4): This.
7044 (LDFLAGS-tst-lfschk5): Renamed to ...
7045 (LDLIBS-tst-lfschk5): This.
7046 (LDFLAGS-tst-lfschk6): Renamed to ...
7047 (LDLIBS-tst-lfschk6): This.
7048
691bc9c1
L
7049 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7050 on $(common-objpfx)soversions.mk.
7051
65cafb1c
JM
70522012-09-07 Joseph Myers <joseph@codesourcery.com>
7053
7054 [BZ #10014]
7055 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7056 example host name.
7057
c78ab094
SP
70582012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7059
7060 * malloc/arena.c (arena_get_retry): New function that gets
7061 another arena for the caller to try its request on.
7062 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7063 current arena cannot fulfill the request.
7064 (__libc_memalign): Likewise.
7065 (__libc_memalign): Likewise.
7066 (__libc_pvalloc): Likewise.
7067 (__libc_calloc): Likewise.
7068
01f49f59
JT
70692012-09-05 John Tobey <john.tobey@gmail.com>
7070
7071 [BZ #13542]
7072 * manual/arith.texi (Operations on Complex): Fix description
7073 of carg branch cut.
7074
4c23fed5
JM
70752012-09-06 Joseph Myers <joseph@codesourcery.com>
7076
1d3c8572
JM
7077 [BZ #10014]
7078 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7079 host name.
7080
4c23fed5
JM
7081 [BZ #10038]
7082 * manual/memory.texi (Memory): Make order of menu items match
7083 order of sections.
7084
04570aaa
L
70852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7086
7087 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7088 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7089 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7090
b80af2f4
L
70912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7092
7093 * csu/libc-tls.c (static_dtv): Renamed to ...
7094 (_dl_static_dtv): This. Make it global.
7095 (_dl_initial_dtv): Removed.
7096 (__libc_setup_tls): Updated.
7097 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7098 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7099 DL_INITIAL_DTV.
7100
2abe9f15
PM
71012012-09-06 Petr Machata <pmachata@redhat.com>
7102
7103 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7104 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7105 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7106 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7107
0948c3af
L
71082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7109
7110 [BZ #14545]
7111 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7112 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7113 freeing dtv[-1].
7114
a5055ad1
L
71152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7116
7117 [BZ #14544]
7118 * Makeconfig (link-static-before-libc): Replace $(+prector)
7119 with $(+prectorT).
7120 (link-static-after-libc): Replace $(+postctor) with
7121 $(+postctorT).
7122 (link-bounded): Replace $(+prector)/$(+postctor) with
7123 $(+prectorT)/$(+postctorT).
7124 (+prectorT): New macro.
7125 (+postctorT): Likewise.
7126
ed8c2ecd
JM
71272012-09-06 Joseph Myers <joseph@codesourcery.com>
7128
7129 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7130 (round_str): Handle values above the maximum for IBM long double
7131 as inexact.
7132 * stdlib/tst-strtod-round.c (tests): Regenerated.
7133
14c996c8
AK
71342012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7135
7136 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7137 assembler flag.
7138 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7139 zarch_nohighgprs around the zarch optimized routines.
7140 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7141 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7142 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7143 for zarch.
7144
430d6ce6
DM
71452012-09-05 David S. Miller <davem@davemloft.net>
7146
7147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7148
ff04dda4
DM
7149 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7150 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7151 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7152 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7153 entries.
7154
24d4e01b
AO
71552012-09-05 Alexandre Oliva <aoliva@redhat.com>
7156
7157 * malloc/arena.c: Fold copyright years.
7158 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7159
61d58174
AO
71602012-09-05 Alexandre Oliva <aoliva@redhat.com>
7161
7162 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7163
20196a5e
AO
71642012-09-05 Alexandre Oliva <aoliva@redhat.com>
7165
7166 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7167
5c447383
AO
71682012-09-05 Alexandre Oliva <aoliva@redhat.com>
7169
7170 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7171 change internal state upon failure.
7172
fad64255
AO
71732012-09-05 Alexandre Oliva <aoliva@redhat.com>
7174
7175 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7176 * malloc/memusage.c (mmap): Likewise.
7177 (mmap64, mremap): Likewise. Adjust name in comment.
7178
1ffb8c90
SP
71792012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7180
7181 * libio/fileops.c: Fix typos in comments.
7182 * libio/oldfileops.c: Likewise.
7183 * libio/wfileops.c: Likewise.
7184
6ef9cc37
SP
71852012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7186
7187 [BZ #1349]
7188 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7189 (tst-malloc-usable-ENV): Set environment for test case.
7190 * malloc/hooks.c (malloc_check_get_size): New function to get
7191 requested size.
7192 * malloc/malloc.c (musable): Use malloc_check_get_size.
7193 * malloc/tst-malloc-usable.c: New test case.
7194
4d038ae3
AS
71952012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7196
7197 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7198
c4e85184
AM
71992012-09-05 Allan McRae <allan@archlinux.org>
7200
b9dafc56 7201 [BZ #13966]
c4e85184
AM
7202 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7203 determine header location.
7204 * configure: Regenerated.
7205
e1343020
AS
72062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7207
7208 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7209 float format.
7210 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7211 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7212 format.
e1343020
AS
7213 (test): Regenerate.
7214
0a9f1987
DM
72152012-09-04 David S. Miller <davem@davemloft.net>
7216
7217 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7218 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7219 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7220
29237804
FW
72212012-09-04 Florian Weimer <fweimer@redhat.com>
7222
7223 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7224 failures.
7225
edb3cb88
FW
7226 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7227
60160d83
JM
72282012-09-04 Joseph Myers <joseph@codesourcery.com>
7229
7230 [BZ #9914]
7231 * libio/iogetdelim.c: Include <limits.h>.
7232 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7233 + len + 1 would overflow.
7234
bcd6c8dc
AJ
72352012-09-03 Andreas Jaeger <aj@suse.de>
7236
7237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7238 * sysdeps/i386/fpu/libm-test-ulps: Update.
7239
4ffffbd2
LD
72402012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7241
7242 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7243 Add s_sinf-sse2, s_conf-sse2.
7244
7245 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7246 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7247 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7248 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7249
7250 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7251 for using routine as __sinf_ia32.
7252 Use macro for function declaration and weak_alias.
7253 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7254 for using routine as __cosf_ia32.
7255 Use macro for function declaration and weak_alias.
7256
7257 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7258 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7259
7260 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7261 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7263
7264 * math/libm-test.inc (cos_test): Add more test cases.
7265 (sin_test): Likewise.
7266 (sincos_test): Likewise.
7267
511fa286
AK
72682012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7269
7270 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7271 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7272 hidden.
7273 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7274
5f30cfec
L
72752012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7276
7277 [BZ #14538]
7278 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7279 first element of the GOT.
7280 (elf_machine_load_address): Return the difference between
7281 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7282
0786794f
AM
72832012-09-01 Allan McRae <allan@archlinux.org>
7284
5f30cfec
L
7285 [BZ #13412]
7286 * configure.in (AWK): Require gawk version 3.0 or later.
7287 * configure: Regenerated.
0786794f 7288
26889eac
JM
72892012-09-01 Joseph Myers <joseph@codesourcery.com>
7290
7291 * sysdeps/unix/sysv/linux/kernel-features.h
7292 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7293 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7294 [__NR_clock_getres]: Make code unconditional.
7295 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7296 (clock_getcpuclockid): Remove code left unreachable by removal of
7297 conditionals.
7298 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7299 code unconditional.
7300 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7301 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7302 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7303 Make code unconditional.
7304 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7305 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7306 * sysdeps/unix/sysv/linux/clock_settime.c
7307 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7308 conditional code.
7309 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7310 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7311
d22e28b0
L
73122012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7313
7314 [BZ #14476]
7315 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7316 scripts/test-installation.pl.
7317
7318 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7319 and $ld_so_version if it is set.
7320
050af9c4
SP
73212012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7322
7323 [BZ #14516]
7324 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7325 failure if reading from procfs failed.
7326 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7327
ad845c0b
JM
73282012-08-27 Joseph Myers <joseph@codesourcery.com>
7329
7330 * sysdeps/unix/sysv/linux/kernel-features.h
7331 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7332 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7333 Remove conditional code.
7334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7335 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7336 Remove conditional code.
7337 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7338 * sysdeps/unix/sysv/linux/i386/fxstat.c
7339 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7340 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7341 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7342 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7344 * sysdeps/unix/sysv/linux/i386/lxstat.c
7345 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7346 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7347 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7348 Remove conditional code.
7349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7350 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7351 Remove conditional code.
7352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7353 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7354 <kernel-features.h>.
7355 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7356 Remove.
7357 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7358 Remove conditional code.
7359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7360 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7361 Remove conditional.
7362
5dbf56af
MF
73632012-08-27 Mike Frysinger <vapier@gentoo.org>
7364
7365 [BZ #5400]
7366 * NEWS: Add fixed bug number.
7367
d6e70f43
JM
73682012-08-27 Joseph Myers <joseph@codesourcery.com>
7369
7efb4737
JM
7370 [BZ #14519]
7371 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7372 underflowing exponent in case of negative sign.
7373 * stdlib/tst-strtod-round-data: Add more tests.
7374 * stdlib/tst-strtod-round.c (tests): Regenerated.
7375
af92131a
JM
7376 [BZ #3479]
7377 * stdlib/strtod_l.c (NDIG): Remove.
7378 (HEXNDIG): Likewise.
7379 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7380 smallest representable value.
7381 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7382 lie within an exact representation of 1/2 ulp of the result.
7383 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7384 unconditionally.
7385 (TENS_P9_IDX): Define unconditionally.
7386 (TENS_P9_SIZE): Likewise.
7387 (TENS_P10_IDX): Likewise.
7388 (TENS_P10_SIZE): Likewise.
7389 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7390 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7391 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7392 entries for 10^2^13 and 10^2^14.
7393 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7394 (TENS_P13_IDX): Define.
7395 (TENS_P13_SIZE): Likewise.
7396 (TENS_P14_IDX): Likewise.
7397 (TENS_P14_SIZE): Likewise.
7398 (_fpioconst_pow10): Change array size to
7399 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7400 unconditional.
7401 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7402 1024]: Add entries for 10^2^13 and 10^2^14.
7403 [LAST_POW10 > _LAST_POW10]: Remove #error.
7404 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7405 (_fpioconst_pow10): Change array size to
7406 FPIOCONST_POW10_ARRAY_SIZE.
7407 * stdlib/gen-fpioconst.c: New file.
7408 * stdlib/gen-tst-strtod-round.c: Likewise.
7409 * stdlib/tst-strtod-round-data: Likewise.
7410 * stdlib/tst-strtod-round.c: Likewise.
7411 * stdlib/Makefile (tests): Add tst-strtod-round.
7412
d6e70f43
JM
7413 [BZ #14459]
7414 * stdlib/strtod_l.c: Include <stdint.h>.
7415 (NDEBUG): Do not define.
7416 (round_and_return): Change EXPONENT parameter to type intmax_t.
7417 Rearrange calculations to avoid internal overflow possibilities.
7418 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7419 Rearrange calculations to avoid internal overflow possibilities.
7420 Assert that number fits inside MPNSIZE limbs.
7421 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7422 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7423 calculations and add assertions to avoid internal overflow
7424 possibilities. Add casts to avoid signed/unsigned operations.
7425 * stdlib/tst-strtod-overflow.c: New file.
7426 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7427
1f529f7d
MP
74282012-08-25 Marek Polacek <polacek@redhat.com>
7429
7430 * time/time.h: Fix some typos in comments.
7431
59a629f1
RM
74322012-08-23 Roland McGrath <roland@hack.frob.com>
7433
7434 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7435 * posix/tst-rfc3484-2.c: Likewise.
7436 * posix/tst-rfc3484-3.c: Likewise.
7437
d3bafbc9
SM
74382012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7439
7440 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7441 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7442
4efcc022
JM
74432012-08-23 Joseph Myers <joseph@codesourcery.com>
7444
7445 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7446 #include of fxstatat64.c.
7447
3cc3ef96
RM
74482012-08-22 Roland McGrath <roland@hack.frob.com>
7449
f04e2132
RM
7450 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7451 * shadow/getspent_r.c: Likewise.
7452 * shadow/getspnam.c: Likewise.
7453 * shadow/getspnam_r.c: Likewise.
7454 * gshadow/getsgent.c: Likewise.
7455 * gshadow/getsgent_r.c: Likewise.
7456 * gshadow/getsgnam.c: Likewise.
7457 * gshadow/getsgnam_r.c: Likewise.
7458 * inet/getnetbyad.c: Likewise.
7459 * inet/getnetbyad_r.c: Likewise.
7460 * inet/getnetbynm.c: Likewise.
7461 * inet/getnetbynm_r.c: Likewise.
7462 * inet/getnetent.c: Likewise.
7463 * inet/getnetent_r.c: Likewise.
7464 * inet/getproto.c: Likewise.
7465 * inet/getproto_r.c: Likewise.
7466 * inet/getprtent.c: Likewise.
7467 * inet/getprtent_r.c: Likewise.
7468 * inet/getprtname.c: Likewise.
7469 * inet/getprtname_r.c: Likewise.
7470 * inet/getrpcbyname.c: Likewise.
7471 * inet/getrpcbyname_r.c: Likewise.
7472 * inet/getrpcbynumber.c: Likewise.
7473 * inet/getrpcbynumber_r.c: Likewise.
7474 * inet/getrpcent.c: Likewise.
7475 * inet/getrpcent_r.c: Likewise.
7476 * inet/getaliasent.c: Likewise.
7477 * inet/getaliasent_r.c: Likewise.
7478 * inet/getaliasname.c: Likewise.
7479 * inet/getaliasname_r.c: Likewise.
7480 * nscd/getgrgid_r.c: Likewise.
7481 * nscd/getgrnam_r.c: Likewise.
7482 * nscd/gethstbyad_r.c: Likewise.
7483 * nscd/gethstbynm3_r.c: Likewise.
7484 * nscd/getpwnam_r.c: Likewise.
7485 * nscd/getpwuid_r.c: Likewise.
7486 * nscd/getsrvbynm_r.c: Likewise.
7487 * nscd/getsrvbypt_r.c: Likewise.
7488 * nscd/gai.c: Likewise.
7489
c53d909c
RM
7490 * configure.in (build_nscd): New substituted variable, set
7491 by --disable-build-nscd and defaults to $use_nscd.
7492 * configure: Regenerated.
7493 * config.make.in (build-nscd): New substituted variable.
7494 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7495 Change conditional to require [$(build-nscd) = yes] as well.
7496 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7497
3cc3ef96
RM
7498 [BZ# 13696]
7499 * configure.in (use_nscd): New substituted variable, set by
7500 --disable-nscd. If enabled, define USE_NSCD.
7501 * configure: Regenerated.
7502 * config.h.in: Add USE_NSCD.
7503 * config.make.in (use-nscd): New substituted variable.
7504 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7505 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7506 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7507 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7508 (CFLAGS-getgrnam_r.c): Likewise.
7509 (CFLAGS-initgroups.c): Likewise.
7510 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7511 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7512 Variables removed.
7513 * inet/getnetgrent_r.c
7514 (nscd_setnetgrent): New function, broken out of ...
7515 (setnetgrent): ... here. Call it.
7516 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7517 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7518 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7519 * nscd/Makefile (routines, aux): Move definitions after include of
7520 Makeconfig. Conditionalize on [$(use-nscd) != no].
7521 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7522 Conditionalize on [USE_NSCD].
7523 (is_nscd, nscd_init_cb): Likewise.
7524 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7525 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7526 * nss/nss_db/db-init.c: Likewise.
7527 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7528 [USE_NSCD].
7529 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7530 (make_request): Use it.
7531 (cache_valid_p): New function.
7532 (__check_pf): Use it.
7533 * NEWS: Add item for --disable-nscd.
7534
07e51550
DL
75352012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7536
7537 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7538 to support sed >= 4.2.1-20-ga9bf076.
7539 * configure: Regenerated.
7540
35a5b08b
RM
75412012-08-22 Roland McGrath <roland@hack.frob.com>
7542
7543 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7544 Conditionalize whole body on [IREL].
7545
8479f23a
JL
75462012-08-22 Jeff Law <law@redhat.com>
7547
7548 [BZ #14505]
7549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7550 if the family is PF_UNSPEC.
7551
48da0b21
MF
75522012-08-22 Mike Frysinger <vapier@gentoo.org>
7553
7554 * Makerules (lib-version): Rename from V.
7555 (install-lib-nosubdir): Change V to lib-version.
7556
15d0da8c
WS
75572012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7558
7559 [BZ #14252]
7560 * powerpc32/power6/wcschr.c: New file.
7561 * powerpc32/power6/wcscpy.c: New file.
7562 * powerpc32/power6/wcsrchr.c: New file.
7563 * powerpc64/power6/wcschr.c: New file.
7564 * powerpc64/power6/wcscpy.c: New file.
7565 * powerpc64/power6/wcsrchr.c: New file.
7566
bcca0895
MK
75672012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7568
7569 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7570 (two_way_short_needle): Use it.
5a4aaa33
RM
7571 * string/strstr.c (AVAILABLE1_USES_J): Define.
7572 * string/strcasestr.c: Likewise.
99677e57
MK
7573
7574 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7575 array references.
7576 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7577
400726de
MK
7578 [BZ #11607]
7579 * NEWS: Add an entry.
7580 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7581 define their defaults.
7582 (two_way_short_needle): Detect end-of-string on-the-fly.
7583 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7584 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7585 * string/bug-strcasestr1.c: New test.
7586 * string/Makefile: Run it.
7587
20a71f2c
MK
75882012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7589
7590 [BZ #11607]
7591 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7592 the first character.
7593
21ad0558
RM
75942012-08-21 Roland McGrath <roland@hack.frob.com>
7595
7596 * csu/elf-init.c (__libc_csu_irel): Function removed.
7597 * csu/libc-start.c (apply_irel): New function.
7598 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7599
0e1d9911
JM
76002012-08-21 Joseph Myers <joseph@codesourcery.com>
7601
7602 * sysdeps/unix/sysv/linux/kernel-features.h
7603 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7604 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7605 <kernel-features.h>.
7606 [__NR_fadvise64_64]: Make code unconditional.
7607 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7608 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7609 !__NR_fadvise64_64)]: Likewise.
7610 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7611 !__NR_fadvise64_64))]: Likewise.
7612 [__NR_fadvise64]: Make code unconditional.
7613 [!__NR_fadvise64]: Remove conditional code.
7614 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7615 <kernel-features.h>.
7616 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7617 unconditional.
7618 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7619 conditional code.
7620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7621 not include <kernel-features.h>.
7622 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7623 unconditional.
7624 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7625 conditional code.
7626 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7627 include <kernel-features.h>.
7628 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7629 unconditional.
7630 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7631 conditional code.
7632
14a50c9d
WS
76332012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7634
7635 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7636 slight instruction rearrangements per scrollpipe analysis.
7637 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7638
c0f4faf0
RM
76392012-08-20 Roland McGrath <roland@hack.frob.com>
7640
696da859
RM
7641 * manual/syslog.texi (syslog; vsyslog, closelog):
7642 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7643 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7644
c0f4faf0
RM
7645 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7646 DSOCAPS to match condition on defining it.
7647
348363b2
JM
76482012-08-20 Joseph Myers <joseph@codesourcery.com>
7649
a35cbf28
JM
7650 * sysdeps/unix/sysv/linux/kernel-features.h
7651 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7653 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7654 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7656 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7657 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7659 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7660 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7661
445f7ecd
JM
7662 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7663 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7664
348363b2
JM
7665 * sysdeps/unix/sysv/linux/kernel-features.h
7666 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7667 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7668 unconditional.
7669 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7670 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7671 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7672 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7673 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7674 Make code unconditional.
7675 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7676 (__mmap64) [!__NR_mmap2]: Likewise.
7677 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7678 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7679 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7680 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7681 [__NR_mmap2]: Make code unconditional.
7682 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7683 (__mmap64) [!__NR_mmap2]: Likewise.
7684
bc5bc0e5
AK
76852012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7686
7687 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7688
88d506de
AJ
76892012-08-18 Andreas Jaeger <aj@suse.de>
7690
7691 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7692
493387d2
MF
76932012-08-18 Mike Frysinger <vapier@gentoo.org>
7694
7695 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7696 * include/unistd.h (__have_sock_cloexec): Likewise.
7697 (__have_pipe2): Likewise.
7698 (__have_dup3): Likewise.
7699
a277af22
MF
77002012-08-18 Mike Frysinger <vapier@gentoo.org>
7701
7702 [BZ #9685]
7703 * include/unistd.h (__have_pipe2): Change define into an extern int.
7704 (__have_dup3): Likewise.
7705 * socket/have_sock_cloexec.c: Include fcntl.h.
7706 (__have_pipe2): New variable.
7707 (__have_dup3): Likewise.
7708
fdab8fd3
MF
77092012-08-17 Mike Frysinger <vapier@gentoo.org>
7710
7711 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7712
31035e80
MP
77132012-08-17 Marek Polacek <polacek@redhat.com>
7714
7715 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7716 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7717
3bd9e993
RM
77182012-08-17 Roland McGrath <roland@hack.frob.com>
7719
c91c505f
RM
7720 * configure.in: Add AC_SUBST for sysheaders.
7721 * configure: Regenerated.
7722 * config.make.in (sysheaders): New substituted variable.
7723
7c6f9d53
RM
7724 * sysdeps/unix/mkfifo.c: Moved ...
7725 * sysdeps/posix/mkfifo.c: ... here.
7726 * sysdeps/unix/mkfifoat.c: Moved ...
7727 * sysdeps/posix/mkfifoat.c: ... here.
7728
7729 * sysdeps/unix/utime.c: Moved ...
7730 * sysdeps/posix/utime.c: ... here.
7731
7732 * sysdeps/unix/time.c: Moved ...
7733 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7734 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7735 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7736
7737 * sysdeps/unix/nice.c: Moved ...
7738 * sysdeps/posix/nice.c: ... here.
7739
7740 * sysdeps/unix/alarm.c: Moved ...
7741 * sysdeps/posix/alarm.c: ... here.
7742
3bd9e993
RM
7743 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7744
d1f09384
JL
77452012-08-17 Jeff Law <law@redhat.com>
7746
7747 * intl/Makefile (codeset_mo): New variable.
7748 ($(codeset_mo)): New target.
7749 (tst-codeset.out): Depend on that. Remove explicit rule.
7750 (tst-gettext3.out, tst-gettext5.out): Likewise.
7751 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7752 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7753 * intl/tst-codeset.sh: Remove.
7754 * intl/tst-gettext3.sh: Likewise.
7755 * intl/tst-gettext5.sh: Likewise.
7756
2ae1ae5c
RM
77572012-08-17 Roland McGrath <roland@hack.frob.com>
7758
c31fdb83
RM
7759 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7760 * sysdeps/unix/syscalls.list: ... here.
7761
a0844057
RM
7762 * sysdeps/posix/getaddrinfo.c
7763 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7764 (gaiconf_init, gaiconf_reload): Use them.
7765 [!_STATBUF_ST_NSEC]
7766 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7767 Define using time_t rather than struct timespec.
7768
750c1f2a
RM
7769 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7770 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7771 Macros removed.
7772 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7773 [!NO_THREADS].
7774 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7775 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7776 Likewise.
7777
2ae1ae5c
RM
7778 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7779 __libc_cleanup_push argument.
7780
e66a42f5
RM
7781 * bits/param.h: New file.
7782 * misc/sys/param.h: New file.
7783 * include/sys/param.h: New file.
7784 * misc/Makefile (headers): Add bits/param.h.
7785 * sysdeps/generic/sys/param.h: File removed.
7786 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7787 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7788 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7789 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7790
b7c08a66
RM
7791 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7792 last change.
7793
b2e1c562
RM
7794 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7795 [_IO_MTSAFE_IO].
7796 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7797 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7798 New macros.
7799
c75ccd4c
RM
7800 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7801 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7802 rather than -D_IO_MTSAFE_IO conditionally.
7803 * stdio-common/Makefile (CPPFLAGS): Likewise.
7804 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7805 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7806 Use $(libio-mtsafe).
7807 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7808 of -D_IO_MTSAFE_IO.
7809 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7810 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7811 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7812 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7813 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7814 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7815 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7816 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7817 (CFLAGS-fread_u_chk.c): Likewise.
7818 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7819 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7820 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7821 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7822 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7823 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7824 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7825 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7826 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7827
7828 * libio/Makefile: Test [$(libc-reentrant) = yes]
7829 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7830
7831 * Makeconfig
7832 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7833 * sysdeps/pthread/configure: File removed.
7834 * sysdeps/pthread/Makeconfig: New file.
7835 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7836 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7837
d9195db8
GB
78382012-08-16 Gary Benson <gbenson@redhat.com>
7839
7840 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7841 unmapping the first object in a namespace.
7842
86466cd9
RM
78432012-08-16 Roland McGrath <roland@hack.frob.com>
7844
7845 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7846 (__internal_setnetgrent): ... this. Add internal_function to
7847 definition. Add libc_hidden_def.
7848 (setnetgrent): Update caller.
7849 (internal_endnetgrent): Renamed to ...
7850 (__internal_endnetgrent): ... this. Add internal_function to
7851 definition. Add libc_hidden_def.
7852 (endnetgrent): Update caller.
7853 (internal_getnetgrent_r): Renamed to ...
7854 (__internal_getnetgrent_r): ... this. Add internal_function to
7855 definition. Add libc_hidden_def.
7856 (__getnetgrent_r): Update caller.
7857 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7858
c3c8283c
JM
78592012-08-16 Joseph Myers <joseph@codesourcery.com>
7860
7861 * stdlib/longlong.h: Update from GCC.
7862
db1ee0a8
RM
78632012-08-16 Roland McGrath <roland@hack.frob.com>
7864
7865 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7866 on _QL, which is set by umul_ppmm but never used.
7867 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7868 variables, which are set by GMP macros but never used.
7869 * stdio-common/_itowa.c (_itowa): Likewise.
7870 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7871 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7872
30f69637
CD
78732012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7874
7875 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7876 struct La_sh_regs is not constant.
7877 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7878 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7879 and struct La_sparc64_regs are not constant.
7880
93a78ac4
JM
78812012-08-16 Joseph Myers <joseph@codesourcery.com>
7882
7883 * sysdeps/unix/sysv/linux/kernel-features.h
7884 (__ASSUME_POSIX_TIMERS): Remove.
7885 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7886 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7887 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7888 Make code unconditional.
7889 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7890 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7891 Make code unconditional.
7892 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7893 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7894 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7895 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7896 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7897 Make code unconditional.
7898 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7899 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7900 (__libc_missing_posix_timers): Remove.
7901
dd924cd7
RM
79022012-08-15 Roland McGrath <roland@hack.frob.com>
7903
4b4f2771
RM
7904 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7905 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7906
601c888b
RM
7907 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7908
176790a7
RM
7909 * elf/dl-sym.c: Include <stdlib.h>.
7910
329bc018
RM
7911 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7912 constants, which avoids warnings in 32-bit builds.
7913
e04e272d
RM
7914 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7915 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7916
952bf94a
RM
7917 * misc/lseek.c: File moved to ...
7918 * io/lseek.c: ... here.
7919
7c99b50a
RM
7920 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7921
dd924cd7
RM
7922 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7923 shifting LEN more than 31 bits at once.
7924
b3f479a8
LD
79252012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7926
7927 [BZ #14195]
8c4ae0d4
RM
7928 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7929 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7930 * string/test-strncasecmp.c (check1): Renamed to...
7931 (bz12205): ...this.
7932 (bz14195): Add new testcase for two empty input strings and N > 0.
7933 (test_main): Call new testcase, adapt for renamed function.
7934
9c55864e
AJ
79352012-08-15 Andreas Jaeger <aj@suse.de>
7936
7937 [BZ #14090]
7938 * crypt/md5test2.c: New test, based on test supplied by Serge
7939 Belyshev <belyshev@depni.sinp.msu.ru>.
7940 * crypt/Makefile (xtests): Add md5test-giant..
7941 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7942
02dcb6c5
PE
79432012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7944
7945 [BZ #14090]
7946 * crypt/md5.c (md5_process_block): Don't assume the buffer
7947 length is less than 2**32.
7948 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7949 length is less than 2**64.
7950
a3f95dcc
RM
79512012-08-15 Roland McGrath <roland@hack.frob.com>
7952
be75d758
RM
7953 * string/str-two-way.h: Include <sys/param.h>.
7954 (MAX): Macro removed.
7955
7312ca90
RM
7956 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7957 Move #define and #undef of memmove to just before and after
7958 including <string.h>.
7959
9a0a5486
RM
7960 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7961 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7962 and after including <string.h>. Move declarations of
7963 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7964 to before #include "string/memmove.c".
7965
67cc348d
RM
7966 * include/dirent.h: Declare __getdirentries.
7967
a3f95dcc
RM
7968 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7969 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7970
ca98e171
MF
79712012-08-14 Mike Frysinger <vapier@gentoo.org>
7972
7973 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7974 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7975 * sysdeps/i386/configure: Regenerated.
7976 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7977 STABS_CURRENT_FILE, and STABS_FUN.
7978 (END): Remove call to STABS_FUN_END.
7979 (STABS_CURRENT_FILE1): Delete.
7980 (STABS_CURRENT_FILE): Likewise.
7981 (STABS_FUN): Likewise.
7982 (STABS_FUN_END): Likewise.
7983 (STABS_FUN2): Likewise.
7984 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7985 * sysdeps/x86_64/configure: Regenerated.
7986
5908bf46
RM
79872012-08-14 Roland McGrath <roland@hack.frob.com>
7988
7989 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 7990 * elf/dl-lookup.c: Likewise.
5908bf46 7991
f2c05b9e
JM
79922012-08-14 Joseph Myers <joseph@codesourcery.com>
7993
7994 * sysdeps/unix/sysv/linux/kernel-features.h
7995 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7996 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7997 unconditionally.
7998 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7999 unconditionally.
8000 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8001 condition on __ASSUME_CLONE_THREAD_FLAGS.
8002
e11f5155
AJ
80032012-08-14 Andreas Jaeger <aj@suse.de>
8004
8005 * sysdeps/i386/fpu/libm-test-ulps: Update.
8006
51a9ba86
MK
80072012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8008
2fdd4f78
AJ
8009 * include/atomic.h (atomic_exchange_and_add): Split into ...
8010 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8011 New atomic macros.
51a9ba86 8012
ba6cba9e
MT
80132012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8014
8015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8016
42443a47
JL
80172012-08-13 Jeff Law <law@redhat.com>
8018
8019 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8020 null byte in the output string.
8021
121dce05
JM
80222012-08-10 Joseph Myers <joseph@codesourcery.com>
8023
8024 * sysdeps/unix/sysv/linux/kernel-features.h
8025 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8026 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8027 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8028 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8029 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8030 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8031 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8032
bf51f568
JL
80332012-08-09 Jeff Law <law@redhat.com>
8034
8035 [BZ #13939]
8036 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8037 When avoid_arena is set, don't retry in the that arena. Pick the
8038 next one, whatever it might be.
8039 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8040 (arena_lock): Pass in new parameter to arena_get2.
8041 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8042 arena_get2.
8043 (__libc_malloc): Unify retrying after main arena failure with
8044 __libc_memalign version.
8045 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8046
f85fa270
L
80472012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8048
8049 [BZ #14166]
8050 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8051 to __redirect_strstr.
8052 (__strstr_sse42): Use typeof __redirect_strstr.
8053 (__strstr_ia32): Likewise.
8054 (__libc_strstr): New prototype.
8055 (strstr): Renamed to ...
8056 (__libc_strstr): This.
8057 (strstr): New strong alias of __libc_strstr.
8058 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8059 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8060 __redirect_time.
8061 Include <time.h>.
8062 (__libc_time): New prototype.
8063 (time_ifunc): Replace time with __libc_time.
8064 (time): New strong alias and hidden definition of __libc_time.
8065 (__GI_time): Remove strong alias.
8066 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8067 Include <stddef.h>.
8068 (memmove): Redefined to __redirect_memmove.
8069 (__memmove_sse2): Use typeof __redirect_memmove.
8070 (__memmove_ssse3): Likewise.
8071 (__memmove_ssse3_back): Likewise.
8072 (__libc_memmove): New prototype.
8073 (memmove): Renamed to ...
8074 (__libc_memmove): This.
8075 (memmove): New strong alias of __libc_memmove.
8076
33b4a91e
MS
80772012-08-08 Mark Salter <msalter@redhat.com>
8078
8079 * elf/elf.h
8080 (R_MN10300_TLS_GD): Define.
8081 (R_MN10300_TLS_LD): Likewise.
8082 (R_MN10300_TLS_LDO): Likewise.
8083 (R_MN10300_TLS_GOTIE): Likewise.
8084 (R_MN10300_TLS_IE): Likewise.
8085 (R_MN10300_TLS_LE): Likewise.
8086 (R_MN10300_TLS_DTPMOD): Likewise.
8087 (R_MN10300_TLS_DTPOFF): Likewise.
8088 (R_MN10300_TLS_TPOFF): Likewise.
8089 (R_MN10300_SYM_DIFF): Likewise.
8090 (R_MN10300_ALIGN): Likewise.
8091 (R_MN10300_NUM): Update.
8092
b36137f1
JM
80932012-08-08 Joseph Myers <joseph@codesourcery.com>
8094
8095 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8096 Remove.
8097
cdd915fd
RM
80982012-08-08 Roland McGrath <roland@hack.frob.com>
8099
a2433aac
RM
8100 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8101
cdd915fd
RM
8102 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8103 sysdeps/unix -> sysdeps/posix move.
8104 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8105
bf9b740a
AM
81062012-08-07 Allan McRae <allan@archlinux.org>
8107
8108 [BZ #14303]
8109 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8110 (SUNOS_CPP): Likewise.
8111 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8112 not found.
8113 (open_input): Call CPP using execvp.
8114
93df14ee
JM
81152012-08-07 Joseph Myers <joseph@codesourcery.com>
8116
8117 * sysdeps/unix/sysv/linux/kernel-features.h
8118 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8119 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8120 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8121 (__ASSUME_WAITID_SYSCALL): Likewise.
8122 * sysdeps/unix/sysv/linux/dl-execstack.c
8123 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8124 code unconditional.
8125 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8126 conditional code.
8127 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8128 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8129 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8130 code.
8131 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8132 unconditional.
8133 [__ASSUME_WAITID_SYSCALL]: Likewise.
8134 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8135
d34689de
RM
81362012-08-07 Roland McGrath <roland@hack.frob.com>
8137
a281decc
RM
8138 * sysdeps/unix/closedir.c: Renamed to ...
8139 * sysdeps/posix/closedir.c: ... here.
8140 * sysdeps/unix/dirfd.c: Renamed to ...
8141 * sysdeps/posix/dirfd.c: ... here.
8142 * sysdeps/unix/dirstream.h: Renamed to ...
8143 * sysdeps/posix/dirstream.h: ... here.
8144 * sysdeps/unix/fdopendir.c: Renamed to ...
8145 * sysdeps/posix/fdopendir.c: ... here.
8146 * sysdeps/unix/opendir.c: Renamed to ...
8147 * sysdeps/posix/opendir.c: ... here.
8148 * sysdeps/unix/readdir.c: Renamed to ...
8149 * sysdeps/posix/readdir.c: ... here.
8150 * sysdeps/unix/readdir_r.c: Renamed to ...
8151 * sysdeps/posix/readdir_r.c: ... here.
8152 * sysdeps/unix/rewinddir.c: Renamed to ...
8153 * sysdeps/posix/rewinddir.c: ... here.
8154 * sysdeps/unix/seekdir.c: Renamed to ...
8155 * sysdeps/posix/seekdir.c: ... here.
8156 * sysdeps/unix/telldir.c: Renamed to ...
8157 * sysdeps/posix/telldir.c: ... here.
8158 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8159 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8160 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8161 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8162
22895b47
RM
8163 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8164 * bits/fcntl.h: ... here.
8165
707a53b6
RM
8166 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8167 not 0.
8168 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8169 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8170 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8171 (struct flock): Move l_start, l_len to the beginning.
8172 Use __pid_t for l_pid.
8173 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8174 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8175 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8176 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8177 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8178 [__USE_LARGEFILE64] (struct flock64): New type.
8179 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8180
f0bd3e25
RM
8181 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8182 * bits/dirent.h: ... here.
8183
d34689de
RM
8184 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8185 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8186
6dad2c06
JM
81872012-08-07 Joseph Myers <joseph@codesourcery.com>
8188
8189 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8190 Change from 2.6.0 to 2.6.16.
8191 * sysdeps/unix/sysv/linux/configure: Regenerated.
8192 * sysdeps/unix/sysv/linux/kernel-features.h
8193 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8194 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8195 version.
8196 (__ASSUME_UTIMES): Likewise.
8197 (__ASSUME_CLONE_STOPPED): Remove.
8198 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8199 architectures, not kernel version.
8200 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8201 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8202 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8203 (__ASSUME_WAITID_SYSCALL): Likewise.
8204 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8205 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8206 * README: State 2.6.16 as minimum Linux kernel version. Do not
8207 refer to older versions.
8208
03af9520
RM
82092012-08-06 Roland McGrath <roland@hack.frob.com>
8210
8e49df1d
RM
8211 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8212 Define alphasort64 as an alias.
8213 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8214 Define versionsort64 as an alias.
8215 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8216 Define scandir64 as an alias.
8217 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8218 Define scandirat64 as an alias.
8219 * dirent/alphasort64.c (alphasort64):
8220 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8221 * dirent/versionsort64.c: Likewise.
8222 * dirent/scandir64.c: Likewise.
8223 * dirent/scandirat64.c: Likewise.
8224 * sysdeps/wordsize-64/alphasort.c: File removed.
8225 * sysdeps/wordsize-64/alphasort64.c: File removed.
8226 * sysdeps/wordsize-64/scandir.c: File removed.
8227 * sysdeps/wordsize-64/scandir64.c: File removed.
8228 * sysdeps/wordsize-64/scandirat.c: File removed.
8229 * sysdeps/wordsize-64/scandirat64.c: File removed.
8230 * sysdeps/wordsize-64/versionsort.c: File removed.
8231 * sysdeps/wordsize-64/versionsort64.c: File removed.
8232 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8233 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8234 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8235 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8236 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8237 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8238 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8239 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8240
8241 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8242 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8243 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8244 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8245 [defined __arch64__ || defined __sparcv9]
8246 (__INO_T_MATCHES_INO64_T): New macro.
8247 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8248 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8249 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8250 * sysdeps/unix/sysv/linux/bits/dirent.h
8251 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8252 (_DIRENT_MATCHES_DIRENT64): New macro.
8253
03af9520
RM
8254 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8255 Define lockf64 as an alias.
8256 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8257 Define fseeko64 as an alias.
8258 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8259 Define ftello64 as an alias.
8260 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8261 Define _IO_fgetpos64 and fgetpos64 as aliases.
8262 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8263 Define _IO_fsetpos64 and fsetpos64 as aliases.
8264 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8265 Conditionalize body on this.
8266 * libio/fseeko64.c: Likewise.
8267 * libio/ftello64.c: Likewise.
8268 * libio/iofgetpos64.c: Likewise.
8269 * libio/iofsetpos64.c: Likewise.
8270 * sysdeps/wordsize-64/lockf.c: File removed.
8271 * sysdeps/wordsize-64/lockf64.c: File removed.
8272 * sysdeps/wordsize-64/fseeko.c: File removed.
8273 * sysdeps/wordsize-64/fseeko64.c: File removed.
8274 * sysdeps/wordsize-64/ftello.c: File removed.
8275 * sysdeps/wordsize-64/ftello64.c: File removed.
8276 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8277 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8278 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8279 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8280 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8281 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8282 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8283 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8284 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8285 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8286 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8287 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8288 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8289 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8290
8291 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8293 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8295 [defined __arch64__ || defined __sparcv9]
8296 (__OFF_T_MATCHES_OFF64_T): New macro.
8297 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8298 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8299 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8300 (__OFF_T_MATCHES_OFF64_T): New macro.
8301
c5757acd
L
83022012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8303
8304 * stdlib/secure-getenv.c (__secure_getenv): Replace
8305 GLIBC_2_16 with GLIBC_2_17.
8306
3a31811e
L
83072012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8308
8309 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8310 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8311
faa2bccb
DM
83122012-08-03 David S. Miller <davem@davemloft.net>
8313
8314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8315
85fe1997
JM
83162012-08-03 Joseph Myers <joseph@codesourcery.com>
8317
8318 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8319 Remove.
8320 (__ASSUME_CORRECT_SI_PID): Likewise.
8321 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8322 (__ASSUME_TMPFS_NAME): Likewise.
8323 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8324 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8325 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8326 (HAVE_AUX_SECURE): Make definition unconditional.
8327 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8328 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8329
4f75b7a0
RM
83302012-08-03 Roland McGrath <roland@hack.frob.com>
8331
8332 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8333 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8334 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8335 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8336 __eloop_threshold instead of SYMLOOP_MAX.
8337
8338 * sysdeps/generic/eloop-threshold.h: New file.
8339 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8340 of MAXSYMLINKS.
8341 * elf/chroot_canon.c (chroot_canon): Likewise.
8342
7aab07e4
JM
83432012-08-03 Joseph Myers <joseph@codesourcery.com>
8344
8345 [BZ #13717]
8346 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8347 Change to 2.6.0 everywhere.
8348 * sysdeps/unix/sysv/linux/configure: Regenerated.
8349 * sysdeps/unix/sysv/linux/kernel-features.h
8350 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8351 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8352 kernel versions.
8353 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8354 (__ASSUME_FUTEX_REQUEUE): Remove.
8355 (__ASSUME_STATFS64): Define unconditionally.
8356 (__ASSUME_AT_SECURE): Likewise.
8357 (__ASSUME_CORRECT_SI_PID): Likewise.
8358 (__ASSUME_TGKILL): Define without depending on kernel version for
8359 i386.
8360 (__ASSUME_UTIMES): Likewise.
8361 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8362 kernel version.
8363 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8364 (__ASSUME_TMPFS_NAME): Likewise.
8365 * README: Update reference to Linux kernel versions.
8366
b67e9372
MP
83672012-08-02 Marek Polacek <polacek@redhat.com>
8368
1f529f7d 8369 [BZ# 14150]
b67e9372
MP
8370 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8371 libc_cv_asm_type_prefix with %.
8372 * configure: Regenerated.
d2441631
RM
8373 * include/libc-symbols.h: Remove comment about
8374 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
8375 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8376 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8377 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8378 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8379 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8380 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8381 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8382 * elf/tst-unique2mod1.c: Likewise.
8383 * elf/tst-unique1mod2.c: Likewise.
8384 * elf/tst-unique1mod1.c: Likewise.
8385 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8386 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8387 Replace ASM_TYPE_DIRECTIVE with .type.
8388 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8389 * sysdeps/i386/sysdep.h: Likewise.
8390 * sysdeps/x86_64/sysdep.h: Likewise.
8391 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8393 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 8394 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
8395 * sysdeps/powerpc/powerpc32/sysdep.h:
8396 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
8397 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8398 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8399 * sysdeps/i386/fpu/e_powf.S: Likewise.
8400 * sysdeps/i386/fpu/e_expl.S: Likewise.
8401 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8402 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8403 * sysdeps/i386/fpu/e_pow.S: Likewise.
8404 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8405 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8406 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8407 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8408 * sysdeps/i386/fpu/e_log2.S: Likewise.
8409 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8410 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8411 * sysdeps/i386/fpu/e_powl.S: Likewise.
8412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8413 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8414 * sysdeps/i386/fpu/e_logl.S: Likewise.
8415 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8416 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8417 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8418 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8419 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8420 * sysdeps/i386/fpu/e_log.S: Likewise.
8421 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8422 * sysdeps/i386/fpu/e_logf.S: Likewise.
8423 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8424 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8425 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8426 * sysdeps/i386/fpu/e_log10.S: Likewise.
8427 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8428 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8429 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8430 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8431 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8432 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8433 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8434 * sysdeps/i386/i686/strtok.S: Likewise.
8435 * sysdeps/i386/i386-mcount.S: Likewise.
8436 * sysdeps/i386/strtok.S: Likewise.
8437 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8438 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8439 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8440 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8441 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8442 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8443 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8444 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8445 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8446 * sysdeps/x86_64/_mcount.S: Likewise.
8447 * sysdeps/x86_64/strtok.S: Likewise.
8448 * sysdeps/sh/_mcount.S: Likewise.
8449
2747bf9a
RM
84502012-08-01 Roland McGrath <roland@hack.frob.com>
8451
8452 * libio/iofopen.c: Include <fcntl.h>.
8453 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8454 (_IO_fopen64, fopen64): Define as aliases.
8455 * libio/iofopen64.c: Include <fcntl.h>.
8456 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8457 Conditionalize body on this.
8458 * sysdeps/wordsize-64/iofopen.c: File removed.
8459 * sysdeps/wordsize-64/iofopen64.c: File removed.
8460
3fb791b8
MP
84612012-08-01 Marek Polacek <polacek@redhat.com>
8462
8463 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8464 Use dlfcn directly instead of a variable.
8465 (binfmt-subdir): Do not define.
8466 (dlfcn): Likewise.
8467
a9f1039f
JM
84682012-08-01 Joseph Myers <joseph@codesourcery.com>
8469
23bddc06
JM
8470 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8471 Remove all definitions.
8472 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8473 <kernel-features.h>.
8474 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8475 (miss_F_GETOWN_EX): Remove all definitions.
8476 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8477 macro definition.
8478 [!__ASSUME_FCNTL64]: Remove conditional code.
8479 [__ASSUME_FCNTL64]: Make code unconditional.
8480 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8481 <kernel-features.h>.
8482 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8483 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8484 (lockf64) [__NR_fcntl64]: Make code unconditional.
8485 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8486
a9f1039f
JM
8487 * sysdeps/unix/sysv/linux/kernel-features.h
8488 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8489 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8490 Make code unconditional.
8491 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8492 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8494 [__NR_vfork]: Make code unconditional.
8495 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8496 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8498 [__NR_vfork]: Make code unconditional.
8499 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8500 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8501
09c0ee5f
RM
85022012-08-01 Roland McGrath <roland@hack.frob.com>
8503
48aec5b9
RM
8504 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8505 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8506
cd97c966
RM
8507 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8508 Define mkstemp64 as an alias.
3f55550c
RM
8509 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8510 Define mkstemps64 as an alias.
cd97c966
RM
8511 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8512 Define mkostemp64 as an alias.
b8625cfc
RM
8513 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8514 Define mkostemps64 as an alias.
cd97c966
RM
8515 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8516 Conditionalize body on this.
8517 * misc/mkostemp64.c: Likewise.
b8625cfc 8518 * misc/mkostemps64.c: Likewise.
3f55550c 8519 * misc/mkstemps64.c: Likewise.
cd97c966
RM
8520 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8521 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8522 * sysdeps/wordsize-64/mkostemp.c: File removed.
8523 * sysdeps/wordsize-64/mkstemp.c: File removed.
8524 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8525 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8526 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8527 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8528
09c0ee5f
RM
8529 [BZ #14138]
8530 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8531 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8532 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8533 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8534
8535 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8536 compat_symbol macros from <shlib-compat.h> rather than the underlying
8537 default_symbol_version and symbol_version macros, so that DEFAULT
8538 lines in shlib-versions are respected.
8539 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8540
7e66ee51
FW
85412012-08-01 Florian Weimer <fweimer@redhat.com>
8542
8543 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8544 Declare with warn_unused_result.
8545 (setgid, setregid, setegid, setresgid): Likewise.
8546 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8547 Likewise.
8548 * WUR-REPORT: Remove set*id functions.
8549
d2a54255
PT
85502012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8551
8552 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8553
7ecdb005
RM
85542012-07-31 Roland McGrath <roland@hack.frob.com>
8555
789bd351
RM
8556 * include/sys/socket.h (__libc_accept, __libc_accept4):
8557 Add attribute_hidden.
8558 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8559
40ce302d
RM
8560 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8561 use of PTR_MANGLE.
8562 * inet/getnetgrent_r.c (setup): Likewise.
8563
7ecdb005
RM
8564 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8565
e2eabb2c
DM
85662012-07-31 David S. Miller <davem@davemloft.net>
8567
8568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8569
d0419dbf
JM
85702012-07-31 Joseph Myers <joseph@codesourcery.com>
8571
8572 [BZ #13629]
8573 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8574 value between 1.0 and 2.0 and smaller part has absolute value less
8575 than 1.0.
8576 * math/s_clog10.c (__clog10): Likewise.
8577 * math/s_clog10f.c (__clog10f): Likewise.
8578 * math/s_clog10l.c (__clog10l): Likewise.
8579 * math/s_clogf.c (__clogf): Likewise.
8580 * math/s_clogl.c (__clogl): Likewise.
8581 * math/libm-test.inc (clog_test): Add more tests.
8582 (clog10_test): Likewise.
8583 * sysdeps/i386/fpu/libm-test-ulps: Update.
8584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8585
2bc13872
FW
85862012-07-31 Florian Weimer <fweimer@redhat.com>
8587
8588 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8589 Exit with zero in case no suitable GID is found, and write a
8590 message to standard error.
8591
bea9b193
RM
85922012-07-30 Roland McGrath <roland@hack.frob.com>
8593
8594 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8595 rather than to 1.
8596 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8597 (MAXPATHLEN): Removed.
8598 (NOGROUP, NODEV): New macros.
8599 (setbit, clrbit, isset, isclr): New macros.
8600 (howmany, roundup, powerof2): New macros.
8601 (DEV_BSIZE): New macro.
8602
8603 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8604 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8605
8606 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8607 definition on [!__NO_LONG_DOUBLE_MATH].
8608
8609 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8610 PTR_MANGLE and PTR_DEMANGLE.
8611
8612 * socket/accept4.c (accept4): Rename to __libc_accept4.
8613 Define accept4 as a weak alias.
8614
8615 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8616 on [_DIRENT_HAVE_D_TYPE].
8617 * io/ftw.c (ftw_dir): Likewise.
8618
8619 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8620
8621 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8622
8623 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8624 Use the BSD numbers rather than the arbitrary ones we had.
8625 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8626 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8627 (SIGXCPU, SIGXFSZ): New macros.
8628 (_NSIG): Now 32.
8629
8630 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8631 initializer on [_LIBC_REENTRANT].
8632
8633 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8634 definitions inside [_POSIX_MAPPED_FILES].
8635
8636 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8637
8638 * dirent/opendir.c: Include <fcntl.h>.
8639
8640 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8641 (__libc_getspecific): Likewise.
8642 (__libc_key_create): Likewise.
8643
8644 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8645 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8646 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8647 (tmpfile64): Define as alias.
8648 * sysdeps/wordsize-64/tmpfile.c: File removed.
8649 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8650 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8651 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8652
8653 * stdio-common/vfscanf.c: Include <stdbool.h>.
8654 * nss/makedb.c: Likewise.
8655 * stdio-common/_i18n_number.h: Likewise.
8656 * argp/argp-help.c: Likewise.
8657 * posix/wordexp.c: Likewise.
8658 * sysdeps/posix/spawni.c: Likewise.
8659 * nss/nss_files/files-initgroups.c: Likewise.
8660 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8661 * nss/nss_files/files-initgroups.c: Likewise.
8662 * nss/nss_db/db-netgrp.c: Likewise.
8663 * nss/nss_db/db-initgroups.c: Likewise.
8664 * io/fchmodat.c: Include <sys/stat.h>.
8665
8666 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8667 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8668
8669 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8670 [HAVE_MMAP].
8671
8672 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8673 Add multiple inclusion protection.
8674
e5abc686
DM
86752012-07-27 David S. Miller <davem@davemloft.net>
8676
8677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8678
815e6fa3
GB
86792012-07-27 Gary Benson <gbenson@redhat.com>
8680
8681 [BZ #14298]
8682 * elf/rtld.c: Include <stap-probe.h>.
8683 (dl_main): Added static probes "init_start" and "init_complete".
8684 * elf/dl-load.c: Include <stap-probe.h>.
8685 (lose): Take new parameter "nsid".
8686 Added static probe "map_failed".
8687 (_dl_map_object_from_fd): Pass namespace id to lose.
8688 Added static probe "map_start".
8689 (open_verify): Pass namespace id to lose.
8690 * elf/dl-open.c: Include <stap-probe.h>.
8691 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8692 and "reloc_complete".
8693 * elf/dl-close.c: Include <stap-probe.h>.
8694 (_dl_close_worker): Added static probes "unmap_start" and
8695 "unmap_complete".
8696 * elf/rtld-debugger-interface.txt: New file documenting the above.
8697
9f98c16c
RM
86982012-07-26 Roland McGrath <roland@hack.frob.com>
8699
8700 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8701 rather than a string variable.
8702 * sunrpc/rpc_main.c (h_output): Likewise.
8703 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8704
f3c22df3
PT
87052012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8706
8707 * inet/check_native.c: New file.
8708
3129cfc6
JM
87092012-07-26 Joseph Myers <joseph@codesourcery.com>
8710
da865e95
JM
8711 [BZ #13629]
8712 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8713 if larger part has absolute value 1.0.
8714 * math/s_clog10.c (__clog10): Likewise.
8715 * math/s_clog10f.c (__clog10f): Likewise.
8716 * math/s_clog10l.c (__clog10l): Likewise.
8717 * math/s_clogf.c (__clogf): Likewise.
8718 * math/s_clogl.c (__clogl): Likewise.
8719 * math/libm-test.inc (clog_test): Add more tests.
8720 (clog10_test): Likewise.
8721 * sysdeps/i386/fpu/libm-test-ulps: Update.
8722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8723
3129cfc6
JM
8724 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8725 (pltexit): Likewise.
8726 (La_regs): Likewise.
8727 (La_retval): Likewise.
8728 (int_retval): Likewise.
8729 Update #error for removed macros to refer only to definitions in
8730 tst-audit.h.
8731 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8732 macro.
8733 (pltexit): Likewise.
8734 (La_regs): Likewise.
8735 (La_retval): Likewise.
8736 (int_retval): Likewise.
8737 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8738 macro.
8739 (pltexit): Likewise.
8740 (La_regs): Likewise.
8741 (La_retval): Likewise.
8742 (int_retval): Likewise.
8743 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8744 macro.
8745 (pltexit): Likewise.
8746 (La_regs): Likewise.
8747 (La_retval): Likewise.
8748 (int_retval): Likewise.
8749 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8750 macro.
8751 (pltexit): Likewise.
8752 (La_regs): Likewise.
8753 (La_retval): Likewise.
8754 (int_retval): Likewise.
8755 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8756 macro.
8757 (pltexit): Likewise.
8758 (La_regs): Likewise.
8759 (La_retval): Likewise.
8760 (int_retval): Likewise.
8761 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8762 macro.
8763 (pltexit): Likewise.
8764 (La_regs): Likewise.
8765 (La_retval): Likewise.
8766 (int_retval): Likewise.
8767 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8768 macro definitions in tst-audit.h.
8769 * sysdeps/i386/tst-audit.h: New file.
8770 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8771 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8772 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8773 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8774 * sysdeps/sh/tst-audit.h: Likewise.
8775 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8776 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8777 * sysdeps/x86_64/tst-audit.h: Likewise.
8778
bfc07087
AJ
87792012-07-26 Andreas Jaeger <aj@suse.de>
8780
b1b2aaf8
AJ
8781 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8782 ptrace.
8783
8784 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8785 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8786 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8787 PTRACE_O_MASK.
8788 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8789 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8790 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8791
bfc07087
AJ
8792 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8793 value.
8794
8795 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8796 _sigsys.
8797 (si_call_addr, si_syscall, si_arch): Define new macro.
8798 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8799 _sigsys.
8800 (si_call_addr, si_syscall, si_arch): Define new marcro.
8801 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8802 _sigsys.
8803 (si_call_addr, si_syscall, si_arch): Define new macro.
8804 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8805 _sigsys.
8806 (si_call_addr, si_syscall, si_arch): Define new macro.
8807
89b4b02f
JM
88082012-07-25 Joseph Myers <joseph@codesourcery.com>
8809
8810 [BZ #13717]
8811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8812 Change to 2.4.21 where previously 2.4.1.
8813 * sysdeps/unix/sysv/linux/configure: Regenerated.
8814 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8815 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8816 Linux kernel version.
8817 (__ASSUME_STD_AUXV): Remove.
8818 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8819 kernel version.
8820 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8821 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8822 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8823 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8824 (__ASSUME_NETLINK_SUPPORT): Likewise.
8825 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8826 (__no_netlink_support): Remove conditional definition.
8827 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8828 Remove.
8829 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8830 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8831 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8832 (if_nameindex_ioctl): Remove.
8833 (if_nameindex_netlink): Do not handle __no_netlink_support.
8834 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8835 code.
8836 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8837 Remove conditional code.
8838 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8839 code.
8840 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8841 unconditional.
8842 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8843 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8844 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8845 Remove.
8846 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8847 [!__ASSUME_STD_AUXV]: Remove conditional code.
8848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8849 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8850 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8852 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8853 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8854 code.
8855 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8857 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8858 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8859 conditional code.
8860 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8862 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8863 code.
8864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8865 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8866 conditional code.
8867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8868 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8869 code unconditional.
8870 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8871 conditional code.
8872 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8873 unconditional.
8874 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8875 conditional code.
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8877 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8878 unconditional.
8879 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8880 conditional code.
8881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8882 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8883 code unconditional.
8884 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8885 conditional code.
8886 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8887 unconditional.
8888 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8889 conditional code.
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8891 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8892 code unconditional.
8893 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8894 conditional code.
8895 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8896 unconditional.
8897 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8898 conditional code.
8899
842a39cd
AS
89002012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8901
8902 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8903 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8904 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8905 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8906 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8907 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8908 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8909 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8910 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8911 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8912 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8913 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8914 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8915 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8916 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8917 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8918 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8919 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8920 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8922 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8923 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8924 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8925
84b3fd84
FW
89262012-07-25 Florian Weimer <fweimer@redhat.com>
8927
8928 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8929 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8930 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8931 Introduce __libc_secure_getenv.
0c7936d5
FW
8932 * stdlib/Versions (2.17): Add secure_getenv
8933 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8934 * stdlib/secure-getenv.c: Rename __secure_getenv to
8935 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8936 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8937 * stdlib/tst-secure-getenv.c: New.
8938 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8939 * manual/startup.texi (Environment Access): Document
8940 secure_getenv.
84b3fd84
FW
8941 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8942 __libc_secure_getenv.
8943 * inet/ruserpass.c (ruserpass): Likewise.
8944 * malloc/mtrace.c (mtrace): Likewise.
8945 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8946 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8947 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8948 * sysdeps/posix/tempname.c: Likewise. Evaluate
8949 HAVE_SECURE_GETENV.
8950 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8951 __secure_getenv to __libc_secure_getenv.
84b3fd84 8952 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8954 Likewise.
8955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8956 Likewise.
8957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8959 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 8964
56e49b71
JM
89652012-07-25 Joseph Myers <joseph@codesourcery.com>
8966
8967 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8968 (struct La_i86_retval): Likewise.
8969 (struct La_x86_64_regs): Likewise.
8970 (struct La_x86_64_retval): Likewise.
8971 (struct La_x32_regs): Likewise.
8972 (struct La_x32_retval): Likewise.
8973 (struct La_ppc32_regs): Likewise.
8974 (struct La_ppc32_retval): Likewise.
8975 (struct La_ppc64_regs): Likewise.
8976 (struct La_ppc64_retval): Likewise.
8977 (struct La_sh_regs): Likewise.
8978 (struct La_sh_retval): Likewise.
8979 (struct La_s390_32_regs): Likewise.
8980 (struct La_s390_32_retval): Likewise.
8981 (struct La_s390_64_regs): Likewise.
8982 (struct La_s390_64_retval): Likewise.
8983 (struct La_sparc32_regs): Likewise.
8984 (struct La_sparc32_retval): Likewise.
8985 (struct La_sparc64_regs): Likewise.
8986 (struct La_sparc64_retval): Likewise.
8987 (struct audit_ifaces): Remove architecture-specific pltenter and
8988 pltexit members.
8989 * sysdeps/i386/ldsodefs.h: New file.
8990 * sysdeps/powerpc/ldsodefs.h: Likewise.
8991 * sysdeps/s390/ldsodefs.h: Likewise.
8992 * sysdeps/sh/ldsodefs.h: Likewise.
8993 * sysdeps/sparc/ldsodefs.h: Likewise.
8994 * sysdeps/x86_64/ldsodefs.h: Likewise.
8995
354691b7
MP
89962012-07-25 Marek Polacek <polacek@redhat.com>
8997
8998 [BZ #6808]
8999 * math/libm-test.inc (yn_test): Add another test.
9000 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9001 to ERANGE when the result is +-Inf.
9002 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9003 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9004 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9005 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9006
bf9e2071
JM
90072012-07-24 Joseph Myers <joseph@codesourcery.com>
9008
9009 * conform/data/time.h-data (NULL): Use macro-constant. Require
9010 equal to 0.
9011 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9012 clock_t.
9013 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9014
57633811
TS
90152012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9016
9017 * configure.in <sysdeps resolving>: Correct printing
9018 Implies_before.
9019 * configure: Regenerate.
9020
c23c33b0
TS
90212012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9022
9023 * math/w_ilogb.c: Include <limits.h>.
9024 * math/w_ilogbl.c: Likewise.
9025
b5982523
JM
90262012-07-20 Joseph Myers <joseph@codesourcery.com>
9027
9028 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9029 va_copy. Document allowing for unavailable va_copy only as
9030 pre-C99 compatibility.
9031 * manual/string.texi (Copying and Concatenation): Use va_copy
9032 instead of __va_copy in concat example.
9033
ac4ea442
PT
90342012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9035
9036 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9037 (__sendto): Use create_address_port. Initialize APORT and deallocate
9038 it if not null.
9039
f98eafbd
PT
9040 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9041 with O_NOLINK passed to __file_name_lookup.
9042
898c7aab
PT
9043 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9044 with O_NOLINK passed to __file_name_lookup.
9045
0ced335a
PT
9046 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9047 negative N or less than NGIDS.
9048
b3404dbd
PT
9049 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9050 type to string_t. Set ERANGE as errno and return it if NAME is not big
9051 enough. Use memcpy instead of strncpy.
9052
0f48659e
JM
90532012-07-20 Joseph Myers <joseph@codesourcery.com>
9054
9055 * elf/Makefile (check-data): Remove.
9056 (localplt.data): New vpath directive.
9057 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9058 instead of $(check-data).
9059 * scripts/data/localplt-generic.data: Move to ...
9060 * sysdeps/generic/localplt.data: ... here.
9061 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9062 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9063 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9065 ... here.
9066 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9068 ... here.
9069 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9071 ... here.
9072 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9074 ... here.
9075 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9077 ... here.
9078 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9080 ... here.
9081
d37cbdaa
AZ
90822012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9083
9084 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9085 PPC32 and PPC64 files.
9086 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9087 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9088
46f85fc2
AK
90892012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9090
9091 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9092 __makecontext_ret to ...
9093 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9094 ... here and call exit if uc_link is NULL. New file.
9095 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9096 __makecontext_ret.S.
9097 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9098 __makecontext_ret to ...
9099 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9100 ... here and call exit if uc_link is NULL. New file.
9101 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9102 __makecontext_ret.S.
9103
08f43f9b
AK
91042012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9105
9106 * elf/elf.h (R_390_IRELATIVE): New definition.
9107 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9108 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9109 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9110 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9111 (elf_machine_lazy_rel): Likewise.
9112 * sysdeps/s390/dl-irel.h: New file.
9113 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9114 * sysdeps/s390/s390-64/memset.S: New asm code.
9115 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9116 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9117 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9118 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9119 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9120 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9121 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9122 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9123 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9124 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9125 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9126 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9127 * sysdeps/s390/s390-32/memset.S: New asm code.
9128 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9129
3b05db33
MP
91302012-07-17 Marek Polacek <polacek@redhat.com>
9131
9132 [BZ #14349]
9133 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9134 * sysdeps/s390/s390-64/configure.in: Likewise.
9135 * sysdeps/sparc/configure.in: Likewise.
9136 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9137 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9138 * sysdeps/i386/configure.in: Likewise.
9139 * sysdeps/x86_64/configure.in: Likewise.
9140 * sysdeps/sh/configure.in: Likewise.
9141 * sysdeps/s390/s390-32/configure: Regenerated.
9142 * sysdeps/s390/s390-64/configure: Likewise.
9143 * sysdeps/x86_64/configure: Likewise.
9144 * sysdeps/sh/configure: Likewise.
9145 * sysdeps/powerpc/powerpc64/configure: Likewise.
9146 * sysdeps/powerpc/powerpc32/configure: Likewise.
9147 * sysdeps/sparc/configure: Likwise.
9148 * sysdeps/i386/configure: Likewise.
9149
a66877c6
MP
9150 * elf/dl-open.c: Comment fixes.
9151
cfc82fd8
JM
91522012-07-17 Joseph Myers <joseph@codesourcery.com>
9153
bd29910a
JM
9154 * Makefile [CXX] (check-data): Remove.
9155 [CXX] (c++-types.data): New vpath directive.
9156 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9157 vpath. Do not allow for C++ type data being missing.
9158 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9159 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9160 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9161 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9162 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9163 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9164 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9166 ... here.
9167 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9169 ... here.
9170 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9172 ... here.
9173 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9175 ... here.
9176 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9178 ... here.
9179 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9181 ... here.
9182 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9184 ... here.
9185 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9187
cfc82fd8
JM
9188 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9189 definitions to architecture-specific files.
9190 (TLS_IE): Likewise.
9191 (TLS_LD): Likewise.
9192 (TLS_GD): Likewise.
9193 * sysdeps/i386/tls-macros.h: New file.
9194 * sysdeps/powerpc/tls-macros.h: Likewise.
9195 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9196 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9197 * sysdeps/sh/tls-macros.h: Likewise.
9198 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9199 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9200 * sysdeps/x86_64/tls-macros.h: Likewise.
9201
f7db3170
TS
92022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9203
07cbfc23
TS
9204 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9205 zero value for regular exit case.
9206
f7db3170
TS
9207 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9208 (__start_context): Preserve zero value for regular exit case.
9209
dc97c227
TS
92102012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9211 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9212
9213 * manual/setjmp.texi (setcontext): Clarify normal process
9214 termination when uc_link is the null pointer.
9215 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9216 exit call.
9217
d0cd7d02
AS
92182012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9219
9220 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9221 preprocessor. Test for each exception mask separately.
9222
dd318934
AJ
92232012-07-16 Andreas Jaeger <aj@suse.de>
9224
9225 * po/ru.po: Update from translation team.
9226
8048311a
JM
92272012-07-15 Joseph Myers <joseph@codesourcery.com>
9228
9229 * conform/data/string.h-data (NULL): Use macro-constant. Require
9230 equal to 0.
9231 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9232 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9233 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9234 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9235 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9236
b637d46e
AJ
92372012-07-13 Andreas Jaeger <aj@suse.de>
9238
9239 * po/fr.po: Update from translation team.
9240
541428fe
MP
92412012-07-12 Marek Polacek <polacek@redhat.com>
9242
9243 [BZ #14173]
9244 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9245 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9246 loop condition.
9247
ec332e94
JM
92482012-07-12 Joseph Myers <joseph@codesourcery.com>
9249
9250 [BZ #13717]
9251 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9252 Change to 2.4.1 where previously 2.4.0.
9253 * sysdeps/unix/sysv/linux/configure: Regenerated.
9254 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9255 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9256 version.
9257 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9258 (__ASSUME_AT_CLKTCK): Remove.
9259 (__ASSUME_AT_PAGESIZE): Likewise.
9260 (__ASSUME_AT_XID): Likewise.
9261 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9262 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9263 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9264 unconditionally.
9265 (HAVE_AUX_PAGESIZE): Likewise.
9266 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9267 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9268 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9269
7b6e99be
JB
92702012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9271
9272 [BZ #14307]
9273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9274 the temporary buffer used to invoke __gethostbyname2_r,
9275 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9276 host_data / struct gaih_addrtuple.
9277 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9278 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9279 header file nss/nsswitch.h.
9280 * nss/nsswitch.h (global scope): Add definition of implementation
9281 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9282 resolv/nss_dns/dns-host.c).
9283
608404eb
AJ
92842012-07-11 Andreas Jaeger <aj@suse.de>
9285
9286 * po/fr.po: Update from translation team.
9287
71220aca
AJ
9288 * po/sv.po: Update from translation team
9289 * po/fr.po: Another update from translation team.
9290
28cfe843
AZ
92912012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9292
9293 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9294 for subnormals or multiply small sinh result by itself.
9295 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9297
6b90f981
DM
92982012-07-11 David S. Miller <davem@davemloft.net>
9299
9300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9301
c6825772
AS
93022012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9303
9304 [BZ #14347]
9305 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9306 (INTERNAL_MARK): Shift it here.
9307
7b8e0d49
MP
93082012-07-10 Marek Polacek <polacek@redhat.com>
9309
9310 [BZ #14151]
9311 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9312 libc_cv_asm_global_directive with .globl.
9313 * configure: Regenerated.
9314 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9315 with .globl.
9316 * sysdeps/i386/configure: Regenerated.
9317 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9318 with .globl.
9319 * sysdeps/x86_64/configure: Regenerated.
9320 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9321 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9322 * elf/tst-unique2mod2.c: Likewise.
9323 * elf/tst-unique2mod1.c: Likewise.
9324 * elf/tst-unique1mod2.c: Likewise.
9325 * elf/tst-unique1mod1.c: Likewise.
9326 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9327 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9328 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9329 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9330 * sysdeps/mach/sysdep.h: Likewise.
9331 * sysdeps/i386/sysdep.h: Likewise.
9332 * sysdeps/i386/i386-mcount.S: Likewise.
9333 * sysdeps/x86_64/_mcount.S: Likewise.
9334 * sysdeps/x86_64/sysdep.h: Likewise.
9335 * sysdeps/sh/_mcount.S: Likewise.
9336 * sysdeps/sh/sysdep.h: Likewise.
9337 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9338 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9339 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9340 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9341 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9342 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9343 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9344 * locale/localeinfo.h: Likewise.
9345 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9346 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9347
6c55cda3
RM
93482012-07-09 Roland McGrath <roland@hack.frob.com>
9349
9350 [BZ #14336]
9351 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9352 system".
9353 * manual/message.texi (The Uniforum approach): Likewise.
9354 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9355 (glibc iconv Implementation): Likewise.
9356
638a572e
JM
93572012-07-09 Joseph Myers <joseph@codesourcery.com>
9358
9359 [BZ #14337]
9360 * math/s_clog.c (__clog): Avoid scaling a value down where that
9361 could result in underflow.
9362 * math/s_clog10.c (__clog10): Likewise.
9363 * math/s_clog10f.c (__clog10f): Likewise.
9364 * math/s_clog10l.c (__clog10l): Likewise.
9365 * math/s_clogf.c (__clogf): Likewise.
9366 * math/s_clogl.c (__clogl): Likewise.
9367 * math/libm-test.inc (clog_test): Add more tests.
9368 (clog10_test): Likewise.
9369 * sysdeps/i386/fpu/libm-test-ulps: Update.
9370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9371
261f4859
AS
93722012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9373
0abaf3e4
AS
9374 [BZ #14283]
9375 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9376 by 7 not 8 to examine high bit of fractional part.
9377
261f4859
AS
9378 [BZ #14042]
9379 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9380 for call to __mcount_internal.
9381 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9382 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9383 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9384
f17ac40d
JM
93852012-07-06 Joseph Myers <joseph@codesourcery.com>
9386
9ad63c23
JM
9387 [BZ #14154]
9388 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9389 approximation for values within 0x1p-13f of an odd multiple of
9390 pi/4.
9391 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9392 exception. Add more tests.
9393 * sysdeps/i386/fpu/libm-test-ulps: Update.
9394
f17ac40d
JM
9395 [BZ #6778]
9396 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9397 inputs and return -1 for them. Do not check for +Inf in case not
9398 reachable for +Inf.
9399 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9400 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9401 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9402 and return -1 for them. Do not check for +Inf in case not
9403 reachable for +Inf.
9404 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9405 define.
9406 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9407 and return -1 for them. Do not check for +Inf in case not
9408 reachable for +Inf.
9409 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9410 spurious underflow.
9411 * sysdeps/i386/fpu/libm-test-ulps: Update.
9412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9413
fb21f89b
MF
94142012-07-06 Mike Frysinger <vapier@gentoo.org>
9415
9416 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9417
cdfe2c5e
JM
94182012-07-05 Joseph Myers <joseph@codesourcery.com>
9419
9420 [BZ #14157]
9421 [BZ #14331]
9422 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9423 could result in spurious underflow. Scale down values above
9424 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9425 * math/s_csqrtf.c (__csqrtf): Likewise.
9426 * math/s_csqrtl.c (__csqrtl): Likewise.
9427 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9428 spurious underflow.
9429 * sysdeps/i386/fpu/libm-test-ulps: Update.
9430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9431
70d35b67
AS
94322012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9433
704bc459
AS
9434 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9435 xopen-msg.sed.
9436 * catgets/xopen-msg.awk: New file.
9437 * catgets/xopen-msg.sed: Removed.
9438
70d35b67
AS
9439 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9440 po2text.sed.
9441 * intl/po2test.awk: New file.
9442 * intl/po2test.sed: Removed.
9443
ca61cf32
JM
94442012-07-04 Joseph Myers <joseph@codesourcery.com>
9445
9446 [BZ #14328]
9447 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9448 or multiply small sinh result by itself.
9449 * math/s_ctanf.c (__ctanf): Likewise.
9450 * math/s_ctanh.c (__ctanh): Likewise.
9451 * math/s_ctanhf.c (__ctanhf): Likewise.
9452 * math/s_ctanhl.c (__ctanhl): Likewise.
9453 * math/s_ctanl.c (__ctanl): Likewise.
9454 * math/libm-test.inc (ctan_test_tonearest): New function.
9455 (ctan_test_towardzero): Likewise.
9456 (ctan_test_downward): Likewise.
9457 (ctan_test_upward): Likewise.
9458 (ctanh_test_tonearest): Likewise.
9459 (ctanh_test_towardzero): Likewise.
9460 (ctanh_test_downward): Likewise.
9461 (ctanh_test_upward): Likewise.
9462 (main): Call these new functions.
9463 * sysdeps/i386/fpu/libm-test-ulps: Update.
9464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9465
ca48a46a
MF
94662012-07-03 Mike Frysinger <vapier@gentoo.org>
9467
9468 * .gitignore: Delete /ports entry.
9469
9d63d37d
AJ
94702012-07-03 Andreas Jaeger <aj@suse.de>
9471
9472 * po/bg.po: Update from translation team.
9473 * po/cs.po: Likewise.
9474 * po/de.po: Likewise.
9475 * po/hr.po: Likewise.
9476 * po/nl.pl: Likewise.
9477 * po/pl.po: Likewise.
9478 * po/vi.po: Likewise.
9479
370ca3d2
JM
94802012-07-03 Joseph Myers <joseph@codesourcery.com>
9481
95f5a9a8
JM
9482 * Makeconfig [!+link] (+link-before-libc): New variable.
9483 [!+link] (+link-after-libc): Likewise.
9484 [!+link] (+link-tests): Likewise.
9485 [!+link] (+link): Define in terms of $(+link-before-libc) and
9486 $(+link-after-libc).
9487 [!+link-static] (+link-static-before-libc): New variable.
9488 [!+link-static] (+link-static-after-libc): Likewise.
9489 [!+link-static] (+link-static-tests): Likewise.
9490 [!+link-static] (+link-static): Define in terms of
9491 $(+link-static-before-libc) and $(+link-static-after-libc).
9492 [build-shared] (link-libc-before-gnulib): New variable.
9493 [build-shared] (link-libc-tests): Likewise.
9494 [build-shared] (link-libc): Define in terms of
9495 $(link-libc-before-gnulib).
9496 [!build-shared] (link-libc-tests): New variable.
9497 (link-libc-static-tests): New variable.
9498 [!gnulib] (gnulib-arch): New variable.
9499 [!gnulib] (gnulib-tests): Likewise.
9500 [!gnulib] (static-gnulib-arch): Likewise.
9501 [!gnulib] (static-gnulib-tests): Likewise.
9502 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9503 Define with "=" instead of ":=".
9504 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9505 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9506 * Rules (binaries-all-notests): New variable.
9507 (binaries-all-tests): Likewise.
9508 (binaries-static-notests): Likewise.
9509 (binaries-static-tests): Likewise.
9510 (binaries-all): Define using $(binaries-all-notests) and
9511 $(binaries-all-tests).
9512 (binaries-static): Define using $(binaries-static-notests) and
9513 $(binaries-static-tests).
9514 (binaries-shared-tests): New variable.
9515 (binaries-shared-notests): Likewise.
9516 (binaries-shared): Remove variable.
9517 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9518 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9519 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9520 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9521 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9522 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9523 * elf/Makefile (sln-modules): New variable.
9524 (extra-objs): Add $(sln-modules:=.o).
9525 (ldconfig-modules): Add static-stubs.
9526 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9527 * elf/static-stubs.c: New file.
9528
7a845b2c
JM
9529 [BZ #14283]
9530 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9531 by 7 not 8 to examine high bit of fractional part. Use volatile
9532 variables when splitting into final array of floats if
9533 __FLT_EVAL_METHOD__ != 0.
9534 * math/libm-test.inc (cos_test): Add another test.
9535 (sin_test): Likewise.
9536 * sysdeps/i386/fpu/libm-test-ulps: Update.
9537
e2283f38
JM
9538 [BZ #14273]
9539 * math/libm-test.inc (cosh_test): Add more tests.
9540
370ca3d2
JM
9541 * version.h (RELEASE): Set to "development".
9542 (VERSION): Set to "2.16.90".
9543
ee9247c3
CD
95442012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9545
9546 * NEWS: Update copyright. Remove last-updated date.
9547 Mention math library bug fixes and timezone data changes.
9548 * README: Mention GNU/Hurd, x32, and HPPA support status.
9549
4648c381
TS
95502012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9551
9552 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9553
aac78a43
AJ
95542012-06-27 Andreas Jaeger <aj@suse.de>
9555
9556 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9557
ed3dbfad
AJ
95582012-06-25 Andreas Jaeger <aj@suse.de>
9559
9560 * sysdeps/s390/fpu/libm-test-ulps: Update.
9561
4d0ee855
AS
95622012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9563 Thomas Schwinge <thomas@codesourcery.com>
9564
9565 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9566 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9567 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9568 fanotify_mark.
9569
af1bce34
TS
95702012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9571
a9fa33ba
TS
9572 * sysdeps/mach/start.c: Remove file.
9573 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9574 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9575 * sysdeps/sh/init-first.c: Likewise.
9576
58f902b8
TS
9577 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9578 registers for frame unwinding purposes, add CFI directives.
9579 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9580 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9581 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9582 Likewise.
9583
1518f58b
TS
9584 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9585 __fortify_fail returning.
9586 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9587
db9b5059
TS
9588 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9589 sysdeps/sh/____longjmp_chk.S.
9590 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9591 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9592 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9593 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9594
967705fe
TS
9595 * sysdeps/sh/abort-instr.h: New file.
9596 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9597 process in case exit returns.
9598
a9def8c4
TS
9599 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9600 initialize the GOT register before use.
9601
2a649725
TS
9602 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9603 calculation of ARGC > 4.
9604
af1bce34
TS
9605 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9606 meaningful names to some local labels.
9607
d230f50a
KK
96082012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9609 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9610
9611 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9612 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9613 (__arch_compare_and_exchange_val_16_acq): Likewise.
9614 (__arch_compare_and_exchange_val_32_acq): Likewise.
9615 (atomic_exchange_and_add): Fix gUSA sequence.
9616 (atomic_add): Likewise.
9617 (atomic_add_negative): Likewise.
9618 (atomic_add_zero): Likewise.
9619 (atomic_bit_test_set): Likewise.
9620
0479b305
AS
96212012-06-22 Andreas Schwab <schwab@redhat.com>
9622
9623 [BZ #13579]
9624 * include/link.h (struct link_map): Add l_free_initfini.
9625 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9626 l_initfini.
9627 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9628 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9629 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9630 set.
9631
0e3933b9
CD
96322012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9633
9634 * configure.in: Use AC_LANG_SOURCE.
9635 * configure: Regenerate.
9636
4248b1b1
RM
96372012-06-22 Roland McGrath <roland@hack.frob.com>
9638
9639 * configure.in (libc_cv_localstatedir): New substituted variable.
9640 * configure: Regenerated.
9641 * config.make.in (localstatedir): New variable, substituted from
9642 libc_cv_localstatedir.
9643 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9644 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9645 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9646 * sysdeps/gnu/configure: Regenerated.
9647
006dd861
JL
96482012-06-21 Jeff Law <law@redhat.com>
9649
9650 [BZ #14277]
9651 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9652 free. Simplify list management for _LIBC case.
9653
79662d42
JM
96542012-06-21 Joseph Myers <joseph@codesourcery.com>
9655
b7abb4bf
JM
9656 [BZ #14273]
9657 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9658 Clear sign bit of 64-bit integer value before comparing against
9659 overflow value.
9660
79662d42
JM
9661 * sysdeps/mach/configure: Regenerated.
9662
1f150908
L
96632012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9664
9665 [BZ #14278]
9666 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9667
28363bbf
JL
96682012-06-21 Jeff Law <law@redhat.com>
9669
9670 [BZ #13882]
9671 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9672 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9673 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9674 * elf/dl-open.c (dl_open_worker): Likewise.
9675
09615db4
CD
96762012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9677
9678 * scripts/list-sources.sh: Scan PORTS for translations.
9679 * po/libc.pot: Regenerated.
9680
2174c6dd
AJ
96812012-06-21 Andreas Jaeger <aj@suse.de>
9682
9683 [BZ #12194]
9684 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9685 warning.
9686 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9687 * bits/byteswap-16.h (__bswap_16): Likewise.
9688 * bits/byteswap.h (__bswap_constant_16): Likewise.
9689
3ee947b1
L
96902012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9691
9692 [BZ #14117]
a2f34833
L
9693 * sysdeps/i386/fpu_control.h: Removed.
9694 * sysdeps/x86_64/fpu_control.h: Moved to ...
9695 * sysdeps/x86/fpu_control.h: Here.
9696
3ee947b1
L
9697 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9698 (_FPU_SETCW): Likewise.
9699
ed1825f8
L
97002012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9701
25f1282a
L
9702 [BZ #14117]
9703 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9704 * sysdeps/x86/fpu/bits/mathinline.h: This.
9705 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9706
ed1825f8
L
9707 [BZ #14050]
9708 [BZ #14117]
9709 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9710 functions if __x86_64__ is defined.
9711
36d54b74
CLT
97122012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9713
9714 * string/endian.h: Add !__ASSEMBLER__ condition for including
9715 conversion interfaces.
9716
10285c21
JM
97172012-06-15 Joseph Myers <joseph@codesourcery.com>
9718
9719 [BZ #14241]
9720 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9721 of ABS(x) in calculating zero to negative powers other than odd
9722 integers.
9723 * math/libm-test.inc (pow_test): Add more tests.
9724
06c5abbd
AJ
97252012-06-15 Andreas Jaeger <aj@suse.de>
9726
9727 * manual/contrib.texi (Contributors): Update entry of Liubov
9728 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9729 Machado Filho.
9730
a3aeac40
CH
97312012-06-15 Cyril Hrubis <metan@ucw.cz>
9732
9733 * string/string.h: Add __wur to GNU version of strerror_r.
9734
49bdf4c1
L
97352012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9736
9737 [BZ #14229]
9738 * string/Makefile (tests): Add tst-strtok_r.
9739 * string/tst-strtok_r.c: New file.
9740 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9741 RAX_LP/RDX_LP on SAVE_PTR.
9742
834f9b8d
RM
97432012-06-14 Roland McGrath <roland@hack.frob.com>
9744
9745 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9746
75fa1921
JM
97472012-06-14 Joseph Myers <joseph@codesourcery.com>
9748
9749 * libm_test.inc (csqrt_test): Allow more spurious underflow
9750 exceptions.
9751 (j0_test): Likewise.
9752 (j1_test): Likewise.
9753 (y0_test): Likewise.
9754 (y1_test): Likewise.
9755
771766df
CD
97562012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9757
9758 * po/Makefile (libc.pot): Use UTF-8 charset.
9759
ceb9e56b
PP
97602012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9761
9762 [BZ #14210]
9763 Suppress sign-conversion warning from FD_SET.
9764 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9765 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9766 not unsigned long int.
9767 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9768
ddb28975
L
97692012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9770
9771 [BZ #14050]
9772 [BZ #14117]
9773 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9774 __extern_always_inline instead of __extern_inline.
9775 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9776 (__signbit): Likewise.
9777 (__signbitl): Support C++ namespace.
9778 (lrintf): New inline function.
9779 (lrint): Likewise.
9780 (llrintf): Likewise.
9781 (llrint): Likewise.
9782 (fmaxf): Likewise.
9783 (fmax): Likewise.
9784 (fminf): Likewise.
9785 (fmin): Likewise.
9786 (rint): Likewise.
9787 (rintf): Likewise.
9788 (ceil): Likewise.
9789 (ceilf): Likewise.
9790 (floor): Likewise.
9791 (floorf): Likewise.
9792 (nearbyint): Likewise.
9793 (nearbyintf): Likewise.
9794
d7b4fb26
TS
97952012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9796
9797 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9798 non-default versions.
9799
eb55f5c2
RM
98002012-06-11 Roland McGrath <roland@hack.frob.com>
9801
9802 [BZ #14218]
9803 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9804
366af02c
TS
98052012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9806
99ff6e5c
TS
9807 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9808 (FE_UPWARD, FE_DOWNWARD): Don't define.
9809 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9810 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9811
366af02c
TS
9812 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9813 reading it.
9814 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9815 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9816
793ea851
KK
98172012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9818
9819 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9820 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9821 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9822 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9823
a728a38f
L
98242012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9825
9826 [BZ #14117]
c08010c7
L
9827 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9828 * sysdeps/i386/fpu/Implies: New file.
9829 * sysdeps/x86_64/fpu/Implies: Likewise.
9830 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9831 * sysdeps/x86/fpu/bits/fenv.h: This.
9832
a728a38f
L
9833 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9834 __SSE_MATH__.
9835
6e230d11
SP
98362012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9837
9838 [BZ #14134]
9839 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9840 character 0xffff that matches the last element of the
9841 conversion table.
9842
1b671feb
AZ
98432012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9844
9845 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9846 fmodl commit.
9847
6043738b
AZ
98482012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9849
9850 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9851 values higher than 25.6283.
9852
34ae0b32
AZ
98532012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9854
9855 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9856 subnormal exponent extraction and add some __builtin_expect.
9857 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9858 Fix for subnormal mantissa calculation.
9859
1214ec8f
MF
98602012-06-04 Mike Frysinger <vapier@gentoo.org>
9861
9862 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9863 cpu2 is -1 and errno is not ENOSYS.
9864
f3d1f93c
L
98652012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9866
9867 [BZ #14117]
0e4a3cd7
L
9868 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9869 * sysdeps/x86/bits/string.h: This.
9870 * sysdeps/x86_64/bits/string.h: Removed.
9871
6704c645
L
9872 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9873 if not compiling for x86-64, but compiling for >= i486.
9874
48495318
L
9875 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9876 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9877
14adcbfc
L
9878 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9879 New macro from Linux kernel 3.4.0.
9880 (FP_XSTATE_MAGIC2): Likewise.
9881 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9882 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9883 (struct _fpx_sw_bytes): New struct.
9884 (struct _xsave_hdr): Likewise.
9885 (struct _ymmh_state): Likewise.
9886 (struct _xstate): Likewise.
9887
68e408ab
L
9888 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9889 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9890 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9891 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9892 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9893 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9894
f3d1f93c
L
9895 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9896 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9897 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9898 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9899 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9900 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9901
d9dc34cd
TMQMF
99022012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9903
9904 [BZ #13743]
9905 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9906 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9907 (sysdep_headers): Include sys/platform/ppc.h.
9908 * sysdeps/powerpc/test-gettimebase.c: Test for
9909 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9910 * manual/Makefile (appendices): Include platform.texi.
9911 * manual/contrib.texi (Contributors): Update @node pointers.
9912 * manual/maint.texi (Maintenance): Likewise.
9913 (Platform): New node.
9914 * manual/platform.texi: New file. Document the new features.
9915
4af3879c
SP
99162012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9917 Jakub Jelinek <jakub@redhat.com>
9918
9919 [BZ #14188]
9920 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9921 where __builtin_expect is unavailable.
9922
2fd6ff13
DM
99232012-06-03 David S. Miller <davem@davemloft.net>
9924
9925 * stdlib/longlong.h: Updated from GCC.
9926
173f7220
AS
99272012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9928
9929 [BZ #14042]
9930 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9931 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9932 __mcount_internal.
9933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9934 (GLIBC_2.16): Likewise.
9935
f34a1c6f
L
99362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9937
9938 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9939
88a4576f
JM
99402012-06-01 Joseph Myers <joseph@codesourcery.com>
9941
ea32bcdd
JM
9942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9943 (default-abi): New variable.
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9945 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9946 variable.
9947 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9948 Likewise.
9949 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9950 Likewise.
9951 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9952 Likewise.
9953
88a4576f
JM
9954 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9955 definition. Document in comment.
9956
402fe938
DM
99572012-06-01 David S. Miller <davem@davemloft.net>
9958
9959 * stdlib/longlong.h: Updated from GCC.
9960
3553723f
L
99612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9962
9963 [BZ #14117]
3bd872c4
L
9964 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9965 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9966 sys/debugreg.h sys/io.h here.
9967 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9968 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9969 sys/io.h.
9970 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9971 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9972 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9973 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9974 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9975 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9976
3553723f
L
9977 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9978 Define only if __x86_64__ is defined.
9979
4842e4fe
JM
99802012-06-01 Joseph Myers <joseph@codesourcery.com>
9981
c5bfe3d5
JM
9982 [BZ #14048]
9983 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9984 Use int64_t for variable i.
9985 * math/libm-test.inc (fmod_test): Add more tests.
9986
4842e4fe
JM
9987 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9988 z computation is not scheduled after fetestexcept.
9989 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9990 Use math_force_eval instead of asm to ensure calculation scheduled
9991 before exception test.
9992 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9993 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9994
efb73488
AJ
99952012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9996
9997 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9998 computation is not scheduled after fetestexcept.
9999
29bcce7c
L
100002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10001
10002 [BZ #14117]
10003 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10004 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10005
73a68f94
AZ
100062012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10007
10008 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10009 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10010
67b6df78
L
100112012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10012
edf2933a 10013 [BZ #14117]
ebc64a18
L
10014 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10015 <bits/wordsize.h>.
10016 (__WCHAR_MIN): Support __WORDSIZE == 64.
10017 (__WCHAR_MAX): Likewise.
10018
edf2933a
L
10019 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10020 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10021
57c6cf40
L
10022 [BZ #14183]
10023 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10024 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10025
67b6df78 10026 [BZ #14117]
8eb6281e
L
10027 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10028 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10029
aac639f4
L
10030 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10031 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10032
67b6df78
L
10033 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10034 Defined to 1 if __x86_64__ isn't defined.
10035 (_STAT_VER_LINUX_OLD): New.
10036 (st_atime): Remove duplicate.
10037 (st_mtime): Likewise.
10038 (st_ctime): Likewise.
10039
1c2cfe81
DM
100402012-05-31 David S. Miller <davem@davemloft.net>
10041
10042 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10043 entries.
10044
5be8418c
AS
100452012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10046
e7725326
AS
10047 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10048 gen-libm-test.pl.
10049
5be8418c
AS
10050 [BZ #14132]
10051 * elf/dl-reloc.c: Include <_itoa.h>.
10052 (_dl_reloc_bad_type): Remove use of INTUSE.
10053 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10054 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10055 * stdio-common/psiginfo.c (psiginfo): Likewise.
10056 * stdio-common/psignal.c (psignal): Likewise.
10057 * string/strsignal.c (strsignal): Likewise.
10058 * include/signal.h (_sys_siglist): Declare hidden proto.
10059 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10060 INTVARDEF with libc_hidden_data_def.
10061 * stdio-common/itoa-udigits.c: Likewise.
10062 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10063 (_itoa_lower_digits_internal): Remove declaration.
10064 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10065 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10066 (_sys_sigabbrev_internal): Remove aliases.
10067 (_sys_siglist): Define hidden alias.
10068
507352f1
MT
100692012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10070
10071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10072 bits/sysctl.h.
10073
42bbb1c3
L
100742012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10075
10076 [BZ #14117]
6bd784b6
L
10077 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10078 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10079
8bca20f0
L
10080 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10081 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10082 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10083 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10084 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10085 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10086
f9e890a9
L
10087 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10088 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10089 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10090
471101a1
L
10091 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10092 with __addr.
10093 (insw): Likewise.
10094 (insl): Likewise.
10095 (outsb): Likewise.
10096 (outsw): Likewise.
10097 (outsl): Likewise.
10098
6451c862
L
10099 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10100 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10101 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10102
a254b8c9
L
10103 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10104 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10105 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10106 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10107 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10108 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10109
b8dfdd92
L
10110 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10111 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10112
578cd270
L
10113 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10114 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10115
de662f5f
L
10116 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10117 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10118 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10119
25653439
L
10120 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10121 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10122 to ...
10123 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10124
6bad24a0
L
10125 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10126 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10127 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10128
42bbb1c3
L
10129 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10130 for x86-64.
10131 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10132
2d10d547
JM
101332012-05-31 Joseph Myers <joseph@codesourcery.com>
10134
10135 * math/math.h (M_El): Use two more decimal places.
10136 (M_LOG2El): Likewise.
10137 (M_LOG10El): Likewise.
10138 (M_LN2l): Likewise.
10139 (M_LN10l): Likewise.
10140 (M_PIl): Likewise.
10141 (M_PI_2l): Likewise.
10142 (M_PI_4l): Likewise.
10143 (M_1_PIl): Likewise.
10144 (M_2_PIl): Likewise.
10145 (M_2_SQRTPIl): Likewise.
10146 (M_SQRT2l): Likewise.
10147 (M_SQRT1_2l): Likewise.
10148
f230c29b
DM
101492012-05-31 David S. Miller <davem@davemloft.net>
10150
10151 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10152 values between float registers.
10153 * sysdeps/sparc/sparc64/memset.S: Likewise.
10154 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10155
fed806c3
MF
101562012-05-31 Mike Frysinger <vapier@gentoo.org>
10157
10158 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10159 -D_FORTIFY_SOURCE=1.
10160 (CPPFLAGS-tst-longjmp_chk.c): Define.
10161 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10162 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10163 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10164 CFLAGS-tst-wchar-h.c.
10165
30917259
MP
101662012-05-31 Marek Polacek <polacek@redhat.com>
10167
10168 [BZ #14132]
10169 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10170 __endmntent_internal): Remove declaration.
10171 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10172 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10173 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10174
1c58d5dc
DM
101752012-05-30 David S. Miller <davem@davemloft.net>
10176
10177 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10178 (___Q_simulate_exceptions): Use real FP ops rather than writing
10179 into the %fsr.
10180 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10181 Likewise.
10182
7dc00e0d
L
101832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10184
10185 [BZ #14117]
0bd53985
L
10186 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10187 * sysdeps/x86/bits/xtitypes.h: This.
10188
3a257e66
L
10189 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10190 * sysdeps/x86/bits/wordsize.h: This.
10191
62f62904
L
10192 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10193 * sysdeps/x86/bits/huge_vall.h: This.
10194
404fe9d9
L
10195 * sysdeps/i386/bits/select.h: Removed.
10196 * sysdeps/x86_64/bits/select.h: Renamed to ...
10197 * sysdeps/x86/bits/select.h: This.
10198
d48d0446
L
10199 * sysdeps/i386/bits/setjmp.h: Removed.
10200 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10201 * sysdeps/x86/bits/setjmp.h: This.
10202
7dc00e0d
L
10203 * sysdeps/i386/bits/mathdef.h: Removed.
10204 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10205 * sysdeps/x86/bits/mathdef.h: This.
10206
03277f8f
AS
102072012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10208
10209 [BZ #14132]
10210 * include/sys/socket.h (__connect_internal)
10211 (__libc_sa_len_internal): Remove declaration.
10212 (__connect, __libc_sa_len): Declare hidden_proto.
10213 (SA_LEN): Remove use of INTUSE.
10214 * socket/connect.c: Add libc_hidden_def.
10215 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10216 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10217 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10218 alias.
10219 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10220 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10221 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10222 of adding _internal alias.
10223
13764867
L
102242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10225
10226 [BZ #14117]
6bd97696
L
10227 * sysdeps/i386/bits/link.h: Removed.
10228 * sysdeps/i386/bits/linkmap.h: Likewise.
10229 * sysdeps/x86_64/bits/link.h: Renamed to ...
10230 * sysdeps/x86/bits/link.h: This.
10231 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10232 * sysdeps/x86/bits/linkmap.h: This.
10233
f726f0bb
L
10234 * sysdeps/i386/bits/endian.h: Removed.
10235 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10236 * sysdeps/x86/bits/endian.h: This.
10237
13764867
L
10238 * sysdeps/i386/bits/byteswap.h: Removed.
10239 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10240 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10241 * sysdeps/x86/bits/byteswap.h: This.
10242 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10243 * sysdeps/x86/bits/byteswap-16.h: This.
10244 * sysdeps/i386/Implies: Add x86.
10245 * sysdeps/x86_64/Implies: Likewise.
10246
ae251b0b
DM
102472012-05-30 David S. Miller <davem@davemloft.net>
10248
10249 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10250 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10251 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10252 (FP_TRAPPING_EXCEPTIONS): Define.
10253 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10254 (FP_TRAPPING_EXCEPTIONS): Define.
10255 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10256 subnormals only when inexact has been signalled or underflow
10257 exceptions are enabled.
10258 (_FP_PACK_CANONICAL): Likewise.
10259
d5c90867
L
102602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10261
10262 [BZ #14183]
10263 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10264 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10265
63f1549e
RH
102662012-05-30 Richard Henderson <rth@twiddle.net>
10267
8d8f2279
RH
10268 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10269 with #ifndef NOT_IN_libc.
10270
63f1549e
RH
10271 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10272 marked to avoid plt entry.
10273
0ab0291b
L
102742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10275
10276 [BZ #14112]
10277 * Makeconfig (default-abi): New macro.
10278 (abi-includes): Likewise.
10279 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10280 $(abi-$(default-abi)-lib-soname) for soname if defined.
10281 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10282 abi-variants.
10283 * Makefile (installed-stubs): Likewise.
10284 * include/stubs-biarch.h: Removed.
10285 * scripts/lib-names.awk: Only handle one library at a time.
10286 * scripts/soversions.awk: Remove WORDSIZE support.
10287 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10288 entries.
10289 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10290 Removed.
10291 (syscall-list-default-condition): Likewise.
10292 (syscall-list-default-condition): Likewise.
10293 (syscall-list-includes): Likewise.
10294 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10295 syscall-list-* with abi-*. Handle undefined abi-variants.
10296 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10297 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10298 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10299 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10300 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10301 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10302 Removed.
10303 (syscall-list-32-options): Likewise.
10304 (syscall-list-32-condition): Likewise.
10305 (syscall-list-64-options): Likewise.
10306 (syscall-list-64-condition): Likewise.
10307 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10308 macro.
10309 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10310 Renamed to ...
10311 (abi-*): This.
10312 (abi-64-ld-soname): New macro.
10313 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10314 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10315 Renamed to ...
10316 (abi-*): This.
10317 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10318 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10319
4da0431d
JM
103202012-05-30 Joseph Myers <joseph@codesourcery.com>
10321
3a85279c
JM
10322 * sysdeps/unix/sysv/linux/kernel-features.h
10323 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10324 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10325 include <kernel-features.h>.
10326 [!__NR_ftruncate64]: Remove conditional code.
10327 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10328 [__NR_ftruncate64]: Make code unconditional.
10329 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10330 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10331 include <kernel-features.h>.
10332 [!__NR_ftruncate64]: Remove conditional code.
10333 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10334 [__NR_ftruncate64]: Make code unconditional.
10335 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10337 include <kernel-features.h>.
10338 [!__NR_ftruncate64]: Remove conditional code.
10339 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10340 [__NR_ftruncate64]: Make code unconditional.
10341 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10343 include <kernel-features.h>.
10344 [!__NR_ftruncate64]: Remove conditional code.
10345 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10346 [__NR_ftruncate64]: Make code unconditional.
10347 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10348
4da0431d
JM
10349 * configure.in (libc_cv_fpie): Weaken to a compile test using
10350 LIBC_TRY_CC_OPTION.
10351 * configure: Regenerated.
10352
11ef492c
AK
103532012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10354
10355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10359 Refreshed.
10360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10366 Refreshed.
10367
d66ef399
DM
103682012-05-27 David S. Miller <davem@davemloft.net>
10369
10370 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10371 (___Q_zero): New.
10372 (__Q_simulate_exceptions): Return void. Change to simulate
10373 exceptions by writing into the %fsr.
10374 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10375 (__Qp_handle_exceptions): Likewise.
10376 (numbers): Delete.
10377 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10378 __Qp_handle_exceptions.
10379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10380 __Qp_handle_exceptions.
10381 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10382 as unused and give dummy FP_RND_NEAREST initializer.
10383 (FP_INHIBIT_RESULTS): Define.
10384 (___Q_simulate_exceptions): Update declaration.
10385 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10386 formatting.
10387 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10388 as unused and give dummy FP_RND_NEAREST initializer.
10389 (__Qp_handle_exceptions): Update declaration.
10390 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10391 formatting.
10392
04fb54b5
TS
103932012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10394
10395 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10396 the temporary FPU control word.
10397 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10398 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10399 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10400 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10401 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10402 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10403 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10404 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10405 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10406 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10407 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10408
3f99608f
KK
104092012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10410
10411 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10412 fields.
10413
65a4de4e
CLT
104142012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10415
10416 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10417 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10418 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10419 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10420 Likewise.
10421 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10422 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10423 Likewise.
10424
15749d40
UD
104252012-05-27 Ulrich Drepper <drepper@gmail.com>
10426
10427 * po/h.po: Update from translation team.
10428
25dbcb27
AS
104292012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10430
3d3f8e55
AS
10431 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10432
25dbcb27
AS
10433 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10434 handling of denormals.
10435 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10436 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10437 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10438 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10439 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10442 Likewise.
10443
7ad47a80 104442012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
10445
10446 [BZ #14152]
10447 * math/libm-test.inc (fma_test): Don't always expect underflow
10448 exception.
10449
9c6ea9fa
SP
104502012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10451
10452 [BZ #12416]
10453 * elf/tst-execstack.c: Include stackinfo.h.
10454 (do_test): Adjust test case to ensure that pthread_getattr_np
10455 behaviour remains the same after marking stack executable.
10456
a8239222
JM
104572012-05-25 Joseph Myers <joseph@codesourcery.com>
10458
10459 * sysdeps/unix/sysv/linux/kernel-features.h
10460 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10461 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10462 kernel-features.h.
10463 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10464 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10465 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10466 kernel-features.h.
10467 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10468 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10469
918b5606
L
104702012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10471
10472 * configure.in: Define the default includes to being none.
10473 * configure: Regenerated.
10474
3a097cc7
RM
104752012-05-25 Roland McGrath <roland@hack.frob.com>
10476
8422c9a5
RM
10477 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10478 * sysdeps/x86_64/setjmp.S: Likewise.
10479 * sysdeps/i386/bsd-setjmp.S: Likewise.
10480 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10481 * sysdeps/i386/setjmp.S: Likewise.
10482 * sysdeps/i386/__longjmp.S: Likewise.
10483 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10484 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10485
3a097cc7
RM
10486 * include/stap-probe.h: New file.
10487 * configure.in: Handle --enable-systemtap.
10488 * configure: Regenerated.
10489 * config.h.in (USE_STAP_PROBE): New #undef.
10490 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10491 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10492 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10493
21708942
JM
104942012-05-25 Joseph Myers <joseph@codesourcery.com>
10495
10496 [BZ #13717]
10497 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10498 to 2.4.0 where earlier.
10499 * sysdeps/unix/sysv/linux/configure: Regenerated.
10500 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.c: Do not include
10505 <kernel-features.h>.
10506 [__ASSUME_32BITUIDS]: Make code unconditional.
10507 [!__ASSUME_32BITUIDS]: Remove conditional code.
10508 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10509 [__ASSUME_32BITUIDS]: Make code unconditional.
10510 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10511 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10512 <kernel-features.h>.
10513 [__ASSUME_32BITUIDS]: Make code unconditional.
10514 [!__ASSUME_32BITUIDS]: Remove conditional code.
10515 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10516 <kernel-features.h>.
10517 [__ASSUME_32BITUIDS]: Make code unconditional.
10518 [!__ASSUME_32BITUIDS]: Remove conditional code.
10519 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10520 <kernel-features.h>.
10521 [__ASSUME_32BITUIDS]: Make code unconditional.
10522 [!__ASSUME_32BITUIDS]: Remove conditional code.
10523 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10524 <kernel-features.h>.
10525 [__ASSUME_32BITUIDS]: Make code unconditional.
10526 [!__ASSUME_32BITUIDS]: Remove conditional code.
10527 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10528 <kernel-features.h>.
10529 [__ASSUME_32BITUIDS]: Make code unconditional.
10530 [!__ASSUME_32BITUIDS]: Remove conditional code.
10531 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10532 <kernel-features.h>.
10533 [__ASSUME_32BITUIDS]: Make code unconditional.
10534 [!__ASSUME_32BITUIDS]: Remove conditional code.
10535 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10536 <kernel-features.h>.
10537 [__ASSUME_32BITUIDS]: Make code unconditional.
10538 [!__ASSUME_32BITUIDS]: Remove conditional code.
10539 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10540 <kernel-features.h>.
10541 [__ASSUME_32BITUIDS]: Make code unconditional.
10542 [!__ASSUME_32BITUIDS]: Remove conditional code.
10543 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10544 <kernel-features.h>.
10545 [__ASSUME_32BITUIDS]: Make code unconditional.
10546 [!__ASSUME_32BITUIDS]: Remove conditional code.
10547 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10548 <kernel-features.h>.
10549 [__ASSUME_32BITUIDS]: Make code unconditional.
10550 [!__ASSUME_32BITUIDS]: Remove conditional code.
10551 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10552 <kernel-features.h>.
10553 [__NR_setresgid] (__setresgid): Do not declare.
10554 [__ASSUME_32BITUIDS]: Make code unconditional.
10555 [!__ASSUME_32BITUIDS]: Remove conditional code.
10556 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10557 <kernel-features.h>.
10558 [__NR_setresuid] (__setresuid): Do not declare.
10559 [__ASSUME_32BITUIDS]: Make code unconditional.
10560 [!__ASSUME_32BITUIDS]: Remove conditional code.
10561 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10562 <kernel-features.h>.
10563 [__ASSUME_32BITUIDS]: Make code unconditional.
10564 [!__ASSUME_32BITUIDS]: Remove conditional code.
10565 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10566 <kernel-features.h>.
10567 [__ASSUME_32BITUIDS]: Make code unconditional.
10568 [!__ASSUME_32BITUIDS]: Remove conditional code.
10569 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10570 <kernel-features.h>.
10571 [__ASSUME_32BITUIDS]: Make code unconditional.
10572 [!__ASSUME_32BITUIDS]: Remove conditional code.
10573 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10574 <kernel-features.h>.
10575 [__ASSUME_32BITUIDS]: Make code unconditional.
10576 [!__ASSUME_32BITUIDS]: Remove conditional code.
10577 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10578 <kernel-features.h>.
10579 [__ASSUME_32BITUIDS]: Make code unconditional.
10580 [!__ASSUME_32BITUIDS]: Remove conditional code.
10581 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10582 <kernel-features.h>.
10583 [__ASSUME_32BITUIDS]: Make code unconditional.
10584 [!__ASSUME_32BITUIDS]: Remove conditional code.
10585 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10586 <kernel-features.h>.
10587 [__ASSUME_32BITUIDS]: Make code unconditional.
10588 [!__ASSUME_32BITUIDS]: Remove conditional code.
10589 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10590 <kernel-features.h>.
10591 [__ASSUME_32BITUIDS]: Make code unconditional.
10592 [!__ASSUME_32BITUIDS]: Remove conditional code.
10593 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10594 <kernel-features.h>.
10595 [__ASSUME_32BITUIDS]: Make code unconditional.
10596 [!__ASSUME_32BITUIDS]: Remove conditional code.
10597 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10598 <kernel-features.h>.
10599 [__ASSUME_32BITUIDS]: Make code unconditional.
10600 [!__ASSUME_32BITUIDS]: Remove conditional code.
10601 * sysdeps/unix/sysv/linux/kernel-features.h
10602 (__ASSUME_SETRESUID_SYSCALL): Remove.
10603 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10604 (__ASSUME_32BITUIDS): Likewise.
10605 (__ASSUME_LDT_WORKS): Likewise.
10606 (__ASSUME_O_DIRECTORY): Likewise.
10607 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10608 architecture but not kernel version.
10609 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10610 (__ASSUME_MMAP2_SYSCALL): Likewise.
10611 (__ASSUME_STAT64_SYSCALL): Likewise.
10612 (__ASSUME_IPC64): Likewise.
10613 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10614 <kernel-features.h>.
10615 [__ASSUME_32BITUIDS]: Make code unconditional.
10616 [!__ASSUME_32BITUIDS]: Remove conditional code.
10617 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10618 <kernel-features.h>.
10619 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10620 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10621 132096]: Remove conditional code.
10622 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10623 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10624 <kernel-features.h>.
10625 [__ASSUME_32BITUIDS]: Make code unconditional.
10626 [!__ASSUME_32BITUIDS]: Remove conditional code.
10627 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10628 <kernel-features.h>.
10629 [__ASSUME_32BITUIDS]: Make code unconditional.
10630 [!__ASSUME_32BITUIDS]: Remove conditional code.
10631 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10632 <kernel-features.h>.
10633 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10634 unconditional.
10635 (__setresgid): Do not declare.
10636 [__ASSUME_32BITUIDS]: Make code unconditional.
10637 [!__ASSUME_32BITUIDS]: Remove conditional code.
10638 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10639 <kernel-features.h>.
10640 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10641 unconditional.
10642 (__setresuid): Do not declare.
10643 [__ASSUME_32BITUIDS]: Make code unconditional.
10644 [!__ASSUME_32BITUIDS]: Remove conditional code.
10645 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10646 <kernel-features.h>.
10647 [__ASSUME_32BITUIDS]: Make code unconditional.
10648 [!__ASSUME_32BITUIDS]: Remove conditional code.
10649 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10650 <kernel-features.h>.
10651 [__ASSUME_32BITUIDS]: Make code unconditional.
10652 [!__ASSUME_32BITUIDS]: Remove conditional code.
10653
a386f1cc
RH
106542012-05-25 Richard Henderson <rth@twiddle.net>
10655
10656 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10657 dl_hwcap to ifunc resolver.
10658 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10659 elf_ifunc_invoke.
10660 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10661 dl_hwcap to ifunc resolver.
10662 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10663
b6550497
JM
106642012-05-24 Joseph Myers <joseph@codesourcery.com>
10665
10666 [BZ #14153]
10667 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10668 for |x| <= 2**-26, not 2**-57.
10669 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10670 exception.
10671
b0bc23a1
JL
106722012-05-24 Jeff Law <law@redhat.com>
10673
10674 * stdio-common/Makefile (tests): Add bug25.
10675 * stdio-common/bug25.c: New test.
10676
347c92e9
L
106772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10678
10679 [BZ #13576]
10680 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10681 multiple of MALLOC_ALIGNMENT in size.
10682 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10683
6bcc8b3f
JM
106842012-05-24 Joseph Myers <joseph@codesourcery.com>
10685
10686 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10687 Require >= 256.
10688 (FILENAME_MAX): Use macro-int-constant.
10689 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10690 (_IOFBF): Use macro-int-constant.
10691 (_IOLBF): Likewise.
10692 (_IONBF): Likewise.
10693 (SEEK_CUR): Likewise.
10694 (SEEK_END): Likewise.
10695 (SEEK_SET): Likewise.
10696 (TMP_MAX): Likewise.
10697 (EOF): Use macro-int-constant. Require < 0.
10698 (NULL): Use macro-constant. Require == 0.
10699 (stdin): Require type to be FILE *.
10700 (stdout): Likewise.
10701 (stderr): Likewise.
10702 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10703 macro-int-constant.
10704 (EXIT_SUCCESS): Likewise.
10705 (NULL): Use macro-constant. Require == 0.
10706 (RAND_MAX): Use macro-int-constant.
10707 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10708 [C99-based standards] (strtof): Require function.
10709 [C99-based standards] (strtold): Likewise.
10710 [C99-based standards] (strtoll): Likewise.
10711 [C99-based standards] (strtoull): Likewise.
10712 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10713 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10714 [ISO || ISO99 || ISO11] (math.h): Likewise.
10715 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10716 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10717 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10718
d18ea0c5
AS
107192012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10720
10721 [BZ #14132]
56d25bb8
AS
10722 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10723 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10724 * intl/dgettext.c (DCGETTEXT): Likewise.
10725 * intl/gettext.c (DCGETTEXT): Likewise.
10726 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10727 * posix/regex_internal.h (gettext): Likewise.
10728 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10729 Remove declaration.
10730 * include/argz.h (__argz_count_internal)
10731 (__argz_stringify_internal): Remove declaration.
10732 (__argz_count, __argz_stringify): Declare hidden proto.
10733 * intl/dcgettext.c: Remove use of INTDEF.
10734 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10735 * string/argz-stringify.c: Likewise.
10736 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10737 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10738 Declare hidden proto.
d18ea0c5
AS
10739 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10740 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10741 Declare hidden proto.
10742 * include/stdio.h (__asprintf_internal): Don't declare.
10743 (__asprintf): Don't define as macro. Declare hidden proto.
10744 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10745 (__fsetlocking): Declare hidden proto.
10746 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10747 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10748 hidden proto.
10749 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10750 (_IO_setlinebuf): Remove use of INTUSE.
10751 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10752 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10753 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10754 Remove declaration.
10755 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10756 (_IO_do_flush): Remove use of INTUSE.
10757 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10758 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10759 (_IO_adjust_column, _IO_least_wmarker)
10760 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10761 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10762 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10763 (_IO_default_doallocate, _IO_wdefault_doallocate)
10764 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10765 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10766 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10767 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10768 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10769 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10770 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10771 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10772 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10773 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10774 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10775 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10776 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10777 proto.
10778 (_IO_flush_all_internal, _IO_adjust_column_internal)
10779 (_IO_default_uflow_internal, _IO_default_finish_internal)
10780 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10781 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10782 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10783 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10784 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10785 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10786 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10787 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10788 (_IO_file_close_internal, _IO_file_close_it_internal)
10789 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10790 (_IO_file_init_internal, _IO_file_attach_internal)
10791 (_IO_file_fopen_internal, _IO_file_read_internal)
10792 (_IO_file_sync_internal, _IO_file_seek_internal)
10793 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10794 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10795 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10796 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10797 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10798 (_IO_list_all_internal, _IO_link_in_internal)
10799 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10800 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10801 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10802 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10803 (_IO_do_write_internal, _IO_padn_internal)
10804 (_IO_getline_info_internal, _IO_getline_internal)
10805 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10806 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10807 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10808 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10809 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10810 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10811 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10812 with libc_hidden_ver, remove use of INTUSE.
10813 * libio/genops.c: Likewise.
10814 * libio/freopen.c: Likewise.
10815 * libio/freopen64.c: Likewise.
10816 * libio/iofclose.c: Likewise.
10817 * libio/iofdopen.c: Likewise.
10818 * libio/iofflush.c: Likewise.
10819 * libio/iofflush_u.c: Likewise.
10820 * libio/iofgets.c: Likewise.
10821 * libio/iofgets_u.c: Likewise.
10822 * libio/iofopen.c: Likewise.
10823 * libio/iofopncook.c: Likewise.
10824 * libio/iofread.c: Likewise.
10825 * libio/iofread_u.c: Likewise.
10826 * libio/ioftell.c: Likewise.
10827 * libio/iofwrite.c: Likewise.
10828 * libio/iogetline.c: Likewise.
10829 * libio/iogets.c: Likewise.
10830 * libio/iogetwline.c: Likewise.
10831 * libio/iopadn.c: Likewise.
10832 * libio/iopopen.c: Likewise.
10833 * libio/ioseekoff.c: Likewise.
10834 * libio/ioseekpos.c: Likewise.
10835 * libio/iosetbuffer.c: Likewise.
10836 * libio/iosetvbuf.c: Likewise.
10837 * libio/ioungetc.c: Likewise.
10838 * libio/ioungetwc.c: Likewise.
10839 * libio/iovdprintf.c: Likewise.
10840 * libio/iovsprintf.c: Likewise.
10841 * libio/iovsscanf.c: Likewise.
10842 * libio/memstream.c: Likewise.
10843 * libio/obprintf.c: Likewise.
10844 * libio/oldfileops.c: Likewise.
10845 * libio/oldiofclose.c: Likewise.
10846 * libio/oldiofdopen.c: Likewise.
10847 * libio/oldiofopen.c: Likewise.
10848 * libio/oldiopopen.c: Likewise.
10849 * libio/oldstdfiles.c: Likewise.
10850 * libio/putc.c: Likewise.
10851 * libio/setbuf.c: Likewise.
10852 * libio/setlinebuf.c: Likewise.
10853 * libio/stdfiles.c: Likewise.
10854 * libio/strops.c: Likewise.
10855 * libio/vasprintf.c: Likewise.
10856 * libio/vscanf.c: Likewise.
10857 * libio/vsnprintf.c: Likewise.
10858 * libio/vswprintf.c: Likewise.
10859 * libio/wfiledoalloc.c: Likewise.
10860 * libio/wfileops.c: Likewise.
10861 * libio/wgenops.c: Likewise.
10862 * libio/wmemstream.c: Likewise.
10863 * libio/wstrops.c: Likewise.
10864 * libio/__fpurge.c: Likewise.
10865 * libio/__fsetlocking.c: Likewise.
10866 * assert/assert.c: Likewise.
10867 * debug/fgets_chk.c: Likewise.
10868 * debug/fgets_u_chk.c: Likewise.
10869 * debug/fread_chk.c: Likewise.
10870 * debug/fread_u_chk.c: Likewise.
10871 * debug/gets_chk.c: Likewise.
10872 * debug/obprintf_chk.c: Likewise.
10873 * debug/vasprintf_chk.c: Likewise.
10874 * debug/vdprintf_chk.c: Likewise.
10875 * debug/vsnprintf_chk.c: Likewise.
10876 * debug/vsprintf_chk.c: Likewise.
10877 * malloc/mtrace.c: Likewise.
10878 * misc/error.c: Likewise.
10879 * misc/syslog.c: Likewise.
10880 * stdio-common/asprintf.c: Likewise.
10881 * stdio-common/fxprintf.c: Likewise.
10882 * stdio-common/getw.c: Likewise.
10883 * stdio-common/isoc99_fscanf.c: Likewise.
10884 * stdio-common/isoc99_scanf.c: Likewise.
10885 * stdio-common/isoc99_vfscanf.c: Likewise.
10886 * stdio-common/isoc99_vscanf.c: Likewise.
10887 * stdio-common/isoc99_vsscanf.c: Likewise.
10888 * stdio-common/printf-prs.c: Likewise.
10889 * stdio-common/printf_fp.c: Likewise.
10890 * stdio-common/printf_fphex.c: Likewise.
10891 * stdio-common/printf_size.c: Likewise.
10892 * stdio-common/putw.c: Likewise.
10893 * stdio-common/scanf.c: Likewise.
10894 * stdio-common/sprintf.c: Likewise.
10895 * stdio-common/tmpfile.c: Likewise.
10896 * stdio-common/vfprintf.c: Likewise.
10897 * stdio-common/vfscanf.c: Likewise.
10898 * stdlib/strfmon_l.c: Likewise.
10899 * sunrpc/openchild.c: Likewise.
10900 * sunrpc/xdr_stdio.c: Likewise.
10901 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10902 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10903
d6c33fda
RM
109042012-05-24 Roland McGrath <roland@hack.frob.com>
10905
c1487492
RM
10906 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10907
10908 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10909 in the third column, to generate for the shared library an IFUNC
10910 that uses _dl_vdso_vsym.
10911 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10912 * Makeconfig (object-suffixes-noshared): New variable.
10913
10914 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10915 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10916 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10917 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10918
d6c33fda
RM
10919 [BZ #14132]
10920 * include/sys/time.h (__gettimeofday): Remove macro.
10921 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10922 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10923 Remove INTDEF.
10924 (__gettimeofday): Add libc_hidden_def.
10925 (gettimeofday): Add libc_hidden_weak.
10926 * sysdeps/mach/gettimeofday.c: Likewise.
10927 * sysdeps/posix/gettimeofday.c: Likewise.
10928 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10929 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10930 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10931 (__gettimeofday_internal): Remove strong_alias.
10932 (__gettimeofday): Add libc_hidden_def.
10933 (gettimeofday): Add libc_hidden_weak.
10934 * sysdeps/unix/syscalls.list (gettimeofday):
10935 Remove __gettimeofday_internal alias.
10936
b5a2bbe6
L
109372012-05-24 Daniel Jacobowitz <drow@false.org>
10938 H.J. Lu <hongjiu.lu@intel.com>
10939
10940 [BZ #12495]
10941 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10942 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10943 (largebin_index_32_big): New.
10944 (largebin_index): Use it for 16-byte alignment.
10945 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10946 correction with front_misalign.
10947
cfba4fda
L
109482012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10949
7f907421
L
10950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10952 Likewise.
10953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10954 Likewise.
10955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10956 Likewise.
10957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10958 Likewise.
10959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10960 Likewise.
10961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10962 Likewise.
10963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10964 Likewise.
10965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10966 Likewise.
10967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10968 Likewise.
10969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10970 Likewise.
10971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10972 Likewise.
10973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10974 Likewise.
10975
cfba4fda
L
10976 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10977 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10978
80bad0cc
JM
109792012-05-24 Joseph Myers <joseph@codesourcery.com>
10980
7a25eb06
JM
10981 [BZ #10846]
10982 [BZ #14036]
10983 * math/libm-test.inc (exp_test): Add test from bug 14036.
10984 (pow_test): Add test from bug 10846.
10985
795405f9
JM
10986 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10987 and other flags.
10988 (special_function): Do not include flags in test name.
10989 (parse_args): Likewise.
10990 * sysdeps/i386/fpu/libm-test-ulps: Update.
10991 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10992 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10993 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10995
80bad0cc
JM
10996 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10997 exceptions.
10998 * math/libm-test.inc ("Philosophy"): Update comment about
10999 exception testing.
11000 (UNDERFLOW_EXCEPTION): New macro.
11001 (UNDERFLOW_EXCEPTION_OK): Likewise.
11002 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11003 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11004 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11005 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11006 (INVALID_EXCEPTION_OK): Update value.
11007 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11008 (OVERFLOW_EXCEPTION_OK): Likewise.
11009 (IGNORE_ZERO_INF_SIGN): Likewise.
11010 (test_exceptions): Handle underflow exceptions.
11011 (acos_test): Update for underflow exception expectations.
11012 (cexp_test): Likewise.
11013 (clog_test): Likewise.
11014 (clog10_test): Likewise.
11015 (csqrt_test): Likewise.
11016 (ctan_test): Likewise.
11017 (ctanh_test): Likewise.
11018 (exp_test): Likewise.
11019 (exp10_test): Likewise.
11020 (exp2_test): Likewise.
11021 (expm1_test): Likewise.
11022 (fma_test): Likewise.
11023 (j0_test): Likewise.
11024 (jn_test): Likewise.
11025 (nexttoward_test): Likewise.
11026 (pow_test): Likewise.
11027 (scalbn_test): Likewise.
11028 (scalbln_test): Likewise.
11029 (tan_test): Likewise.
11030 (y1_test): Likewise.
11031 * sysdeps/i386/fpu/libm-test-ulps: Update.
11032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11033
9e0e3d0b
DM
110342012-05-23 David S. Miller <davem@davemloft.net>
11035
11036 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11037 (__libc_sigaction): Remove unused local variables.
11038
ccd0a08f
L
110392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11040
11041 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11042
62bdf9a6
PE
110432012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11044
f8591f80
PE
11045 mktime: avoid signed integer overflow
11046 * time/mktime.c (__mktime_internal): Do not mishandle the case
11047 where diff == INT_MIN.
11048
94c7d826
PE
11049 mktime: simplify computation of average
11050 * time/mktime.c (ranged_convert): Use new time_t_avg function
11051 instead of rolling our own (probably-slower) code.
11052
ce73d683
PE
11053 mktime: do not assume signed right shift propagates sign bit
11054 * time/mktime.c (isdst_differ): New static function.
11055 (__mktime_internal): No need to normalize tm_isdst now.
11056 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11057 tm_isdst values.
11058
72a22e59
PE
11059 mktime: merge another wrapv change from gnulib
11060 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11061 from some compilers.
11062
68605433
PE
11063 mktime: remove incorrect attempt at unusual arithmetics
11064 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11065 The code didn't really work on such machines anyway.
11066 (TYPE_MINIMUM): Assume two's complement.
11067 (twos_complement_arithmetic): Verify that long_int and time_t
11068 are two's complement (or unsigned, in the latter case).
11069
03cf7fe3
PE
11070 mktime: check signed shifts on long_int and time_t, too
11071 * time/mktime.c (SHR): Check that shifts work as desired
11072 on the types long_int and time_t too, as SHR is used on
11073 such types.
11074
f04dfbc2
PE
11075 mktime: do not assume 'long' is wide enough
11076 * time/mktime.c (verify): Move decl up.
11077 (long_int): New type.
11078 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11079 to remove assumption in the code that 'long' is wide enough to
11080 store year values. This assumption is not true on x32 and on
11081 some non-glibc platforms.
11082
62bdf9a6
PE
11083 mktime: merge wrapv change from gnulib
11084 * time/mktime.c (WRAPV): New macro.
11085 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11086 (guess_time_tm, __mktime_internal): Do not assume that signed
11087 integer overflow wraps around; modern compilers generate code
11088 where this assumption is no longer valid.
11089
5e292e4f
L
110902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11091
11092 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11093 Replace "jmp L(pseudo_end)" with "ret".
11094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11095 Likewise.
11096
8caf8c87
AJ
110972012-05-23 Andreas Jaeger <aj@suse.de>
11098
11099 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11100 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11101
1a09dc56
AJ
111022012-05-23 Andreas Jaeger <aj@suse.de>
11103 Maximilian Attems <max@stro.at>
11104
11105 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11106 New macros.
11107
1c87aba0
L
111082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11109
11110 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11111 code so that pseudo_end is just ret and the stack pointer is
11112 correct also for static library in error case.
11113
40e45bd5
JM
111142012-05-23 Joseph Myers <joseph@codesourcery.com>
11115
c2670533
JM
11116 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11117 move to syscalls.list.
11118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11122
40e45bd5
JM
11123 * manual/install.texi (Running make install): Do not mention Linux
11124 kernel version for which pt_chown is not needed.
11125 (Linux): Do not mention problems with nscd with 2.0 kernels.
11126 * INSTALL: Regenerated.
11127
be08eda5
AJ
111282012-05-23 Andreas Jaeger <aj@suse.de>
11129
11130 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11131 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11132 macro.
11133 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11135 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11136 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11137 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11138 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11139 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11140 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11141 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11142 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11143 * sysdeps/unix/sysv/linux/bits/in.h
11144 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11145
a6a056bb
RM
111462012-05-22 Roland McGrath <roland@hack.frob.com>
11147
11148 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11149 (PREPARE_VERSION): Just use assert instead, it will be elided
11150 under [NDEBUG] anyway.
11151
c9009328
L
111522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11153
11154 * sysdeps/unix/sysv/linux/Makefile: Include
11155 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11156 (sysdep_routines): Remove sysctl.
c9009328
L
11157 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11158 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11159 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11160 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11161 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11162
73338355
AJ
111632012-05-22 Andreas Jaeger <aj@suse.de>
11164
11165 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11166 that pseudo_end is just ret and the stack pointer is correct also
11167 for static library in error case.
11168
d44638b0
PP
111692012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11170
11171 [BZ #14122]
11172 * nss/nsswitch.c (defconfig_entries): New variable.
11173 (__nss_database_lookup): Don't leak defconfig entries.
11174 (nss_parse_service_list): Don't leak on error paths.
11175 (free_database_entries): New function.
11176 (free_defconfig): New function.
11177 (free_mem): Move common code to free_database_entries.
11178
31a39bd8
L
111792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11180
da0331a8
L
11181 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11182 Add arch_prctl.
11183 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11184
31a39bd8
L
11185 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11186 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11188 New macro.
11189 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11190 (INTERNAL_SYSCALL_TYPES): Likewise.
11191 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11192 (LOAD_REGS_TYPES_[1-6]): Likewise.
11193 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11194 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11195
45470df3
AZ
111962012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11197
11198 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11199 copysignl for GLIBC_2_0.
11200 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11201 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11202 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11203 logbl for GLIBC_2_0.
11204 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11205 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11206
98a61bcb
L
112072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11208
a4f6e481
L
11209 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11210 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11211
f63d5db6
L
11212 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11213 Use "neg %eax".
11214
98a61bcb
L
11215 * time/mktime.c: Update copyright years.
11216
95770f14
PE
112172012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11218
6226efbd
PE
11219 mktime: merge comment-quoting-style change from gnulib
11220 * time/mktime.c: Quote 'like this' in comments.
11221 The GNU coding standards suggest that we no longer quote `like this',
11222 as "`" and "'" are typically rendered asymmetrically nowadays.
11223 The typical gnulib style is to quote 'like this' when quoting
11224 code, and "like this" when quoting English.
11225
b99e4f78
PE
11226 * time/mktime.c (compile-command): Add "-I.".
11227
643e01e6
PE
11228 mktime: merge mktime-internal.h change from gnulib
11229 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11230
2554247d
PE
11231 mktime: merge time_r change from gnulib
11232 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11233
826dd0ab
PE
11234 mktime: merge DEBUG change from gnulib
11235 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11236 case system <time.h> has a #define.
11237
bd83aabe
PE
11238 mktime: merge <sys/types.h> change from gnulib
11239 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11240 since <time.t> is now guaranteed to define time_t.
11241
95770f14
PE
11242 mktime: merge HAVE_CONFIG_H change from gnulib
11243 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11244
5e1a27a9
L
112452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11246
0e44a77e
L
11247 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11248 Use "neg %eax".
11249
5e1a27a9
L
11250 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11251 __rlim_t cast.
11252 (struct rusage): Use anonymous union to pad each field to
11253 __syscall_slong_t.
11254
46259bec
DM
112552012-05-21 David S. Miller <davem@davemloft.net>
11256
11257 * Makefules (o-iterator): Remove .s cases.
11258 (compile-command.s): Delete.
11259 (COMPILE.s): Delete.
11260 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11261
59f0c22e
JM
112622012-05-21 Joseph Myers <joseph@codesourcery.com>
11263
11264 * configure.in (libc_cv_predef_stack_protector): Only consider
11265 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11266 * configure: Regenerated.
11267
20c07380
L
112682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11269
bbb3154b
L
11270 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11271 New macro. Use R*LP on int and pointer.
11272 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11273 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11274 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11275 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11276
20c07380
L
11277 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11278 [__WORDSIZE_TIME64_COMPAT32] instead of
11279 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11280 (struct utmp): Likewise.
11281 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11282 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11283 Renamed to ...
11284 (__WORDSIZE_TIME64_COMPAT32): This.
11285 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11286 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11287 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11288 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11289 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11290 (__WORDSIZE_TIME64_COMPAT32): New macro.
11291
d8d1017e
AJ
112922012-05-21 Andreas Jaeger <aj@suse.de>
11293
11294 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11295 only if [SHARED]. Add prototype for __wcschr_ia32.
11296
6c7fb145
RM
112972012-05-21 Roland McGrath <roland@hack.frob.com>
11298
11299 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11300 of %rbp unmolested in the jmp_buf while mangling the low bits.
11301 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11302 unmolested high bits of %rbp while demangling the low bits.
11303 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11304
66274218
AJ
113052012-05-21 Andreas Jaeger <aj@suse.de>
11306
07c58f8f
AJ
11307 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11308 * sunrpc/svc_simple.c: Use it for registerrpc.
11309 * sunrpc/xcrypt.c: Use it for passwd2des.
11310
66274218
AJ
11311 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11312
61f65140
L
113132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11314
11315 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11316 Don't define if [__SYSCALL_WORDSIZE != 32].
11317 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11318 New macro.
11319
5fefb436
AJ
113202012-05-21 Bruno Haible <bruno@clisp.org>
11321 Andreas Jaeger <aj@suse.de>
11322
11323 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11324 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11325 inptr and inend for must_buffer_ch.
11326 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11327 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11328 * stdio-common/Makefile (tests): Remove bug15.
11329 (bug15-ENV): Remove macro.
11330 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11331 anymore.
11332
d8e272ab
AJ
113332012-05-19 Andreas Jaeger <aj@suse.de>
11334 Roland McGrath <roland@hack.frob.com>
11335
11336 * manual/contrib.texi: Completely rewritten. It contains now an
11337 alphabetical list of contributors and their contributions.
11338
4a56a162
RH
113392012-05-21 Richard Henderson <rth@twiddle.net>
11340
11341 * misc/getauxval.c (__getauxval): Use unsigned long int.
11342 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11343 (getauxval): Use unsigned long int.
11344
d024d23c
L
113452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11346
11347 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11348
cbc00a03
RM
113492012-05-21 Roland McGrath <roland@hack.frob.com>
11350
11351 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11352 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11353 __alignof__ (long double).
11354
478143fa
AZ
113552012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11356
11357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11358
c7683a6d
RH
113592012-05-20 Richard Henderson <rth@twiddle.net>
11360
11361 * misc/getauxval.c: New file.
11362 * misc/sys/auxv.h: New file.
11363 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11364 (routines): Add getauxval.
11365 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11366 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11367 * elf/dl-sysdep.c (_dl_auxv): Remove.
11368 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11369 * elf/dl-support.c (_dl_auxv): New variable.
11370 (_dl_aux_init): Initialize it.
11371 * manual/startup.texi (Auxiliary Vector): New node.
11372 * sysdeps/generic/bits/hwcap.h: New file.
11373 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11374 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11375 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11376 * sysdeps/sparc/sysdep.h: ... here. Include it.
11377 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11378 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
11379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11380 Update.
c7683a6d
RH
11381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11384 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11389
a6f1845d
AZ
113902012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11391
11392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11393
cbcbe830
DM
113942012-05-19 David S. Miller <davem@davemloft.net>
11395
11396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11397
e0b16cc2
JM
113982012-05-19 Joseph Myers <joseph@codesourcery.com>
11399
11400 [BZ #14123]
11401 * math/s_ccosh.c: Include <float.h>
11402 (__ccosh): Avoid internal overflow calculating sinh and cosh
11403 values before multiplying by sin and cos values.
11404 * math/s_ccoshf.c: Likewise.
11405 * math/s_ccoshl.c: Likewise.
11406 * math/s_csin.c: Likewise.
11407 * math/s_csinf.c: Likewise.
11408 * math/s_csinl.c: Likewise.
11409 * math/s_csinh.c: Likewise.
11410 * math/s_csinhf.c: Likewise.
11411 * math/s_csinhl.c: Likewise.
11412 * math/libm-test.inc (ccos_test): Add more tests.
11413 (ccosh_test): Likewise.
11414 (csin_test): Likewise.
11415 (csinh_test): Likewise.
11416 * sysdeps/i386/fpu/libm-test-ulps: Update.
11417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11418
6ad13e08
L
114192012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11420
f66f0ce8
L
11421 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11422 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11423
6ad13e08
L
11424 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11425
b1d072a7
JM
114262012-05-19 Joseph Myers <joseph@codesourcery.com>
11427
11428 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11429 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11430 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11431 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11432 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11433 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11434 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11435 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11436 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11437 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11438 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11439 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11440 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11441 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11442 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11443 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11444 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11445 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11446 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11447 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11448 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11449 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11450 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11451 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11452 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11453 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11454 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11455 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11456 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11457 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11458 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11459
9eae47cb
AJ
114602012-05-18 Andreas Jaeger <aj@suse.de>
11461
11462 * csu/.gitignore: Delete.
11463
bb07f69f
L
114642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11465
11466 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11467 (timex): Use __syscall_slong_t.
11468
e6bdb741
AJ
114692012-05-18 Andreas Jaeger <aj@suse.de>
11470 Carlos O'Donell <carlos_odonell@mentor.com>
11471
11472 * manual/install.texi (Configuring and compiling): Update
11473 description about files modified in the source directory.
d6c33fda 11474 * INSTALL: Regenerated.
e6bdb741 11475
1b74487e
L
114762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11477
11478 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11479 value. Use "or" to set return value to -1.
11480 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11481 negate return value.
11482
a88b64b9
TMQMF
114832012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11484
11485 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11486 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11487 failure if the compiler has Graphite support disabled.
11488 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11489 Likewise.
11490 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11491 CFLAGS-memmove.c): Likewise.
11492 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11493 Likewise.
11494
3707636e
L
114952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11496
610b8622
L
11497 * sysdeps/x86_64/x32/_itoa.h: New file.
11498
7cd195df
L
11499 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11500 getdents system call only if kernel and user dirents have the
11501 same d_ino and d_off.
11502
94b07d20
L
11503 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11504 LLONG_MAX != LONG_MAX.
11505 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11506 (_fitoa_word): Likewise.
11507
18298070
L
11508 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11509 years.
11510 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11511 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11512 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11513
553c7ea4
L
11514 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11515 include <bits/wordsize.h>. Check __x86_64__ instead of
11516 __WORDSIZE.
11517 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11518 if __x86_64__ is defined. Use anonymous union on fpstate.
11519
3707636e
L
11520 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11521 anonymous union.
11522
b53ef01a
AS
115232012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11524
37fb1dc0
AS
11525 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11526 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11527 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11528 Refer to _rtld_local_ro instead of _rtld_global_ro.
11529 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11530 Likewise.
11531 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11532 Likewise.
11533 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11534 Likewise.
11535 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11536 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11537 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11538
b53ef01a
AS
11539 * sysdeps/powerpc/powerpc32/dl-machine.c
11540 (__elf_machine_runtime_setup) [PROF]: Don't reference
11541 _dl_prof_resolve.
11542
7a185db2
AJ
115432012-05-18 Andreas Jaeger <aj@suse.de>
11544
11545 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11546 function only available for GCCs before 3.4 since GCC 3.4
11547 introduced a builtin.
11548 (lrint): Likewise.
11549 (llrintf): Likewise.
11550 (llrint): Likewise.
11551 (fmaxf): Likewise.
11552 (fmax): Likewise.
11553 (fminf): Likewise.
11554 (fmin): Likewise.
11555 (rint): Likewise.
11556 (rintf): Likewise.
11557 (nearbyint): Likewise.
11558 (nearbyintf): Likewise.
11559 (ceil): Likewise.
11560 (ceilf): Likewise.
11561 (floor): Likewise.
11562 (floorf): Likewise.
11563
3e5aef87
L
115642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11565
428bd707
L
11566 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11567 on both fields and cast pointer to __syscall_ulong_t.
11568
3e5aef87
L
11569 * bits/types.h (__fsword_t): New type.
11570 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11571 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11573 (__FSWORD_T_TYPE): Likewise.
11574 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11575 (__FSWORD_T_TYPE): Likewise.
11576 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11577 (__FSWORD_T_TYPE): Likewise.
11578 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11579 (__FSWORD_T_TYPE): Likewise.
11580 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11581 __SWORD_TYPE with __fsword_t.
11582 (statfs64): Likewise.
11583
1ba7c3dc
DM
115842012-05-17 David S. Miller <davem@davemloft.net>
11585
11586 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11587
59910343
AJ
115882012-05-17 Andreas Jaeger <aj@suse.de>
11589
11590 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11591 warning.
11592
2e4c1e9e
L
115932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11594
11595 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11596
de7f5ce7
AJ
115972012-05-17 Andreas Jaeger <aj@suse.de>
11598
11599 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11600 when it is used.
11601
286abc3d
CM
116022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11603
11604 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11605
477cc68e
L
116062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11607
11608 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11609 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11610
1a0994f5
CD
116112012-05-17 Andreas Jaeger <aj@suse.de>
11612 Carlos O'Donell <carlos_odonell@mentor.com>
11613
11614 [BZ #14059]
11615 * sysdeps/x86_64/multiarch/init-arch.h
11616 (bit_YMM_Usable): Rename to...
11617 (bit_AVX_Usable): ... this.
11618 (bit_FMA4_Usable): New macro.
11619 (bit_XMM_state): New macro.
11620 (bit_YMM_state): New macro.
11621 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11622 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11623 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11624 (CPUID_OSXSAVE): New macro.
11625 (CPUID_AVX): New macro.
11626 (CPUID_FMA4): New macro.
11627 (index_YMM_Usable): Rename to...
11628 (index_AVX_Usable): ... this.
11629 (HAS_AVX): Use HAS_ARCH_FEATURE.
11630 (HAS_FMA4): Likewise.
11631 (HAS_YMM_USABLE): Remove.
11632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11633 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11634 are present.
11635 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11636 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11637 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11638 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11639 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11640
0af797de
CM
116412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11642
11643 * math/libm-test.c: Support platforms without multiple rounding modes.
11644 * math/bug-nextafter.c: Support platforms without FP exceptions.
11645 * math/bug-nexttoward.c: Likewise.
11646 * math/test-fenv.c: Likewise.
11647 * math/test-misc.c: Likewise.
11648 * stdlib/bug-getcontext.c: Likewise.
11649
e39745ff
AJ
116502012-05-17 Andreas Jaeger <aj@suse.de>
11651
11652 * manual/examples/search.c (critter_cmp): Change signature to
11653 avoid warnings.
11654 * manual/string.texi (Collation Functions): Likewise.
11655
48970aba
L
116562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11657
11658 * bits/types.h: Fold copyright years.
11659 * bits/typesizes.h: Likewise.
11660 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11661 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11663 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11664 * time/time.h: Likewise.
11665
bedee953
PP
116662012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11667
11668 [BZ #208]
11669 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11670 in instead of returning them. Return void.
11671 (__libc_mallinfo): Accumulate over all arenas.
11672 (__malloc_stats): Adjust for change in int_mallinfo interface.
11673
61653dfb
RM
116742012-05-16 Roland McGrath <roland@hack.frob.com>
11675
30b99d79
RM
11676 [BZ #10375]
11677 * configure.in (NM): Add AC_CHECK_TOOL for it.
11678 (libc_extra_cflags): New substituted variable.
11679 Check for -fstack-protector being used implicitly.
11680 * configure: Regenerated.
11681 * config.make.in (config-extra-cflags): New variable,
11682 gets @libc_extra_cflags@.
11683 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11684
61653dfb
RM
11685 [BZ #10375]
11686 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11687 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11688 * configure: Regenerated.
11689 * config.make.in (CPPUNDEFS): New substituted variable.
11690 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11691 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11692 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11693
661768bb
L
116942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11695
11696 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11697 (mq_attr): Use __syscall_slong_t.
11698
d4261567
L
116992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11700
11701 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11702 Check __x86_64__ instead of __WORDSIZE.
11703 (_STAT_VER_LINUX): Likewise.
11704 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11705 __syscall_ulong_t and __syscall_slong_t.
11706 (stat64): Likewise.
11707
cf3ff365
L
117082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11709
11710 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11711
76cf3e4d
L
117122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11713
11714 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11715
a637753a
L
117162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11717
11718 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11719 __syscall_ulong_t.
11720
d5e05119
L
11721 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11722 include <bits/wordsize.h>. Check __x86_64__ instead of
11723 __WORDSIZE.
11724 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11725 defined.
11726 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11727
f62ee380
L
11728 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11729 include <bits/wordsize.h>. Check __x86_64__ instead of
11730 __WORDSIZE.
11731 (user_regs_struct): Use "__extension__ unsigned long long"
11732 instead of "unsigned long" if __x86_64__ is defined.
11733 (user): Likewise. Pad after pointer field if __ILP32__ is
11734 defined.
11735
4e124ced
JM
117362012-05-16 Joseph Myers <joseph@codesourcery.com>
11737
6a3951a0
JM
11738 * configure.in (makeinfo): Require version 4.5 or later. Allow
11739 versions 5 to 9.
11740 * configure: Regenerated.
11741 * manual/install.texi (texinfo): Increase version requirement to
11742 4.5 or later.
11743 * INSTALL: Regenerated.
11744
4e124ced
JM
11745 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11746
953ca31a
L
117472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11748
11749 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11750
617aca05
L
11751 * sysdeps/x86_64/x32/ffs.c: New file.
11752
5762f7ae
L
11753 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11754 __syscall_ulong_t.
11755 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11756 defined. Use __syscall_ulong_t.
11757 (shminfo): Use __syscall_ulong_t.
11758 (shm_info): Likewise.
11759
a26b6856
L
11760 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11761 __syscall_ulong_t.
11762
cb2b9ef7
L
11763 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11764 <bits/wordsize.h>.
11765 (msgqnum_t): Use __syscall_ulong_t.
11766 (msglen_t): Likewise.
11767 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11768 __syscall_ulong_t.
11769
34683bb0
L
11770 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11771 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11772
84a68786
L
11773 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11774
48baa5f1
L
11775 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11776 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11777
180be88b
L
11778 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11779 __syscall_slong_t.
11780
5e90c8ad
L
11781 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11782 include <bits/wordsize.h>. Check __x86_64__ instead of
11783 __WORDSIZE.
11784
23dfb58b
L
11785 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11786 "unsigned long long int" if __x86_64__ is defined.
11787 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11788
ce5d54b0
L
11789 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11790 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11791 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11792
13dc9eac
L
11793 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11794 <stdint.h>.
11795 (GET_PC): Cast to uintptr_t first.
11796 (GET_FRAME): Likewise.
11797 (GET_STACK): Likewise.
11798
a7895d15
L
11799 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11800 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11801 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11802 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11803 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11804 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11805 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11806 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11807 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11808 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11809 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11810 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11811 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11812 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11813 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11814 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11815 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11816 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11817 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11818 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11819 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11820 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11821 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11822 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11823 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11824 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11825 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11826 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11827 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11828
656416c9
AS
118292012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11830
5bd66283
AS
11831 * Makerules (+depfiles): Also collect depfiles from .oS in
11832 $(extra-objs).
11833 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11834 .oS, $(libnldbl-routines)).
11835
656416c9
AS
11836 * Makerules (native-compile-mkdep-flags): Define.
11837 * sunrpc/Makefile (extra-objs): Add $(addprefix
11838 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11839 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11840 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11841 calling $(make-target-directory).
11842
a46f2169
L
118432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11844
11845 * bits/types.h (__snseconds_t): Removed.
11846 * time/time.h (struct timespec): Replace __snseconds_t with
11847 __syscall_slong_t.
11848 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11849 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11850 Likewise.
11851 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11852 (__SNSECONDS_T_TYPE): Likewise.
11853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11854 (__SNSECONDS_T_TYPE): Likewise.
11855 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11856 (__SNSECONDS_T_TYPE): Likewise.
11857
6af6528b
L
118582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11859
11860 * sysdeps/mach/hurd/bits/typesizes.h
11861 (__SYSCALL_SLONG_TYPE): New macro.
11862 (__SYSCALL_ULONG_TYPE): Likewise.
11863
de986b56
L
118642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11865
11866 * bits/types.h (__syscall_slong_t): New type.
11867 (__syscall_ulong_t): Likewise.
11868
11869 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11870 (__SYSCALL_ULONG_TYPE): Likewise.
11871 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11872 (__SYSCALL_SLONG_TYPE): Likewise.
11873 (__SYSCALL_ULONG_TYPE): Likewise.
11874 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11875 (__SYSCALL_SLONG_TYPE): Likewise.
11876 (__SYSCALL_ULONG_TYPE): Likewise.
11877 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11878 (__SYSCALL_SLONG_TYPE): Likewise.
11879 (__SYSCALL_ULONG_TYPE): Likewise.
11880
85736dc7
L
118812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11882
11883 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11884 Add sigaltstack-offsets.sym.
11885 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11886 <sigaltstack-offsets.h>.
11887 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11888 longjmp_msg pointer.
11889 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11890 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11891 signal stack.
11892 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11893
cc03b296
JM
118942012-05-15 Joseph Myers <joseph@codesourcery.com>
11895
a9538892
JM
11896 * elf/stackguard-macros.h: Remove file.
11897 * sysdeps/generic/stackguard-macros.h: New file.
11898 * sysdeps/i386/stackguard-macros.h: Likewise.
11899 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11900 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11901 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11902 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11903 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11904 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11905 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11906 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11907 <elf/stackguard-macros.h>.
11908
cc03b296
JM
11909 [BZ #14109]
11910 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11911 __aligned__ in attribute.
11912 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11913 (gregset_t): Likewise.
11914
93171016
L
119152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11916
11917 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11918 * sysdeps/x86_64/64/Implies-after: Here. New file.
11919 * sysdeps/x86_64/x32/Implies-after: New file.
11920
d86813a0
L
119212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11922
11923 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11924 and access return value for _dl_profile_fixup. Use R10_LP to
11925 load frame size.
11926
2953ec75
L
119272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11928
11929 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11930
3b550e9e
L
119312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11932
11933 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11934 * sysdeps/x86_64/x32/sysdep.h: New file.
11935
eda41706
L
119362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11937
11938 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11939 * sysdeps/x86_64/setjmp.S: Likewise.
11940
9ea01d93
AZ
119412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11942
11943 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11944 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11945 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11946 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11947 remove unused global constant.
11948
02a91938
CM
119492012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11950
11951 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11952 include of <not-cancel.h>.
11953
6540185f
RM
119542012-05-15 Roland McGrath <roland@hack.frob.com>
11955
11956 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11957
509072a0
AJ
119582012-05-15 Jeff Law <law@redhat.com>
11959 Andreas Jaeger <aj@suse.de>
11960
11961 [BZ #13594]
11962 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11963 out from...
11964 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11965 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11966 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11967 code changing __hst_map_handle.map.
11968
ba75122d
RM
119692012-05-15 Roland McGrath <roland@hack.frob.com>
11970
11971 * configure.in (sysnames): Look for Implies-before and Implies-after
11972 files.
11973 * configure: Regenerated.
11974
890d8bd8
L
119752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11976
11977 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11978 8-byte data alignment with LP_SIZE alignment.
11979
f6ee6623
L
119802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11981
11982 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11983 into R10_LP.
11984
ea2626f6
L
119852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11986
11987 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11988
085f715e
L
119892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11990
11991 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11992 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11993 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11994 Likewise.
11995 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11996
be8498fc
L
119972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11998
11999 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12000 (stackinfo_sub_sp): Likewise.
12001
70bc83b9
L
120022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12003
12004 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12005 RAX_LP.
12006
9bc0b730
L
120072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12008
12009 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12010 into R*_LP.
12011
6d2850e7
L
120122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12013
12014 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12015 sizes into R*_LP.
12016
3cb84561
L
120172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12018
12019 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12020
54e2ed81
L
120212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12022
12023 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12024 into R11_LP and load __x86_64_shared_cache_size_half into
12025 R8_LP.
12026
8a17f349
L
120272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12028
12029 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12030 R8_LP.
12031
777b1eea
AZ
120322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12033
12034 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12035 logb for POWER7.
12036 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12037 logbf for POWER7.
12038 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12039 logbl for POWER7.
12040 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12041 powerpc32/power7/fpu/s_logb.c via #include.
12042 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12043 powerpc32/power7/fpu/s_logbf.c via #include.
12044 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12045 powerpc32/power7/fpu/s_logbl.c via #include.
12046
d20d4ac2
JM
120472012-05-15 Joseph Myers <joseph@codesourcery.com>
12048
12049 * README.libm: Remove file.
12050
6cdef1ab
L
120512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12052
12053 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12054 count for x32. Use R*_LP and omit operand-size suffix.
12055
0b254d8f
L
120562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12057
12058 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12059 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12060 * sysdeps/x86_64/x32/shlib-versions: New file.
12061
ceb809dc
RM
120622012-05-14 Roland McGrath <roland@hack.frob.com>
12063
12064 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12065 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12066 Use _dl_fatal_printf instead.
12067
37f1abd4
JM
120682012-05-14 Joseph Myers <joseph@codesourcery.com>
12069
12070 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12071 set if not set by the user. Do not allow for being unset.
12072 * sysdeps/unix/sysv/linux/configure: Regenerated.
12073
11de3a33
L
120742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12075
12076 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12077 the `q' suffix from lea and replace .quad with ASM_ADDR.
12078
e02f153a
L
120792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12080
12081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12082 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12083 instead of $17.
12084 (PTR_DEMANGLE): Likewise.
12085
520ae0fd
L
120862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12087
12088 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12089 (LP_OP): Likewise.
12090 (ASM_ADDR): Likewise.
12091 (RAX_LP): Likewise.
12092 (RBP_LP): Likewise.
12093 (RBX_LP): Likewise.
12094 (RCX_LP): Likewise.
12095 (RDI_LP): Likewise.
12096 (RSI_LP): Likewise.
12097 (RSP_LP): Likewise.
12098 (R8_LP): Likewise.
12099 (R9_LP): Likewise.
12100 (R10_LP): Likewise.
12101 (R10_LP): Likewise.
12102 (R11_LP): Likewise.
12103 (R12_LP): Likewise.
12104 (R13_LP): Likewise.
12105 (R14_LP): Likewise.
12106 (R15_LP): Likewise.
12107
b985be81
L
121082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12109
12110 * sysdeps/x86_64/x32/dl-machine.h: New file.
12111
6a4888ff
AJ
121122012-05-14 Andreas Jaeger <aj@suse.de>
12113
12114 * manual/Makefile (subdir): Remove export of subdir.
12115 (all): Remove target.
12116 (.PHONY): Remove all from list.
12117 (mkinstalldirs): Remove.
12118 (.PHONY): Remove installdirs from list.
12119 ($(inst_infodir)/libc.info): Use make-target-directory.
12120 (installdirs): Remove.
12121 (subdir_%): Remove.
12122 (glibc-targets): Remove.
12123 (lib): Remove.
12124 (stubs): Remove.
12125 ($(objpfx)stubs ../po/manual.pot): Remove.
12126 ($(objpfx)stamp%): Remove.
12127 (make-target-directory): Remove.
12128 (subdir_install): Remove.
12129 (routines): Remove.
12130 (aux): Remove.
12131 (sources): Remove.
12132 (objects): Remove.
12133 (headers): Remove.
12134
12135 [BZ #13750]
12136 * manual/.gitignore: Remove, it's not needed anymore.
12137 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12138 all files in it.
12139 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12140 directory.
12141 (texis): Renamed to $(objpfx)texis.
12142 (texis-path): New, contains path to generated files.
12143 (chapters.%): Use texis-path for complete path, add extra argument
12144 libc-texinfo.sh.
12145 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12146 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12147 (summary,texi, stamp-summary): Use complete path of
12148 files. Generate files in build dir.
12149 (dir-add.texi): Build in build dir.
12150 (libm-err.texi,stamp-libm-err): Likewise.
12151 (version.texi, stamp-version): Likewise.
12152 (.%c.texi): Likewise.
12153 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12154 (mostlyclean): Remove target.
12155 (realclean): Remove target.
12156 (generated): Add new variable with contents from mostlyclean and
12157 realclean, remove entries duplicated in common-mostlyclean, add
12158 stamp-libm-err and stamp-version.
12159 (generated-dirs): Add libc directory.
12160 ($(inst_infodir)/libc.info): Install files from build dir.
12161
12162 * manual/install.texi (Configuring and compiling): Adjust since
12163 the info files are not part of the tar ball anymore.
12164
7ac77294
AJ
121652012-05-14 Andreas Jaeger <aj@suse.de>
12166
12167 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12168 variable.
12169
ffb7875d
JM
121702012-05-14 Joseph Myers <joseph@codesourcery.com>
12171
12172 [BZ #13717]
12173 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12174 to 2.2.0 where earlier.
12175 * sysdeps/unix/sysv/linux/configure: Regenerated.
12176 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12177 Remove conditional code.
12178 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12179 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12180 Remove conditional code.
12181 [!__NR_lchown]: Likewise.
12182 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12183 [__NR_lchown]: Likewise.
12184 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12185 comment referencing __ASSUME_LCHOWN_SYSCALL.
12186 * sysdeps/unix/sysv/linux/i386/sigaction.c
12187 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12188 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12189 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12190 Remove conditional code.
12191 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12192 (__protocol_available): Remove #if 0 code.
12193 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12194 conditional code.
12195 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12196 * sysdeps/unix/sysv/linux/kernel-features.h
12197 (__ASSUME_GETCWD_SYSCALL): Don't define.
12198 (__ASSUME_REALTIME_SIGNALS): Likewise.
12199 (__ASSUME_PREAD_SYSCALL): Likewise.
12200 (__ASSUME_PWRITE_SYSCALL): Likewise.
12201 (__ASSUME_POLL_SYSCALL): Likewise.
12202 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12203 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12204 non-SPARC.
12205 (__ASSUME_SIOCGIFNAME): Don't define.
12206 (__ASSUME_MSG_NOSIGNAL): Likewise.
12207 (__ASSUME_SENDFILE): Define unconditionally.
12208 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12209 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12210 conditional code.
12211 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12212 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12213 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12214 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12215 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12216 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12217 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12219 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12220 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12222 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12223 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12225 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12226 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12228 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12229 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12231 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12232 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12234 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12235 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12237 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12240 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12242 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12243 Remove conditional code.
12244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12245 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12246 Remove conditional code.
12247 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12248 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12249 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12250 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12251 Remove conditional code.
12252 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12253 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12254 Remove conditional code.
12255 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12256 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12257 Remove conditional code.
12258 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12259 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12260 Remove conditional code.
12261 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12262 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12263 Remove conditional code.
12264 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12265 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12266 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12267 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12268 * sysdeps/unix/sysv/linux/sigaction.c
12269 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12270 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12271 * sysdeps/unix/sysv/linux/sigpending.c
12272 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12273 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12274 * sysdeps/unix/sysv/linux/sigprocmask.c
12275 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12276 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12277 * sysdeps/unix/sysv/linux/sigsuspend.c
12278 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12279 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12280 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12281 (__libc_missing_rt_sigs): Remove.
12282 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12283 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12284 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12285 Remove conditional code.
12286 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12287 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12288 return 1.
12289 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12290 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12291 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12292 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12293
1bfb7291
AJ
122942012-05-14 Andreas Jaeger <aj@suse.de>
12295
caae5a81
AJ
12296 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12297 it's not used in glibc.
12298 (__coshm1): Likewise.
12299 (__acosh1p): Likewise.
12300 (__sgn): Likewise.
12301
1bfb7291
AJ
12302 * manual/string.texi (Copying and Concatenation): Add missing
12303 variable in concat example.
12304 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12305
c044d724
L
123062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12307
144c5467 12308 [BZ #14103]
c044d724
L
12309 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12310 __builtin_clzl with __builtin_clzll.
12311
2523c62b
L
123122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12313
12314 [BZ #14104]
12315 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12316 libc_freeres_ptr.
12317
d7bb4c42
LD
123182012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12319
12320 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12321 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12322 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12323 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12324
9dc4e1fb
MF
123252012-05-14 Mike Frysinger <vapier@gentoo.org>
12326
12327 * NEWS: Update ia64 info.
12328
c7df0112
AS
123292012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12330
12331 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12332 used as bcopy.
12333
dc70356c
TS
123342012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12335
12336 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12337 * sysdeps/unix/syscalls.list (dup3): Likewise.
12338 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12339 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12340
9fb1a21f
L
123412012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12342
12343 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12344 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12345
4822a2a5
L
123462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12347
12348 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12349 thread pointer.
12350 (TLS_IE): Use mov/add instead of movq/addq to load thread
12351 pointer.
12352 (TLS_GD_PREFIX): New.
12353 (TLS_GD): Use it.
12354
842b81d6
DM
123552012-05-11 David S. Miller <davem@davemloft.net>
12356
12357 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12358 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12359 (_FPU_SETCW): Likewise.
12360
1cf463cd
L
123612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12362
12363 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12364 is 32-byte aligned.
12365
60cc4a18
AS
123662012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12367
12368 [BZ #11837]
12369 * iconvdata/gb18030.c: Update tables.
12370 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12371 characters specially.
12372 (BODY for TO_LOOP): Add encoding of missing ranges.
12373
febb44a4
TS
123742012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12375
12376 [BZ #13673]
12377 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12378 * sysdeps/mach/hurd/dup3.c: Likewise.
12379 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12380 * sysdeps/powerpc/memmove.c:: Likewise.
12381
0a10fb9e
L
123822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12383
12384 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12385 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12386
df8a552f
L
123872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12388
12389 * elf/elf.h (R_X86_64_RELATIVE64): New.
12390 (R_X86_64_NUM): Updated.
12391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12392 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12393 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12394 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12395 tst-quad1pie tst-quad2pie
12396 (modules-names): Add tst-quadmod1 tst-quadmod2.
12397 ($(objpfx)tst-quad1): New dependency.
12398 ($(objpfx)tst-quad2): Likewise.
12399 ($(objpfx)tst-quad1pie): Likewise.
12400 ($(objpfx)tst-quad2pie): Likewise.
12401 * sysdeps/x86_64/tst-quad1.c: New file.
12402 * sysdeps/x86_64/tst-quad1pie.c: New file.
12403 * sysdeps/x86_64/tst-quad2.c: Likewise.
12404 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12405 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12406 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12407 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12408 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12409
f34d6f84
ST
124102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12411
f42d41d1
ST
12412 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12413 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12414 * streams/stropts.h (t_scalar_t): Define type.
12415
3c3571fc
ST
12416 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12417 (_PATH_PRESERVE): Set to "/var/lib".
12418 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12419
61f06bd3
ST
12420 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12421 instead of int.
12422
918d4d71
ST
12423 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12424 if __dir_mkfile succeeded.
12425
f34d6f84
ST
12426 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12427 checking for _hurd_dtablesize. Unlock it right after having
12428 finished _hurd_dtable allocation.
12429
10589b4a
TS
124302012-05-10 Thomas Schwinge <thomas@schwinge.name>
12431
674cdbc7
TS
12432 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12433 * sysdeps/mach/hurd/configure: Regenerated.
12434 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12435 special-casing to...
12436 * sysdeps/gnu/configure.in: ... this new file.
12437 * sysdeps/unix/sysv/linux/configure: Regenerated.
12438 * sysdeps/gnu/configure: New generated file.
12439
8e41b99f
TS
12440 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12441 for Linux: use nsec instead of usec, as well as:
12442 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12443 members of type struct timespec.
12444 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12445 New macros.
12446 (struct stat64): Likewise.
12447 (_STATBUF_ST_NSEC): New macro.
12448 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12449
10589b4a
TS
12450 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12451 __strtoul_internal rather than strtoul.
12452
63643c85
PT
124532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12454
12455 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12456 and reject them.
12457
3faebe6a
ST
124582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12459
12460 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12461 which preserves existing values.
12462 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12463
c6474b07
PT
124642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12465
12466 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12467 TIMEOUT values. Return EINVAL for NFDS values either negative or
12468 greater than FD_SETSIZE.
12469
1043890b
ST
124702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12471
12472 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12473 allocated, call __vm_protect to finish enabling the existing space, and
12474 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12475 allocate the remainder.
12476
37ed8b9b
PT
124772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12478
12479 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12480 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12481
db653660
ST
124822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12483
37ed8b9b
PT
12484 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12485 sysdeps/mach/hurd/readlink.c.
b29d4053 12486
db653660
ST
12487 * posix/tst-sysconf.c (posix_options): Only use
12488 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12489 _POSIX_SYNCHRONIZED_IO when they are defined
12490 * sysdeps/mach/hurd/bits/posix_opt.h:
12491 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12492 (_XOPEN_REALTIME): Undefine macro.
12493 (_XOPEN_REALTIME_THREADS): Undefine macro.
12494 (_XOPEN_SHM): Undefine macro.
12495 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12496 macro to -1.
12497 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12498 macro to -1.
12499 (_POSIX_ASYNC_IO): Undefine macro.
12500 (_POSIX_PRIORITIZED_IO): Undefine macro.
12501 (_POSIX_SPIN_LOCKS): Define macro to -1.
12502
ee16e894
ST
12503 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12504 SA_NODEFER, SA_RESETHAND.
12505 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12506 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12507 F_DUPFD_CLOEXEC.
12508
6103ae3b
TS
125092012-05-10 Thomas Schwinge <thomas@schwinge.name>
12510
12511 * elf/Makefile (pldd-modules): Define unconditionally.
12512
80b4e5f3
TS
125132012-05-10 Thomas Schwinge <thomas@schwinge.name>
12514
12515 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12516
edadcbd6
ST
125172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12518
12519 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12520 Return ENOENT when name is empty.
12521 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12522
80694780
TS
125232012-05-10 Thomas Schwinge <thomas@schwinge.name>
12524
1792c087
TS
12525 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12526
80694780
TS
12527 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12528
6b645f0d
ST
125292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12530
80694780
TS
12531 Fix mlock in all cases except non-readable pages.
12532 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12533 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 12534
6b645f0d
ST
12535 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12536 (__mkdir): When path is `/', just fail with EEXIST.
12537 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12538
e468f8a3
TS
125392012-05-10 Thomas Schwinge <thomas@schwinge.name>
12540
12541 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12542 <sys/uio.h> (for writev).
12543 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12544 and <sys/param.h> (for MIN).
12545
a4186cff
PT
125462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12547
12548 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12549 REQUESTED_TIME. Properly set the remaining time and return EINTR
12550 if interrupted.
12551
510bbf14
TS
125522012-05-10 Thomas Schwinge <thomas@schwinge.name>
12553
12554 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12555 Depend on against $(link-rpcuserlibs).
12556
5d5722e8
ST
125572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12558
a4186cff
PT
12559 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12560 (__libc_stack_end): Do not use attribute_relro.
12561 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12562 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 12563 to libthread-provided value.
a4186cff
PT
12564 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12565 attribute_relro.
5d5722e8 12566
37233df9
TS
125672012-05-10 Thomas Schwinge <thomas@schwinge.name>
12568
be971a2b
TS
12569 [BZ #3748]
12570 * bits/libc-lock.h (__libc_once_get): New macro.
12571 * sysdeps/mach/bits/libc-lock.h: Likewise.
12572 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12573 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12574 instead of using implementation details.
12575
37233df9
TS
12576 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12577 * libio/freopen.c: Likewise.
12578 * libio/freopen64.c: Likewise.
12579 * misc/syslog.c: Likewise.
12580 * nscd/connections.c: Likewise.
12581 * nscd/netgroupcache.c: Likewise.
12582 * sysdeps/posix/getcwd.c: Likewise.
12583
38de94a5
RM
125842012-05-10 Roland McGrath <roland@hack.frob.com>
12585
12586 * math/w_ilogbf.c: Add #include <limits.h>.
12587
67530489
ST
125882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12589
a4186cff 12590 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
12591 path instead of returning without unlocking.
12592
67530489
ST
12593 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12594 immediate-write ioctls.
12595 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12596
5aa3a74a
TS
125972012-05-10 Thomas Schwinge <thomas@schwinge.name>
12598
18bad2ae
TS
12599 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12600 __builtin_frame_address instead of making assumptions about the
12601 location of the return address relative to DATA. Force early load of
12602 the return address.
12603 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12604 __builtin_frame_address.
12605
5aa3a74a
TS
12606 dup3 for GNU Hurd.
12607 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12608 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12609 implement dup3 and do some further code clean-ups.
12610 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12611 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12612
ecd0de9a
ST
126132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12614
cd9fa985
ST
12615 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12616
a4186cff
PT
12617 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12618 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12619 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12620 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12621 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12622 d->port.lock.
802ca5a5 12623
a4186cff
PT
12624 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12625 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12626 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 12627
bcf55240
TS
126282012-05-10 Thomas Schwinge <thomas@schwinge.name>
12629
6960eb42
TS
12630 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12631 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12632 definitions.
12633
eb43375f
TS
12634 accept4 for GNU Hurd.
12635 * include/sys/socket.h (__libc_accept4): New prototype.
12636 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12637 to implement __libc_accept4.
12638 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12639 __libc_accept4.
12640 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12641
bcf55240
TS
12642 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12643 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12644 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12645 signal-defines.sym.
12646
6178c55b
ST
126472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12648
a4186cff 12649 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 12650
6f080c2f
TS
126512012-05-10 Thomas Schwinge <thomas@schwinge.name>
12652
12653 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12654 assertion on O_CLOEXEC flag.
12655 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12656 * hurd/intern-fd.c: Likewise.
12657 * hurd/port2fd.c: Likewise.
12658
bcfe3a54
ST
126592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12660
12661 [BZ #3906]
12662 * bits/in.h (IPV6_PKTINFO): Define new macro.
12663 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12664
89c9aa49
AZ
126652012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12666
12667 [BZ #13954]
12668 [BZ #13955]
12669 [BZ #13956]
12670 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12671 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12672 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12673 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12674 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12675 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12676 * math/libm-test.inc (logb_test) : Additional logb tests.
12677
021db4be
AJ
126782012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12679 Andreas Jaeger <aj@suse.de>
12680
12681 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12682 * configure: Regenerated.
12683 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12684 * config.make.in (link-obsolete-rpc): New substituted variable.
12685 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12686 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12687 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12688 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12689 so that libc.a contains the symbols.
12690 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12691 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12692 * sunrpc/auth_none.c: Likewise.
12693 * sunrpc/auth_unix.c: Likewise.
12694 * sunrpc/authdes_prot.c: Likewise.
12695 * sunrpc/authuxprot.c: Likewise.
12696 * sunrpc/clnt_gen.c: Likewise.
12697 * sunrpc/clnt_perr.c: Likewise.
12698 * sunrpc/clnt_raw.c: Likewise.
12699 * sunrpc/clnt_simp.c: Likewise.
12700 * sunrpc/clnt_tcp.c: Likewise.
12701 * sunrpc/clnt_udp.c: Likewise.
12702 * sunrpc/clnt_unix.c: Likewise.
12703 * sunrpc/des_crypt.c: Likewise.
12704 * sunrpc/des_soft.c: Likewise.
12705 * sunrpc/get_myaddr.c: Likewise.
12706 * sunrpc/key_call.c: Likewise.
12707 * sunrpc/key_prot.c: Likewise.
12708 * sunrpc/netname.c: Likewise.
12709 * sunrpc/pm_getmaps.c: Likewise.
12710 * sunrpc/pm_getport.c: Likewise.
12711 * sunrpc/pmap_clnt.c: Likewise.
12712 * sunrpc/pmap_prot.c: Likewise.
12713 * sunrpc/pmap_prot2.c: Likewise.
12714 * sunrpc/pmap_rmt.c: Likewise.
12715 * sunrpc/publickey.c: Likewise.
12716 * sunrpc/rpc_cmsg.c: Likewise.
12717 * sunrpc/rpc_common.c: Likewise.
12718 * sunrpc/rpc_dtable.c: Likewise.
12719 * sunrpc/rpc_prot.c: Likewise.
12720 * sunrpc/rpc_thread.c: Likewise.
12721 * sunrpc/rtime.c: Likewise.
12722 * sunrpc/svc.c: Likewise.
12723 * sunrpc/svc_auth.c: Likewise.
12724 * sunrpc/svc_raw.c: Likewise.
12725 * sunrpc/svc_run.c: Likewise.
12726 * sunrpc/svc_tcp.c: Likewise.
12727 * sunrpc/svc_udp.c: Likewise.
12728 * sunrpc/svc_unix.c: Likewise.
12729 * sunrpc/svcauth_des.c: Likewise.
12730 * sunrpc/xcrypt.c: Likewise.
12731 * sunrpc/xdr.c: Likewise.
12732 * sunrpc/xdr_array.c: Likewise.
12733 * sunrpc/xdr_float.c: Likewise.
12734 * sunrpc/xdr_intXX_t.c: Likewise.
12735 * sunrpc/xdr_mem.c: Likewise.
12736 * sunrpc/xdr_rec.c: Likewise.
12737 * sunrpc/xdr_ref.c: Likewise.
12738 * sunrpc/xdr_sizeof.c: Likewise.
12739 * sunrpc/xdr_stdio.c: Likewise.
12740
b5c086a2
RM
127412012-05-10 Roland McGrath <roland@hack.frob.com>
12742
12743 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12744 change. Update copyright years.
12745
6d74dd09
JM
127462012-05-10 Joseph Myers <joseph@codesourcery.com>
12747
12748 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12749
28e72501
MK
127502012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12751 Joseph Myers <joseph@codesourcery.com>
12752 Paul Pluzhnikov <ppluzhnikov@google.com>
12753
12754 [BZ #14012]
12755 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12756 requiring rpcgen.
12757 [cross-compiling] (extra-libs): Likewise.
12758 [cross-compiling] (extra-libs-others): Likewise.
12759 [cross-compiling] (librpcsvc-routines): Likewise.
12760 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12761 [cross-compiling] (omit-deps): Likewise.
12762 (sunrpc-CPPFLAGS): New variable.
12763 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12764 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12765 (cross-rpcgen-objs): New variable.
12766 (extra-objs): Append $(cross-rpcgen-objs).
12767 ($(cross-rpcgen-objs)): New rule.
12768 ($(objpfx)cross-rpcgen): Likewise.
12769 (rpcgen-cmd): Define to use $(built-program-file). Expand
12770 comment.
12771 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12772 ($(objpfx)x%.stmp): Likewise.
12773 * sunrpc/proto.h [IS_IN_build] (_): Define.
12774 [IS_IN_build] (_libc_intl_domainname): Likewise.
12775
c8c59454
L
127762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12777
12778 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12779 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12780 and R_X86_64_TPOFF64.
12781
6f27cd16
JM
127822012-05-10 Joseph Myers <joseph@codesourcery.com>
12783
12784 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12785 sysdeps/unix/sysv/syscalls.list.
12786 (stime): Likewise.
12787 (utime): Likewise.
12788 * sysdeps/unix/sysv/syscalls.list: Remove file.
12789
02467e1c
PE
127902012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12791
12792 [BZ #3440]
12793 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12794 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12795 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12796 (__LC_IDENTIFICATION): Make these macros useful in #if
12797 expressions, as required by C99.
12798
da392631
AS
127992012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12800
12801 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12802 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12803 after this.
12804
8115f29b
L
128052012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12806
12807 * stdlib/longlong.h: Updated from GCC.
12808
bdd74070
AJ
128092012-05-09 Andreas Jaeger <aj@suse.de>
12810
edfe0dbe
AJ
12811 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12812 default is first entry.
12813 (run_mode): Set type.
12814 (main): Remove informal message about syslog.
12815 (options): Fix typo.
12816
bcfe3a54
ST
12817 [BZ #14053]
12818 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12819 to asm.
bcfe3a54
ST
12820 (lrint): Likewise.
12821 (llrintf): Likewise.
12822 (llrint): Likewise.
12823 (rint): Likewise.
12824 (rintf): Likewise.
12825 (nearbyint): Likewise.
12826 (nearbyintf): Likewise.
bdd74070 12827
91d8d69e
AJ
128282012-05-09 Andreas Jaeger <aj@suse.de>
12829 Pedro Alves <palves@redhat.com>
12830
12831 * nscd/nscd.c (run_mode): Use enum.
12832 (main): Cleanup coding style issue.
12833
bb90b80b
AJ
128342012-05-09 Alexandre Oliva <aoliva@redhat.com>
12835 Andreas Jaeger <aj@suse.de>
12836
bcfe3a54
ST
12837 * nscd/nscd.c (go_background): Replaced with...
12838 (run_mode): ... this.
bb90b80b 12839 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12840 (options): Add -F --foreground.
12841 (main): Implement it.
12842 (parse_opt): Parse it.
bb90b80b 12843
1a4b75a1
AJ
128442012-05-09 Andreas Jaeger <aj@suse.de>
12845
12846 [BZ #14083]
12847 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12848 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12849 -Wconversion warning.
12850 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12851 Likewise.
12852
b1cc2472
JM
128532012-05-09 Joseph Myers <joseph@codesourcery.com>
12854
12855 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12856 == 0.
12857 (LC_ALL): Use macro-int-constant.
12858 (LC_COLLATE): Likewise.
12859 (LC_CTYPE): Likewise.
12860 (LC_MESSAGES): Likewise.
12861 (LC_MONETARY): Likewise.
12862 (LC_NUMERIC): Likewise.
12863 (LC_TIME): Likewise.
12864 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12865 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12866 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12867 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12868 Specify type.
12869 [C99-based standards] (float_t): Expect type.
12870 [C99-based standards] (double_t): Expect type.
12871 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12872 type.
12873 [C99-based standards] (HUGE_VALL): Likewise.
12874 [C99-based standards] (INFINITY): Likewise.
12875 [C99-based standards] (NAN): Likewise.
12876 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12877 [C99-based standards] (FP_NAN): Likewise.
12878 [C99-based standards] (FP_NORMAL): Likewise.
12879 [C99-based standards] (FP_SUBNORMAL): Likewise.
12880 [C99-based standards] (FP_ZERO): Likewise.
12881 [C99-based standards] (FP_FAST_FMA): Use
12882 optional-macro-int-constant. Specify type. Require == 1.
12883 [C99-based standards] (FP_FAST_FMAF): Likewise.
12884 [C99-based standards] (FP_FAST_FMAL): Likewise.
12885 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12886 [C99-based standards] (FP_ILOGBNAN): Likewise.
12887 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12888 Specify type.
12889 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12890 [C99-based standards] (math_errhandling): Specify type.
12891 [ISO99 || ISO11] (signgam): Do not allow.
12892 [non-C99-based standards] (copysignf): Do not allow.
12893 [non-C99-based standards] (exp2f): Likewise.
12894 [non-C99-based standards] (log2f): Likewise.
12895 [non-C99-based standards] (modff): Allow.
12896 [non-C99-based standards] (erff): Do not allow.
12897 [non-C99-based standards] (erfcf): Likewise.
12898 [non-C99-based standards] (gammaf): Likewise.
12899 [non-C99-based standards] (hypotf): Likewise.
12900 [non-C99-based standards] (j0f): Likewise.
12901 [non-C99-based standards] (j1f): Likewise.
12902 [non-C99-based standards] (jnf): Likewise.
12903 [non-C99-based standards] (lgammaf): Likewise.
12904 [non-C99-based standards] (tgammaf): Likewise.
12905 [non-C99-based standards] (y0f): Likewise.
12906 [non-C99-based standards] (y1f): Likewise.
12907 [non-C99-based standards] (ynf): Likewise.
12908 [non-C99-based standards] (isnanf): Likewise.
12909 [non-C99-based standards] (acoshf): Likewise.
12910 [non-C99-based standards] (asinhf): Likewise.
12911 [non-C99-based standards] (atanhf): Likewise.
12912 [non-C99-based standards] (cbrtf): Likewise.
12913 [non-C99-based standards] (expm1f): Likewise.
12914 [non-C99-based standards] (ilogbf): Likewise.
12915 [non-C99-based standards] (log1pf): Likewise.
12916 [non-C99-based standards] (logbf): Likewise.
12917 [non-C99-based standards] (nextafterf): Likewise.
12918 [non-C99-based standards] (remainderf): Likewise.
12919 [non-C99-based standards] (rintf): Likewise.
12920 [non-C99-based standards] (scalbf): Likewise.
12921 [non-C99-based standards] (copysignl): Likewise.
12922 [non-C99-based standards] (exp2l): Likewise.
12923 [non-C99-based standards] (log2l): Likewise.
12924 [non-C99-based standards] (modfl): Allow.
12925 [non-C99-based standards] (erfl): Do not allow.
12926 [non-C99-based standards] (erfcl): Likewise.
12927 [non-C99-based standards] (gammal): Likewise.
12928 [non-C99-based standards] (hypotl): Likewise.
12929 [non-C99-based standards] (j0l): Likewise.
12930 [non-C99-based standards] (j1l): Likewise.
12931 [non-C99-based standards] (jnl): Likewise.
12932 [non-C99-based standards] (lgammal): Likewise.
12933 [non-C99-based standards] (tgammal): Likewise.
12934 [non-C99-based standards] (y0l): Likewise.
12935 [non-C99-based standards] (y1l): Likewise.
12936 [non-C99-based standards] (ynl): Likewise.
12937 [non-C99-based standards] (isnanl): Likewise.
12938 [non-C99-based standards] (acoshl): Likewise.
12939 [non-C99-based standards] (asinhl): Likewise.
12940 [non-C99-based standards] (atanhl): Likewise.
12941 [non-C99-based standards] (cbrtl): Likewise.
12942 [non-C99-based standards] (expm1l): Likewise.
12943 [non-C99-based standards] (ilogbl): Likewise.
12944 [non-C99-based standards] (log1pl): Likewise.
12945 [non-C99-based standards] (logbl): Likewise.
12946 [non-C99-based standards] (nextafterl): Likewise.
12947 [non-C99-based standards] (remainderl): Likewise.
12948 [non-C99-based standards] (rintl): Likewise.
12949 [non-C99-based standards] (scalbl): Likewise.
12950 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12951 [non-C99-based standards] (FP_*): Do not allow.
12952 [C99-based standards] (FP_*): Change to
12953 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12954 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12955 allow.
12956 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12957 (SIG_ERR): Likewise.
12958 [X/Open-based standards] (SIG_HOLD): Likewise.
12959 (SIG_IGN): Likewise.
12960 (SIGABRT): Use macro-int-constant. Specify type. Require
12961 positive value.
12962 (SIGFPE): Likewise.
12963 (SIGILL): Likewise.
12964 (SIGINT): Likewise.
12965 (SIGSEGV): Likewise.
12966 (SIGTER): Likewise.
12967 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12968 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12969 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12970 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12971 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12972 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12973 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12974 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12975 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12976 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12977 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12978 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12979 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12980 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12981 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12982 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12983 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12984 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12985 [X/Open-based standards] (SIGTRAP): Likewise.
12986 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12987 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12988 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12989 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12990 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12991 allow.
12992
b9f1922d
IW
129932012-05-08 Ian Wienand <ianw@vmware.com>
12994
12995 [BZ #14080]
12996 * time/tzset.c (__tzset_parse_tz): Update default rules for
12997 daylight time changes in the Energy Policy Act of 2005.
12998
1db86e88
AJ
129992012-05-09 Andreas Jaeger <aj@suse.de>
13000
13001 [BZ #13983]
13002 * elf/ldconfig.c (parse_conf): Change string to make clear that
13003 ldconfig only issued a warning if ld.so.conf does not exist.
13004
dee4a4e3
DM
130052012-05-08 David S. Miller <davem@davemloft.net>
13006
ee0db190
DM
13007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13008 movxtod instead of popping the value on the stack.
13009
dee4a4e3
DM
13010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13011
6a43ec98
CD
130122012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13013
13014 * config.h.in: Add HAVE_ARM_PCS_VFP.
13015
05c2c961
RMG
130162012-05-08 Roland Mc Grath <roland@hack.frob.com>
13017
bcfe3a54
ST
13018 [BZ #13979]
13019 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13020 checking but the checks are disabled for any reason.
05c2c961 13021
4b30f61a
L
130222012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13023
13024 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13025 and ELF64_R_TYPE with ELFW(R_TYPE).
13026
eee2bc67
JM
130272012-05-08 Joseph Myers <joseph@codesourcery.com>
13028
7ea5391a
JM
13029 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13030 (ulimit): Likewise.
13031
eee2bc67
JM
13032 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13033 (settimeofday): Likewise.
13034
abb66a67
MF
130352012-05-08 Mike Frysinger <vapier@gentoo.org>
13036
13037 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13038 a struct th_u2 inside the union, and move tu_block/tu_code into
13039 a new th_u3 union of tu_block/tu_code inside of that. Move
13040 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13041 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13042 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13043 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13044 (th_stuff): Change to th_u1.tu_stuff.
13045 (th_data): Define.
13046 (th_msg): Change to th_u1.th_u2.tu_data.
13047
7f18b530
DM
130482012-05-07 David S. Miller <davem@davemloft.net>
13049
05760585
DM
13050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13051
7f18b530
DM
13052 [BZ #14074]
13053 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13054 (SETUP_PIC_REG): Use it.
13055 (SETUP_PIC_REG_LEAF): Use it.
13056
495fd99f
JM
130572012-05-07 Joseph Myers <joseph@codesourcery.com>
13058
13059 [BZ #13885]
13060 [BZ #13923]
13061 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13062 USE_AS_EXPM1L.
13063 (EXPL_FINITE): Likewise.
13064 (FLDLOG): Likewise.
13065 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13066 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13067 e_expl.S.
13068 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13069 USE_AS_EXPM1L.
13070 (EXPL_FINITE): Likewise.
13071 (FLDLOG): Likewise.
13072 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13073 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13074 e_expl.S.
13075 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13076 test of -max_value argument for long double.
13077 * sysdeps/i386/fpu/libm-test-ulps: Update.
13078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13079
6693d694
DM
130802012-05-06 David S. Miller <davem@davemloft.net>
13081
13082 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13083 quad soft-float symbols whose references which are compiler
13084 generated.
13085 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13086
6c23e11c
JM
130872012-05-06 Joseph Myers <joseph@codesourcery.com>
13088
d8b82cad
JM
13089 [BZ #13884]
13090 [BZ #13914]
13091 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13092 USE_AS_EXP10L.
13093 (EXPL_FINITE): Likewise.
13094 (FLDLOG): Likewise.
13095 (c0): Likewise.
13096 (c1): Likewise.
13097 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13098 Adjust comments for base varying.
13099 (__expl_finite): Change alias to EXPL_FINITE.
13100 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13101 e_expl.S.
13102 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13103 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13104 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13105 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13106 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13107 USE_AS_EXP10L.
13108 (EXPL_FINITE): Likewise.
13109 (FLDLOG): Likewise.
13110 (c0): Likewise.
13111 (c1): Likewise.
13112 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13113 Adjust comments for base varying.
13114 (__expl_finite): Change alias to EXPL_FINITE.
13115 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13116 tests for bugs.
13117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13118
6c23e11c
JM
13119 [BZ #14064]
13120 * math/libm-test.inc (check_float_internal): Correct ulp
13121 calculation for subnormal expected results.
13122
29ba805c
AJ
131232012-05-06 Andreas Jaeger <aj@suse.de>
13124
13125 * Makeconfig (+math-flags): New, set to -frounding-math.
13126 (+cflags): Add +math-flags so that all of glibc gets compiled with
13127 it.
13128
13129 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13130
7b17aeda
JM
131312012-05-05 Joseph Myers <joseph@codesourcery.com>
13132
5779f134
JM
13133 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13134 Disable one test.
13135
41498f4d
JM
13136 [BZ #13787]
13137 [BZ #13922]
13138 [BZ #14036]
13139 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13140 (__ieee754_expl): Allow for and saturate large arguments.
13141 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13142 (u_threshold): Likewise.
13143 (__exp): Call __ieee754_exp before checking for overflow and
13144 underflow.
13145 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13146 (u_threshold): Likewise.
13147 (__expf): Call __ieee754_expf before checking for overflow and
13148 underflow.
13149 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13150 (u_threshold): Likewise.
13151 (__expl): Call __ieee754_expl before checking for overflow and
13152 underflow.
13153 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13154 (__ieee754_expl): Allow for and saturate large arguments.
13155 * math/libm-test.inc (exp_test): Add another test. Do not allow
13156 missing overflow exception on overflow.
13157 (expm1_test): Do not allow missing overflow exception on overflow.
13158
6698b8bf
JM
13159 * sysdeps/i386/fpu/e_expl.c: Move to ...
13160 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13161 rather than using inline asm.
13162 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13163 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13164 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13165
7b17aeda
JM
13166 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13167 (nice): Likewise.
13168 (poll): Likewise.
13169 (signal): Likewise.
13170 (time): Likewise.
13171 (times): Likewise.
13172
f7c85819
JM
131732012-05-04 Joseph Myers <joseph@codesourcery.com>
13174
13175 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13176 sysdeps/unix/common/syscalls.list.
13177 (fchmod): Likewise.
13178 (fchown): Likewise.
13179 (ftruncate): Likewise.
13180 (getrusage): Likewise.
13181 (gettimeofday): Likewise.
13182 (setpgid): Likewise.
13183 (setregid): Likewise.
13184 (setreuid): Likewise.
13185 (sigaction): Likewise.
13186 (truncate): Likewise.
13187 (vhangup): Likewise.
13188 * sysdeps/unix/common/syscalls.list: Remove file.
13189 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13190 * sysdeps/unix/sysv/linux/Implies: Likewise.
13191
336270d0
L
131922012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13193
13194 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13196 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13197 Moved to ...
13198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13199 Here.
13200 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13201 to ...
13202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13203 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13204 to ...
13205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13206 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13207 to ...
13208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13209 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13210 to ...
13211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13212 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13213 to ...
13214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13215 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13216 to ...
13217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13218 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13219 to ...
13220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13221 Here.
13222 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13223 to ...
13224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13225 Here.
13226 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13227 to ...
13228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13229 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13230 Moved to ...
13231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13232 Here.
13233 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13234 to ...
13235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13236
d128e450
JM
132372012-05-04 Joseph Myers <joseph@codesourcery.com>
13238
fa8ee516
JM
13239 * sysdeps/unix/common/bits/dirent.h: Remove file.
13240 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13241
d128e450
JM
13242 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13243 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13244 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13245 * sysdeps/unix/bsd/isatty.c: Likewise.
13246 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13247 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13248 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13249
ff8faaf0 132502012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13251
62881be4 13252 [BZ #13563]
31dc8730
AZ
13253 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13254 long double comparison inaccuracies.
13255 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13257
6fef930c
AS
132582012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13259
13260 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13261 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13262
8f203e6c
JM
132632012-05-04 Joseph Myers <joseph@codesourcery.com>
13264
13265 [BZ #14049]
13266 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13267 nonzero digits before rounding a hex value.
13268 * stdlib/tst-strtod.c (tests): Add another test.
13269
5197d9c2
AK
132702012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13271
13272 * sysdeps/s390/fpu/libm-test-ulps: Update.
13273
f0c1dedf
AJ
132742012-05-03 Andreas Jaeger <aj@suse.de>
13275
13276 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13277 does not get optimized out.
13278 (malloc_opt_barrier): New.
13279
a65ef2ae 132802012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13281 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13282
2b942cb7 13283 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13284 intermediate file deletion.
2b942cb7 13285 (generated): Add .symlist files.
a65ef2ae 13286
54b71e02
JM
132872012-05-03 Joseph Myers <joseph@codesourcery.com>
13288
13289 [BZ #13775]
13290 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13291 Redirect under this condition.
13292 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13293 [__USE_GNU] (__dprintf_chk): Not under this condition.
13294 [__USE_GNU] (__vdprintf_chk): Likewise.
13295 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13296 under this condition.
13297 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13298 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13299 [__USE_XOPEN2K8] (vdprintf): Likewise.
13300 [__USE_GNU] (__dprintf_chk): Not under this condition.
13301 [__USE_GNU] (__vdprintf_chk): Likewise.
13302 [__USE_GNU] (dprintf): Likewise.
13303 [__USE_GNU] (vdprintf): Likewise.
13304
d3dfcc41
RM
133052012-05-03 Roland McGrath <roland@hack.frob.com>
13306
13307 * elf/Makefile (common-generated): Set this instead of generated for
13308 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13309 $(all-built-dso)-derived lists.
13310
7ac30cc5
AJ
133112012-05-03 Andreas Jaeger <aj@suse.de>
13312
0c51e550
AJ
13313 * sysdeps/i386/fpu/libm-test-ulps: Update.
13314
7ac30cc5
AJ
13315 * FAQ: Removed.
13316 * FAQ.in: Likewise.
13317 * scripts/gen-FAQ.pl: Likewise.
13318 * manual/install.texi (Installation): Point to online location of
13319 FAQ.
13320 * Makefile (files-for-dist): Remove FAQ.
13321 (FAQ): Remove.
13322
d4c2917f
AM
133232012-05-02 Allan McRae <allan@archlinux.org>
13324
13325 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13326 (LDFLAGS-reldepmod5.so): Likewise.
13327 (LDFLAGS-reldep6mod1.so): Likewise.
13328 (LDFLAGS-reldep6mod4.so): Likewise.
13329 (LDFLAGS-reldep8mod3.so): Likewise.
13330 (LDFLAGS-unload4mod1.so): Likewise.
13331 (LDFLAGS-unload4mod2.so): Likewise.
13332 (LDFLAGS-tst-initorder): Likewise.
13333 (LDFLAGS-tst-initordera2.so): Likewise.
13334 (LDFLAGS-tst-initordera3.so): Likewise.
13335 (LDFLAGS-tst-initordera4.so): Likewise.
13336 (LDFLAGS-tst-initorderb2.so): Likewise.
13337 (LDFLAGS-noload): Likewise.
13338 (LDFLAGS-next): Likewise.
13339 (LDFLAGS-order2mod1.so): Likewise.
13340 (LDFLAGS-order2mod2.so): Likewise.
13341 (LDFLAGS-tst-initorder2): Likewise.
13342 (LDFLAGS-tst-initorder2a.so): Likewise.
13343 (LDFLAGS-tst-initorder2b.so): Likewise.
13344 (LDFLAGS-tst-initorder2c.so): Likewise.
13345 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13346
d77f993f
DM
133472012-05-02 David S. Miller <davem@davemloft.net>
13348
13349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13350
171a70b4
PP
133512012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13352
13353 [BZ #14055]
13354 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13355
0be196ad
AJ
133562012-05-02 Andreas Jaeger <aj@suse.de>
13357
13358 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13359 since we manipulate rounding mode.
13360 (CPPFLAGS-test-idouble.c): Likewise.
13361 (CPPFLAGS-test-ifloat.c): Likewise.
13362 (CFLAGS-test-ldouble.c): Likewise.
13363 (CFLAGS-test-double.c): Likewise.
13364 (CFLAGS-test-float.c): Likewise.
13365 (CFLAGS-test-misc.c): Likewise.
13366 (CFLAGS-test-test-fenv.c): Likewise.
13367
4f9d04aa
AZ
133682012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13369
2b942cb7
RM
13370 [BZ #2550]
13371 [BZ #2570]
13372 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13373 comparisons to determine direction to adjust input.
4f9d04aa 13374
82a79e7d
RM
133752012-05-01 Roland McGrath <roland@hack.frob.com>
13376
f5a01ca9
RM
13377 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13378 output to the target.
13379
90fe4186
RM
13380 * scripts/localplt.awk: New file.
13381 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13382 (check-localplt-CFLAGS): Variable removed.
13383 ($(all-built-dso:=.jmprel)): New static pattern rule.
13384 (generated): Add those targets.
13385 (localplt-built-dso): New variable.
13386 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13387
13388 * elf/check-localplt.c: File removed.
13389
82397ed6
RM
13390 * scripts/check-execstack.awk: New file.
13391 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13392 (check-execstack-CFLAGS): Variable removed.
13393 ($(objpfx)check-execstack.h): Target removed.
13394 ($(objpfx)execstack-default): New target.
13395 (generated): Add that instead of check-execstack.h.
13396 ($(all-built-dso:=.phdr)): New static pattern rule.
13397 (generated): Add those targets.
13398 * elf/check-execstack.c: File removed.
13399
82a79e7d
RM
13400 * scripts/check-textrel.awk: New file.
13401 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13402 (check-textrel-CFLAGS): Variable removed.
13403 (all-built-dso): Use := to define.o
13404 ($(all-built-dso:=.dyn)): New static pattern rule.
13405 (generated): Add those targets.
13406 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13407 * config.make.in (READELF): New substituted variable.
13408 * elf/check-textrel.c: File removed.
13409
62fde54f 134102012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 13411
615605c9
JM
13412 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13413 allow.
13414 * conform/data/ctype.h-data [C99-based standards] (isblank):
13415 Expect function.
13416 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13417 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13418 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13419 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13420 Specify type. Require positive value.
13421 (EILSEQ): Likewise.
13422 (ERANGE): Likewise.
13423 [ISO || POSIX] (EILSEQ): Do not expect.
13424 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13425 Specify type. Require positive value.
13426 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13427 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13428 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13429 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13430 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13431 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13432 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13433 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13434 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13435 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13436 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13437 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13438 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13439 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13440 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13441 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13442 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13443 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13444 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13445 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13446 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13447 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13448 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13449 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13450 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13451 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13452 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13453 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13454 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13455 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13456 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13457 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13458 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13459 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13460 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13461 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13462 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13463 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13464 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13465 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13466 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13467 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13468 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13469 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13493 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13494 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13495 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13496 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13497 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13498 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13499 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13500 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13501 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13502 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13503 Require >= 2.
13504 (FLT_ROUNDS): Expect as macro, not constant.
13505 (FLT_MANT_DIG): Use macro-int-constant.
13506 (DBL_MANT_DIG): Likewise.
13507 (LDBL_MANT_DIG): Likewise.
13508 (FLT_DIG): Likewise.
13509 (DBL_DIG): Likewise.
13510 (LDBL_DIG): Likewise.
13511 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13512 (DBL_MIN_EXP): Likewise.
13513 (LDBL_MIN_EXP): Likewise.
13514 (FLT_MAX_EXP): Use macro-int-constant.
13515 (DBL_MAX_EXP): Likewise.
13516 (LDBL_MAX_EXP): Likewise.
13517 (FLT_MAX_10_EXP): Likewise.
13518 (DBL_MAX_10_EXP): Likewise.
13519 (LDBL_MAX_10_EXP): Likewise.
13520 (FLT_MAX): Use macro-constant.
13521 (DBL_MAX): Likewise.
13522 (LDBL_MAX): Likewise.
13523 (FLT_EPSILON): Use macro-constant. Give upper bound.
13524 (DBL_EPSILON): Likewise.
13525 (LDBL_EPSILON): Likewise.
13526 (FLT_MIN): Likewise.
13527 (DBL_MIN): Likewise.
13528 (LDBL_MIN): Likewise.
13529 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13530 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13531 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13532 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13533 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13534 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13535 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13536 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13537 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13538 [ISO11] (FLT_TRUE_MIN): Likewise.
13539 [ISO11] (LDBL_TRUE_MIN): Likewise.
13540 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13541 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13542 (SCHAR_MIN): Use macro-int-constant. Specify type.
13543 (SCHAR_MAX): Likewise.
13544 (UCHAR_MAX): Likewise.
13545 (CHAR_MIN): Likewise.
13546 (CHAR_MAX): Likewise.
13547 (MB_LEN_MAX): Use macro-int-constant.
13548 (SHRT_MIN): Use macro-int-constant. Specify type.
13549 (SHRT_MAX): Likewise.
13550 (USHRT_MAX): Likewise.
13551 (INT_MAX): Likewise.
13552 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13553 bound negative.
13554 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13555 bound with "U".
13556 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13557 bound with "L".
13558 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13559 bound negative. Suffix upper bound with "L".
13560 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13561 bound with "UL".
13562 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13563 Specify type.
13564 [C99-based standards] (LLONG_MAX): Likewise.
13565 [C99-based standards] (ULLONG_MAX): Likewise.
13566 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13567 == 0.
13568 [ISO11] (max_align_t): Require type.
13569 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13570
c9140a62
JM
13571 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13572 from $CFLAGS, without defining away __attribute__ calls.
13573 (checknamespace): Use $CFLAGS_namespace.
13574
9af0bf29
JM
13575 * conform/conformtest.pl (@keywords): Only include C99 keywords
13576 for standards based on C99 or C11.
13577
343222a2
JM
13578 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13579 Disable tests.
13580 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13581 UNIX98]: Likewise.
13582
661f8cf0
JM
13583 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13584 usability of symbols in #if.
13585
ee74b9cb
JM
13586 * conform/conformtest.pl: If macro or constant types start
13587 "promoted:", expect the symbol to be of the following type
13588 promoted by the integer promotions.
62fde54f 13589
aafc49b3
JM
13590 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13591 in one place. Also handle "macro-constant".
13592
fefdf574
JM
13593 * conform/conformtest.pl: Only accept expected macro values with
13594 "==". Parse all "macro" lines in one place.
13595 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13596
f2d922fe
JM
13597 * conform/conformtest.pl: Handle braced types on "constant" lines
13598 instead of handling "typed-constant".
13599 * conform/data/signal.h-data: Use "constant" instead of
13600 "typed-constant".
13601
d22956c9
JM
13602 * conform/conformtest.pl: Handle "optional-" at start of lines in
13603 one place rather than duplicating several cases. Handle each
13604 format of "macro" line with initial "optional-".
13605
028e2e38
JM
13606 * conform/conformtest.pl: Only accept expected constant or
13607 optional-constant values with "==". Parse all "constant" lines in
13608 one place. Parse all "optional-constant" lines in one place.
13609 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13610 * conform/data/fmtmsg.h-data: Likewise.
13611 * conform/data/netinet/in.h-data: Likewise.
13612 * conform/data/tar.h-data: Likewise.
13613 * conform/data/limits.h-data: Use "==" form on "constant" and
13614 "optional-constant" lines.
13615
1b8f2850
JM
13616 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13617 Use -std=c99 for XOPEN2K.
13618 (@knownproblems): Remove.
13619 (newtoken): Don't check %isknown.
13620
a05a144b
JM
13621 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13622 Do not expect macro.
13623 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13624 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13625 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13626 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13627 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13628 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13629 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13630 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13631 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13632 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13633 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13634 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13635 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13636 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13637 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13638 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13639 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13640 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13641 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13642 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13643 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13644 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13645 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13646 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13647 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13648 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13649 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13650 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13651 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13652 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13653 [XPG3] (acosh): Likewise.
13654 [XPG3] (asinh): Likewise.
13655 [XPG3] (atanh): Likewise.
13656 [XPG3] (cbrt): Likewise.
13657 [XPG3] (expm1): Likewise.
13658 [XPG3] (ilogb): Likewise.
13659 [XPG3] (log1p): Likewise.
13660 [XPG3] (logb): Likewise.
13661 [XPG3] (nextafter): Likewise.
13662 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13663 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13664 [XPG3] (remainder): Likewise.
13665 [XPG3] (rint): Likewise.
13666 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13667 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13668 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13669 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13670 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13671 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13672 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13673 [UNIX98 || XOPEN2K] (scalb): Expect.
13674 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13675 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13676 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13677 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13678 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13679 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13680 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13681 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13682 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13683 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13684 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13685 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13686 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13687 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13688 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13689 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13690 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13691 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13692 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13693 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13694 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13695 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13696 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13697 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13698 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13699 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13700 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13701 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13702 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13703 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13704 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13706 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13707 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13708 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13715 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13716 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13717 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13751 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13753 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13754 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13755 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13756 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13757 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13758 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13759 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13760 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13762 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13763 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13764 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13765 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13766 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13767 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13768 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13769 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13770 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13771 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13772 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13773 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13774 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13775 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13776 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13777 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13778 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13779 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13780 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13781 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13782 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13783 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13784 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13785 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13786 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13787 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13788 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13789 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13790 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13791 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13792 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13793 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13794 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13795 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13796 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13797 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13798 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13799 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13800 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13801 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13802 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13803 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13804 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13805 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13806 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13807 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13808 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13809 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13810 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13811
73c5ebe3
JM
13812 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13813 _XOPEN_SOURCE_EXTENDED for XPG4.
13814
39c33b6c
JM
13815 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13816
62fde54f
JM
13817 * Makeconfig (localtime): Remove variable.
13818 (inst_localtime-file): Likewise.
13819
0741d64c
AS
138202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13821
13822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13823 Update.
13824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13825 Update.
13826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13827 Update.
13828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13829 Update.
13830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13831 Update.
13832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13833 Update.
13834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13835 Update.
13836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13837 Update.
13838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13839 Update.
13840
7cb029ee
JM
138412012-05-01 Joseph Myers <joseph@codesourcery.com>
13842
13843 [BZ #2550]
13844 [BZ #2570]
13845 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13846 comparisons to determine direction to adjust input.
13847 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13848 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13849 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13850 Likewise.
13851 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13852 Likewise.
13853 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13854 Likewise.
13855 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13856 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13857 Likewise.
13858 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13859 Likewise.
13860 * math/libm-test.inc (nexttoward_test): Add more tests.
13861
412bd966
AS
138622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13863
13864 [BZ #14040]
13865 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13866 in version GLIBC_2.1, not GLIBC_2.0.
13867 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13868 Likewise.
13869
9568c0c2
JM
138702012-04-30 Joseph Myers <joseph@codesourcery.com>
13871
adfbc8ac
JM
13872 [BZ #13942]
13873 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13874 (1 - x) * (1 + x).
13875 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13876 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13877 * math/libm-test.inc (acos_test): Add more tests.
13878 (asin_test): Likewise.
13879 * sysdeps/i386/fpu/libm-test-ulps: Update.
13880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13881
5ba3cc69
JM
13882 [BZ #14034]
13883 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13884 of square root.
13885 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13886 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13887 * math/libm-test.inc (acos_test_tonearest): New function.
13888 (acos_test_towardzero): Likewise.
13889 (acos_test_downward): Likewise.
13890 (acos_test_upward): Likewise.
13891 (asin_test_tonearest): Likewise.
13892 (asin_test_towardzero): Likewise.
13893 (asin_test_downward): Likewise.
13894 (asin_test_upward): Likewise.
13895 (main): Call the new functions.
13896 * sysdeps/i386/fpu/libm-test-ulps: Update.
13897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13898
9568c0c2
JM
13899 [BZ #13884]
13900 [BZ #13924]
13901 * math/e_exp10.c: Include <float.h>.
13902 (__ieee754_exp10): Handle underflow here rather than multiplying
13903 large negative argument by M_LN10.
13904 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13905 of __ieee754_expf.
13906 * math/e_exp10l.c: Include <float.h>.
13907 (__ieee754_exp10l): Handle underflow here rather than multiplying
13908 large negative argument by M_LN10l.
13909 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13910 spurious overflow exception on underflow.
13911
5ac3ea17
MP
139122012-04-29 Marek Polacek <polacek@redhat.com>
13913
13914 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13915 (__fortify_function): New macro.
13916 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13917 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13918 __extern_always_inline.
13919 * libio/bits/stdio2.h: Likewise.
13920 * libio/bits/stdio.h: Likewise.
13921 * string/string.h: Likewise.
13922 * string/bits/string3.h: Likewise.
13923 * include/stdio.h: Likewise.
13924 * stdlib/bits/stdlib.h: Likewise.
13925 * stdlib/stdlib.h: Likewise.
13926 * rt/bits/mqueue2.h: Likewise.
13927 * rt/mqueue.h: Likewise.
13928 * posix/bits/unistd.h: Likewise.
13929 * posix/unistd.h: Likewise.
13930 * io/bits/poll2.h: Likewise.
13931 * io/bits/fcntl2.h: Likewise.
13932 * io/fcntl.h: Likewise.
13933 * io/sys/poll.h: Likewise.
13934 * misc/bits/syslog.h: Likewise.
13935 * misc/bits/syslog-ldbl.h: Likewise.
13936 * misc/sys/syslog.h: Likewise.
13937 * socket/bits/socket2.h: Likewise.
13938 * socket/sys/socket.h: Likewise.
13939 * debug/tst-chk1.c: Likewise.
13940 * wcsmbs/bits/wchar2.h: Likewise.
13941 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13942 * wcsmbs/wchar.h: Likewise.
13943
ecf0ebfb
AJ
139442012-04-29 Andreas Jaeger <aj@suse.de>
13945
13946 * Makerules (tests): Remove enable-check-abi protection.
13947 (check-abi-warn): Remove.
13948 (check-abi-%): Remove check-abi-warn usage.
13949
13950 * configure.in: Remove check-abi configure option.
13951 * configure: Regenerated.
13952 * config.make.in (enable-check-abi): Remove.
13953
6d5c57fa
AS
139542012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13955
24c5d07e 13956 [BZ #14033]
ded5180a
AS
13957 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13958 double functions to double *_finite functions.
13959
7e0d315d
AS
13960 [BZ #13941]
13961 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13962 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13963 LDBL_MIN_EXP.
13964 * stdio-common/Makefile (tests): Add tst-sprintf3.
13965 * stdio-common/tst-sprintf3.c: New file.
13966
6d5c57fa
AS
13967 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13968 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13969
0749ff8b
JM
139702012-04-28 Joseph Myers <joseph@codesourcery.com>
13971
13972 * conform/conformtest.pl: Remove duplicate typed-constant
13973 handling.
13974
8dbd5d7b
DM
139752012-04-28 David S. Miller <davem@davemloft.net>
13976
13977 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13978 (check-abi-%): Remove AWK script prerequisite and explicit
13979 abilist directory.
13980 (check-abi): Rewrite to just diff the symlist with the abilist.
13981 (config-tls, config-abi-config): Delete, no longer used.
13982 (update-abi-%): Remove AWK script and explicit abilist directory.
13983 (update-abi): Rewrite to simply compare and conditionally copy the
13984 symlist and the sysdep abilist file. Remove update-abi-config
13985 checks.
13986 * abilist/ld.abilist: Remove.
13987 * abilist/libBrokenLocale.abilist: Remove.
13988 * abilist/libanl.abilist: Remove.
13989 * abilist/libcrypt.abilist: Remove.
13990 * abilist/libdl.abilist: Remove.
13991 * abilist/librt.abilist: Remove.
13992 * abilist/libthread_db.abilist: Remove.
13993 * abilist/libutil.abilist: Remove.
13994 * scripts/extract-abilist.awk: Remove.
13995 * scripts/merge-abilist.awk: Remove.
13996 * sysdeps/generic/libcidn.abilist: New file.
13997 * sysdeps/generic/libnss_compat.abilist: New file.
13998 * sysdeps/generic/libnss_db.abilist: New file.
13999 * sysdeps/generic/libnss_dns.abilist: New file.
14000 * sysdeps/generic/libnss_files.abilist: New file.
14001 * sysdeps/generic/libnss_hesiod.abilist: New file.
14002 * sysdeps/generic/libnss_nis.abilist: New file.
14003 * sysdeps/generic/libnss_nisplus.abilist: New file.
14004 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14005 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14006 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14007 file.
14008 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14009 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14010 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14011 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14012 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14013 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14014 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14015 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14016 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14017 file.
14018 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14019 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14020 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14021 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14022 file.
14023 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14024 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14025 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14026 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14027 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14028 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14029 file.
14030 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14031 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14032 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14033 file.
14034 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14036 New file.
14037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14038 New file.
14039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14040 New file.
14041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14042 New file.
14043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14044 New file.
14045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14046 New file.
14047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14048 New file.
14049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14050 New file.
14051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14052 New file.
14053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14054 New file.
14055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14056 New file.
14057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14058 New file.
14059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14060 New file.
14061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14062 file.
14063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14064 New file.
14065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14066 New file.
14067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14068 file.
14069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14070 New file.
14071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14072 New file.
14073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14074 file.
14075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14076 New file.
14077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14078 New file.
14079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14080 New file.
14081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14082 New file.
14083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14084 New file.
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14086 New file.
14087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14089 file.
14090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14091 New file.
14092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14093 file.
14094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14095 file.
14096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14097 file.
14098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14099 file.
14100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14101 file.
14102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14103 New file.
14104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14105 file.
14106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14107 file.
14108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14109 New file.
14110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14111 file.
14112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14114 file.
14115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14116 New file.
14117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14118 file.
14119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14120 file.
14121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14122 file.
14123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14124 file.
14125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14126 file.
14127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14128 New file.
14129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14130 file.
14131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14132 file.
14133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14134 New file.
14135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14136 file.
14137 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14138 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14139 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14140 file.
14141 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14142 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14143 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14144 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14145 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14146 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14147 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14148 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14149 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14150 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14153 file.
14154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14155 New file.
14156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14157 file.
14158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14159 file.
14160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14161 file.
14162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14163 file.
14164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14165 file.
14166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14167 New file.
14168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14169 New file.
14170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14171 file.
14172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14173 New file.
14174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14175 file.
14176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14178 file.
14179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14180 New file.
14181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14182 file.
14183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14184 file.
14185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14186 file.
14187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14188 file.
14189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14190 file.
14191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14192 New file.
14193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14194 New file.
14195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14196 file.
14197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14198 New file.
14199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14200 file.
14201
41d73a1b
JM
142022012-04-28 Joseph Myers <joseph@codesourcery.com>
14203
14204 * conform/conformtest.pl: Fix typo in handling typed-constant from
14205 allow-header.
14206
28aeeda4
JM
142072012-04-27 Joseph Myers <joseph@codesourcery.com>
14208
adae8f5e
JM
14209 * README: Cut down references to pre-2.6 Linux kernels and
14210 Linuxthreads. Update lists of configurations in libc and ports
14211 and sort alphabetically. Say "or newer" with Linux kernel version
14212 requirements.
14213
28aeeda4
JM
14214 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14215
a462cb63
RA
142162012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14217
14218 [BZ #887]
14219 * math/libm-test.inc (logb_test_downward): New test to expose
14220 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14221 rounding mode.
14222
6ad3493e
JM
142232012-04-27 Joseph Myers <joseph@codesourcery.com>
14224
14225 [BZ #14027]
14226 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14227 to be done.
14228 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14229 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14230
2ce4f015
JM
142312012-04-26 Joseph Myers <joseph@codesourcery.com>
14232
5aeb141a
JM
14233 * sysdeps/unix/i386/brk.S: Remove file.
14234 * sysdeps/unix/i386/dl-brk.S: Likewise.
14235 * sysdeps/unix/i386/pipe.S: Likewise.
14236 * sysdeps/unix/i386/sigreturn.S: Likewise.
14237 * sysdeps/unix/i386/syscall.S: Likewise.
14238 * sysdeps/unix/i386/vfork.S: Likewise.
14239 * sysdeps/unix/i386/wait.S: Likewise.
14240
7143acae
JM
14241 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14242 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14243
2ce4f015
JM
14244 * configure.in (arm*-none*): Do not allow without
14245 --enable-hacker-mode.
14246 (netbsd*): Remove case setting base_os.
14247 (386bsd*): Likewise.
14248 (freebsd*): Likewise.
14249 (bsdi*): Likewise.
14250 (osf*): Likewise.
14251 (sunos*): Likewise.
14252 (ultrix*): Likewise.
14253 (newsos*): Likewise.
14254 (dynix*): Likewise.
14255 (*bsd*): Likewise.
14256 (sysv*): Likewise.
14257 (isc*): Likewise.
14258 (esix*): Likewise.
14259 (sco*): Likewise.
14260 (minix*): Likewise.
14261 (irix4*): Likewise.
14262 (irix6*): Likewise.
14263 (solaris[2-9]*): Likewise.
14264 (none): Likewise.
14265 * configure: Regenerated.
14266
0ac229c8
AZ
142672012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14268
14269 [BZ #11521]
14270 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14271 overflow or cancellation in calculating denominator.
14272 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14273 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14274 down expression to avoid unexpected rounding in newer GCCs.
14275 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14276
33f244f4
DM
142772012-04-26 David S. Miller <davem@davemloft.net>
14278
14279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14280 long-double compat symbols.
14281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14294
cfa1f3e8
DM
142952012-04-25 David S. Miller <davem@davemloft.net>
14296
14297 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14298 HWCAP_* values only after the memory barriers have been defined.
14299 (atomic_full_barrier): Define.
14300 (atomic_read_barrier): Define.
14301 (atomic_write_barrier): Define.
14302
6e236b92
SP
143032012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14304
14305 * shlib-versions: Add libgcc_s version information.
14306 * sysdeps/generic/libgcc_s.h: Remove.
14307 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14308 libgcc_s.h.
14309 * sysdeps/gnu/unwind-resume.c: Likewise.
14310 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14311
aab39a09
DM
143122012-04-25 David S. Miller <davem@davemloft.net>
14313
14314 * sysdeps/unix/sparc/brk.S: Delete.
14315 * sysdeps/unix/sparc/dl-brk.S: Delete.
14316 * sysdeps/unix/sparc/pipe.S: Delete.
14317 * sysdeps/unix/sparc/sysdep.S: Delete.
14318 * sysdeps/unix/sparc/sysdep.h: Delete.
14319 * sysdeps/unix/sparc/vfork.S: Delete.
14320 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14321 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14322 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14323 ret_ERRVAL, r0, r1, MOVE): Define.
14324 (JUMPTARGET): Remove.
14325 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14326 sysdeps/unix/sparc/sysdep.h
14327 (ENTRY, END): Remove.
14328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14329
a3cc4f48
JM
143302012-04-25 Joseph Myers <joseph@codesourcery.com>
14331
2ed8cda2
JM
14332 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14333 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14334 -DIS_IN_build.
14335
35d76d59
JM
14336 * timezone/README: Update upstream location and email address for
14337 tzcode and tzdata.
14338 * timezone/zdump.c: Update from tzcode 2012b.
14339 * timezone/zic.c: Likewise.
14340
a3cc4f48
JM
14341 * configure.in (libc_cv_as_needed): Remove test.
14342 * configure: Regenerated.
14343 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14344 conditional definition.
14345 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14346 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14347 * config.make.in (have-as-needed): Remove variable.
14348
ceab42c3
SP
143492012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14350 Paul Pluzhnikov <ppluzhnikov@google.com>
14351
14352 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14353 strings correctly.
14354
3ce2865f
CLT
143552012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14356
14357 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14358 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14359 * sysdeps/sh/strlen.S: Likewise.
14360
f37e0d68
JM
143612012-04-24 Joseph Myers <joseph@codesourcery.com>
14362
ae186e9a
JM
14363 * sysdeps/unix/fork.S: Remove file.
14364 * sysdeps/unix/i386/fork.S: Likewise.
14365 * sysdeps/unix/sparc/fork.S: Likewise.
14366
b96914af
JM
14367 * sysdeps/unix/system.c: Remove file.
14368 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14369
f37e0d68
JM
14370 * sysdeps/unix/getegid.S: Remove file.
14371 * sysdeps/unix/geteuid.S: Likewise.
14372
87ef29ca
RM
143732012-04-24 Roland McGrath <roland@hack.frob.com>
14374
83bcd236
RM
14375 * scripts/check-localplt.awk: New file.
14376 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14377 of diff.
14378 * scripts/data/localplt-generic.data: Add a comment.
14379
87ef29ca
RM
14380 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14381 NODE when __dir_mkfile failed.
14382 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14383 Reported by Ludovic Courtès <ludo@gnu.org>.
14384
e5a6e567
AJ
143852012-04-24 Andreas Jaeger <aj@suse.de>
14386
14387 * Makerules (common-clean): Also remove gen-as-const-headers
14388 files.
14389
c1820385
JM
143902012-04-24 Joseph Myers <joseph@codesourcery.com>
14391
14392 * Makerules (native-compile): Do not change working directory for
14393 build. Use $(OUTPUT_OPTION) in command.
14394 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14395
94e02fc4
AZ
143962012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14397
14398 [BZ #13886]
14399 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14400 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14401 * math/libm-test.inc (floor_test): Add more tests.
14402 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14403
3a533ca3
JM
144042012-04-24 Joseph Myers <joseph@codesourcery.com>
14405
940ab4b3
JM
14406 * sysdeps/unix/getdents.c: Remove file.
14407 * sysdeps/unix/sysv/getdents.c: Likewise.
14408 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14409
90e037bd
JM
14410 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14411 sysdeps/unix/mman/syscalls.list.
14412 (mmap): Likewise.
14413 (mprotect): Likewise.
14414 (msync): Likewise.
14415 (munmap): Likewise.
14416 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14417 * sysdeps/unix/mman/syscalls.list: Remove.
14418 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14419
3a533ca3
JM
14420 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14421 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14422 * configure: Regenerated.
14423 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14424 $(libgcc_s_suffix).
14425 * config.make.in (libgcc_s_suffix): Remove variable.
14426
1ad743de
JM
144272012-04-23 Joseph Myers <joseph@codesourcery.com>
14428
4ad451e2
JM
14429 * sysdeps/unix/sysv/gethostname.c: Move to ...
14430 * sysdeps/posix/gethostname.c: ... here.
14431
5e37ce39
JM
14432 * sysdeps/unix/execve.S: Remove file.
14433
1ad743de
JM
14434 * sysdeps/unix/_exit.S: Remove file.
14435
4e681b5b
AJ
144362012-04-23 Andreas Jaeger <aj@suse.de>
14437
14438 [BZ #13739]
14439 * manual/Makefile: Remove make dist support, there's no
14440 need for a stand-alone documentation tar ball.
14441 (TEXI2DVI): Define always, it's not in Makeconfig.
14442 (dist): Removed.
14443 (tar-it): Removed.
14444 (edition): Removed.
14445 (glibc-doc-$(edition).tar): Removed
14446 (%.Z): Removed.
14447 (%.gz): Removed.
14448 (%.uu): Removed.
14449 (ETAGS): Remove, it's in Makeconfig.
14450 (move-if-change): Remove, it's in Makeconfig.
14451
38686a03 144522012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
14453
14454 [BZ #13970]
14455 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14456 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14457 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14458 (strtod_l, strtof_l, strtold_l): Remove __wur.
14459 It is not necessarily an error to ignore strtol's return value.
14460 One can reliably look at the stored endptr to decide whether
14461 the number had valid syntax.
14462
7c0616fa
AJ
144632012-04-21 Andreas Jaeger <aj@suse.de>
14464
803cb6b7 14465 [BZ #13739]
7c0616fa
AJ
14466 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14467
b0fe253f
JM
144682012-04-21 Joseph Myers <joseph@codesourcery.com>
14469
14470 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14471 * sysdeps/unix/sysv/Versions: Remove file.
14472
8280f22d
MT
144732012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14474
14475 [BZ #13927]
14476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14477
75ce411f 144782012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
14479
14480 [BZ #7064]
14481 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14482 version from __vm86.
14483
097d59fa
JM
144842012-04-20 Joseph Myers <joseph@codesourcery.com>
14485
a90f3bcb
JM
14486 * sysdeps/unix/common/lxstat.c: Remove file.
14487 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14488
edc7ea78
JM
14489 * sysdeps/unix/sysv/Makefile: Remove file.
14490
cb78c221
JM
14491 * sysdeps/unix/sysv/direct.h: Remove file.
14492
efa6a45f
JM
14493 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14494 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14495 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14496 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14497 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14498 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14499 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14500
9c9f2d0c
JM
14501 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14502
4541c83b
JM
14503 * sysdeps/unix/xmknod.c: Remove file.
14504 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14505
f5d153a0
JM
14506 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14507
aa746595
JM
14508 * sysdeps/unix/sysv/i386/time.S: Remove file.
14509
cce5905e
JM
14510 * sysdeps/unix/fxstat.c: Remove file.
14511 * sysdeps/unix/xstat.c: Likewise.
14512 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14513
37fa3841
JM
14514 * sysdeps/unix/sysv/sigaction.c: Remove file.
14515
ff1962a3
JM
14516 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14517 (sysdep_headers): Remove variable.
14518 [termio.h not in sysdep_headers] (generated): Likewise.
14519 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14520 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14521 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14522 * sysdeps/unix/sysv/tcflow.c: Likewise.
14523 * sysdeps/unix/sysv/tcflush.c: Likewise.
14524 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14525 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14526 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14527 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14528 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14529
e7740d31
JM
14530 * sysdeps/unix/siglist.c: Remove file.
14531
ee06f18b
JM
14532 * sysdeps/unix/getppid.S: Remove file.
14533
097d59fa
JM
14534 * sysdeps/unix/mkdir.c: Remove file.
14535 * sysdeps/unix/rmdir.c: Likewise.
14536
ff3d51ec
AS
145372012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14538
14539 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14540 ERR_MAX value.
14541 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14542 errlist-compat value.
14543
50f81fd7
DM
145442012-04-18 David S. Miller <davem@davemloft.net>
14545
14546 * sysdeps/generic/memcopy.h (reg_char): Delete.
14547 * debug/strcat_chk.c: Use char, not reg_char.
14548 * debug/strcpy_chk.c: Likewise.
14549 * debug/strncat_chk.c: Likewise.
14550 * debug/strncpy_chk.c: Likewise.
14551 * string/memchr.c: Likewise.
14552 * string/memrchr.c: Likewise.
14553 * string/rawmemchr.c: Likewise.
14554 * string/strcat.c: Likewise.
14555 * string/strchr.c: Likewise.
14556 * string/strchrnul.c: Likewise.
14557 * string/strcmp.c: Likewise.
14558 * string/strcpy.c: Likewise.
14559 * string/strncat.c: Likewise.
14560 * string/strncmp.c: Likewise.
14561 * string/strncpy.c: Likewise.
14562
8ff41c46
WS
145632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14564
14565 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14566 __builtin_memcopy is called when src and dest ranges are known to not
14567 overlap.
14568
6b652f46
WS
145692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14570
14571 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14572 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14573 fwd_align_merge macro call.
14574 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14575 bwd_align_merge macro call.
14576 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14577
b282631e
WS
145782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14579
14580 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14581 bwd_align_merge macros.
14582 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14583 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14584 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14585
95aa737c
DM
145862012-04-18 David S. Miller <davem@davemloft.net>
14587
14588 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14589
7a99a614
AJ
145902012-04-18 Andreas Jaeger <aj@suse.de>
14591
14592 [BZ# 6794]
14593 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14594 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14595 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14596
14597 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14598 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14599 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14600
14601 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14602 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14603 Adjust for changed ldbl-128 files.
14604
14605 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14606 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14607 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14608
e5270c23
DM
146092012-04-17 David S. Miller <davem@davemloft.net>
14610
14611 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14612
fb5e92c9
AS
146132012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14614
14615 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14616 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14617 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14618 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14619 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14620 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14621
76da7265
AZ
146222012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14623
14624 [BZ #6794]
14625 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14626 * math/libm-test.inc: Add ilogb errno and exception tests.
14627 * math/w_ilogb.c: New file: ilogb wrapper.
14628 * math/w_ilogbf.c: New file: ilogbf wrapper.
14629 * math/w_ilogbl.c: New file: ilogbl wrapper.
14630 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14631 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14632 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14633 exception being thrown with 0.0 as argument.
14634 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14635 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14636 exception being thrown with 0.0 as argument.
14637 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14638 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14639 exception being thrown with 0.0 as argument.
14640 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14641 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14642 exception being thrown with 0.0 as argument.
14643 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14644 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 14645 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
14646 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14647 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14648 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14649 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14650 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14651 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14652
0396e69d
PB
146532012-04-17 Petr Baudis <pasky@ucw.cz>
14654
14655 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14656 with altivec.
14657
750b5926
MP
146582012-04-16 Marek Polacek <polacek@redhat.com>
14659
14660 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14661
751728a1
MP
146622012-04-16 Marek Polacek <polacek@redhat.com>
14663
14664 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14665 operands of fdivp instruction.
14666
34a27407
L
146672012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14668
14669 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14670 * elf/tst-auditmod3b.c: Likewise.
14671 * elf/tst-auditmod4b.c: Likewise.
14672 * elf/tst-auditmod5b.c: Likewise.
14673 * elf/tst-auditmod6b.c: Likewise.
14674 * elf/tst-auditmod6c.c: Likewise.
14675 * elf/tst-auditmod7b.c: Likewise.
14676 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14677 * sysdeps/x86_64/preconfigure.in: Likewise.
14678 * sysdeps/x86_64/preconfigure: Regenerated.
14679
7e73e17d
L
146802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14681
14682 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14683 __ILP32__.
14684
c7a6ab72
AB
146852012-04-13 Antoine Balestrat <merkil33@gmail.com>
14686
14687 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14688 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14689
a9e8e0e0
CL
146902012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14691
14692 [BZ #13973]
14693 * locale/iso-639.def: Fix gl language name. Spotted by
14694 Yaron Shahrabani.
14695
ec98af7d
RM
146962012-04-12 Roland McGrath <roland@hack.frob.com>
14697
14698 [BZ #2074]
14699 * libio/libio.h (__io_write_fn): Update comment.
14700
247c3ede
PB
147012012-04-12 Petr Baudis <pasky@ucw.cz>
14702
14703 [BZ #2074]
14704 * stdio.texi (Hook Functions): The user provided writer function
14705 is not allowed to return -1.
14706
55939d6d
DM
147072012-04-11 David S. Miller <davem@davemloft.net>
14708
14709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14710
90020f5a
MF
147112012-04-11 Mike Frysinger <vapier@gentoo.org>
14712
14713 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14714 Add a leading slash to rtkaio.
14715
288f9098
JM
147162012-04-11 Jim Meyering <meyering@redhat.com>
14717
90020f5a
MF
14718 [BZ #11959]
14719 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14720 It is not necessarily an error to ignore fwrite's return
14721 value. One can reliably use ferror to test for errors after
14722 the fact.
288f9098 14723
4be2b570
L
147242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14725
14726 * bits/types.h (__snseconds_t): New type.
14727 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14728
14729 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14730 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14731 (__SNSECONDS_T_TYPE): Likewise.
14732 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14733 (__SNSECONDS_T_TYPE): Likewise.
14734 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14735 (__SNSECONDS_T_TYPE): Likewise.
14736
288f9098 147372012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14738
14739 [BZ #2636]
14740 * manual/time.texi (Processor Time): Return type of times is
14741 elapsed real time since an arbitrary point in the past.
14742 (CPU Time): Move CLK_TCK from here...
14743 (Processor Time): ...to here. Correct description.
14744 * manual/conf.texi (Constants for Sysconf): Correct description of
14745 _SC_CLK_TCK.
14746
d7dd4413
DM
147472012-04-10 David S. Miller <davem@davemloft.net>
14748
14749 [BZ #13967]
14750 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14751 where the is a gap between DT_REL(A) and DT_JMPREL.
14752
b46068fc
L
147532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14754
14755 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14756 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14757 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14758
73d65cc3
SP
147592012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14760
14761 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14762 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14763 (dl_main): Handle --inhibit-cache.
14764 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14765 _dl_inhibit_cache.
14766 * elf/dl-load.c (_dl_map_object): Use it.
14767 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14768
bcc8d661
JM
147692012-04-09 Joseph Myers <joseph@codesourcery.com>
14770
8f9a2fae
JM
14771 [BZ #13872]
14772 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14773 (__ieee754_powl): Saturate large exponents rather than testing for
14774 overflow of y*log2(x).
14775 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14776 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14777 exceptions.
14778
bcc8d661
JM
14779 [BZ #11521]
14780 * math/s_ctan.c: Include <float.h>.
14781 (__ctan): Avoid internal overflow or cancellation in calculating
14782 denominator.
14783 * math/s_ctanf.c: Likewise.
14784 * math/s_ctanl.c: Likewise.
14785 * math/s_ctanh.c: Likewise.
14786 * math/s_ctanhf.c: Likewise.
14787 * math/s_ctanhl.c: Likewise.
14788 * math/libm-test.inc (ctan_test): Add more tests.
14789 (ctanh_test): Likewise.
14790 * sysdeps/i386/fpu/libm-test-ulps: Update.
14791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14792
823fbbb4
AJ
147932012-04-09 Andreas Jaeger <aj@suse.de>
14794
03879793
AJ
14795 [BZ #6894]
14796 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14797 is an optional BSD extension.
14798
823fbbb4
AJ
14799 [BZ #10254]
14800 * manual/stdio.texi (Opening Streams): Document additional fopen
14801 parameters.
14802
8de131cb
RM
148032012-04-09 Roland McGrath <roland@hack.frob.com>
14804
14805 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14806 %eax without telling the compiler.
14807
c0ed9d7d
CD
148082012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14809
14810 [BZ # 13963]
14811 * manual/install.texi: Use sourceware.org.
14812
c483f6b4
JM
148132012-04-09 Joseph Myers <joseph@codesourcery.com>
14814
d7dd9453
JM
14815 [BZ #13873]
14816 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14817 (__ieee754_pow): Generate overflow and underflow using huge*huge
14818 and tiny*tiny rather than just returning constant infinity or zero
14819 for large exponents.
14820 * math/libm-test.inc (pow_test): Require overflow exceptions for
14821 applicable cases of large exponents.
14822
c483f6b4
JM
14823 [BZ #706]
14824 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14825 (__ieee754_pow): Use iterative multiplication algorithm only for
14826 integer exponents with absolute value below 1024. Check for odd
14827 integer exponents when using algorithm for real exponents.
14828 * math/libm-test.inc (pow_test): Add more tests.
14829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14830
d2de7579
JM
148312012-04-08 Joseph Myers <joseph@codesourcery.com>
14832
14833 [BZ #13705]
14834 * math/libm-test.inc (exp_test): Do not allow overflow exception
14835 on underflow test.
14836
f77f1232
AJ
148372012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14838
14839 [BZ #13705]
14840 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14841 instead of __kernel_standard_f.
14842
3884932b
MF
148432012-04-08 Mike Frysinger <vapier@gentoo.org>
14844
14845 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14846 * sysdeps/x86_64/memset_chk.S: Likewise.
14847
54472e9c
AJ
148482012-04-08 Andreas Jaeger <aj@suse.de>
14849
6ab0fbfc
AJ
14850 [BZ #10153]
14851 * manual/startup.texi (Environment Access): Describe return value
14852 for putenv and setenv.
14853
61efba8c
AJ
14854 [BZ #6895]
14855 * manual/filesys.texi (Directory Entries): Add description for
14856 DT_LNK.
14857
95c3f29a
AJ
14858 [BZ #6890]
14859 * manual/filesys.texi (Directory Entries): Clarify that it's file
14860 system not operating system in the description of DT_UNKNOWN.
14861
54472e9c
AJ
14862 [BZ #6578]
14863 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14864
624254b1
SC
148652012-04-08 Stephen Compall <s11@member.fsf.org>
14866
14867 [BZ #6649]
14868 * manual/llio.texi (Opening and Closing Files): Add cross
14869 reference to explain mode argument.
14870
1e4920e0
MF
148712012-04-07 Mike Frysinger <vapier@gentoo.org>
14872
14873 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14874 * sysdeps/x86_64/memset_chk.S: Likewise.
14875
5ed848f3
DM
148762012-04-07 David S. Miller <davem@davemloft.net>
14877
14878 * elf/elf.h (R_SPARC_WDISP10): Define.
14879 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14880 R_SPARC_SIZE32.
14881 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14882 R_SPARC_SIZE64 and R_SPARC_H34.
14883
96154cd8
CD
148842012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14885
14886 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14887 conditions and remove no longer applicable assertion.
14888
9904dc47
L
148892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14890
14891 * bits/byteswap.h: Include <features.h>.
14892 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14893 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14894
f8887d0a
L
148952012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14896
14897 * bits/byteswap.h (__bswap_16): Removed.
14898 Include <bits/byteswap-16.h> to get __bswap_16.
14899 * sysdeps/i386/bits/byteswap.h: Likewise.
14900 * sysdeps/s390/bits/byteswap.h: Likewise.
14901 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14902 * bits/byteswap-16.h: New file.
14903 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14904 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14905 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14906 * string/Makefile (headers): Add bits/byteswap-16.h.
14907
62470f60
PP
149082012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14909
14910 [BZ #13895]
14911 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14912 extra indirection.
14913 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14914 * nss/tst-nss-static.c: New.
14915
4dad7bab
RM
149162012-04-06 Robert Millan <rmh@gnu.org>
14917
14918 [BZ #6486]
14919 * manual/llio.texi (File Position Primitive): lseek
14920 refers to WHENCE when it really means OFFSET.
14921
e9142a17
AJ
149222012-04-06 Andreas Jaeger <aj@suse.de>
14923
2c040eff
AJ
14924 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14925 strncmp declarations.
14926
e9142a17
AJ
14927 * abilist/libc.abilist: Add __poll and __ppoll.
14928
ff9f1c5f
DM
149292012-04-05 David S. Miller <davem@davemloft.net>
14930
dcd2ae90
DM
14931 * scripts/check-local-headers.sh: Accept a host triplet in the
14932 path matched by the exclude regexp.
14933
993eb054
DM
14934 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14935 definition.
14936 * sysdeps/powerpc/powerpc32/dl-machine.h
14937 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14938 * sysdeps/s390/s390-32/dl-machine.h
14939 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14940 * sysdeps/sparc/sparc32/dl-machine.h
14941 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14942 * sysdeps/sparc/sparc64/dl-machine.h
14943 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14944
ff9f1c5f
DM
14945 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14946 lazy binding.
48e2e132 14947 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14948 undefined symbol errors.
14949
48e2e132 14950 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14951 DT_NEEDED entries.
14952
e80d6f94
MM
149532012-04-05 Michael Matz <matz@suse.de>
14954
14955 [BZ #13592]
14956 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14957
349fa79f
AJ
149582012-04-05 Andreas Jaeger <aj@suse.de>
14959
14960 [BZ #13908]
14961 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14962 comment.
14963
f402708f
KK
149642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14965
14966 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14967 which ROUND is no valid rounding mode.
14968
2ecccfc9
KK
149692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14970
14971 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14972 read again.
14973 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14974
8a53f50f
KK
149752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14976
14977 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14978 an exception using FPU order intentionally.
14979
149802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14981
14982 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14983 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14984 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14985 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14986
d653abb7
SJ
149872012-04-05 Simon Josefsson <simon@josefsson.org>
14988
14989 [BZ #12340]
14990 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14991 EINVAL when BUFLEN is too smal.
14992
c3b1bf7d
TS
149932012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14994
14995 [BZ #13553]
14996 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14997 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14998
b1aa60f3
AJ
149992012-04-03 Andreas Jaeger <aj@suse.de>
15000
c3b1bf7d 15001 [BZ #13938]
67f60a26
AJ
15002 * manual/setjmp.texi (System V contexts): Fix sentence.
15003
b1aa60f3
AJ
15004 [BZ #13926]
15005 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15006 New macro for this case.
15007 [!__GNUC__] (__bswap_64): New inline function for this case.
15008 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15009 * bits/byteswap.h: Likewise.
15010 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15011 ull, guard with __GLIBC_HAVE_LONG_LONG.
15012
15013 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15014 __GLIBC_HAVE_LONG_LONG.
15015
15016 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15017 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15018
39c59c35
TMQMF
150192012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15020
15021 [BZ #13691]
15022 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15023 inptr and inend, rather than using last_ch.
15024
135ffda8
DM
150252012-04-02 David S. Miller <davem@davemloft.net>
15026
15027 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15028 * stdio-common/printf-parse.h (read_int): Change return type to
15029 'int', return -1 on INT_MAX overflow.
15030 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15031 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15032 overflows INT_MAX. Check for overflow of in-format-string precision
15033 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15034 SIZE_MAX not INT_MAX for integer overflow test.
15035 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15036 skip the construct in the format string but do not record anything.
15037 * stdio-common/bug22.c: Adjust to test both width/prevision
15038 INT_MAX overflow as well as total length INT_MAX overflow. Check
15039 explicitly for proper errno values.
15040
228c019e
TS
150412012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15042
302cadd3
TS
15043 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15044 CHAR_MAX.
15045 * string/test-strcmp.c [! WIDE]: Likewise.
15046 * time/tst-mktime2.c: Likewise for INT_MAX.
15047 * string/test-string.h: #include <sys/param.h> for MIN.
15048
228c019e
TS
15049 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15050 * sysdeps/i386/init-first.c (init): Likewise.
15051 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15052 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15053 * sysdeps/sh/init-first.c (init): Likewise.
15054
cfa633f5
UD
150552012-04-01 Ulrich Drepper <drepper@gmail.com>
15056
15057 * po/ru.po: Update from translation team.
d1635ef8 15058 * po/vi.po: Likewise.
cfa633f5 15059
6cd0a5ea
SP
150602012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15061
15062 * resolv/nss_dns/dns-host.c: Merge copyright years.
15063
4b43400f
LD
150642012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15065
15066 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15067 Optimize memcpy with prefetch if
15068 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15069 src, dst pointers have unequal 16 byte alignments.
15070
48c41d04
SP
150712012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15072
15073 [BZ #13928]
15074 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15075 from a CNAME entry and return the minimum ttl for the query.
15076 (gaih_getanswer_slice): Likewise.
15077
b8dc394d
JL
150782012-03-30 Jeff Law <law@redhat.com>
15079
15080 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15081 due to long keys.
15082 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15083 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15084
2f5a5ed0
JL
15085 * resolv/nss_dns/dns-host.c: Update copyright year.
15086
1d39e359
UD
150872012-03-30 Ulrich Drepper <drepper@gmail.com>
15088
c030f70c 15089 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15090 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15091
1d39e359
UD
15092 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15093 comments for sendmmsg.
15094
150952012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15096
15097 [BZ #13691]
15098 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15099 with only 1 character between 0x0041 and 0x01b0.
15100 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15101 * wcsmbs/tst-mbsnrtowcs.c: New file.
15102
20fde227
DM
151032012-03-29 David S. Miller <davem@davemloft.net>
15104
15105 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15106 small copies by hand.
15107
984a4237
JL
151082012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15109
15110 [BZ #13761]
15111 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15112 _nss_compat_initgroups_dyn): Fall back to malloc/free
15113 for large group memberships.
15114
18c9d62b
DM
151152012-03-28 David S. Miller <davem@davemloft.net>
15116
88d85d4f
DM
15117 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15118 that branches into memcpy.
15119 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15120 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15121 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15122 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15123 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15124 bits.
15125 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15126 implementation too.
15127 * sysdeps/sparc/mempcpy.S: New file.
15128
e5aa83e1
DM
15129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15130 the IFUNC routine in the libc case.
15131 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15132
88570753
DM
15133 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15134 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15135 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15136 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15137 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15138 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15139 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15140 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15141
249d7567
DM
15142 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15143 loop to 256 bytes instead of 64 bytes and fix test signedness.
15144
18c9d62b
DM
15145 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15146 * sysdeps/sparc/sparc32/Makefile: rather than here...
15147 * sysdeps/sparc/sparc64/Makefile: and here.
15148
05f3d1f6
UD
151492012-03-28 Ulrich Drepper <drepper@gmail.com>
15150
15151 * malloc/mallocbug.c: Avoid warnings about unused variables.
15152
86ae07a8
JL
151532012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15154
15155 [BZ #13760]
15156 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15157 in the right place. Discard and retry query if response is
15158 larger than input buffer size.
15159
41bf21a1
JM
151602012-03-28 Joseph Myers <joseph@codesourcery.com>
15161
d6270972
JM
15162 [BZ #369]
15163 [BZ #2678]
15164 [BZ #3866]
15165 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15166 x for large integer exponent.
15167 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15168 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15169 sign of result as needed afterwards.
15170 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15171 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15172 result for underflowing pow the same as for overflow.
15173 (__kernel_standard_l): Handle powl overflow and underflow here
15174 rather than calling __kernel_standard.
15175 * math/libm-test.inc (pow_test): Add more tests.
15176
414fca03 15177 [BZ #3868]
41bf21a1
JM
15178 [BZ #13879]
15179 [BZ #13910]
15180 [BZ #13911]
15181 [BZ #13912]
15182 [BZ #13913]
15183 [BZ #13915]
15184 [BZ #13916]
15185 [BZ #13917]
15186 [BZ #13918]
15187 [BZ #13919]
15188 [BZ #13920]
15189 [BZ #13921]
15190 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15191 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15192 (__kernel_standard_l): New function.
15193 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15194 __kernel_standard.
15195 * math/w_acosl.c (__acosl): Likewise.
15196 * math/w_asinl.c (__asinl): Likewise.
15197 * math/w_atan2l.c (__atan2l): Likewise.
15198 * math/w_atanhl.c (__atanhl): Likewise.
15199 * math/w_coshl.c (__coshl): Likewise.
15200 * math/w_exp10l.c (__exp10l): Likewise.
15201 * math/w_exp2l.c (__exp2l): Likewise.
15202 * math/w_fmodl.c (__fmodl): Likewise.
15203 * math/w_hypotl.c (__hypotl): Likewise.
15204 * math/w_j0l.c (__j0l, __y0l): Likewise.
15205 * math/w_j1l.c (__j1l, __y1l): Likewise.
15206 * math/w_jnl.c (__jnl, __ynl): Likewise.
15207 * math/w_lgammal.c (__lgammal): Likewise.
15208 * math/w_log10l.c (__log10l): Likewise.
15209 * math/w_log2l.c (__log2l): Likewise.
15210 * math/w_logl.c (__logl): Likewise.
15211 * math/w_powl.c (__powl): Likewise.
15212 * math/w_remainderl.c (__remainderl): Likewise.
15213 * math/w_scalbl.c (sysv_scalbl): Likewise.
15214 * math/w_sinhl.c (__sinhl): Likewise.
15215 * math/w_sqrtl.c (__sqrtl): Likewise.
15216 * math/w_tgammal.c (__tgammal): Likewise.
15217 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15218 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15219 * math/libm-test.inc (acos_test): Add more tests.
15220 (acosh_test): Likewise.
15221 (asin_test): Likewise.
15222 (atanh_test): Likewise.
15223 (exp_test): Likewise.
15224 (exp10_test): Likewise.
15225 (exp2_test): Likewise.
15226 (expm1_test): Likewise.
15227 (lgamma_test): Likewise.
15228 (log_test): Likewise.
15229 (log10_test): Likewise.
15230 (log1p_test): Likewise.
15231 (log2_test): Likewise.
15232 (pow_test): Do not allow some spurious overflow exceptions.
15233 (sqrt_test): Add more tests.
15234 (tgamma_test): Likewise.
15235 (y0_test): Likewise.
15236 (y1_test): Likewise.
15237 (yn_test): Likewise.
15238
dd62fda6
AB
152392012-03-27 Anton Blanchard <anton@samba.org>
15240
15241 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15242 MAP_HUGETLB.
15243 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15244 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15245 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15246
1e3cdfda
AJ
152472012-03-27 David S. Miller <davem@davemloft.net>
15248
b855ab85
DM
15249 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15250
1e3cdfda
AJ
15251 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15252 have-as-vis3 check.
15253
152542012-03-27 Andreas Jaeger <aj@suse.de>
15255
15256 * sysdeps/x86_64/elf/configure.in: Moved to ...
15257 * sysdeps/x86_64/configure.in: ... here.
15258 * sysdeps/x86_64/elf/start.S: Moved to ...
15259 * sysdeps/x86_64/start.S: ... here.
15260 * sysdeps/x86_64/elf/configure: Delete.
15261
15262 * sysdeps/x86_64/configure.in: Merge contents from
15263 sysdeps/i386/configure.in (without i686 check).
15264
15265 * sysdeps/i386/elf/Versions: Merge into ...
15266 * sysdeps/i386/Versions: ... this.
15267 * sysdeps/i386/elf/Versions: Delete file.
15268 * sysdeps/i386/elf/start.S: Moved to ...
15269 * sysdeps/i386/start.S: ...here.
15270 * sysdeps/i386/elf/configure.in: Merge into...
15271 * sysdeps/i386/configure.in: ...here.
15272 * sysdeps/i386/elf/configure.in: Delete file.
15273 * sysdeps/i386/elf/configure: Delete file.
15274
15275 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15276 * debug/backtracesyms.c: ... here.
15277 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15278 * debug/backtracesymsfd.c: ... here.
15279 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15280 * sysdeps/generic/ifunc-sel.h: ... here.
15281
15282 * sysdeps/unix/i386/start.c: Delete file.
15283 * sysdeps/unix/sparc/start.c: Delete file.
15284 * sysdeps/unix/start.c: Delete file.
15285
15286 * sysdeps/sh/elf/configure.in: Moved to ...
15287 * sysdeps/sh/configure.in: ... here.
15288 * sysdeps/sh/elf/start.S: Moved to ...
15289 * sysdeps/sh/start.S: ... here.
15290 * sysdeps/sh/elf/configure: Delete file.
15291
15292 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15293 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15294 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15295 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15296 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15297 * sysdeps/powerpc/powerpc64/start.S: here.
15298 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15299 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15300 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15301 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15302 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15303
15304 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15305 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15306 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15307 * sysdeps/powerpc/powerpc32/start.S: ... here.
15308 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15309 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15310 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15311
15312 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15313 * sysdeps/powerpc/ifunc-sel.h: ... here.
15314 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15315 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15316
15317 * sysdeps/sparc/elf/configure.in: Moved to ...
15318 * sysdeps/sparc/configure.in: ... here.
15319 * sysdeps/sparc/elf/configure: Delete file.
15320 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15321 * sysdeps/sparc/sparc32/start.S: ... here.
15322 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15323 * sysdeps/sparc/sparc64/start.S: ... here.
15324 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15325 * sysdeps/sparc/sparc32/Makefile: ... this.
15326 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15327 * sysdeps/sparc/sparc64/Makefile: ... this.
15328
15329 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15330 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15331 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15332 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15333 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15334 * sysdeps/s390/s390-32/setjmp.S: ... here.
15335 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15336 * sysdeps/s390/s390-32/configure.in: ... here.
15337 * sysdeps/s390/s390-32/elf/configure: Delete file.
15338 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15339 * sysdeps/s390/s390-32/start.S: ... here.
15340
15341 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15342 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15343 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15344 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15345 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15346 * sysdeps/s390/s390-64/setjmp.S: ... here.
15347 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15348 * sysdeps/s390/s390-64/configure.in: ... here
15349 * sysdeps/s390/s390-64/elf/configure: Delete file.
15350 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15351 * sysdeps/s390/s390-64/start.S: ... here.
15352 * sysdeps/s390/s390-64/elf/configure: Delete.
15353
15354 * configure.in: Remove support for elf directories in sysdeps.
15355
15356 * configure: Regenerated.
15357 * sysdeps/i386/configure: Regenerated.
15358 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15359 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15360 * sysdeps/s390/s390-32/configure: Regenerated.
15361 * sysdeps/s390/s390-64/configure: Regenerated.
15362 * sysdeps/sh/configure: Regenerated.
15363 * sysdeps/sparc/configure: Regenerated.
15364 * sysdeps/x86_64/configure: Regenerated.
15365
a3f61311
AS
153662012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15367
c876e002
AS
15368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15369
a3f61311
AS
15370 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15371 denormal result into account.
15372
ac4c54f0
RM
153732012-03-25 Roland McGrath <roland@hack.frob.com>
15374
15375 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15376 Reported by Allan McRae <allan@archlinux.org>.
15377
6a9b9c02
JL
153782012-03-23 Jeff Law <law@redhat.com>
15379
15380 * nss/getnssent.c (__nss_getent): Fix typo.
15381
4c42a0c1
DM
153822012-03-23 David S. Miller <davem@davemloft.net>
15383
15384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15385
1532c7ac
L
153862012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15387
15388 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15389 to pad to uint64_t for each field.
15390 (dl_tls_index): Replace unsigned long with uint64_t.
15391
3ff42526
PP
153922012-03-23 Daniel Jacobowitz <dmj@google.com>
15393 Paul Pluzhnikov <ppluzhnikov@google.com>
15394
15395 [BZ #6528]
15396 * grp/Makefile (otherlibs): Don't set it.
15397 * inet/Makefile (otherlibs): Likewise.
15398 * login/Makefile (otherlibs): Likewise.
15399 * nscd/Makefile (otherlibs): Likewise.
15400 * posix/Makefile (otherlibs): Likewise.
15401 * pwd/Makefile (otherlibs): Likewise.
15402 * rt/Makefile (otherlibs): Likewise.
15403 * sunrpc/Makefile (otherlibs): Likewise.
15404 * nss/Makefile (otherlibs): Likewise.
15405 Add libnss_files to routines and static-only-routines.
15406 ($(objpfx)getent): Remove rule.
15407 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15408 static-only-routines.
15409
7c69cd14
JM
154102012-03-22 Joseph Myers <joseph@codesourcery.com>
15411
15412 [BZ #13892]
15413 * math/s_cexp.c: Include <float.h>.
15414 (__cexp): Handle exp result overflowing not necessarily
15415 overflowing both real and imaginary parts of result.
15416 * math/s_cexpf.c: Likewise.
15417 * math/s_cexpl.c: Likewise.
15418 * math/libm-test.inc (cexp_test): Add more tests.
15419 * sysdeps/i386/fpu/libm-test-ulps: Update.
15420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15421
81b035fe
L
154222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15423
15424 * include/link.h (ELFW): New macro.
15425 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15426 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15427
1da7940c
L
154282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15429
15430 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15431 with uint64_t.
15432
b749dbb9
L
154332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15434
15435 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15436 declaration.
15437 (struct La_x32_retval): Likewise.
15438
2ff87f3f
L
154392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15440
15441 * sysdeps/x86_64/preconfigure.in: New file.
15442 * sysdeps/x86_64/preconfigure: New generated file.
15443
c0df8e69
JM
154442012-03-22 Joseph Myers <joseph@codesourcery.com>
15445
48e44791
JM
15446 [BZ #13824]
15447 * math/e_exp2l.c: Include <float.h>.
15448 (__ieee754_exp2l): Handle overflow and underflow cases
15449 separately. Only pass fractional part of argument to
15450 __ieee754_expl.
15451 * math/libm-test.inc (exp2_test): Add more tests.
15452
c0df8e69
JM
15453 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15454 negating x to take absolute value.
15455 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15456 Likewise.
15457 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15458 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15459 Likewise.
15460 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15461 computing low part if x was negated.
15462 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15463
c8e43ba7
L
154642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15465
15466 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15467 la_x32_gnu_pltexit.
15468 (pltexit): Cast int_retval to ptrdiff_t.
15469 * elf/tst-auditmod3b.c: Likewise.
15470 * elf/tst-auditmod4b.c: Likewise.
15471 * elf/tst-auditmod5b.c: Likewise.
15472 * elf/tst-auditmod6b.c: Likewise.
15473 * elf/tst-auditmod6c.c: Likewise.
15474 * elf/tst-auditmod7b.c: Likewise.
15475
15476 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15477 and x32_gnu_pltexit.
15478
15479 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15480 __ELF_NATIVE_CLASS.
15481 (La_x32_regs): New macro.
15482 (La_x32_retval): Likewise.
15483 (la_x32_gnu_pltenter): New function prototype.
15484 (la_x32_gnu_pltexit): Likewise.
15485
7998fa78
AS
154862012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15487
dcb33988
AS
15488 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15489 exponent.
15490
233fc563
AS
15491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15492
7998fa78
AS
15493 * configure.in (libc_cv_cc_nofma): Check for option to disable
15494 generation of FMA instructions.
15495 * configure: Regenerate.
15496 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15497 * sysdeps/ieee754/dbl-64/Makefile: New file.
15498 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15499 Remove brandred-fma4.
15500 (CFLAGS-brandred-fma4.c): Remove.
15501 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15502 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15503 define.
15504 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15505 define.
15506
8e95c99a
L
155072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15508
15509 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15510 LLONG_MAX != LONG_MAX.
15511 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15512 (_fitoa_word): Likewise.
15513 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15514 LLONG_MAX != LONG_MAX.
15515 * stdio-common/_itowa.h: Include <_itoa.h>.
15516 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15517 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15518 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15519 only if not defined.
15520 (_ITOA_WORD_TYPE): Likewise.
15521 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15522 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15523
6f4db457
DM
155242012-03-21 David S. Miller <davem@davemloft.net>
15525
15526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15527
7785fe5a
L
155282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15529
15530 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15531 of x86_64 when setting libc_cv_slibdir, libdir and
15532 libc_cv_localedir.
15533 * sysdeps/unix/sysv/linux/configure: Regenerated.
15534
4535cd55
JM
155352012-03-21 Joseph Myers <joseph@codesourcery.com>
15536
15537 * manual/lang.texi (Old Varargs): Remove section.
15538 (How Variadic): Update menu.
15539 (va_start): Do not mention varargs.h.
15540
17228132
TS
155412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15542 Joseph Myers <joseph@codesourcery.com>
15543
15544 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15545 link test.
15546 * configure: Regenerated.
15547
8149f976
TS
155482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15549
05f3d1f6
UD
15550 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15551 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15552 conformtest.pl
8149f976 15553
1a4ac776
JM
155542012-03-21 Joseph Myers <joseph@codesourcery.com>
15555
be22ce65
JM
15556 * NOTES: Remove.
15557 * Makefile (files-for-dist): Remove NOTES.
15558 (NOTES): Remove rule.
15559 * README: Don't refer to NOTES.
15560 * manual/creature.texi: Don't include macros.texi.
15561 * manual/intro.texi (creature.texi): Remove comment referring to
15562 NOTES.
15563
40b601fb
JM
15564 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15565 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15566 * configure: Regenerated.
15567 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15568 LIBC_TRY_CC_OPTION.
15569 (libc_cv_as_i686): Likewise.
15570 (libc_cv_cc_avx): Likewise.
15571 (libc_cv_cc_sse2avx): Likewise.
15572 (libc_cv_cc_fma4): Likewise.
15573 (libc_cv_cc_novzeroupper): Likewise.
15574 * sysdeps/i386/configure: Regenerated.
15575
1a4ac776
JM
15576 [BZ #13883]
15577 * sysdeps/i386/fpu/s_cexp.S: Remove.
15578 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15579 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15580 * math/libm-test.inc (cexp_test): Add more tests.
15581 * sysdeps/i386/fpu/libm-test-ulps: Update.
15582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15583
a458e7fe
AM
155842012-03-21 Allan McRae <allan@archlinux.org>
15585
15586 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15587
0cb7efc5
JM
155882012-03-21 Joseph Myers <joseph@codesourcery.com>
15589
15590 [BZ #13871]
15591 * math/w_exp2.c: Do not include <float.h>.
15592 (o_threshold, u_threshold): Remove.
15593 (__exp2): Calculate result before checking finiteness and calling
15594 __kernel_standard.
15595 * math/w_exp2f.c: Likewise.
15596 * math/w_exp2l.c: Likewise.
15597 * math/libm-test.inc (exp2_test): Require overflow exception for
15598 1e6 input.
2460d3aa
JM
15599
15600 [BZ #3866]
15601 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15602 range of signed 64-bit integers before using fistpll. Remove
15603 checks for whether integers fit in mantissa bits.
15604 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15605 the range of signed 32-bit integers before using fistpl. Remove
15606 checks for whether integers fit in mantissa bits.
15607 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15608 (__ieee754_powl): Test for y outside the range of signed 64-bit
15609 integers before using fistpll. Reduce 64-bit values to 63-bit
15610 ones as needed.
15611 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15612 divide-by-zero is raised for zero to large negative powers.
15613 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15614 (__ieee754_powl): Test for y outside the range of signed 64-bit
15615 integers before using fistpll. Reduce 64-bit values to 63-bit
15616 ones as needed.
15617 * math/libm-test.inc (pow_test): Add more tests.
15618
eb96ffb0
L
156192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15620
15621 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15622 <stdio-common/_itoa.h>.
15623 * debug/segfault.c: Likewise.
15624 * elf/dl-cache.c: Likewise.
15625 * elf/dl-minimal.c: Likewise.
15626 * elf/dl-misc.c: Likewise.
15627 * elf/dl-sysdep.c: Likewise.
15628 * elf/dl-version.c: Likewise.
15629 * elf/rtld.c: Likewise.
15630 * hurd/hurdsock.c: Likewise.
15631 * hurd/lookup-retry.c: Likewise.
15632 * malloc/malloc.c: Likewise.
15633 * malloc/mtrace.c: Likewise.
15634 * nscd/nscd_getgr_r.c: Likewise.
15635 * nscd/nscd_getpw_r.c: Likewise.
15636 * nscd/nscd_getserv_r.c: Likewise.
15637 * posix/getopt_init.c: Likewise.
15638 * posix/wordexp.c: Likewise.
15639 * stdio-common/_itoa.c: Likewise.
15640 * stdio-common/printf_fphex.c: Likewise.
15641 * stdio-common/vfprintf.c: Likewise.
15642 * string/_strerror.c: Likewise.
15643 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15644 * sysdeps/i386/i686/hp-timing.h: Likewise.
15645 * sysdeps/mach/_strerror.c: Likewise.
15646 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15647 * sysdeps/mach/hurd/sethostid.c: Likewise.
15648 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15649 * sysdeps/mach/xpg-strerror.c: Likewise.
15650 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15651 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15652 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15653 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15654 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15655 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15656 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15657 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15658 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15659 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15660 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15661 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15662 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15663 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15664 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15665 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15666 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15667 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15668 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15669 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15670 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15671
15672 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15673
15674 * stdio-common/_itoa.h: Moved to ...
15675 * sysdeps/generic/_itoa.h: Here.
15676
15677 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15678
15679 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15680 instead of "_itoa.h" and "_itowa.h".
15681 * stdio-common/vfprintf.: Likewise.
15682
d1af992d
L
156832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15684
15685 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15686 <bits/wordsize.h>.
15687 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15688 (__signbit): Likwise.
15689 (llrintf): Likwise.
15690 (llrint): Likwise.
15691
114883e0
L
156922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15693
15694 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15695 __WORDSIZE != 64.
15696
c135cc1b
JM
156972012-03-20 Joseph Myers <joseph@codesourcery.com>
15698
15699 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15700 OVERFLOW_EXCEPTION_OK.
15701 * math/libm-test.inc ("Philosophy"): Update comment about
15702 exception testing.
15703 (OVERFLOW_EXCEPTION): Define.
15704 (OVERFLOW_EXCEPTION_OK): Likewise.
15705 (INVALID_EXCEPTION_OK): Renumber.
15706 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15707 (IGNORE_ZERO_INF_SIGN): Likewise.
15708 (test_exceptions): Handle FE_OVERFLOW.
15709 (exp10_test): Expect overflow exceptions.
15710 (exp2_test): Likewise.
15711 (expm1_test): Likewise.
15712 (nextafter_test): Likewise.
15713 (pow_test): Likewise.
15714 (scalbn_test): Likewise.
15715 (scalbln_test): Likewise.
15716
95443d88
L
157172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15718
15719 * sysdeps/x86_64/bits/atomic.h
15720 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15721 64bit integer.
15722 (atomic_exchange_acq): Likewise.
15723 (__arch_exchange_and_add_body): Likewise.
15724 (__arch_add_body): Likewise.
15725 (atomic_add_negative): Likewise.
15726 (atomic_add_zero): Likewise.
15727
490df6c4
L
157282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15729
c2722551 15730 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15731 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15732
5e52b189
L
157332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15734
15735 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15736 Check __x86_64__ instead of __WORDSIZE.
15737
a9879d4c
L
157382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15739
15740 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15741
5df98260
DM
157422012-03-19 David S. Miller <davem@davemloft.net>
15743
e1497744
DM
15744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15745
5df98260
DM
15746 * sysdeps/sparc/fpu/fenv_private.h: New file.
15747 * sysdeps/sparc/fpu/math_private.h: Use it.
15748 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15749 Remove.
15750 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15751 (libc_feholdexcept_setroundl): Remove.
15752 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15753 Remove.
15754 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15755 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15756
b4c35121
L
157572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15758
15759 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15760 int64_t instead of long int.
15761 (INSERT_WORDS64): Likwise.
15762
56965fd7
L
157632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15764
15765 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15766 _Unwind_GetCFA return to _Unwind_Ptr first.
15767
83d1aec8
JM
157682012-03-19 Joseph Myers <joseph@codesourcery.com>
15769
1897ad44
JM
15770 [BZ #13629]
15771 * math/s_clog.c: Include <float.h>.
15772 (__clog): Scale large or subnormal inputs.
15773 * math/s_clogf.c: Likewise.
15774 * math/s_clogl.c: Likewise.
15775 * math/s_clog10.c: Include <float.h>.
15776 (M_LOG10_2): Define.
15777 (__clog10): Scale large or subnormal inputs.
15778 * math/s_clog10f.c: Likewise.
15779 * math/s_clog10l.c: Likewise.
15780 * math/libm-test.inc (clog_test): Add more tests.
15781 (clog10_test): Likewise.
15782 * sysdeps/i386/fpu/libm-test-ulps: Update.
15783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15784
7726d6a9
JM
15785 [BZ #11451]
15786 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15787 x and y.
15788 * math/libm-test.inc (atan2_test): Add another test.
15789
83d1aec8
JM
15790 * Makerules (common-objdir-compile): Remove.
15791 * sysdeps/unix/Makefile (config-generated): Do not add
15792 $(unix-generated) to variable.
15793 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15794 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15795 Remove rule.
15796 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15797 Likewise.
15798 [generic bits/local_lim.h] (before-compile): Do not append to
15799 variable.
15800 [generic bits/local_lim.h] (common-generated): Likewise.
15801 [generic sys/param.h] (before-compile): Do not append to variable.
15802 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15803 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15804 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15805 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15806 include.
15807 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15808 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15809 [generic sys/param.h] ($(addprefix
15810 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15811 [generic sys/param.h] (common-generated): Do not append to
15812 variable.
15813 [generic sys/param.h] (sysdep_headers): Likewise.
15814 [generic bits/errno.h] (before-compile): Do not append to
15815 variable.
15816 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15817 rule.
15818 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15819 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15820 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15821 [generic bits/errno.h] (common-generated): Do not append to
15822 variable.
15823 [generic bits/ioctls.h] (before-compile): Do not append to
15824 variable.
15825 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15826 rule.
15827 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15828 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15829 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15830 rule.
15831 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15832 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15833 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15834 [generic bits/ioctls.h] (common-generated): Do not append to
15835 variable.
15836 [generic sys/syscall.h] (syscall.h): Remove variable.
15837 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15838 rule.
15839 [generic sys/syscall.h] (before-compile): Do not append to
15840 variable.
15841 [generic sys/syscall.h] (common-generated): Likewise.
15842 * sysdeps/unix/errnos-tmpl.c: Remove file.
15843 * sysdeps/unix/errnos.awk: Likewise.
15844 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15845 * sysdeps/unix/ioctls.awk: Likewise.
15846 * sysdeps/unix/mk-local_lim.c: Likewise.
15847 * sysdeps/unix/snarf-ioctls: Likewise.
15848
4851a949
RH
158492012-03-19 Richard Henderson <rth@twiddle.net>
15850
bd37f2ee
RH
15851 * sysdeps/i386/fpu/fenv_private.h: New file.
15852 * sysdeps/i386/fpu/math_private.h: Use it.
15853 (math_opt_barrier, math_force_eval): Remove.
15854 (libc_feholdexcept_setround_53bit): Remove.
15855 (libc_feupdateenv_53bit): Remove.
15856 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15857 (math_opt_barrier, math_force_eval): Remove.
15858 (libc_feholdexcept): Remove.
15859 (libc_feholdexcept_setround): Remove.
15860 (libc_fetestexcept, libc_fesetenv): Remove.
15861 (libc_feupdateenv_test): Remove.
15862 (libc_feupdateenv, libc_feholdsetround): Remove.
15863 (libc_feresetround): Remove.
15864
d0adc922
RH
15865 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15866 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15867
0fe0f1f8
RH
15868 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15869 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15870 (libc_feupdateenv_testl): New.
15871 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15872 (libc_feupdateenv_testf): New.
15873 (libc_feupdateenv): Use libc_feupdateenv_test.
15874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15875 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15876
eb92c487
RH
15877 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15878 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15879 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15880 (libc_feresetround_noex): New.
15881 (libc_feresetround_noexf): New.
15882 (libc_feresetround_noexl): New.
15883 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15884 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15885 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15886 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15887 SET_RESTORE_ROUND.
15888 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15889 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15890 (__cos): Likewise.
15891 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15892 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15893 SET_RESTORE_ROUND_NOEX.
15894 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15895 SET_RESTORE_ROUND_NOEXF.
15896 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15897 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15898 (libc_feholdsetroundf): New.
15899 (libc_feresetround, libc_feresetroundf): New.
15900
7d2e8012
RH
15901 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15902 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15903 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15904
b4dabbb4
RH
15905 * sysdeps/generic/math_private.h: Include <fenv.h>.
15906 (default_libc_feholdexcept): New.
15907 (default_libc_feholdexcept_setround): New.
15908 (default_libc_fesetenv, default_libc_feupdateenv): New.
15909 (libc_feholdexcept): Only define if undefined.
15910 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15911 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15912 (libc_feholdexcept_setroundl): Likewise.
15913 (libc_feholdexcept_setround_53bit): Likewise.
15914 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15915 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15916 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15917 (libc_feupdateenv_53bit): Likewise.
15918 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15919 (libc_feholdexcept): Convert from macro to inline function.
15920 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15921 (libc_fesetenv, libc_feupdateenv): Likewise.
15922
4851a949
RH
15923 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15924 not previously defined.
15925 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15926 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15927 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15928 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15929 * sysdeps/ieee754/flt-32/math_private.h: New file.
15930 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15931 math_private.h below SET_FLOAT_WORD.
15932 (__isnan, __isinf_ns, __finite): Remove.
15933 (__isnanf, __isinf_nsf, __finitef): Remove.
15934
e79d442e
AS
159352012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15936
15937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15938
90b80344
DM
159392012-03-17 David S. Miller <davem@davemloft.net>
15940
15941 [BZ #6471]
15942 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15943 for 2.16.
15944
edc21804
DM
159452012-03-16 David S. Miller <davem@davemloft.net>
15946
77e927af
DM
15947 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15948 warnings.
15949
374976dd
DM
15950 [BZ #6471]
15951 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15952 properly.
15953 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15954 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15955 sysdep_routines when subdir is sysvipc.
15956 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15957 __getshmlba helper.
15958
edc21804
DM
15959 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15960
473c3ef3
L
159612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15962
15963 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15964 [__LP64__].
15965
eb0f39b6
L
159662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15967
15968 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15969 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15970 (__lround): Renamed to ...
15971 (__llround): This. Replace long int with long long int.
15972 Define lround functions as aliases of llround functions.
15973 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15974
6b6cd74b
L
159752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15976
15977 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15978 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15979 adresses to uintptr_t. Replace "long int" and "unsigned long
15980 int" with "greg_t" on va_arg.
15981
f1a77b01
L
159822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15983
15984 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15985 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15986
15987 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15988 Move e_machine check before EI_CLASS check. Handle x32
15989 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15990 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15991 SKIP_EM_IA_64 and include
15992 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15993
15994 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15995 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15996 (add_system_dir): New macro.
15997
15998 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15999 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16000
11b90b9f
JM
160012012-03-16 Joseph Myers <joseph@codesourcery.com>
16002
c36e1d23
JM
16003 [BZ #2551]
16004 [BZ #2552]
16005 [BZ #2553]
16006 [BZ #2554]
16007 [BZ #2562]
16008 [BZ #2563]
16009 [BZ #2565]
16010 [BZ #2566]
16011 [BZ #2576]
16012 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16013 (y0): Likewise.
16014 * math/w_j0f.c (j0f): Likewise.
16015 (y0f): Likewise.
16016 * math/w_j0l.c (__j0l): Likewise.
16017 (__y0l): Likewise.
16018 * math/w_j1.c (j1): Likewise.
16019 (y1): Likewise.
16020 * math/w_j1f.c (j1f): Likewise.
16021 (y1f): Likewise.
16022 * math/w_j1l.c (__j1l): Likewise.
16023 (__y1l): Likewise.
16024 * math/w_jn.c (jn): Likewise.
16025 (yn): Likewise.
16026 * math/w_jnf.c (jnf): Likewise.
16027 (ynf): Likewise.
16028 * math/w_jnl.c (__jnl): Likewise.
16029 (__ynl): Likewise.
16030 * math/libm-test.inc (j0_test): Add more tests.
16031 (j1_test): Likewise.
16032 (jn_test): Likewise. Add trailing semicolon to existing test.
16033 (y0_test): Likewise.
16034 (y1_test): Likewise.
16035 * sysdeps/i386/fpu/libm-test-ulps: Update.
16036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16037
11b90b9f
JM
16038 [BZ #13851]
16039 [BZ #13854]
16040 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16041 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16042 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16043 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16044 (__tanl): Set errno for infinite argument.
16045 * sysdeps/i386/fpu/mptan.c: Remove.
16046 * sysdeps/i386/fpu/s_tan.S: Likewise.
16047 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16048 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16049 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16050 * math/libm-test.inc (tan_test): Add more tests and enable more
16051 tests for double and long double.
16052 * sysdeps/i386/fpu/libm-test-ulps: Update.
16053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16054
6a1bd2a1
JK
160552012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16056
16057 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16058 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16059
10a803e0
RM
160602012-03-16 Roland McGrath <roland@hack.frob.com>
16061
16062 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16063 * configure.in: Use it for both main tree and add-ons.
16064 * configure: Regenerated.
16065
f196c7f7
L
160662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16067
16068 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16069
8848d99d
JM
160702012-03-16 Joseph Myers <joseph@codesourcery.com>
16071
96cbe7f4
JM
16072 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16073 in comment.
16074
8848d99d
JM
16075 [BZ #13851]
16076 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16077 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16078 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16079 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16080 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16081 infinite argument.
16082 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16083 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16084 != 0 for prec == 2.
16085 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16086 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16087 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16088 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16089 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16090 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16091 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16092 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16093 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16094 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16095 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16096 * math/libm-test.inc (cos_test): Add more tests and enable more
16097 tests for long double.
16098 (sin_test): Likewise.
16099 (sincos_test): Likewise.
16100 * sysdeps/i386/fpu/libm-test-ulps: Update.
16101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16102
dd7f4703
DM
161032012-03-16 David S. Miller <davem@davemloft.net>
16104
16105 * sysdeps/sparc/fpu/math_private.h: New file.
16106
006f1daa
DM
161072012-03-15 David S. Miller <davem@davemloft.net>
16108
c0c83bc8
DM
16109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16110 file.
e6a62e18 16111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16113 file.
e6a62e18
DM
16114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16119 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16120 sysdep routines.
16121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16122
88cb87d9
DM
16123 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16124 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16125
006f1daa 16126 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16128 sparc-ifunc.h
006f1daa 16129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16131 Likewise.
16132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16133 Likewise.
006f1daa
DM
16134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16138 Likewise.
006f1daa
DM
16139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16144 Likewise.
16145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16146 Likewise.
006f1daa
DM
16147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16151 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16152 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16153 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16154 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16165 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16166 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16167 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16168 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16170 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16171
11e0098e
AS
161722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16173
16174 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16175 scaling.
16176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16177
e85b09d0
AJ
161782012-03-15 Andreas Jaeger <aj@suse.de>
16179
16180 [BZ #13852]
16181 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16182 ieee754/flt-32 implementation for sin, cos and sincos.
16183 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16184 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16185 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16186 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16187 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16188 ieee754/flt-32 implementation for tan.
16189
16190 * math/libm-test.inc (cos_test): Enable some large input tests for
16191 float as well
16192 (sin_test): Likewise.
16193 (sincos_test): Likewise.
16194 (tan_test): Add tests for large input.
16195
16196 * sysdeps/i386/fpu/libm-test-ulps: Update.
16197
81c64153
AJ
161982012-03-15 Andreas Jaeger <aj@suse.de>
16199
16200 [BZ #13658]
16201 * math/libm-test.inc (cos_test): Add more test cases.
16202 (sin_test): Likewise.
16203 (sincos_test): Likewise.
16204
7bbfa5c6
AJ
162052012-03-15 Andreas Jaeger <aj@suse.de>
16206
16207 [BZ #13837]
16208 * math/libm-test.inc (cos_test): Add a test case for large input
16209 value.
16210 (sin_test): Likewise.
16211 (sincos_test): Likewise.
16212
162132012-03-15 Andreas Jaeger <aj@suse.de>,
16214 Joseph Myers <joseph@codesourcery.com>
16215
16216 [BZ #13658]
0671f479 16217 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16218 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16219 * sysdeps/i386/fpu/branred.c: Likewise.
16220 * sysdeps/i386/fpu/dosincos.c: Likewise.
16221 * sysdeps/i386/fpu/mpa.c: Likewise.
16222 * sysdeps/i386/fpu/s_cos.S: Likewise.
16223 * sysdeps/i386/fpu/s_sin.S: Likewise.
16224 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16225 * sysdeps/i386/fpu/sincos32.c: Likewise.
16226
16227 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16228 Define.
16229 (libc_feupdateenv_53bit): Define.
16230 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16231 Define.
16232 (libc_feupdateenv_53bit): Define.
16233
16234 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16235 53 bit (without extend i386 double precision).
16236
16237 * math/libm-test.inc (sincos_test): Add tests for large input.
16238 (sin): Likewise.
16239 (cos): Likewise.
16240
16241 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16242
9cad04ea
AS
162432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16244
16245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16246
f7062b9a
DM
162472012-03-15 David S. Miller <davem@davemloft.net>
16248
16249 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16250 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16251 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16252 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16265 file.
f7062b9a 16266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16268 file.
f7062b9a 16269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16271 file.
f7062b9a 16272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16274 file.
f7062b9a
DM
16275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16276 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16277 fmin/fmax sysdep routines.
16278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16279
7bd951ff
DM
162802012-03-14 David S. Miller <davem@davemloft.net>
16281
559398ab
DM
16282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16286 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16289 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16302 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16304 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16305 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16308 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16309 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16310 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16311 routines.
16312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16313 file.
559398ab 16314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
16315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16316 file.
559398ab 16317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
16318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16319 file.
559398ab 16320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
16321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16322 file.
559398ab 16323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
16324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16325 file.
559398ab 16326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
16327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16328 file.
16329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16330 file.
16331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16332 file.
16333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16334 file.
16335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16336 New file.
16337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16338 file.
16339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16340 file.
559398ab 16341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
16342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16343 file.
559398ab 16344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16346 file.
559398ab 16347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
16348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16349 file.
559398ab 16350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
16351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16352 VIS3 routines.
559398ab
DM
16353
16354 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16355 New file.
16356
5a1c1e32
DM
16357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16358
eae47a36
DM
16359 * sysdeps/sparc/configure.in: New file.
16360 * sysdeps/sparc/configure: Generate.
16361 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16362 * configure: Regenerate.
16363 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16364 * config.make.in (have-as-vis3): New.
16365 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16366 available use -Av9d instead of -Av9a.
16367 * sysdeps/sparc/sparc64/Makefile: Likewise.
16368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
16369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16370 New file.
16371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16372 file.
16373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16374 New file.
16375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16376 file.
eae47a36
DM
16377 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16378 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16380 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16381 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16382
c0c83bc8
DM
16383 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16384 fzeros/fnegs to load 0x80000000 into a float register instead of
16385 using the stack.
7bd951ff
DM
16386 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16387
bd951ccb
JM
163882012-03-14 Joseph Myers <joseph@codesourcery.com>
16389
16390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16391 bits/syscall.h.
16392 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16393 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16394 ($(inst_includedir)/bits/syscall.h): Remove rule.
16395 ($(objpfx)bits/syscall.d): Include instead of
16396 $(objpfx)syscall-list.d.
16397 (generated): Change syscall-list.h and syscall-list.d to
16398 bits/syscall.h and bits/syscall.d.
16399
bb4e6db2
RM
164002012-03-14 Roland McGrath <roland@hack.frob.com>
16401
16402 [BZ #13846]
16403 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16404
aa4a2ae1
JM
164052012-03-14 Joseph Myers <joseph@codesourcery.com>
16406
e456826d
JM
16407 [BZ #13841]
16408 * math/s_csqrt.c: Include <float.h>.
16409 (__csqrt): Scale large or subnormal inputs.
16410 * math/s_csqrtf.c: Likewise.
16411 * math/s_csqrtl.c: Likewise.
16412 * math/libm-test.inc (csqrt_test): Add more tests.
16413 * sysdeps/i386/fpu/libm-test-ulps: Update.
16414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16415
aa4a2ae1
JM
16416 [BZ #13840]
16417 * math/libm-test.inc (hypot_test): Add more tests.
16418
7c10fd35
DM
164192012-03-13 David S. Miller <davem@davemloft.net>
16420
16421 [BZ #13840]
16422 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16423 double-precision for the calculation instead of scaling.
16424
f453b98b
JM
164252012-03-13 Joseph Myers <joseph@codesourcery.com>
16426
16427 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16428 manipulate bits before adding and subtracting TWO52[sx].
16429 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16430 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16431 Likewise.
16432 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16433
09a3453f
DM
164342012-03-13 David S. Miller <davem@davemloft.net>
16435
8e59da90
DM
16436 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16437 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16439 rtld-global-offsets.h
16440 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16441
2a8ab7f2
DM
16442 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16443 large parameters.
16444
10f62770
DM
16445 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16446
5f0bdb18
DM
16447 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16448 'err' in the ifdef scope in which it is actually used.
16449
09a3453f
DM
16450 * nss/nss_db/db-init.c: Include string.h
16451
b4b2eb5e
DM
164522012-03-12 David S. Miller <davem@davemloft.net>
16453
98bb2f1c
DM
16454 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16455 masking out of the most significant byte of random value used.
16456 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16457 Fix coding style in previous change.
16458
b4b2eb5e
DM
16459 * sysdeps/unix/sysv/linux/kernel-features.h
16460 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16461 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16462 expression.
16463 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16464 later.
16465
6e226b09
DM
164662012-03-11 David S. Miller <davem@davemloft.net>
16467
a1bcbd40
DM
16468 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16469 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16470 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16471 for 'resultvar' otherwise things get truncated on 64-bit.
16472
cb9d6174
DM
16473 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16474 Fix masking out of the most significant byte of random value used.
16475
6e226b09
DM
16476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16477
058c132d
AS
164782012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16479
16480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16481
2d2cd515
DM
164822012-03-09 David S. Miller <davem@davemloft.net>
16483
16484 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16485 variables with appropriate CPP guards.
16486 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16487 frame pointer, not the stack pointer. Correct layout comments. Fix test
16488 on resulting framesize and the management of the outregs buffer for pltexit.
16489 Preserve floating point return values across _dl_call_pltexit call.
16490 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16491 framesize and the management of the outregs buffer for pltexit.
16492 Preserve floating point return values across _dl_call_pltexit
16493 call.
16494 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16495 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16496 (print_exit): Fix format string for return register value.
16497
9a07f9d0
JM
164982012-03-10 Joseph Myers <joseph@codesourcery.com>
16499
16500 * sunrpc/Makefile (others): Add rpcgen.
16501 ($(objpfx)rpcgen): Remove special build rule and dependency on
16502 libc.
16503 * sunrpc/rpcgen.c: New file.
16504
547b5e30
PE
165052012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16506
c524201a
PE
16507 [BZ #13673]
16508 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16509 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16510 * sysdeps/i386/crti.S: Likewise.
16511 * sysdeps/i386/crtn.S: Likewise.
16512 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16513 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16514 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16515 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16516 * sysdeps/sh/crti.S: Likewise.
16517 * sysdeps/sh/crtn.S: Likewise.
16518 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16519
7b6235f2
PE
16520 [BZ #13673]
16521 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16522 with URL.
16523 * locale/programs/locfile-kw.gperf: Likewise.
16524 * locale/programs/charmap-kw.h: Regenerated.
16525 * locale/programs/locfile-kw.h: Likewise.
16526
547b5e30
PE
16527 [BZ #13673]
16528 * intl/plural.y: Replace FSF snail mail address with URL.
16529 * intl/plural.c: Regenerated.
16530
5f0a5dae
RH
165312012-03-09 Richard Henderson <rth@twiddle.net>
16532
16533 * include/math_private.h: Remove file.
16534 * math/math_private.h: Move file ...
16535 * sysdeps/generic/math_private.h: ... here.
16536
b8c03620
RH
16537 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16538 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16539 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16540
4e234f5d 16541 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
16542 and <math_private.h>.
16543 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16544 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16545 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16546 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16547 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16548 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16549 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16550 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16551 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16552 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16554 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16555 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16556 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16557 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16558 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16559 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16560 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16561 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16562 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16565 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16566 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16567 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16568 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16569 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16570 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16571 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16573 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16574 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16579 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16580 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16585 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16591 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16592 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16593 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16594 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16595 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16596 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16597 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16598 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16614 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16621 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16622 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16623 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16624 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16631 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16632 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16633 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16634 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16635 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16636 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16637 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16638 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16640 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16641 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16642 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16643 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16644 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16645 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16646 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16647 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16648 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16649 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16650 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16651 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16652 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16653 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16654 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16655 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16656 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16657 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16658 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16659 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16660 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16661 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16662 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16663 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16664 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16665 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16666 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16667 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16668 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16669 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16670 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16671 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16672 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16673 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16674 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16675 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16676 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16677 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16678 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16679 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16680 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16681 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16682 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16683 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16684 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16685 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16686 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16687 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16688 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16689 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16690 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16691 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16692 * sysdeps/ieee754/k_standard.c: Likewise.
16693 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16694 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16695 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16696 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16697 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16698 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16699 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16700 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16701 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16702 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16703 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16704 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16705 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16706 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16707 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16708 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16709 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16710 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16711 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16712 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16713 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16714 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16715 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16716 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16717 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16776 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16778 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16783 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16784 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16785 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16786 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16787 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16789 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16790 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16791 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16793 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16794 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16796 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16797 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16798 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16799 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16800 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16801 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16802 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16803 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16804 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16806 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16807 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16808 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16809 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16810 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16811 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16812 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16813 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16814 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16815 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16816 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16817 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16819 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16820 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16821 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16822 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16823 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16824 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16825 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16826 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16827 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16828 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16829 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16830 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16831 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16832 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16833 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16834 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16835 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16836 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16837 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16838 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16839 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16840 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16841 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16842 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16843 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16846 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16848 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16849 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16850 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16851 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16853 * sysdeps/ieee754/s_lib_version.c: Likewise.
16854 * sysdeps/ieee754/s_matherr.c: Likewise.
16855 * sysdeps/ieee754/s_signgam.c: Likewise.
16856 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16857 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16858 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16859 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16860 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16861 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16862 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16863 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16864 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16865 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16866 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16867 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16868 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16869 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16870 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16871 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16872 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16873 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16874 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16875 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16876 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16877
1991fa03
JM
168782012-03-09 Joseph Myers <joseph@codesourcery.com>
16879
16880 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16881 * sunrpc/rpc_main.c: Likewise.
16882 * sunrpc/rpc_svcout.c: Likewise.
16883
60d6f5a6
DM
168842012-03-09 David S. Miller <davem@davemloft.net>
16885
16886 * include/math_private.h: New file.
16887
4962050e
JM
168882012-03-09 Joseph Myers <joseph@codesourcery.com>
16889
02a6f887
JM
16890 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16891 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16892 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16893 from <bits/socket_type.h>.
16894 (enum __socket_type): Don't define here.
16895 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16897 bits/socket_type.h.
16898
c6e013c1
JM
16899 [BZ #13566]
16900 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16901 checking __USE_GNU.
16902
4962050e
JM
16903 * Makerules ($(inst_includedir)/%.h): New rule.
16904 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16905 (install-others): Remove variable setting.
16906 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16907
38842f45
RH
169082012-03-08 Richard Henderson <rth@twiddle.net>
16909
67bb6da6
RH
16910 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16911 from macro to inline function; merge with the
16912 !__LIBC_INTERNAL_MATH_INLINES version.
16913 (__ieee754_sqrtf): Likewise.
16914
15194b4b
RH
16915 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16916 to inline function.
16917 (__rintf, __floor, __floorf): Likewise.
16918
64e21ede
RH
16919 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16920 macro to inline function.
16921 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16922
38842f45
RH
16923 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16924 not <math/math_private.h>.
16925
c64bf5fe
DM
169262012-03-08 David S. Miller <davem@davemloft.net>
16927
16928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16929 copyright year.
16930 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16931
82d86f28
TS
169322012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16933
16934 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16935 normalization.
16936 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16937 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16938
aea5d727
UD
169392012-03-08 Ulrich Drepper <drepper@gmail.com>
16940
16941 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16942 be defined individually, they must be defined as a block. Define
16943 S for printing a string instead of hidint the different by using a
16944 macro for adding the 'l'.
16945 * stdio-common/tst-fphex-wide.c: Adjust.
16946
70bca0a3
MP
169472012-03-07 Marek Polacek <polacek@redhat.com>
16948
16949 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16950
65b81130
MP
169512012-03-08 Marek Polacek <polacek@redhat.com>
16952
16953 [BZ #13806]
16954 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16955 * stdio-common/tst-fphex.c: Define a few macros to make the
16956 test reusable. Use them.
16957 * stdio-common/tst-fphex-wide.c: New file.
16958
07037eeb
JM
169592012-03-08 Joseph Myers <joseph@codesourcery.com>
16960
a7a93d50
JM
16961 [BZ #6911]
16962 * manual/macros.texi (gnusystems): New macro.
16963 (nongnusystems): Likewise.
16964 (gnulinuxhurdsystems): Likewise.
16965 (gnuhurdsystems): Likewise..
16966 (gnulinuxsystems): Likewise.
16967 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16968 variants of the GNU system, not "GNU system".
16969 * manual/conf.texi: Likewise.
16970 * manual/errno.texi: Likewise. Update example of errno macro
16971 expansion.
16972 * manual/filesys.texi: Likewise.
16973 (getumask): Document as specific to GNU/Hurd.
16974 * manual/install.texi: Likewise. Reword some references to
16975 GNU/Linux.
16976 * manual/intro.texi: Likewise.
16977 * manual/io.texi: Likewise.
16978 (File Name Portability): Detail which constraints are inapplicable
16979 to all GNU systems and which are only inapplicable to GNU/Hurd.
16980 * manual/job.texi: Likewise.
16981 * manual/llio.texi: Likewise.
16982 (O_NOCTTY): Document as present on GNU/Linux.
16983 * manual/maint.texi: Likewise.
16984 * manual/memory.texi: Likewise.
16985 * manual/pattern.texi: Likewise.
16986 * manual/pipe.texi: Likewise.
16987 * manual/process.texi: Likewise.
16988 * manual/resource.texi: Likewise.
16989 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16990 child on GNU/Hurd.
16991 * manual/setjmp.texi: Likewise.
16992 * manual/signal.texi: Likewise.
16993 * manual/startup.texi: Likewise.
16994 * manual/stdio.texi: Likewise.
16995 * manual/terminal.texi: Likewise.
16996 (ONLCR): Document as POSIX.
16997 (OXTABS): Document availability on GNU/Linux as XTABS.
16998 (ONOEOT): Document availability separately from other bits.
16999 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17000 * manual/time.texi: Likewise.
17001 * manual/users.texi: Likewise.
17002 * INSTALL: Regenerated.
17003 * sysdeps/gnu/errlist.c: Regenerated.
17004
07037eeb
JM
17005 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17006 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17007 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17008 puts.
17009 * configure: Regenerated.
17010
d1d3431a
JM
170112012-03-07 Joseph Myers <joseph@codesourcery.com>
17012
af6a1e37
JM
17013 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17014 default includes instead of AC_HEADER_CHECK.
17015 * sysdeps/i386/configure: Regenerated.
17016
d1d3431a
JM
17017 [BZ #10716]
17018 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17019 * math/s_cacoshf.c (__cacoshf): Likewise.
17020 * math/s_cacoshl.c (__cacoshl): Likewise.
17021 * math/s_casinh.c (__casinh): Set signs of result from argument.
17022 * math/s_casinhf.c (__casinhf): Likewise.
17023 * math/s_casinhl.c (__casinhl): Likewise.
17024 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17025 (casinh_test): Add more tests.
17026 * sysdeps/i386/fpu/libm-test-ulps: Update.
17027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17028
482ff4da
UD
170292012-03-07 Ulrich Drepper <drepper@gmail.com>
17030
872fda05
UD
17031 * po/zh_TW.po: Update from translation team.
17032
a4300c7a
UD
17033 * login/Makefile (distribute): Remove variable.
17034 * catgets/Makefile: Likewise.
17035 * mach/Makefile: Likewise.
17036 * malloc/Makefile: Likewise.
17037 * misc/Makefile: Likewise.
17038 * iconv/Makefile: Likewise.
17039 * nscd/Makefile: Likewise.
17040 * hurd/Makefile: Likewise.
17041 * manual/Makefile: Likewise.
17042 * locale/Makefile: Likewise.
17043 * intl/Makefile: Likewise.
17044 * conform/Makefile: Likewise.
17045 * nss/Makefile: Likewise.
17046 * time/Makefile: Likewise.
17047 * soft-fp/Makefile: Likewise.
17048 * dirent/Makefile: Likewise.
17049 * gmon/Makefile: Likewise.
17050 * po/Makefile: Likewise.
17051 * rt/Makefile: Likewise.
17052 * socket/Makefile: Likewise.
17053 * math/Makefile: Likewise.
17054 * signal/Makefile: Likewise.
17055 * debug/Makefile: Likewise.
17056 * elf/Makefile: Likewise.
17057 * timezone/Makefile: Likewise.
17058 * stdlib/Makefile: Likewise.
17059 * iconvdata/Makefile: Likewise.
17060 * sunrpc/Makefile: Likewise.
17061 * io/Makefile: Likewise.
17062 * argp/Makefile: Likewise.
17063 * inet/Makefile: Likewise.
17064 * hesiod/Makefile: Likewise.
17065 * grp/Makefile: Likewise.
17066 * csu/Makefile: Likewise.
17067 * wctype/Makefile: Likewise.
17068 * crypt/Makefile: Likewise.
17069 * libio/Makefile: Likewise.
17070 * string/Makefile: Likewise.
17071 * nis/Makefile: Likewise.
17072 * resolv/Makefile: Likewise.
17073 * stdio-common/Makefile: Likewise.
17074 * wcsmbs/Makefile: Likewise.
17075 * dlfcn/Makefile: Likewise.
17076 * posix/Makefile: Likewise.
17077
3b7c4e74 17078 [BZ #6959]
482ff4da
UD
17079 * timezone/Makefile: Don't install timezone files, just the programs
17080 and scripts.
17081
f72ed77d
UD
170822012-03-06 Ulrich Drepper <drepper@gmail.com>
17083
a000466f
UD
17084 * nss/databases.def: Add missing gshadow entry.
17085
f72ed77d
UD
17086 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17087
a53b7a4e
MP
170882012-03-06 Marek Polacek <polacek@redhat.com>
17089
17090 [BZ #13726]
17091 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17092 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17093 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17094 * stdio-common/tst-long-dbl-fphex.c: New file.
17095
e9258400
DM
170962012-03-06 David S. Miller <davem@davemloft.net>
17097
17098 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17099 (set_obp_int): New function.
17100 (get_obp_int): New function.
17101 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17102 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17103 Avoid unused variable warnings on 'val' and use builtin_expect.
17104 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17105 __builtin_expect.
e9258400
DM
17106 (INLINE_CLONE_SYSCALL): Likewise.
17107
3bd2c723
DM
171082012-03-05 David S. Miller <davem@davemloft.net>
17109
17110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17111
bbb78d03
AS
171122012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17113
884c5db4
AS
17114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17115
bbb78d03
AS
17116 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17117 only for |x| >= 40.
17118 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17119
1c9f702a 171202012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17121
17122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17123 Replace gettimeofday with __vdso_gettimeofday.
17124
7be16f82
RM
17125 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17126 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17127 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17128
17129 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17130 time with __vdso_time.
17131
ed58a00f
JM
171322012-03-05 Joseph Myers <joseph@codesourcery.com>
17133
17134 * manual/lang.texi (size_t): Note types to which size_t may be
17135 equivalent with the GNU C Library, but do not describe when
17136 differences between them are significant.
17137
30ee4ced
AJ
171382012-03-05 Andreas Jaeger <aj@suse.de>
17139
17140 * sysdeps/i386/fpu/libm-test-ulps: Update.
17141
b7cd39e8
JM
171422012-03-05 Joseph Myers <joseph@codesourcery.com>
17143
17144 [BZ #3976]
17145 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17146 (__ieee754_pow): Save and restore rounding mode and use
17147 round-to-nearest for main computations.
17148 * math/libm-test.inc (pow_test_tonearest): New function.
17149 (pow_test_towardzero): Likewise.
17150 (pow_test_downward): Likewise.
17151 (pow_test_upward): Likewise.
17152 (main): Call the new functions.
17153 * sysdeps/i386/fpu/libm-test-ulps: Update.
17154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
17155
17156 [BZ #3976]
17157 * math/libm-test.inc (cosh_test_tonearest): New function.
17158 (cosh_test_towardzero): Likewise.
17159 (cosh_test_downward): Likewise.
17160 (cosh_test_upward): Likewise.
17161 (sinh_test_tonearest): Likewise.
17162 (sinh_test_towardzero): Likewise.
17163 (sinh_test_downward): Likewise.
17164 (sinh_test_upward): Likewise.
17165 (main): Call the new functions.
17166 * sysdeps/i386/fpu/libm-test-ulps: Update.
17167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17168
6c6a98c9
TV
171692012-03-05 Tom de Vries <tom@codesourcery.com>
17170
17171 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17172 default stack guard is set in last bytes.
17173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17174
21bb2d2e 171752012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17176
21bb2d2e 17177 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17178
21bb2d2e
AJ
17179 [BZ #13656]
17180 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17181 possibly allocate from heap instead of stack.
17182 * stdio-common/bug-vfprintf-nargs.c: New file.
17183 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17184
c6922934
AS
171852012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17186
17187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17188
bc957d53
MP
171892012-03-03 Marek Polacek <polacek@redhat.com>
17190
17191 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17192 * math/math_private.h: Likewise.
17193 * stdlib/tst-strtod.c: Likewise.
17194 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17195 * sysdeps/x86_64/bits/atomic.h: Likewise.
17196
6358490d
DM
171972012-03-02 David S. Miller <davem@davemloft.net>
17198
17199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17203 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17204 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17205 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17206 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17207
01ae168d
RM
172082012-03-02 Roland McGrath <roland@hack.frob.com>
17209
d9a17c07
RM
17210 [BZ #13792]
17211 * manual/examples/README: New file, says the example source files
17212 can be used under GPL>=2.
17213 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17214 line containing just "*/".
17215 * manual/examples/add.c: Add copyright header (GPL>=2).
17216 * manual/examples/argp-ex1.c: Likewise.
17217 * manual/examples/argp-ex2.c: Likewise.
17218 * manual/examples/argp-ex3.c: Likewise.
17219 * manual/examples/argp-ex4.c: Likewise.
17220 * manual/examples/atexit.c: Likewise.
17221 * manual/examples/db.c: Likewise.
17222 * manual/examples/dir.c: Likewise.
17223 * manual/examples/dir2.c: Likewise.
17224 * manual/examples/execinfo.c: Likewise.
17225 * manual/examples/filecli.c: Likewise.
17226 * manual/examples/filesrv.c: Likewise.
17227 * manual/examples/fmtmsgexpl.c: Likewise.
17228 * manual/examples/genpass.c: Likewise.
17229 * manual/examples/inetcli.c: Likewise.
17230 * manual/examples/inetsrv.c: Likewise.
17231 * manual/examples/isockad.c: Likewise.
17232 * manual/examples/longopt.c: Likewise.
17233 * manual/examples/memopen.c: Likewise.
17234 * manual/examples/memstrm.c: Likewise.
17235 * manual/examples/mkfsock.c: Likewise.
17236 * manual/examples/mkisock.c: Likewise.
17237 * manual/examples/mygetpass.c: Likewise.
17238 * manual/examples/pipe.c: Likewise.
17239 * manual/examples/popen.c: Likewise.
17240 * manual/examples/rprintf.c: Likewise.
17241 * manual/examples/search.c: Likewise.
17242 * manual/examples/select.c: Likewise.
17243 * manual/examples/setjmp.c: Likewise.
17244 * manual/examples/sigh1.c: Likewise.
17245 * manual/examples/sigusr.c: Likewise.
17246 * manual/examples/stpcpy.c: Likewise.
17247 * manual/examples/strdupa.c: Likewise.
17248 * manual/examples/strftim.c: Likewise.
17249 * manual/examples/strncat.c: Likewise.
17250 * manual/examples/subopt.c: Likewise.
17251 * manual/examples/swapcontext.c: Likewise.
17252 * manual/examples/termios.c: Likewise.
17253 * manual/examples/testopt.c: Likewise.
17254 * manual/examples/testpass.c: Likewise.
17255 * manual/examples/timeval_subtract.c: Likewise.
17256
01ae168d
RM
17257 [BZ #13792]
17258 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17259 function to ...
17260 * manual/timeval_subtract.c.texi: ... here, new file.
17261
49efa33d
DM
172622012-03-02 David S. Miller <davem@davemloft.net>
17263
17264 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17265
28afd92d
JM
172662012-03-02 Joseph Myers <joseph@codesourcery.com>
17267
804360ed
JM
17268 [BZ #3976]
17269 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17270 (__sin): Save and restore rounding mode and use round-to-nearest
17271 for all computations.
17272 (__cos): Save and restore rounding mode and use round-to-nearest
17273 for all computations.
17274 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17275 <fenv.h>.
17276 (tan): Save and restore rounding mode and use round-to-nearest for
17277 all computations.
17278 * math/libm-test.inc (cos_test_tonearest): New function.
17279 (cos_test_towardzero): Likewise.
17280 (cos_test_downward): Likewise.
17281 (cos_test_upward): Likewise.
17282 (sin_test_tonearest): Likewise.
17283 (sin_test_towardzero): Likewise.
17284 (sin_test_downward): Likewise.
17285 (sin_test_upward): Likewise.
17286 (tan_test_tonearest): Likewise.
17287 (tan_test_towardzero): Likewise.
17288 (tan_test_downward): Likewise.
17289 (tan_test_upward): Likewise.
17290 (main): Call the new functions.
17291 * sysdeps/i386/fpu/libm-test-ulps: Update.
17292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17293
a6d06d7b
JM
17294 [BZ #10135]
17295 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17296 small n, then large n, before computing and testing k+n.
17297 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17299 Likewise.
17300 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17301 Likewise.
17302 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17303 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17304 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17305 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17306 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17307 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17308 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17309 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17310 * math/libm-test.inc (scalbn_test): Add more tests.
17311 (scalbln_test): Likewise.
17312
07e12bb3
JM
17313 * manual/filesys.texi (mode_t): Describe constraints on size and
17314 signedness, not exact equivalence to a particular type.
17315 (ino_t): Likewise.
17316 (ino64_t): Likewise.
17317 (dev_t): Likewise.
17318 (nlink_t): Likewise.
17319 (blkcnt_t): Likewise.
17320 (blkcnt64_t): Likewise.
17321 * manual/llio.texi (off_t): Likewise.
17322
28afd92d
JM
17323 [BZ #3976]
17324 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17325 (__ieee754_exp): Save and restore rounding mode and use
17326 round-to-nearest for all computations.
17327 * math/libm-test.inc (exp_test_tonearest): New function.
17328 (exp_test_towardzero): Likewise.
17329 (exp_test_downward): Likewise.
17330 (exp_test_upward): Likewise.
17331 (main): Call the new functions.
17332 * sysdeps/i386/fpu/libm-test-ulps: Update.
17333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17334
b1eeb65d
CD
173352012-03-01 Chris Demetriou <cgd@google.com>
17336
17337 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17338 have predictable order.
17339
53362a4b
DM
173402012-03-01 David S. Miller <davem@davemloft.net>
17341
3c969083
DM
17342 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17343
759707de
DM
17344 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17345 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17346 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17347 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17348
dfdb8ff2
DM
17349 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17350 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17351 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17353 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17354 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17355 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17356 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17357 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17358
ead89f96
DM
17359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17360
7f66bd07
DM
17361 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17362 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17363 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17364
53362a4b
DM
17365 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17366 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17367 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17368 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17369 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17370 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17371 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17372 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17373 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17374 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17375 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17376 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17378 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17379 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17381 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17382 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17383 * sysdeps/sparc/elf/configure: Regenerated.
17384
7b1902cb
JM
173852012-03-01 Joseph Myers <joseph@codesourcery.com>
17386
bec039bc
JM
17387 * configure.in (AS, LD): Require binutils 2.20 or later.
17388 * configure: Regenerated.
17389 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17390 as required minimum version.
17391 * INSTALL: Regenerated.
17392
7b1902cb
JM
17393 [BZ #2541]
17394 [BZ #4108]
17395 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17396 before squaring exponent.
17397 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17398 bottom long double and 27 bits of top long double before squaring
17399 exponent.
17400 * math/libm-test.inc (erfc_test): Add more tests.
17401 * sysdeps/i386/fpu/libm-test-ulps: Update.
17402 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17404
f775c276
KT
174052012-03-01 Kai Tietz <ktietz@redhat.com>
17406
17407 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17408 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17409 containing bit-fields.
17410 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17411 * soft-fp/single.h (_FP_UNION_S): Likewise.
17412 * soft-fp/double.h (_FP_UNION_D): Likewise.
17413
5b8a4d4a
JM
174142012-02-29 Joseph Myers <joseph@codesourcery.com>
17415
0bab47b6
JM
17416 [BZ #13786]
17417 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17418 not include ../strcmp.S.
17419 [USE_AS_STRNCASECMP_L]: Likewise.
17420 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17421 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17422 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17423 (__strncasecmp_l_ia32): Define as alias to
17424 __strncasecmp_l_nonascii.
17425
0fcad3e2
JM
17426 [BZ #5794]
17427 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17428 * sysdeps/i386/fpu/libm-test-ulps: Update.
17429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17430
5b8a4d4a
JM
17431 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17433
8fdceb2e
JL
174342012-02-29 Jeff Law <law@redhat.com>
17435
17436 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17437 out of bounds read.
17438
1f393a11
MP
174392012-02-29 Marek Polacek <polacek@redhat.com>
17440
17441 [BZ #13706]
17442 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17443 * elf/Makefile: Add rules to run tst-unused-dep.out.
17444
8847f037
DM
174452012-02-28 David S. Miller <davem@davemloft.net>
17446
17447 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17448 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17450 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17451 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17452 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17453
169d7f11
JM
174542012-02-29 Joseph Myers <joseph@codesourcery.com>
17455
17456 * math/libm-test.inc (llround_test): Move one test from
17457 lround_test. Use TEST_f_L in moved test.
17458 (lround_test): Move misplaced test to llround_test. Add testcase
17459 from bug 2561.
17460
39adf059
UD
174612012-02-28 Ulrich Drepper <drepper@gmail.com>
17462
17463 * sysdeps/x86_64/fpu/e_expf.S: New file.
17464 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17465
71b5d1c5
SB
174662012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17467
17468 [BZ #13637]
17469 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17470 of remain_len that may cause incomplete multi-byte character and
17471 false match.
17472 * posix/bug-regex33.c: New file.
17473 * posix/Makefile (tests): Add bug-regex33.
17474
1f77f049
JM
174752012-02-28 Joseph Myers <joseph@codesourcery.com>
17476
17477 * manual/macros.texi: New file.
17478 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17479 * manual/libc.texinfo: Include macros.texi.
17480 * manual/creatute.texi: Likewise.
17481 * manual/install.texi: Likewise.
17482 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17483 @glibcadj{} in references to the GNU C Library.
17484 * manual/charset.texi: Likewise.
17485 * manual/conf.texi: Likewise.
17486 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17487 when not using those macros.
17488 * manual/creature.texi: Likewise.
17489 * manual/crypt.texi: Likewise.
17490 * manual/errno.texi: Likewise.
17491 * manual/filesys.texi: Likewise.
17492 * manual/header.texi: Likewise.
17493 * manual/install.texi: Likewise.
17494 * manual/intro.texi: Likewise.
17495 * manual/io.texi: Likewise.
17496 * manual/job.texi: Likewise.
17497 * manual/lang.texi: Likewise.
17498 * manual/libc.texiinfo: Likewise.
17499 * manual/llio.texi: Likewise.
17500 * manual/locale.texi: Likewise.
17501 * manual/maint.texi: Likewise.
17502 * manual/math.texi: Likewise.
17503 * manual/memory.texi: Likewise.
17504 * manual/message.texi: Likewise.
17505 * manual/nss.texi: Likewise.
17506 * manual/pattern.texi: Likewise.
17507 * manual/process.texi: Likewise.
17508 * manual/resource.texi: Likewise.
17509 * manual/search.texi: Likewise.
17510 * manual/setjmp.texi: Likewise.
17511 * manual/signal.texi: Likewise.
17512 * manual/socket.texi: Likewise.
17513 * manual/startup.texi: Likewise.
17514 * manual/stdio.texi: Likewise.
17515 * manual/string.texi: Likewise.
17516 * manual/sysinfo.texi: Likewise.
17517 * manual/syslog.texi: Likewise.
17518 * manual/terminal.texi: Likewise.
17519 * manual/time.texi: Likewise.
17520 * manual/users.texi: Likewise.
17521 * INSTALL: Regenerated.
17522 * NOTES: Regenerated.
d40c5d54 17523 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 17524
450bf206
AS
175252012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17526
17527 * include/dirent.h: Include <dirstream.h> before
17528 <dirent/dirent.h>.
17529
741a235b
DM
175302012-02-28 David S. Miller <davem@davemloft.net>
17531
17532 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17533 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17534 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17535 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17536
d6b5aa58
DM
175372012-02-27 David S. Miller <davem@davemloft.net>
17538
1aff59a3
DM
17539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17541 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17542 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17543
d6b5aa58
DM
17544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17545 frame pointer instead of stack pointer relative arg slot.
17546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17547 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17548 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17549
433f48bf
CD
175502012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17551
17552 [BZ #3992]
17553 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17554
d674b76d
DM
175552012-02-27 David S. Miller <davem@davemloft.net>
17556
17557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17561 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17562 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17563 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17564 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17565
0e7727f7
JM
175662012-02-27 Joseph Myers <joseph@codesourcery.com>
17567
17568 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17569 later. Allow versions 5-9.
43be4ca2 17570 * configure: Regenerated.
0e7727f7
JM
17571 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17572 required minimum version and 4.6 as recommended version. Do not
17573 mention bugs in GCC 2.7 and 2.8.
43be4ca2 17574 * INSTALL: Regenerated.
0e7727f7 17575
a78bc654
DM
175762012-02-27 David S. Miller <davem@davemloft.net>
17577
428d5830
DM
17578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17582 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17583 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17584 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17585 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17586
a78bc654
DM
17587 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17588 manipulate bits before adding and subtracting TWO112[sx].
17589 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17590
4579f81c
RM
175912012-02-27 Roland McGrath <roland@hack.frob.com>
17592
36c8acb4
RM
17593 [BZ #13775]
17594 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17595 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17596 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17597 being in POSIX, because they are in 1003.1-2008.
17598
84ad622b
RM
17599 * rt/tst-aio.c: Include <fcntl.h>.
17600 * rt/tst-aio7.c: Likewise.
17601 * rt/tst-aio64.c: Likewise.
17602
4579f81c
RM
17603 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17604
abd923db
JM
176052012-02-27 Joseph Myers <joseph@codesourcery.com>
17606
17607 * manual/install.texi (--with-headers): Describe headers as
17608 interface headers, not private headers.
17609 (Specific advice for GNU/Linux systems): Describe use of headers
17610 from "make headers_install", not private headers from older
17611 kernels.
43be4ca2 17612 * INSTALL: Regenerated.
abd923db
JM
17613 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17614 Change to 2.6.19.
17615 * sysdeps/unix/sysv/linux/configure: Regenerated.
17616
6664049b
JM
17617 * manual/llio.texi (fclean): Remove documentation.
17618
bb8b6697
JM
17619 * manual/Makefile (libc-texi-generated): New variable. Include
17620 version.texi.
17621 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17622 $(libc-texi-generated), not duplicated list of files.
17623 (version.texi, stamp-version): New rules.
17624 (realclean): Remove $(libc-texi-generated), not individual files
17625 from that list. Do not remove dir-add.texinfo.
17626 * manual/libc.texinfo: Comment out uses of edition numbers and
17627 references to printed manual. Remove last-updated dates.
17628 (EDITION): Comment out.
17629 (ISBN): Likewise.
17630 (VERSION, UPDATED): Remove.
17631 (version.texi): Include.
17632
12e5c3b9
AS
176332012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17634
17635 * sysdeps/posix/spawni.c: Include <signal.h>.
17636 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17637 * sysdeps/pthread/aio_fsync.c: Likewise.
17638
4efeffc1 176392012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 17640
ba63ba08
UD
17641 * conform/Makefile (tests): Run only when not cross-compiling and
17642 when fast-check is not defined.
17643
d94a4670
UD
17644 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17645 * conform/data/limits.h-data: Fixes for POSIX2008.
17646 * conform/run-conformtest.sh: Run all tests.
17647 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17648 headers.
17649 * include/bits/dlfcn.h: Likewise.
17650 * include/langinfo.h: Likewise.
17651 * include/monetary.h: Likewise.
17652 * include/sys/poll.h: Likewise.
17653
17654 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17655 for __USE_GNU.
17656 * posix/spawn.h: Define __need_sigset_t.
17657 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17658 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17659 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17660 to get sigevent_t only.
17661 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17662 only for __USE_GNU.
17663 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17664 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17665 process_vm_writev only for __USE_GNU.
17666 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17667
17668 * conform/Makefile: For now ignore errors from run-conformtest.
17669 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17670 POSIX to avoid namespace pollution. Don't prepend headers.
17671 * conform/data/aio.h-data: Fixes for POSIX testing.
17672 * conform/data/fcntl.h-data: Likewise.
17673 * conform/data/glob.h-data: Likewise.
17674 * conform/data/grp.h-data: Likewise.
17675 * conform/data/pthread.h-data: Likewise.
17676 * conform/data/pwd.h-data: Likewise.
17677 * conform/data/signal.h-data: Likewise.
17678 * conform/data/spawn.h-data: Likewise.
17679 * conform/data/stdio.h-data: Likewise.
17680 * conform/data/stdlib.h-data: Likewise.
17681 * conform/data/stropts.h-data: Likewise.
17682 * conform/data/sys/mman.h-data: Likewise.
17683 * conform/data/sys/stat.h-data: Likewise.
17684 * conform/data/sys/types.h-data: Likewise.
17685 * conform/data/sys/wait.h-data: Likewise.
17686 * conform/data/time.h-data: Likewise.
17687 * conform/data/unistd.h-data: Likewise.
17688 * conform/data/utime.h-data: Likewise.
17689
17690 * io/sys/stat.h: fchmod was always in POSIX.
17691 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17692 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17693 * rt/aio.h: Define __need_timespec before including <time.h>.
17694 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17695 struct. Add forward declaration of pthread_attr_t and use it in
17696 sigevent.
17697 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17698 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17699 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17700 always remove CLK_TCK definition.
17701
c20105c3
AS
177022012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17703
17704 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17705
7a270350
UD
177062012-02-25 Ulrich Drepper <drepper@gmail.com>
17707
31341567
UD
17708 * conform/run-conformtest.sh: New file.
17709 * conform/Makefile: Run run-conformtest for tests.
17710 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17711 support.
17712
17713 * conform/data/uchar.h-data: New file.
17714 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17715 * conform/data/arpa/inet.h-data: Likewise.
17716 * conform/data/assert.h-data: Likewise.
17717 * conform/data/complex.h-data: Likewise.
17718 * conform/data/cpio.h-data: Likewise.
17719 * conform/data/ctype.h-data: Likewise.
17720 * conform/data/dirent.h-data: Likewise.
17721 * conform/data/dlfcn.h-data: Likewise.
17722 * conform/data/errno.h-data: Likewise.
17723 * conform/data/fcntl.h-data: Likewise.
17724 * conform/data/float.h-data: Likewise.
17725 * conform/data/fmtmsg.h-data: Likewise.
17726 * conform/data/fnmatch.h-data: Likewise.
17727 * conform/data/ftw.h-data: Likewise.
17728 * conform/data/glob.h-data: Likewise.
17729 * conform/data/grp.h-data: Likewise.
17730 * conform/data/iconv.h-data: Likewise.
17731 * conform/data/inttypes.h-data: Likewise.
17732 * conform/data/langinfo.h-data: Likewise.
17733 * conform/data/libgen.h-data: Likewise.
17734 * conform/data/limits.h-data: Likewise.
17735 * conform/data/locale.h-data: Likewise.
17736 * conform/data/math.h-data: Likewise.
17737 * conform/data/monetary.h-data: Likewise.
17738 * conform/data/mqueue.h-data: Likewise.
17739 * conform/data/ndbm.h-data: Likewise.
17740 * conform/data/net/if.h-data: Likewise.
17741 * conform/data/netdb.h-data: Likewise.
17742 * conform/data/netinet/in.h-data: Likewise.
17743 * conform/data/nl_types.h-data: Likewise.
17744 * conform/data/poll.h-data: Likewise.
17745 * conform/data/pthread.h-data: Likewise.
17746 * conform/data/pwd.h-data: Likewise.
17747 * conform/data/regex.h-data: Likewise.
17748 * conform/data/sched.h-data: Likewise.
17749 * conform/data/search.h-data: Likewise.
17750 * conform/data/semaphore.h-data: Likewise.
17751 * conform/data/setjmp.h-data: Likewise.
17752 * conform/data/signal.h-data: Likewise.
17753 * conform/data/spawn.h-data: Likewise.
17754 * conform/data/stdarg.h-data: Likewise.
17755 * conform/data/stdio.h-data: Likewise.
17756 * conform/data/stdlib.h-data: Likewise.
17757 * conform/data/string.h-data: Likewise.
17758 * conform/data/strings.h-data: Likewise.
17759 * conform/data/stropts.h-data: Likewise.
17760 * conform/data/sys/ipc.h-data: Likewise.
17761 * conform/data/sys/mman.h-data: Likewise.
17762 * conform/data/sys/msg.h-data: Likewise.
17763 * conform/data/sys/resource.h-data: Likewise.
17764 * conform/data/sys/select.h-data: Likewise.
17765 * conform/data/sys/sem.h-data: Likewise.
17766 * conform/data/sys/shm.h-data: Likewise.
17767 * conform/data/sys/socket.h-data: Likewise.
17768 * conform/data/sys/stat.h-data: Likewise.
17769 * conform/data/sys/statvfs.h-data: Likewise.
17770 * conform/data/sys/time.h-data: Likewise.
17771 * conform/data/sys/timeb.h-data: Likewise.
17772 * conform/data/sys/times.h-data: Likewise.
17773 * conform/data/sys/types.h-data: Likewise.
17774 * conform/data/sys/uio.h-data: Likewise.
17775 * conform/data/sys/un.h-data: Likewise.
17776 * conform/data/sys/utsname.h-data: Likewise.
17777 * conform/data/sys/wait.h-data: Likewise.
17778 * conform/data/syslog.h-data: Likewise.
17779 * conform/data/tar.h-data: Likewise.
17780 * conform/data/termios.h-data: Likewise.
17781 * conform/data/utime.h-data: Likewise.
17782 * conform/data/utmpx.h-data: Likewise.
17783 * conform/data/varargs.h-data: Likewise.
17784 * conform/data/wchar.h-data: Likewise.
17785 * conform/data/wctype.h-data: Likewise.
17786 * conform/data/wordexp.h-data: Likewise.
17787
17788 * include/stropts.h: New file.
17789 * include/uchar.h: New file.
17790 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17791 * include/assert.h: Likewise.
17792 * include/ctype.h: Likewise.
17793 * include/dirent.h: Likewise.
17794 * include/dlfcn.h: Likewise.
17795 * include/fcntl.h: Likewise.
17796 * include/fnmatch.h: Likewise.
17797 * include/glob.h: Likewise.
17798 * include/grp.h: Likewise.
17799 * include/libio.h: Likewise.
17800 * include/locale.h: Likewise.
17801 * include/math.h: Likewise.
17802 * include/net/if.h: Likewise.
17803 * include/netdb.h: Likewise.
17804 * include/netinet/in.h: Likewise.
17805 * include/pthread.h: Likewise.
17806 * include/pwd.h: Likewise.
17807 * include/regex.h: Likewise.
17808 * include/sched.h: Likewise.
17809 * include/search.h: Likewise.
17810 * include/setjmp.h: Likewise.
17811 * include/signal.h: Likewise.
17812 * include/stdio.h: Likewise.
17813 * include/stdlib.h: Likewise.
17814 * include/string.h: Likewise.
17815 * include/sys/cdefs.h: Likewise.
17816 * include/sys/mman.h: Likewise.
17817 * include/sys/msg.h: Likewise.
17818 * include/sys/resource.h: Likewise.
17819 * include/sys/select.h: Likewise.
17820 * include/sys/socket.h: Likewise.
17821 * include/sys/stat.h: Likewise.
17822 * include/sys/statvfs.h: Likewise.
17823 * include/sys/time.h: Likewise.
17824 * include/sys/times.h: Likewise.
17825 * include/sys/uio.h: Likewise.
17826 * include/sys/utsname.h: Likewise.
17827 * include/sys/wait.h: Likewise.
17828 * include/termios.h: Likewise.
17829 * include/time.h: Likewise.
17830 * include/ulimit.h: Likewise.
17831 * include/unistd.h: Likewise.
17832 * include/utime.h: Likewise.
17833 * include/wchar.h: Likewise.
17834 * include/wctype.h: Likewise.
17835 * include/wordexp.h: Likewise.
17836
17837 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17838
7a270350
UD
17839 * time/time.h: TIME_UTC must be a macro.
17840 Make timespec_get available for ISO C11 only as well.
17841
7724defc
UD
178422012-02-24 Ulrich Drepper <drepper@gmail.com>
17843
17844 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17845 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17846
6b1d1d46
JM
178472012-02-24 Joseph Myers <joseph@codesourcery.com>
17848
17849 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17850
0f8bbd69
JM
178512012-02-24 Joseph Myers <joseph@codesourcery.com>
17852
17853 * manual/texinfo.tex: Update to version 2012-01-19.16.
17854
66ab80bc
JM
178552012-02-24 Joseph Myers <joseph@codesourcery.com>
17856
17857 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17858
74981cc5
RM
178592012-02-24 Roland McGrath <roland@hack.frob.com>
17860
ee968201
RM
17861 [BZ #13738]
17862 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17863 * manual/fdl-1.3.texi: New file.
17864 * manual/fdl-1.1.texi: File removed.
17865
74981cc5
RM
17866 [BZ #13738]
17867 * manual/libc.texinfo (FDL_VERSION): New @set.
17868 Use it for mention of FDL in cover text.
17869 (Documentation License): Use it in @include file name.
17870
7bb764bc
JM
178712012-02-22 Joseph Myers <joseph@codesourcery.com>
17872 Roland McGrath <roland@hack.frob.com>
17873
17874 [BZ #5461]
17875 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17876 not LONG_LONG_MAX and LONG_LONG_MIN.
17877 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17878 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17879 name.
17880 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17881
6cbeae47
JM
178822012-02-22 Joseph Myers <joseph@codesourcery.com>
17883
17884 [BZ #2547]
17885 [BZ #11365]
17886 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17887 manipulate bits before adding and subtracting TWO23[sx].
17888 * math/libm-test.inc (nearbyint_test): Add more tests.
17889
fe45ce09
JM
178902012-02-22 Joseph Myers <joseph@codesourcery.com>
17891
17892 [BZ #2548]
17893 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17894 bits before adding and subtracting TWO23[sx].
17895 * math/libm-test.inc (rint_test): Add more tests.
17896 (rint_test_tonearest): Likewise.
17897 (rint_test_towardzero): Likewise.
17898 (rint_test_downward): Likewise.
17899 (rint_test_upward: Likewise.
17900
ff3b3d82
JM
179012012-02-22 Joseph Myers <joseph@codesourcery.com>
17902
17903 [BZ #10110]
17904 * include/stdc-predef.h: New file. Extracted from features.h.
17905 * include/features.h: Include stdc-predef.h.
17906 * Makefile (headers): Add stdc-predef.h.
17907 * CONFORMANCE (Compiler limitations): Update.
17908
ef0aab35
JM
179092012-02-22 Joseph Myers <joseph@codesourcery.com>
17910
17911 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17912
58639409
DM
179132012-02-21 David S. Miller <davem@davemloft.net>
17914
17915 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17916 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17917
c0e70b25
DM
179182012-02-20 David S. Miller <davem@davemloft.net>
17919
17920 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17921 using a normal save/restore sequence, rather than allocating a
17922 dummy stack frame just to store a frame pointer and restore.
17923 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17924
fb06851d
JM
179252012-02-21 Joseph Myers <joseph@codesourcery.com>
17926
17927 * manual/install.texi: Fix stray word in line-wrapped comment.
17928
7a8b71c3
DM
179292012-02-20 David S. Miller <davem@davemloft.net>
17930
d510c123
DM
17931 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17932 both binutils and gcc support GOTDATA.
17933
0722d7c2
DM
17934 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17935 "rd %pc" in the PIC register setup sequences.
17936
3d2b3019
DM
17937 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17938 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17939 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17940 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17941 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17942 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17943 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17944 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17946 (SYSCALL_ERROR_HANDLER): Likewise.
17947 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17948 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17949 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17950 (SYSCALL_ERROR_HANDLER): Likewise.
17951
c80098a9
DM
17952 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17953 (HAVE_GCC_GOTDATA): New.
17954 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17955 relocation support in both binutils and gcc.
17956 * sysdeps/sparc/elf/configure: Regenerate.
17957
3a2545a0
DM
17958 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17959 * sysdeps/sparc/sparc32/elf/configure: Delete.
17960 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17961 * sysdeps/sparc/sparc64/elf/configure: Delete.
17962 * sysdeps/sparc/elf/configure.in: New file.
17963 * sysdeps/sparc/elf/configure: Generate.
17964
7a8b71c3
DM
17965 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17966 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17967 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17968 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17969 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17970
f1e86fca
JM
179712012-02-21 Joseph Myers <joseph@codesourcery.com>
17972
17973 * manual/install.texi: Do not mention specific glibc version
17974 numbers.
17975 * manual/libc.texinfo (VERSION, UPDATED): Update.
17976 (@copying): Use @copyright{} and range of years.
17977
0e7dfaef
JM
179782012-02-21 Joseph Myers <joseph@codesourcery.com>
17979
17980 [BZ #13695]
17981 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17982 [crti.S not in sysdirs] (generated): Do not append.
17983 [crti.S not in sysdirs] (omit-deps): Likewise.
17984 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17985 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17986 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17987 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17988 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17989 Likewise.
17990 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17991 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17992 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17993 * csu/defs.awk: Remove file.
17994 * sysdeps/generic/initfini.c: Likewise.
17995 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17996 variable.
17997 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17998 Likewise.
17999
599af3ca
JM
180002012-02-20 Joseph Myers <joseph@codesourcery.com>
18001
18002 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18003 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18004 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18005 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18006 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18007 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18008 <bits/epoll.h>.
18009 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18010 (__EPOLL_PACKED): Define to empty if not defined by
18011 <bits/epoll.h>.
18012 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18014 bits/epoll.h.
18015
0e499750
JM
180162012-02-20 Joseph Myers <joseph@codesourcery.com>
18017
18018 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18019 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18020 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18021 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18022 <bits/timerfd.h>.
18023 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18025 bits/timerfd.h.
18026
5ad91f6e
JM
180272012-02-20 Joseph Myers <joseph@codesourcery.com>
18028
18029 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18030 in C locale.
18031 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18032 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18033 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18035
06b99b02
AJ
180362012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18037
18038 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18039 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18040
7638c0fd
AS
180412012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18042
18043 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18044 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18045 defined.
18046 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18047 Likewise.
18048 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18049 entry for 2.16.
18050
92221550
AJ
180512012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18052
18053 * math/w_acos.c: Use non-signaling floating-point comparisons.
18054 * math/w_acosf.c: Likewise.
18055 * math/w_acosh.c: Likewise.
18056 * math/w_acoshf.c: Likewise.
18057 * math/w_acoshl.c: Likewise.
18058 * math/w_acosl.c: Likewise.
18059 * math/w_asin.c: Likewise.
18060 * math/w_asinf.c: Likewise.
18061 * math/w_asinl.c: Likewise.
18062 * math/w_atanh.c: Likewise.
18063 * math/w_atanhf.c: Likewise.
18064 * math/w_atanhl.c: Likewise.
18065 * math/w_exp2.c: Likewise.
18066 * math/w_exp2f.c: Likewise.
18067 * math/w_exp2l.c: Likewise.
18068 * math/w_j0.c: Likewise.
18069 * math/w_j0f.c: Likewise.
18070 * math/w_j0l.c: Likewise.
18071 * math/w_j1.c: Likewise.
18072 * math/w_j1f.c: Likewise.
18073 * math/w_j1l.c: Likewise.
18074 * math/w_jn.c: Likewise.
18075 * math/w_jnf.c: Likewise.
18076 * math/w_log.c: Likewise.
18077 * math/w_log10.c: Likewise.
18078 * math/w_log10f.c: Likewise.
18079 * math/w_log10l.c: Likewise.
18080 * math/w_log2.c: Likewise.
18081 * math/w_log2f.c: Likewise.
18082 * math/w_log2l.c: Likewise.
18083 * math/w_logf.c: Likewise.
18084 * math/w_logl.c: Likewise.
18085 * math/w_sqrt.c: Likewise.
18086 * math/w_sqrtf.c: Likewise.
18087 * math/w_sqrtl.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18089 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18090 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18091 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18092 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18093
ebaf36eb
JM
180942012-02-19 Joseph Myers <joseph@codesourcery.com>
18095
18096 [BZ #9739]
18097 * manual/string.texi (strnlen): Use correct parameter name in
18098 equivalent expression.
18099
71c254a6
JM
181002012-02-19 Joseph Myers <joseph@codesourcery.com>
18101
18102 [BZ #11174]
18103 * manual/users.texi (seteuid): Consistently use neweuid for
18104 argument name.
18105
16d2c631
JM
181062012-02-19 Joseph Myers <joseph@codesourcery.com>
18107
18108 [BZ #13704]
18109 * manual/nss.texi (Services in the NSS configuration): Correct
18110 list of services in example configuration file.
18111
cd837b09
NB
181122012-02-19 Nick Bowler <nbowler@draconx.ca>
18113
18114 [BZ #11322]
18115 * manual/arith.texi: Remove statements about negative zero
18116 behaving identically to zero.
18117
02c4bbad
JM
181182012-02-18 Joseph Myers <joseph@codesourcery.com>
18119
18120 [BZ #5993]
18121 * manual/install.texi: Do not document upgrading from libc5.
18122
366842e7
JM
181232012-02-18 Joseph Myers <joseph@codesourcery.com>
18124
18125 [BZ #4596]
18126 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18127
dd54084d
DM
181282012-02-18 David S. Miller <davem@davemloft.net>
18129
18130 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18131 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18132 %o7 across the call.
18133 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18134 instead.
18135 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18136 SETUP_PIC_REG_LEAF.
18137 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18138 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18139 * sysdeps/sparc/crtn.S: Likewise.
18140
2bcc53a3
UD
181412012-02-17 Ulrich Drepper <drepper@gmail.com>
18142
18143 * aout/Makefile: Remove.
18144
09c093b5
RK
181452012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18146
18147 [BZ #13058]
18148 * manual/examples/argp-ex1.c (main): Format definition in GNU
18149 style.
18150 * manual/examples/argp-ex2.c (main): Likewise.
18151 * manual/examples/argp-ex3.c (main): Likewise.
18152 * manual/examples/argp-ex4.c (main): Likewise.
18153 * manual/examples/longopt.c (main): Use new-style prototype
18154 definition.
18155 * manual/examples/strncat.c (main): Specify return type and use
18156 (void) for arguments.
18157 * manual/examples/subopt.c (main): Use char **argv argument.
18158
2ee633a2
JM
181592012-02-17 Joseph Myers <joseph@codesourcery.com>
18160
18161 [BZ #5077]
18162 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18163 rounding modes.
18164
0520adde
FB
181652012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18166
18167 [BZ #6907]
18168 * manual/string.texi (strchr): Change when strchrnul is
18169 recommended.
18170
3f4081cd
DGM
181712012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18172
18173 [BZ #174]
18174 * manual/locale.texi (setlocale): Document LOCPATH.
18175
d1b10e78
JM
181762012-02-17 Joseph Myers <joseph@codesourcery.com>
18177
18178 [BZ #10210]
18179 * manual/process.texi (execle): Move @dots{} before last argument.
18180
79c6869c
PB
181812012-02-17 Paul Bolle <pebolle@tiscali.nl>
18182
18183 [BZ #12047]
18184 * manual/charset.texi (Generic Charset Conversion): Fix typo
18185 (LC_TYPE -> LC_CTYPE).
18186
cc6e48bc
NB
181872012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18188
18189 [BZ #5805]
18190 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18191 (scalbnf): Likewise.
18192 (scalbnl): Likewise.
18193 (scalbln): Likewise.
18194 (scalblnf): Likewise.
18195 (scalblnl): Likewise.
18196 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18197 (vwarnx): Likewise.
18198 (verr): Likewise.
18199 (verrx): Likewise.
18200 * manual/filesys.texi (telldir): Use braces around return type.
18201 * manual/llio.texi (mmap): Add space after comma.
18202 (mmap64): Likewise.
18203 * manual/math.texi (jn): Use @var{} on parameter names.
18204 (jnf): Likewise.
18205 (jnl): Likewise.
18206 (yn): Likewise.
18207 (ynf): Likewise.
18208 (ynl): Likewise.
18209 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18210 line.
18211 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18212 "...".
18213 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18214 (sched_get_priority_max): Likewise.
18215 * manual/signal.texi (sigvec): Add space after comma.
18216 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18217 names.
18218 (if_indextoname): Likewise.
18219 (if_freenameindex): Likewise.
18220 (sendto): Use ',' instead of '.' in prototype.
18221 * manual/startup.texi (syscall): Use @dots{} instead of literal
18222 "...".
18223 * manual/stdio.texi (__fpending): Separate initial words of
18224 paragraph from @deftypefun line.
18225 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18226 "...".
18227 (vsyslog): Use @var{} on parameter names.
18228 * manual/terminal.texi (stty): Use @var{} on parameter names.
18229 * manual/users.texi (getutmp): Use @var{} on parameter names.
18230 (getutmpx): Likewise.
18231
5b23062f
JM
182322012-02-17 Joseph Myers <joseph@codesourcery.com>
18233
18234 [BZ #6884]
18235 * manual/stdio.texi (fopen): Fix typos in description of
18236 ",ccs=STRING".
18237
8dee4833
AJ
182382012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18239
18240 [BZ #4026]
18241 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18242 get clock_id definition.
18243
9078ce93
TS
182442012-02-17 Thomas Schwinge <thomas@schwinge.name>
18245
18246 [BZ #4822]
18247 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18248 (madvise): Cast every argument to void on its own.
18249
3835c55f
JM
182502012-02-17 Joseph Myers <joseph@codesourcery.com>
18251
18252 [BZ #9902]
18253 * manual/startup.texi (Exit Status): Fix typo.
18254
35c47e37
JM
182552012-02-17 Joseph Myers <joseph@codesourcery.com>
18256
18257 [BZ #10140]
18258 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18259 * manual/examples/argp-ex2.c: Likewise.
18260 * manual/examples/argp-ex3.c: Likewise.
18261
e3b69ca7
RH
182622012-02-16 Richard Henderson <rth@redhat.com>
18263
18264 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18265 * sysdeps/s390/s390-32/initfini.c: Remove.
18266 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18267 * sysdeps/s390/s390-64/initfini.c: Remove.
18268
df83af67
KK
182692012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18270
18271 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18272 compiler output for sysdeps/generic/initfini.c.
18273 * sysdeps/sh/elf/initfini.c: Remove file.
18274
f63f3380
DM
182752012-02-16 David S. Miller <davem@davemloft.net>
18276
fb59b3a4
DM
18277 [BZ #11494]
18278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18279
f63f3380
DM
18280 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18281 * sysdeps/sparc/crti.S: New file.
18282 * sysdeps/sparc/crtn.S: New file.
18283 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18284 * sysdeps/sparc/sparc64/Makefile: Likewise.
18285
df6a4a4a
MF
182862012-02-15 Mike Frysinger <vapier@gentoo.org>
18287
6dd8f3dc 18288 [BZ #3335]
df6a4a4a
MF
18289 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18290
1cac7236
RM
182912012-02-15 Roland McGrath <roland@hack.frob.com>
18292
d2c736f8
RM
18293 [BZ #4822]
18294 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18295
1cac7236
RM
18296 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18297 (write, read, close): Likewise.
18298 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18299
8e475601
JM
183002012-02-15 Joseph Myers <joseph@codesourcery.com>
18301
18302 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18303 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18304 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18305 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18306 <bits/signalfd.h>.
18307 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18309 bits/signalfd.h.
18310
ed656b40
MP
183112012-02-14 Marek Polacek <polacek@redhat.com>
18312
18313 * sysdeps/x86_64/crti.S: New file.
18314 * sysdeps/x86_64/crtn.S: New file.
18315 * sysdeps/x86_64/elf/initfini.c: Remove file.
18316
2a979d3a
JM
183172012-02-13 Joseph Myers <joseph@codesourcery.com>
18318
18319 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18320 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18321 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18322 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18323 <bits/inotify.h>.
18324 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18326 bits/inotify.h.
18327
2a418ac3
JM
183282012-02-13 Joseph Myers <joseph@codesourcery.com>
18329
18330 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18331 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18332 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18333 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18334 <bits/eventfd.h>.
18335 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18337 bits/eventfd.h.
18338
fb779be7
TS
183392012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18340
e19e83c5
RM
18341 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18342 __feraiseexcept instead of feraiseexcept.
7c35ffed 18343
fb779be7
TS
18344 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18345 nanosleep invocations.
18346 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18347 strings, and add error checking for a nanosleep invocations.
18348
59ba27a6
PE
183492012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18350
18351 Replace FSF snail mail address with URLs, as per GNU coding standards.
18352 Most of the snail mail addresses were wrong anyway, and omitting
18353 them makes the source code easier to maintain. Almost all of the
18354 changes are to license notices and to locale LC_IDENTIFICATION
18355 addresses, except for this one:
18356 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18357 not its snail mail address.
18358
57b957eb
RH
183592012-02-09 Richard Henderson <rth@twiddle.net>
18360
af850b1c
RH
18361 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18362 of kernel-features.h.
18363
57b957eb
RH
18364 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18365
6b73181a
MP
183662012-02-08 Marek Polacek <polacek@redhat.com>
18367
18368 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18369 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18370 * sysdeps/gnu/_G_config.h: Likewise.
18371 * sysdeps/generic/_G_config.h: Likewise.
18372
26ecc33a
AS
183732012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18374
6c6dbc63
AS
18375 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18376 tests.
18377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18378
e216c012
AS
18379 * sysdeps/powerpc/powerpc32/crti.S: New file.
18380 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18381 * sysdeps/powerpc/powerpc64/crti.S: New file.
18382 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18383
26ecc33a
AS
18384 * Makeconfig (have-initfini): Don't set.
18385 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18386 * configure.in (nopic_initfini): Don't substitute.
18387 * config.h.in (HAVE_INITFINI): Don't #undef.
18388 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18389 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18390
3add8e13
JM
183912012-02-08 Joseph Myers <joseph@codesourcery.com>
18392
18393 Support crti.S and crtn.S provided directly by architectures.
18394 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18395 [crti.S in sysdirs] (omit-deps): Likewise.
18396 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18397 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18398 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18399 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18400 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18401 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18402 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18403 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18404 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18405 compiler output for sysdeps/generic/initfini.c.
18406 * sysdeps/i386/elf/Makefile: Remove file.
18407 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18408
a22f12b4
MP
184092012-02-07 Marek Polacek <polacek@redhat.com>
18410
18411 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18412 * sysdeps/gnu/_G_config.h: Likewise.
18413 * sysdeps/mach/hurd/_G_config.h: Likewise.
18414
148cf100
MP
184152012-02-07 Marek Polacek <polacek@redhat.com>
18416
18417 * math/Makefile (tests): Add tst-CMPLX2.
18418 * math/tst-CMPLX2.c: New file.
18419
cfdc0dd7
AS
184202012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18421
84ba42c4
AS
18422 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18423
cfdc0dd7
AS
18424 * math/libm-test.inc (jn_test): Add missing L suffix.
18425
622c86f4
MP
184262012-02-06 Marek Polacek <polacek@redhat.com>
18427
18428 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18429 * sysdeps/i386/fpu/e_powf.S: Likewise.
18430 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18431 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18432 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18433 * sysdeps/i386/fpu/e_pow.S: Likewise.
18434 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18435 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18436 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18437 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18438 * sysdeps/i386/fpu/e_log2.S: Likewise.
18439 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18440 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18441 * sysdeps/i386/fpu/e_powl.S: Likewise.
18442 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18443 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18444 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18445 * sysdeps/i386/fpu/e_logl.S: Likewise.
18446 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18447 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18448 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18449 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18450 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18451 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18452 * sysdeps/i386/fpu/e_log.S: Likewise.
18453 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18454 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18455 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18456 * sysdeps/i386/fpu/e_logf.S: Likewise.
18457 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18458 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18459 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18460 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18461 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18462 * sysdeps/i386/fpu/e_log10.S: Likewise.
18463 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18464 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18465 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18466 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18467 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18468 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18469 * sysdeps/i386/asm-syntax.h: Likewise.
18470 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18471 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18472 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18473 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18474 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18475 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18476 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18477 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18478 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18479 * sysdeps/powerpc/sysdep.h: Likewise.
18480 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18481 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18482
d4a54ac6
JM
184832012-02-06 Joseph Myers <joseph@codesourcery.com>
18484
18485 [BZ #411]
18486 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18487
314054ea
JM
184882012-02-06 Joseph Myers <joseph@codesourcery.com>
18489
18490 * sysdeps/i386/sysdep.h: Include <features.h>.
18491 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18492 version.
18493
d8e0ca50
JM
184942012-02-05 Joseph Myers <joseph@codesourcery.com>
18495
18496 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18497 Define.
18498 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18499 LOAD_PIC_REG_STR.
18500
b1da7dd9
JM
185012012-02-03 Joseph Myers <joseph@codesourcery.com>
18502
18503 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18504 (SETUP_PIC_REG): Use GET_PC_THUNK.
18505 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18506 macro.
18507
9a1d9254
JM
185082012-02-03 Joseph Myers <joseph@codesourcery.com>
18509
18510 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18511 for non-PIC compilation.
18512 (SETUP_PIC_REG): Add .p2align directive.
18513 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18514 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18515 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18516 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18517 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18518 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18519 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18521 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18522 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18523 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18524 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18525 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18526 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18527 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18528 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18529 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18530 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18531 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18532 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18533 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18534 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18535 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18536 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18537 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18539 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18540 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18541 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18542 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18543 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18544 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18545 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18546 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18547 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18548 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18549 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18550 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18551 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18552 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18553 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18554
65dc3b75
JM
185552012-02-03 Joseph Myers <joseph@codesourcery.com>
18556
18557 * math/tst-CMPLX.c: Include <stdio.h>.
18558
d55bf177
JM
185592012-01-31 Joseph Myers <joseph@codesourcery.com>
18560
18561 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18562 float.
18563 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18564 * sysdeps/sparc/bits/mathdef.h: Likewise.
18565
69db4f8f
MP
185662012-01-31 Marek Polacek <polacek@redhat.com>
18567
18568 * libio/libio.h: Don't define _PARAMS.
18569 * locale/programs/config.h: Don't define PARAMS.
18570 * stdlib/strtol_l.c: Likewise.
18571 (__strtol_l): Remove PARAMS from the prototype.
18572
41b81892
UD
185732012-01-31 Ulrich Drepper <drepper@gmail.com>
18574
3b49edc0
UD
18575 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18576 names. Just use the correct names. Remove unnecessary wrapper
18577 functions.
18578 * malloc/arena.c: Likewise.
18579 * malloc/hooks.c: Likewise.
18580
41b81892
UD
18581 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18582 ARENA_TEST says not to. Simplify test for creation of a new arena.
18583 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18584
27a25b6e
UD
185852012-01-30 Ulrich Drepper <drepper@gmail.com>
18586
18587 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18588 into tail calls.
18589 (update_get_addr): New function.
18590 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18591 GET_ADDR_MODULE parameter.
18592
c8a89e7d
JM
185932012-01-30 Joseph Myers <joseph@codesourcery.com>
18594
18595 * crypt/cert.c: Remove __STDC__ conditionals.
18596 * crypt/crypt-entry.c: Likewise.
18597 * crypt/crypt_util.c: Likewise.
18598 * libio/filedoalloc.c: Likewise.
18599 * libio/fileops.c: Likewise.
18600 * libio/genops.c: Likewise.
18601 * libio/iofclose.c: Likewise.
18602 * libio/iofdopen.c: Likewise.
18603 * libio/iofopen.c: Likewise.
18604 * libio/iofopen64.c: Likewise.
18605 * libio/iogetdelim.c: Likewise.
18606 * libio/iopopen.c: Likewise.
18607 * libio/obprintf.c: Likewise.
18608 * libio/oldfileops.c: Likewise.
18609 * libio/oldiofclose.c: Likewise.
18610 * libio/oldiofdopen.c: Likewise.
18611 * libio/oldiofopen.c: Likewise.
18612 * libio/oldiopopen.c: Likewise.
18613 * libio/wfiledoalloc.c: Likewise.
18614 * libio/wgenops.c: Likewise.
18615 * locale/programs/xmalloc.c: Likewise.
18616 * misc/syslog.c: Likewise.
18617 * stdio-common/xbug.c: Likewise.
18618 * string/memchr.c: Likewise.
18619 * string/memcmp.c: Likewise.
18620 * string/memrchr.c: Likewise.
18621 * string/rawmemchr.c: Likewise.
18622 * sysdeps/posix/getcwd.c: Likewise.
18623 * time/strftime_l.c: Likewise.
18624
3b100462
JM
186252012-01-30 Joseph Myers <joseph@codesourcery.com>
18626
18627 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
18628 * config.make.in (config-cflags-sse2avx): Define.
18629 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18630 Fix typo.
18631
607998af
CM
186322012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18633
18634 * scripts/config.guess: Update from upstream config git repository.
18635 * scripts/config.sub: Likewise.
18636
3601428f
CM
186372012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18638
3ac8b282
CM
18639 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18640 (EM_NUM): Update.
18641 (R_TILEPRO_*, R_TILEGX_*): New macros.
18642
e034841e
CM
18643 * scripts/firstversions.awk: Fix bug in version range handling.
18644
540d7568
CM
18645 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18646
3601428f
CM
18647 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18648
463de862
CM
18649 * include/sys/epoll.h: New file.
18650 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18651 libc_hidden_def.
18652
73139a76
UD
186532012-01-28 Ulrich Drepper <drepper@gmail.com>
18654
96bc5b45
UD
18655 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18656 Avoid unnecessary __WORDSIZE == 64 test.
18657 (fmaxf): Use VEX format if possible.
18658 (fmax): Likewise.
18659 (fminf): Likewise.
18660 (fmin): Likewise.
18661
56f6f6a2
UD
18662 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18663 * math/math_private.h: Remove libc_fegetround* and
18664 libc_fesetround*.
18665 * sysdeps/i386/configure.in: Check for -msse2avx.
18666 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18667 also if SSE2AVX is defined.
18668 Remove libc_fegetround* and libc_fesetround*.
18669 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18670 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18671 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18672 of HAS_YMM_USABLE.
18673 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18674 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18675 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18676 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18677 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18678
73139a76
UD
18679 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18680
d73f93a4
AZ
186812012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18682
18683 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18684 size is not set.
18685 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18686
6ee65ed6
UD
186872012-01-27 Ulrich Drepper <drepper@gmail.com>
18688
18689 [BZ #13618]
18690 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18691 relocation.
18692 * Makeconfig (libm): Define.
18693 * elf/Makefile: Add rules to build and run tst-relsort1.
18694 * elf/tst-relsort1.c: New file.
18695 * elf/tst-relsort1mod1.c: New file.
18696 * elf/tst-relsort1mod2.c: New file.
18697
8db21882
JM
186982012-01-27 Joseph Myers <joseph@codesourcery.com>
18699
18700 * math/s_ldexp.c: Remove __STDC__ conditionals.
18701 * math/s_ldexpf.c: Likewise.
18702 * math/s_ldexpl.c: Likewise.
18703 * math/s_nextafter.c: Likewise.
18704 * math/s_nexttowardf.c: Likewise.
18705 * math/s_significand.c: Likewise.
18706 * math/s_significandf.c: Likewise.
18707 * math/s_significandl.c: Likewise.
18708 * math/w_jnl.c: Likewise.
18709 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18710 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18711 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18712 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18713 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18714 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18715 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18716 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18717 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18718 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18719 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18720 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18721 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18722 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18723 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18724 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18725 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18726 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18728 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18729 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18730 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18731 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18732 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18733 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18734 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18735 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18736 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18737 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18738 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18739 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18740 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18741 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18742 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18743 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18744 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18745 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18746 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18747 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18748 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18749 * sysdeps/ieee754/k_standard.c: Likewise.
18750 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18751 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18752 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18753 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18754 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18755 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18756 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18757 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18759 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18760 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18761 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18762 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18765 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18766 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18767 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18769 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18772 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18777 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18811 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18816 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18824 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18825 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18829 * sysdeps/ieee754/s_matherr.c: Likewise.
18830 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18831 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18832 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18833 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18834
965a54a4
JM
188352012-01-26 Joseph Myers <joseph@codesourcery.com>
18836
18837 * crypt/md5.h: Remove __STDC__ conditionals.
18838 * libio/libioP.h: Likewise.
18839 * locale/programs/config.h: Likewise.
18840 * sysdeps/generic/sysdep.h: Likewise.
18841 * sysdeps/i386/asm-syntax.h: Likewise.
18842 * sysdeps/s390/asm-syntax.h: Likewise.
18843 * sysdeps/unix/sysdep.h: Likewise.
18844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18846
7071ad79
JM
188472012-01-26 Joseph Myers <joseph@codesourcery.com>
18848
18849 * libio/libio.h: Remove __STDC__ conditionals.
18850 * malloc/obstack.h: Likewise.
18851 * math/complex.h: Likewise.
18852 * math/math.h: Likewise.
18853 * sysdeps/generic/_G_config.h: Likewise.
18854 * sysdeps/gnu/_G_config.h: Likewise.
18855 * sysdeps/mach/hurd/_G_config.h: Likewise.
18856 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18857 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18858 * sysdeps/sparc/bits/mathdef.h: Likewise.
18859
afc5ed09
UD
188602012-01-26 Ulrich Drepper <drepper@gmail.com>
18861
18862 [BZ #13583]
18863 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18864 Clean up HAS_* macros.
afc5ed09 18865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18866 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18867 possible.
18868 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18869 HAS_AVX.
18870 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18871 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18872 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18873 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18874 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18875
bdb6de1d
JM
188762012-01-25 Joseph Myers <joseph@codesourcery.com>
18877
18878 * elf/tst-unique3.cc (gets): Remove declaration.
18879 * elf/tst-unique3lib.cc (gets): Likewise.
18880 * elf/tst-unique3lib2.cc (gets): Likewise.
18881 * elf/tst-unique4.cc (gets): Likewise.
18882
b15549e6
UD
188832012-01-24 Ulrich Drepper <drepper@gmail.com>
18884
18885 * include/stdio.h: Add C++ protection. Add gets declarations and
18886 definitions.
18887 * debug/tst-chk1.c: Don't declare gets here.
18888 * stdio-common/tst-gets.c: Likewise.
18889
a037381f
JM
188902012-01-24 Joseph Myers <joseph@codesourcery.com>
18891
18892 * posix/glob: Remove directory.
18893
f1d4aa75
JM
188942012-01-24 Joseph Myers <joseph@codesourcery.com>
18895
18896 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18897
81c0c964
PT
188982012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18899
18900 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18901 of the non-standard EPFNOSUPPORT.
18902
0ea698ae
ST
189032011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18904
18905 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18906 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18907 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18908
d220b117
UD
189092012-01-21 Ulrich Drepper <drepper@gmail.com>
18910
18911 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18912
3e1aa84e
UD
189132012-01-20 Ulrich Drepper <drepper@gmail.com>
18914
18915 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18916 transient errors.
18917 * nscd/grpcache.c (cache_addgr): Likewise.
18918 * nscd/hstcache.c (cache_addhst): Likewise.
18919 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18920 * nscd/pwdcache.c (cache_addpw): Likewise.
18921 * nscd/servicescache.c (cache_addserv): Likewise.
18922
400aa020
UD
189232012-01-16 Ulrich Drepper <drepper@gmail.com>
18924
d77e7869
UD
18925 * malloc/malloc.c: Various cleanups.
18926 * malloc/hooks.c: Likewise.
18927
400aa020
UD
18928 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18929 * stdlib/bug-fmtmsg1.c: New file.
18930
18931 * stdlib/fmtmsg.c (init): Add missing unlock.
18932 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18933
e0a309cf
MP
189342012-01-12 Marek Polacek <polacek@redhat.com>
18935
18936 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18937 and _GNU_SOURCE.
18938
929d11c7
WS
189392012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18940
18941 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18942 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18943 macro to ensure uniqueness of label name.
18944 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18945 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18946
41d0e869
UD
189472012-01-11 Ulrich Drepper <drepper@gmail.com>
18948
0cc5ed3b
UD
18949 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18950
41d0e869
UD
18951 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18952 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18953 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18954 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18955
a47a831a
UD
189562012-01-10 Ulrich Drepper <drepper@gmail.com>
18957
daa891c0
UD
18958 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18959
18960 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18961 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18962 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18963
e58ef0f2
UD
18964 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18965
a47a831a 18966 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
18967 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18968 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 18969 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
18970
18971 * math/bits/math-finite.h: Add ldexp support.
18972
a0bfc9c7
MP
189732012-01-10 Marek Polacek <polacek@redhat.com>
18974
18975 * locale/programs/localedef.h (show_archive_content): Add noreturn
18976 attribute.
18977
d6e97a1d
UD
189782012-01-09 Ulrich Drepper <drepper@gmail.com>
18979
18980 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18981
d5835c26
UD
189822012-01-08 Ulrich Drepper <drepper@gmail.com>
18983
e5f484c6
UD
18984 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18985
d5835c26
UD
18986 * io/Makefile (headers): Add bits/poll2.h.
18987
d1f741e9
WS
189882011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18989
18990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18991 typo #include statement.
18992
ec09c1c4
UD
189932012-01-08 Ulrich Drepper <drepper@gmail.com>
18994
18995 * include/sys/cdefs.h: Define __attribute_alloc_size.
18996 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18997 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18998 * elf/pldd.c: Likewise.
18999 * iconv/iconv_charmap.c: Likewise.
19000 * iconv/iconvconfig.c: Likewise.
19001 * iconv/strtab.c: Likewise.
19002 * locale/programs/locale.c: Likewise.
19003 * locale/programs/localedef.h: Likewise.
19004 * locale/programs/simple-hash.c: Likewise.
19005 * nscd/nscd.h: Likewise.
19006 * nss/makedb.c: Likewise.
19007 * sysdeps/generic/ldconfig.h: Likewise.
19008 * locale/programs/localedef.c: Remove xmalloc prototype.
19009 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19010
20b38e03
PP
190112012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19012
19013 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19014 appropriate.
19015
a0da5fe1
UD
190162012-01-08 Ulrich Drepper <drepper@gmail.com>
19017
1d5a644a 19018 * math/Makefile (tests): Add tst-CMPLX.
669704fd 19019 * math/tst-CMPLX.c: New file.
1d5a644a 19020
8784a6db
UD
19021 * math/complex.h (CMPLXL): Fix typo.
19022
d9a216c0
UD
19023 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19024 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19025 GLIBC_2.16.
19026 * debug/tst-chk1.c: Add poll and ppoll tests.
19027 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19028 * include/sys/poll.h: Add hidden proto for ppoll.
19029 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19030 * sysdeps/mach/hurd/ppoll.c: Likewise.
19031 * io/ppoll.c: Likewise.
19032 * debug/poll_chk.c: New file.
19033 * debug/ppoll_chk.c: New file.
19034 * include/bits/poll2.h: New file.
19035 * io/bits/poll2.h: New file.
19036
ac097f5c
UD
19037 [BZ #1350]
19038 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19039
2119dcfa
UD
19040 * configure.in: static is always set to yes. Remove.
19041 * config.make.in: Don't set build-static.
19042 * Makeconfig: Remove use of build-static.
19043 * dlfcn/Makefile: Likewise.
19044 * elf/Makefile: Likewise.
19045 * math/Makefile: Likewise.
19046 * misc/Makefile: Likewise.
19047 * nptl/Makefile: Likewise.
19048 * sysdeps/mach/hurd/Makefile: Likewise.
19049
121766a9
UD
19050 * configure.in: PWD_P is not used anymore.
19051 * config.make.in: Remove PWD_P entry.
19052
51a1d39c 19053 * configure.in: Remove last remnants of RANLIB.
8720d066 19054 No need to check for signed size_t anymore.
215f4bdc
UD
19055 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19056 and IA-64.
3857022a 19057 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19058 * aclocal.m4: Likewise.
19059
d3ed7225
UD
19060 * wcsmbs/mbrtoc16.c: Implement using towc function.
19061 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19062 * wcsmbs/wcsmbsload.c: Likewise.
19063 * iconv/gconv_simple.c: Likewise.
19064 * iconv/gconv_int.h: Likewise.
19065 * iconv/gconv_builtin.h: Likewise.
19066 * iconv/iconv_prog.c: Remove CHAR16 handling.
19067
19068 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19069
19070 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19071
a0da5fe1
UD
19072 * configure.in: Remove --with-elf and --enable-bounded options.
19073 Dont set base_machine for ia64. More non-ELF conditions removed.
19074 Remove testing and setting of leading underscore information.
19075 * config.make.in (build-bounded): Set to no.
19076 * config.h.in: Remove NO_UNDERSCORES entry.
19077 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19078 them.
19079 * csu/start.c: Remove !NO_UNDERSCORE code.
19080 * locale/localeinfo.h: Likewise.
19081 * sysdeps/generic/machine-gmon.h: Likewise.
19082 * sysdeps/generic/sysdep.h: Likewise.
19083 * sysdeps/i386/sysdep.h: Likewise.
19084 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19085 * sysdeps/mach/sysdep.h: Likewise.
19086 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19087 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19088 * sysdeps/sh/sysdep.h: Likewise.
19089 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19090 * sysdeps/unix/i386/sysdep.S: Likewise.
19091 * sysdeps/unix/sparc/start.c: Likewise.
19092 * sysdeps/unix/sparc/sysdep.S: Likewise.
19093 * sysdeps/unix/sparc/sysdep.h: Likewise.
19094 * sysdeps/unix/start.c: Likewise.
19095 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19096 * sysdeps/x86_64/sysdep.h: Likewise.
19097
df78418a
UD
190982012-01-07 Ulrich Drepper <drepper@gmail.com>
19099
a784e502
UD
19100 [BZ #13553]
19101 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19102 for non-gcc.
19103 * argp/argp-fmtstream.h: Use const instead __const.
19104 * argp/argp.h: Likewise.
19105 * assert/assert.h: Likewise.
19106 * bits/fenv.h: Likewise.
19107 * bits/sched.h: Likewise.
19108 * bits/sigset.h: Likewise.
19109 * bits/sigthread.h: Likewise.
19110 * catgets/nl_types.h: Likewise.
19111 * conform/data/pthread.h-data: Likewise.
19112 * crypt/crypt-private.h: Likewise.
19113 * crypt/crypt.h: Likewise.
19114 * crypt/crypt_util.c: Likewise.
19115 * ctype/ctype.h: Likewise.
19116 * debug/execinfo.h: Likewise.
19117 * debug/mbsnrtowcs_chk.c: Likewise.
19118 * debug/mbsrtowcs_chk.c: Likewise.
19119 * debug/wcsnrtombs_chk.c: Likewise.
19120 * debug/wcsrtombs_chk.c: Likewise.
19121 * debug/wcstombs_chk.c: Likewise.
19122 * dirent/dirent.h: Likewise.
19123 * dlfcn/dlfcn.h: Likewise.
19124 * elf/neededtest4.c: Likewise.
19125 * grp/grp.h: Likewise.
19126 * gshadow/gshadow.h: Likewise.
19127 * iconv/gconv.h: Likewise.
19128 * iconv/gconv_int.h: Likewise.
19129 * iconv/gconv_simple.c: Likewise.
19130 * iconv/iconv.h: Likewise.
19131 * iconv/loop.c: Likewise.
19132 * iconv/skeleton.c: Likewise.
19133 * include/aio.h: Likewise.
19134 * include/aliases.h: Likewise.
19135 * include/argz.h: Likewise.
19136 * include/arpa/inet.h: Likewise.
19137 * include/assert.h: Likewise.
19138 * include/dirent.h: Likewise.
19139 * include/dlfcn.h: Likewise.
19140 * include/execinfo.h: Likewise.
19141 * include/fcntl.h: Likewise.
19142 * include/fenv.h: Likewise.
19143 * include/glob.h: Likewise.
19144 * include/grp.h: Likewise.
19145 * include/libintl.h: Likewise.
19146 * include/mntent.h: Likewise.
19147 * include/netdb.h: Likewise.
19148 * include/pwd.h: Likewise.
19149 * include/rpc/netdb.h: Likewise.
19150 * include/sched.h: Likewise.
19151 * include/search.h: Likewise.
19152 * include/shadow.h: Likewise.
19153 * include/signal.h: Likewise.
19154 * include/stdio.h: Likewise.
19155 * include/stdlib.h: Likewise.
19156 * include/string.h: Likewise.
19157 * include/sys/socket.h: Likewise.
19158 * include/sys/stat.h: Likewise.
19159 * include/sys/statfs.h: Likewise.
19160 * include/sys/statvfs.h: Likewise.
19161 * include/sys/syslog.h: Likewise.
19162 * include/sys/time.h: Likewise.
19163 * include/sys/uio.h: Likewise.
19164 * include/time.h: Likewise.
19165 * include/unistd.h: Likewise.
19166 * include/utmp.h: Likewise.
19167 * include/wchar.h: Likewise.
19168 * include/wctype.h: Likewise.
19169 * inet/aliases.h: Likewise.
19170 * inet/arpa/inet.h: Likewise.
19171 * inet/netinet/ether.h: Likewise.
19172 * inet/netinet/in.h: Likewise.
19173 * intl/libintl.h: Likewise.
19174 * io/bits/fcntl2.h: Likewise.
19175 * io/fcntl.h: Likewise.
19176 * io/ftw.h: Likewise.
19177 * io/sys/poll.h: Likewise.
19178 * io/sys/stat.h: Likewise.
19179 * io/sys/statfs.h: Likewise.
19180 * io/sys/statvfs.h: Likewise.
19181 * io/utime.h: Likewise.
19182 * libio/bits/stdio.h: Likewise.
19183 * libio/bits/stdio2.h: Likewise.
19184 * libio/libio.h: Likewise.
19185 * libio/libioP.h: Likewise.
19186 * libio/stdio.h: Likewise.
19187 * locale/lc-ctype.c: Likewise.
19188 * locale/locale.h: Likewise.
19189 * login/utmp.h: Likewise.
19190 * malloc/arena.c: Likewise.
19191 * malloc/malloc.c: Likewise.
19192 * malloc/malloc.h: Likewise.
19193 * malloc/mcheck.c: Likewise.
19194 * malloc/mtrace.c: Likewise.
19195 * math/bits/mathcalls.h: Likewise.
19196 * math/fenv.h: Likewise.
19197 * math/math_private.h: Likewise.
19198 * misc/bits/error.h: Likewise.
19199 * misc/bits/syslog.h: Likewise.
19200 * misc/err.h: Likewise.
19201 * misc/error.h: Likewise.
19202 * misc/fstab.h: Likewise.
19203 * misc/mntent.h: Likewise.
19204 * misc/regexp.h: Likewise.
19205 * misc/search.h: Likewise.
19206 * misc/sgtty.h: Likewise.
19207 * misc/sys/mman.h: Likewise.
19208 * misc/sys/syslog.h: Likewise.
19209 * misc/sys/uio.h: Likewise.
19210 * misc/sys/xattr.h: Likewise.
19211 * misc/ttyent.h: Likewise.
19212 * nis/rpcsvc/ypclnt.h: Likewise.
19213 * nss/nss.h: Likewise.
19214 * posix/bits/unistd.h: Likewise.
19215 * posix/fnmatch.h: Likewise.
19216 * posix/glob.h: Likewise.
19217 * posix/sched.h: Likewise.
19218 * posix/spawn.h: Likewise.
19219 * posix/sys/wait.h: Likewise.
19220 * posix/unistd.h: Likewise.
19221 * posix/wordexp.h: Likewise.
19222 * pwd/pwd.h: Likewise.
19223 * resolv/netdb.h: Likewise.
19224 * resource/sys/resource.h: Likewise.
19225 * rt/aio.h: Likewise.
19226 * rt/bits/mqueue2.h: Likewise.
19227 * rt/mqueue.h: Likewise.
19228 * shadow/shadow.h: Likewise.
19229 * signal/signal.h: Likewise.
19230 * socket/send.c: Likewise.
19231 * socket/sendto.c: Likewise.
19232 * socket/sys/socket.h: Likewise.
19233 * stdio-common/printf.h: Likewise.
19234 * stdlib/bits/stdlib.h: Likewise.
19235 * stdlib/fmtmsg.h: Likewise.
19236 * stdlib/monetary.h: Likewise.
19237 * stdlib/stdlib.h: Likewise.
19238 * stdlib/ucontext.h: Likewise.
19239 * streams/stropts.h: Likewise.
19240 * string/argz.h: Likewise.
19241 * string/bits/string2.h: Likewise.
19242 * string/string.h: Likewise.
19243 * string/strings.h: Likewise.
19244 * sunrpc/rpc/auth.h: Likewise.
19245 * sunrpc/rpc/auth_des.h: Likewise.
19246 * sunrpc/rpc/clnt.h: Likewise.
19247 * sunrpc/rpc/netdb.h: Likewise.
19248 * sunrpc/rpc/pmap_clnt.h: Likewise.
19249 * sunrpc/rpc/xdr.h: Likewise.
19250 * sysdeps/generic/inttypes.h: Likewise.
19251 * sysdeps/generic/net/if.h: Likewise.
19252 * sysdeps/generic/sys/swap.h: Likewise.
19253 * sysdeps/gnu/net/if.h: Likewise.
19254 * sysdeps/gnu/utmpx.h: Likewise.
19255 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19256 * sysdeps/i386/i486/bits/string.h: Likewise.
19257 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19258 * sysdeps/s390/bits/string.h: Likewise.
19259 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19260 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19261 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19262 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19263 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19264 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19265 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19266 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19267 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19268 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19269 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19270 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19271 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19272 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19273 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19274 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19275 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19276 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19277 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19278 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19279 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19280 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19281 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19282 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19283 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19284 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19285 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19286 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19287 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19288 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19289 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19290 * sysvipc/sys/ipc.h: Likewise.
19291 * sysvipc/sys/msg.h: Likewise.
19292 * sysvipc/sys/sem.h: Likewise.
19293 * sysvipc/sys/shm.h: Likewise.
19294 * termios/termios.h: Likewise.
19295 * time/sys/time.h: Likewise.
19296 * time/time.h: Likewise.
19297 * wcsmbs/bits/wchar2.h: Likewise.
19298 * wcsmbs/uchar.h: Likewise.
19299 * wcsmbs/wchar.h: Likewise.
19300 * wctype/wctype.h: Likewise.
19301
0269750c
UD
19302 [BZ #13551]
19303 * Makeconfig: Remove all but ELF support including AIX support.
19304 * Makerules: Likewise.
19305 * config.h.in: Likewise.
19306 * config.make.in: Likewise.
19307 * configure: Likewise.
19308 * configure.in: Likewise.
19309 * csu/Makefile: Likewise.
19310 * csu/version.c: Likewise.
19311 * debug/Makefile: Likewise.
19312 * dlfcn/Makefile: Likewise.
19313 * elf/Makefile: Likewise.
19314 * extra-lib.mk: Likewise.
19315 * iconv/Makefile: Likewise.
19316 * include/libc-symbols.h: Likewise.
19317 * include/shlib-compat.h: Likewise.
19318 * resolv/Makefile: Likewise.
19319 * resolv/res_libc.c: Likewise.
19320 * rt/Makefile: Likewise.
19321 * sysdeps/i386/asm-syntax.h: Likewise.
19322 * sysdeps/i386/sysdep.h: Likewise.
19323 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19324 * sysdeps/mach/sysdep.h: Likewise.
19325 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19326 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19327 * sysdeps/s390/asm-syntax.h: Likewise.
19328 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19329 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19330 * sysdeps/sh/sysdep.h: Likewise.
19331 * sysdeps/unix/sparc/sysdep.h: Likewise.
19332 * sysdeps/wordsize-32/divdi3.c: Likewise.
19333 * sysdeps/x86_64/sysdep.h: Likewise.
19334
00bbd29b
UD
19335 * argp/Versions: Remove _argp_unlock_xxx.
19336
19337 [BZ #13559]
19338 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19339 * abilist/libBrokenLocale.abilist: Likewise.
19340 * abilist/libanl.abilist: Likewise.
19341 * abilist/libc.abilist: Likewise.
19342 * abilist/libcrypt.abilist: Likewise.
19343 * abilist/libdl.abilist: Likewise.
19344 * abilist/libm.abilist: Likewise.
19345 * abilist/libnsl.abilist: Likewise.
19346 * abilist/libpthread.abilist: Likewise.
19347 * abilist/libresolv.abilist: Likewise.
19348 * abilist/librt.abilist: Likewise.
19349 * abilist/libthread_db.abilist: Likewise.
19350 * abilist/libutil.abilist: Likewise.
19351 * abilist/libnss_db.abilist: New file.
19352
19353 * scripts/abilist.awk: Add support for indirect functions.
19354
a2693a0e
UD
19355 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19356
3f05895f
UD
19357 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19358
ecb6fb48
UD
19359 * shlib-versions: Remove entries for ports architectures.
19360
664f8cb9
UD
19361 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19362 files in ports.
19363 * elf/stackguard-macros.h: Remove support for IA-64.
19364 * elf/tst-auditmod1.c: Likewise.
19365 * sysdeps/generic/ldsodefs.h: Likewise.
19366
7ae81d88
UD
19367 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19368 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19369 configure files.
19370
bdeba135
UD
19371 [BZ #13552]
19372 * configure.in: Remove --enable-omitfp support.
19373 * FAQ.in: Adjust.
19374 * config.make.in: Likewise.
19375 * Makeconfig: Likewise.
19376 * manual/install.texi: Likewise.
19377
d75a0a62
UD
19378 In case anyone cares, the IA-64 architecture could move to ports.
19379 * sysdeps/ia64/*: Removed.
19380 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 19381 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 19382
dcc9756b
UD
19383 [BZ #13555]
19384 * configure.in: Remove entries for unsupported architectures.
19385
d3761ebc 19386 [BZ #13533]
9954432e
UD
19387 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19388 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19389 routines.
19390 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19391 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19392 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19393 fall back to using wcrtomb.
19394 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19395 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19396 renaming.
19397 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19398 * wcsmbs/tst-c16c32-1.c: New file.
19399
19400 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19401 local variable.
19402
c3a87236
UD
19403 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19404
28926a1b
UD
19405 * elf/tst-unique3.cc: Add explicit declaration of gets.
19406 * elf/tst-unique3lib.cc: Likewise.
19407 * elf/tst-unique3lib2.cc: Likewise.
19408 * elf/tst-unique4.cc: Likewise.
19409
df78418a
UD
19410 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19411
8ecd6b2a
JM
194122012-01-06 Joseph Myers <joseph@codesourcery.com>
19413
19414 [BZ #13566]
19415 * assert/assert.h (static_assert): Don't define for C++.
19416 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19417 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19418
9f115170
UD
194192012-01-03 Ulrich Drepper <drepper@gmail.com>
19420
5e0d0300
UD
19421 * iconv/loop.c (single loop): Fix assertion in storing of
19422 remaining bytes.
19423
9f115170
UD
19424 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19425
81fb02b0
UD
194262012-01-01 Ulrich Drepper <drepper@gmail.com>
19427
19428 * posix/getconf.c: Update copyright year.
19429 * nss/getent.c: Likewise.
a316c1f6 19430 * nss/makedb.c: Likewise.
81fb02b0
UD
19431 * iconv/iconvconfig.c: Likewise.
19432 * iconv/iconv_prog.c: Likewise.
19433 * elf/ldconfig.c: Likewise.
a316c1f6
UD
19434 * elf/pldd.c: Likewise.
19435 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
19436 * catgets/gencat.c: Likewise.
19437 * csu/version.c: Likewise.
19438 * elf/ldd.bash.in: Likewise.
19439 * elf/sprof.c (print_version): Likewise.
19440 * locale/programs/locale.c: Likewise.
19441 * locale/programs/localedef.c: Likewise.
a316c1f6 19442 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
19443 * nscd/nscd.c (print_version): Likewise.
19444 * debug/xtrace.sh: Likewise.
19445 * malloc/memusage.sh: Likewise.
19446 * malloc/mtrace.pl: Likewise.
19447 * debug/catchsegv.sh: Likewise.
19448
2ba92745
JJ
194492011-12-30 Jakub Jelinek <jakub@redhat.com>
19450
19451 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19452 pure attribute.
19453
dadebdae
UD
194542011-12-24 Ulrich Drepper <drepper@gmail.com>
19455
d3761ebc 19456 [BZ #13533]
db6af3eb
UD
19457 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19458 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19459 transformations.
19460 * iconv/gconv_int.h: Likewise.
19461 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19462 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19463 from libc for GLIBC_2.16.
19464 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19465 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19466 * wcsmbs/uchar.h: Really define mbstate_t.
19467 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19468 * wcsmbs/c16rtomb.c: New file.
19469 * wcsmbs/mbrtoc16.c: New file.
19470 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19471 for C/POSIX locale.
19472 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19473 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19474
dadebdae
UD
19475 * wcsmbs/wchar.h: Add missing __restrict.
19476
67371b56
UD
194772011-12-23 Ulrich Drepper <drepper@gmail.com>
19478
74033a25
UD
19479 [BZ #13532]
19480 * time/Makefile (routines): Add timespec_get.
19481 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19482 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19483 timespec for ISO C11.
19484 * time/timespec_get.c: New file.
19485 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19486 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19487
380d7e87
UD
19488 [BZ #13531]
19489 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19490 * stdlib/stdlib.h: Declare aligned_alloc.
19491 * Versions.def: Add GLIBC_2.16 for libc.
19492 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19493
4e9e7a35
UD
19494 [BZ 13527]
19495 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19496 ISO C11.
19497
380d7e87 19498 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
19499 code.
19500
03a71829
UD
19501 [BZ #13528]
19502 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19503
839e283e
UD
19504 [BZ #13529]
19505 * assert/assert.h (static_assert): Define.
19506
ce5294e2 19507 * version.h: Update for 2.16 development version.
90fa7312 19508
8d44e150 19509 [BZ #13526]
d7809905
UD
19510 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19511 _ISOC11_SOURCE.
19512
c0da14cd
UD
19513 * version.h (RELEASE): Bump for 2.15 release.
19514 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19515
530a3249
MP
19516 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19517 Patch by Marek Polacek <mpolacek@redhat.com>.
19518
67371b56
UD
19519 * bits/byteswap.h: Protect long long constants with __extension__.
19520 * sysdeps/i386/bits/byteswap.h: Likewise.
19521 * sysdeps/ia64/bits/byteswap.h: Likewise.
19522 * sysdeps/s390/bits/byteswap.h: Likewise.
19523 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19524
15db4de1
LD
195252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19526
19527 [BZ #13540]
bbe315ea
LD
19528 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19529 destination buffer.
15db4de1
LD
19530 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19531
2b2596b1
MP
195322011-12-23 Marek Polacek <polacek@redhat.com>
19533
19534 * elf/dl-addr.c (determine_info): Add inline keyword.
19535 * elf/tst-auditmod4b.c (check_avx): Likewise.
19536 * elf/tst-auditmod6b.c (check_avx): Likewise.
19537 * elf/tst-auditmod6c.c (check_avx): Likewise.
19538 * elf/tst-auditmod7b.c (check_avx): Likewise.
19539
70c6c246
UD
195402011-12-23 Ulrich Drepper <drepper@gmail.com>
19541
19542 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19543 !__SSE_MATH__.
19544
c044cf14
LD
195452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19546
15db4de1 19547 [BZ #13540]
c044cf14
LD
19548 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19549 processing for last bytes.
19550
6b13d9d9
BH
195512011-08-06 Bruno Haible <bruno@clisp.org>
19552
d455f537
BH
19553 [BZ #13061]
19554 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19555 U+0385, not to U+1FEE.
19556
6b13d9d9
BH
19557 [BZ #13062]
19558 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19559 entry for U+00A5 U+0301.
19560
db910efd
UD
195612011-12-22 Ulrich Drepper <drepper@gmail.com>
19562
27deeafc
UD
19563 [BZ #13166]
19564 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19565 buffer for the output is too small.
19566
aed9d171
UD
19567 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19568 optimization.
19569
db910efd
UD
19570 [BZ #13185]
19571 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19572 SSE flags if possible.
19573
2bd779ae
LD
195742011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19575
e7f9dac3 19576 [BZ #13540]
2bd779ae
LD
19577 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19578 processing for last bytes.
19579
154bfc16
JM
195802011-12-22 Joseph Myers <joseph@codesourcery.com>
19581
19582 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19583 (syscall-list-default-options, syscall-list-default-condition)
19584 (syscall-list-includes): Define.
19585 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19586 list of ABIs and options and #if conditions for each ABI. Do not
19587 handle common syscalls between ABIs specially.
19588 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19589 Remove.
19590 (syscall-list-variants, syscall-list-32bit-options)
19591 (syscall-list-32bit-condition, syscall-list-64bit-options)
19592 (syscall-list-64bit-condition): Define.
19593 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19594 (syscall-list-variants, syscall-list-32bit-options)
19595 (syscall-list-32bit-condition, syscall-list-64bit-options)
19596 (syscall-list-64bit-condition): Define.
19597 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19598 Remove.
19599 (syscall-list-variants, syscall-list-32bit-options)
19600 (syscall-list-32bit-condition, syscall-list-64bit-options)
19601 (syscall-list-64bit-condition): Define.
19602 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19603 Remove.
19604 (syscall-list-variants, syscall-list-32bit-options)
19605 (syscall-list-32bit-condition, syscall-list-64bit-options)
19606 (syscall-list-64bit-condition): Define.
19607
21eaf3a5
UD
196082011-12-22 Ulrich Drepper <drepper@gmail.com>
19609
16c6f992
UD
19610 * locale/iso-639.def: Add brx entry.
19611
41043168
UD
19612 [BZ #13328]
19613 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19614 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19615
21eaf3a5
UD
19616 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19617 __feraiseexcept_renamed.
19618
e3a851a2
UD
196192011-12-21 Ulrich Drepper <drepper@gmail.com>
19620
4920765e
UD
19621 [BZ #13538]
19622 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19623 EPOLLET with unsigned values.
19624 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19625 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19626
e3a851a2
UD
19627 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19628 to large cancellation.
19629 * math/s_cacoshf.c: Likewise.
19630 * math/s_cacoshl.c: Likewise.
19631
b27e24b8
RK
196322011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19633
19634 [BZ #13305]
aebefeee 19635 [BZ #12786]
b27e24b8
RK
19636 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19637 * math/s_cacoshf.c: Likewise.
19638 * math/s_cacoshl.c: Likewise.
19639
ee190f67
UD
196402011-12-21 Ulrich Drepper <drepper@gmail.com>
19641
19642 [BZ #13439]
19643 * iconv/gconv.h: Define __GCONV_SWAP.
19644 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19645 * iconvdata/utf-16.c: Likewise.
19646 * iconvdata/utf-32.c: Likewise.
19647
707f25df
AS
196482011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19649
19650 [BZ #13524]
19651 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19652 numerator after shifting it by one limb.
19653
d2daaa1e
RÁE
196542011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19655
19656 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19657 under [__USE_EXTERN_INLINES].
19658
a4647e72
UD
196592011-12-17 Ulrich Drepper <drepper@gmail.com>
19660
19661 [BZ #13446]
19662 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19663
f0b264f1
AZ
196642011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19665
19666 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19667 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19668 optimized code.
19669 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19670 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19671 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19672 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19673 for strncasecmp/strncasecmp_l compilation.
19674 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19675 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19676
8ef4f244
MP
196772011-12-08 Marek Polacek <mpolacek@redhat.com>
19678
19679 [BZ #13484]
19680 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19681 of __asm__.
19682
97ac2654
UD
196832011-12-17 Ulrich Drepper <drepper@gmail.com>
19684
19685 [BZ #13506]
19686 * time/tzfile.c (__tzfile_read): Check values from file header.
19687
91d2a845
WS
196882011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19689
19690 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19691 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19692 * powerpc/powerpc32/dl-start.S: Likewise.
19693 * powerpc/powerpc32/elf/start.S: Likewise.
19694 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19695 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19696 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19697 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19698 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19699 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19700 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19701 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19702 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19703 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19704 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19705 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19706 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19707 * powerpc/powerpc32/memset.S: Likewise.
19708 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19709 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19710 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19711 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19712 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19713 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19714 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19715 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19716 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19717 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19718 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19719 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19720 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19721
a1267ba1
AZ
197222011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19723
19724 * math/libm-test.inc: Added more nearbyint tests.
19725 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19726 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19727 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19728 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19729
ad8ac1bd
RL
197302011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19731
19732 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19733 FD_CLOEXEC.
19734
1d3e4b61
UD
197352011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19736
19737 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19738 Add wcscpy-ssse3 wcscpy-c.
19739 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19740 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19741 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19742 * sysdeps/x86_64/wcschr.S: New file.
19743 * sysdeps/x86_64/wcsrchr.S: New file.
19744 * string/test-strcmp.c: Remove checking of wcscmp function for
19745 wrong alignments.
19746 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19747 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19748 wcsrchr-sse2 wcsrchr-c.
19749 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19750 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19751 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19752 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19753 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19754 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19755 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19756 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19757 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19758 * wcsmbc/wcschr.c (WCSCHR): New macro.
19759
5b330a2d
UD
197602011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19761
19762 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19763 * wcsmbs/test-wcsrchr.c: New file.
19764 * string/test-strrchr.c: Add wcsrchr support.
19765 (WIDE): New macro.
19766 * wcsmbs/test-wcscpy.c: New file.
19767 * string/test-strcpy.c: Add wcscpy support.
19768 (WIDE): New macro.
26428b7c 19769
f039c043
UD
197702011-12-10 Ulrich Drepper <drepper@gmail.com>
19771
19772 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19773 the inner loop.
19774
850fb039
AS
197752011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19776
19777 [BZ #13472]
19778 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19779
4efbd5cb
UD
197802011-12-04 Ulrich Drepper <drepper@gmail.com>
19781
52ff5dd0 19782 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19783 Minor optimizations.
52ff5dd0 19784
4efbd5cb
UD
19785 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19786 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19787 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19788
8a426e12
UD
197892011-12-03 Ulrich Drepper <drepper@gmail.com>
19790
aff2453d
UD
19791 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19792 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19793 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19794 for gcc to avoid warnings.
19795 * inet/Makefile (tests): Add tst-checks.
19796 * inet/tst-checks.c: New file.
19797
19798 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19799 warning.
19800
19801 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19802 __wmemcmp_sse2.
19803
19804 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19805 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19806
8a426e12
UD
19807 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19808
9bea3473
UD
198092011-12-02 Ulrich Drepper <drepper@gmail.com>
19810
3a965496
UD
19811 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19812 problem.
19813
9bea3473
UD
19814 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19815
f101631b
UD
198162011-11-29 Joseph Myers <joseph@codesourcery.com>
19817
19818 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19819 conditional on GCC version.
19820 (__arch_compare_and_exchange_val_8_acq)
19821 (__arch_compare_and_exchange_val_16_acq)
19822 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19823 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19824 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19825
a98275aa
UD
198262011-12-02 Joseph Myers <joseph@codesourcery.com>
19827
19828 * sysdeps/sh/backtrace.c: New file.
19829
d4cc29a2
AS
198302011-12-02 Andreas Schwab <schwab@redhat.com>
19831
19832 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19833 parenthesis.
19834
6257af2d
AS
198352011-12-01 Andreas Schwab <schwab@redhat.com>
19836
19837 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19838 falling back to utime.
19839
b5f44c1a
AS
198402011-11-30 Andreas Schwab <schwab@redhat.com>
19841
19842 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19843 expectations for float.
19844
f3a6cc0a
AS
198452011-11-29 Andreas Schwab <schwab@redhat.com>
19846
19847 * locale/weight.h (findidx): Add parameter len.
19848 * locale/weightwc.h (findidx): Likewise.
19849 * posix/fnmatch_loop.c (FCT): Adjust caller.
19850 * posix/regcomp.c (build_equiv_class): Likewise.
19851 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19852 * posix/regexec.c (check_node_accept_bytes): Likewise.
19853 * string/strcoll_l.c (STRCOLL): Likewise.
19854 * string/strxfrm_l.c (STRXFRM): Likewise.
19855
9d65ea3a
UD
198562011-11-17 Ulrich Drepper <drepper@gmail.com>
19857
19858 * Makefile.in: Remove CVSOPT handling.
19859 * configure.in: Remove use of AC_REVISION.
19860 * iconvdata/Makefile (distribute): No need to filter out CVS.
19861 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19862 handling.
19863
5583a086
AS
198642011-11-16 Andreas Schwab <schwab@redhat.com>
19865
19866 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19867 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19868 [USE_AS_STRNCASECMP_L]: Likewise.
19869 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19870 NO_TLS_DIRECT_SEG_REFS.
19871 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19872 Fix argument offsets for non-PIC.
19873 [USE_AS_STRNCASECMP_L]: Likewise.
19874 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19875 NO_TLS_DIRECT_SEG_REFS.
19876
d62a8200
UD
198772011-11-15 Ulrich Drepper <drepper@gmail.com>
19878
9d65ea3a 19879 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19880 O_CLOEXEC.
19881 * locale/loadlocale.c (_nl_load_locale): Likewise.
19882
09f93bd3
AS
198832011-11-15 Andreas Schwab <schwab@redhat.com>
19884
446514f9
AS
19885 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19886 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19887 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19888 (SYSCALL_GETTIME): Set errno on error.
19889
09f93bd3
AS
19890 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19891 count references to noai6ai_cached.
19892
312be3f9
UD
198932011-11-15 Ulrich Drepper <drepper@gmail.com>
19894
19895 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19896
19897 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19898 FD_CLOEXEC for /proc/self/maps.
19899
19900 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19901 FD_CLOEXEC for /proc/meminfo.
19902
19903 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19904 gai.conf.
19905
19906 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19907 FD_CLOEXEC for given file.
19908
19909 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19910
19911 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19912 FD_CLOEXEC for /etc/hosts.
19913 (_gethtent): Likewise.
19914
19915 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19916
19917 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19918 cancellation and set FD_CLOEXEC for /etc/netgroup.
19919
19920 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19921 reading /etc/publickey.
19922
19923 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19924 allow cancellation when reading /etc/group.
19925
19926 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19927 cancellation.
19928 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19929
19930 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19931 when using data file.
19932
19933 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19934
19935 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19936 (write_nis_obj): Use "c" and "e" in fopen.
19937
19938 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19939
19940 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19941
19942 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19943
19944 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19945
19946 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19947 locale.alias.
19948
19949 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19950
19951 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19952
19953 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19954
19955 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19956 file parsing and set FD_CLOEXEC.
19957
82af0fa8
UD
199582011-11-14 Ulrich Drepper <drepper@gmail.com>
19959
19960 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19961
a5fb313c
AS
199622011-11-14 Andreas Schwab <schwab@redhat.com>
19963
19964 * malloc/arena.c (arena_get2): Don't call reused_arena when
19965 _int_new_arena failed.
19966
6abf3465
UD
199672011-11-14 Ulrich Drepper <drepper@gmail.com>
19968
19969 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19970 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19971 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19972 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19973 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19974 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19975 to compile strcasecmp and strncasecmp.
19976 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19977 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19978
19979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19980
76e3966e
UD
199812011-11-13 Ulrich Drepper <drepper@gmail.com>
19982
19983 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19984 locale-defines.sym to gen-as-const-headers.
19985 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19986 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19987 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19988 to compile strcasecmp and strncasecmp.
19989 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19990 strcasecmp_l and strncasecmp_l.
19991 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19992 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19993 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19994 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19995 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19996 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19997 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19998 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19999 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20000 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20001 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20002
ab26144e
UD
200032011-11-12 Ulrich Drepper <drepper@gmail.com>
20004
7edb22ef
UD
20005 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20006 result of SYSDEP_GETTIME_CPU to retval.
20007 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20008 parameter list to macro. Remove trailing semicolon. Adjust users.
20009
9694fc44
UD
20010 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20011 variable.
20012
8ad89ef8
UD
20013 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20014 mantissa words.
20015 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20016
0c822ef9
UD
20017 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20018 from unused variable.
20019
874e0564
UD
20020 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20021 DWARF definitions.
20022 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20023 for assembling.
20024
3a2edc79
UD
20025 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20026 over namespaces.
20027
f3c2577f
UD
20028 * sunrpc/rpc_prot.c (rejected): Fix case value.
20029
294ce126
UD
20030 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20031 unsigned long long int to avoid warnings in shift.
20032
5e2b63c6
UD
20033 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20034 of use of trans.
20035 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20036 variable tmp.
20037
e7f4b08e
UD
20038 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20039 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20040 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20041
ab26144e
UD
20042 * nis/nis_table.c (nis_list): Use variable of correct type for
20043 result of __follow_path call.
20044
8a6d5255
AZ
200452011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20046
20047 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20048 of math functions ceil, trunc, floor, round, and sqrt, when
20049 avaliable on the platform.
20050 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20051 name clash.
20052 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20053 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20054 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20055
aaddc98c
MP
200562011-10-30 Marek Polacek <mpolacek@redhat.com>
20057
20058 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20059 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20060
95b7042b
RM
200612011-11-11 Roland McGrath <roland@hack.frob.com>
20062
20063 * include/unistd.h: Fix __readlink return type.
20064 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20065
57769839
UD
200662011-11-11 Ulrich Drepper <drepper@gmail.com>
20067
20068 * stdlib/ucontext.h: Undo last change for makecontext.
20069
edc5984d
AS
200702011-11-11 Andreas Schwab <schwab@redhat.com>
20071
98591e58
AS
20072 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20073
edc5984d
AS
20074 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20075 * setjmp/setjmp.h: Mark functions as non-leaf.
20076 * setjmp/bits/setjmp2.h: Likewise.
20077 * stdlib/ucontext.h: Likewise.
20078
77cdc054
AS
200792011-11-10 Andreas Schwab <schwab@redhat.com>
20080
20081 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20082 (reused_arena): Don't check arena limit.
20083 (arena_get2): Atomically check arena limit.
20084
fe72eebd
UD
200852011-11-08 Ulrich Drepper <drepper@gmail.com>
20086
5f078c32
UD
20087 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20088 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20089
fe72eebd
UD
20090 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20091 instructions.
20092
ae1bc2fa
AS
200932011-11-07 Andreas Schwab <schwab@redhat.com>
20094
7583a88d
AS
20095 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20096 handler when locking.
20097
ae1bc2fa
AS
20098 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20099 Fix size of allocated buffer.
20100
10fb0bfa
AS
201012011-11-04 Andreas Schwab <schwab@redhat.com>
20102
998832a4
AS
20103 [BZ #10103]
20104 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20105 declarations for long double functions.
20106 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20107
10fb0bfa
AS
20108 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20109
3d7ba52b
AS
201102011-11-03 Andreas Schwab <schwab@redhat.com>
20111
a9ae54a1
AS
20112 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20113 installed.
20114
3d7ba52b
AS
20115 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20116 is disabled.
20117
bc8db248
ST
201182011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20119
20120 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20121
45b96dd6
AS
201222011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20123
647776f6
AS
20124 * include/alloca.h (stackinfo_alloca_round): Define.
20125 (extend_alloca): Use it.
20126 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20127 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20128 here.
20129
d91a8b93
AS
20130 * scripts/check-local-headers.sh: Ignore libaudit.h.
20131
45b96dd6
AS
20132 * nscd/Makefile (extra-objs): Make recursively expanded.
20133
432d41ce
UD
201342011-11-01 Ulrich Drepper <drepper@gmail.com>
20135
34372fc6
UD
20136 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20137 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20138
fadb59f8
UD
20139 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20140 * posix/tst-rfc3484-2.c: Likewise.
20141 * posix/tst-rfc3484-3.c: Likewise.
20142
78239589
UD
20143 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20144 process_vm_writev.
20145 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20146 process_vm_writev.
20147 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20148 process_vm_writev from libc using GLIBC_2.15 version.
20149
432d41ce
UD
20150 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20151
02f9c6cf
PP
201522011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20153
20154 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20155 stack usage.
20156
3a2c0242
UD
201572011-10-31 Ulrich Drepper <drepper@gmail.com>
20158
f4ec4833
UD
20159 [BZ #13367]
20160 * nss/getent.c (initgroups_keys): Show error message in case no group
20161 names are given.
20162
3a2c0242
UD
20163 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20164 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20165 __bump_nl_timestamp.
20166 * nscd/connections (nscd_init): When host database is served open
20167 netlink socket and request notification about configuration changes.
20168 (main_loop_poll): Track netlink file descriptor and bump timestamp
20169 in case data becomes available.
20170 (main_loop_epoll): Likewise.
20171 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20172 (database_pers_head): Add extra_data fileds.
20173 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20174 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20175 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20176 Adjust caller.
20177 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20178 in6ai data, call __free_in6ai.
20179 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20180 Add -DHAVE_NETLINK.
20181 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20182 interface information. Reuse previous data if netlink timestamp
20183 is not changed.
20184 (__bump_nl_timestamp): New function.
20185 (__free_in6ai): New function.
20186
636064eb
UD
201872011-10-30 Ulrich Drepper <drepper@gmail.com>
20188
20189 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20190 close_not_cancel_no_status here.
20191 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20192
9beb2334
UD
201932011-10-29 Ulrich Drepper <drepper@gmail.com>
20194
6ef76f3b
UD
20195 [BZ #13276]
20196 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20197 return value.
20198
0ffc4f3e 20199 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20200 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20201 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20202
cb95113e
UD
202032011-07-03 Andreas Jaeger <aj@suse.de>
20204
20205 [BZ #10709]
20206 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20207 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20208 * math/libm-test.inc (sin_test): Add test case.
20209
a1b560ff
UD
202102011-10-29 Ulrich Drepper <drepper@gmail.com>
20211
c9aaface
UD
20212 [BZ #13337]
20213 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20214 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20215
d272e7f1
UD
20216 * elf/chroot_canon.c (chroot_canon): Cleanups.
20217
1bc33071
UD
20218 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20219
1760874d
TJ
20220 [BZ #13335]
20221 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20222 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20223
51d91b18
UD
20224 * string/test-strchr.c: Make usable for strchrnul testing.
20225 * string/test-strchrnul.c: New file.
20226 * string/Makefile (strop-tests): Add strchrnul.
20227
a1b560ff 20228 * po/it.po: Update from translation team.
b611fb81 20229 * po/es.po: Likewise.
a1b560ff 20230
a5b81e1f
UD
202312011-10-28 Ulrich Drepper <drepper@gmail.com>
20232
fd52bc6d
UD
20233 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20234 the three constants needed as parameters. Drop the others.
20235 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20236 __m128i_strloadu_tolower.
52e4b9eb
UD
20237 Create and initialize variable zero and use it in all the places
20238 where _mm_setzero_si128 was used.
fd52bc6d 20239
a5b81e1f
UD
20240 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20241 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20242 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20243 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20244 anymore.
20245 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20246 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20247 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20248 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20249 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20250 __mpranred, __mptan.
20251 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20252 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20253 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20254 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20255 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20256 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20257 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20258 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20259 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20260
b4343346
AS
202612011-10-28 Andreas Schwab <schwab@redhat.com>
20262
0c92d8a8
AS
20263 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20264 redefine if SHARED.
20265 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20266
b4343346
AS
20267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20268 wide char related routines to wcsmbs subdir.
20269
3871f58f
AS
202702011-10-27 Andreas Schwab <schwab@redhat.com>
20271
20272 [BZ #13344]
20273 * misc/sys/cdefs.h (__THROWNL): Define.
20274 * posix/unistd.h: Use __THREADNL instead of __THREAD
20275 for memory synchronization functions.
20276
94d44d9f
RM
202772011-10-26 Roland McGrath <roland@hack.frob.com>
20278
21b64b15 20279 [BZ #13349]
94d44d9f
RM
20280 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20281 doesn't exist.
20282 * manual/stdio.texi (Obstack Streams): Node removed.
20283
f6ce9294
AS
202842011-10-26 Andreas Schwab <schwab@redhat.com>
20285
80479147
AS
20286 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20287 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20288 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20289
f6ce9294
AS
20290 * math/math_private.h (math_force_eval): Allow non-addressable
20291 arguments.
20292 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20293
618280a1
UD
202942011-10-25 Ulrich Drepper <drepper@gmail.com>
20295
e0016b11
UD
20296 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20297 file is not needed.
20298
20299 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20300 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20301 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20302 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20303 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20304 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20305 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20306 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20307 Add AVX variants.
20308 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20309 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20310 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20311 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20312 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20313 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20314 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20315 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20316 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20317 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20318 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20319 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20320 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20321 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20322 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20323 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20324 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20325 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20326 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20327
20328 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20329 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20330
618280a1
UD
20331 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20332 place. Use VEX encoding when compiling for AVX.
20333
37822576
AS
203342011-10-25 Andreas Schwab <schwab@redhat.com>
20335
1f1e1947
AS
20336 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20337 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20338
37822576
AS
20339 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20340
31ea014d
UD
203412011-10-25 Ulrich Drepper <drepper@gmail.com>
20342
d7826aa1 20343 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 20344 useless if() expression.
d7826aa1
UD
20345 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20346 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20347 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20348 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20349 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20350 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20351 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20352 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20353 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20354 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20355 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20356 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20357 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20358 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20359 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20360 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20361 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20362 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20363 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20364
31ea014d
UD
20365 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20366
16437fec
AS
203672011-10-25 Andreas Schwab <schwab@redhat.com>
20368
20369 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20370 condition.
20371 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20372
31d3cc00
UD
203732011-10-25 Ulrich Drepper <drepper@gmail.com>
20374
20375 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20376 .text section. Avoid duplicate constants.
20377 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20379 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20380 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20381 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20384 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20385 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20386 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20387 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20388 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20389 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20390 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20391 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20392 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20393 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20394 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20395 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20396 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20397 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20398 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20399 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20400 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20401 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20402 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20403 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20404 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20405 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20406 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20407 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20408 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20409 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20410 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20411 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20412 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20413 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20414 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20415 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20416 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20417 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20418 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20419 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20420 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20421 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20422
58985aa9
UD
204232011-10-24 Ulrich Drepper <drepper@gmail.com>
20424
202c9deb
UD
20425 * sysdeps/x86_64/dla.h: Move to ...
20426 * sysdeps/x86_64/fpu/dla.h: ...here.
20427 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20428 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 20429
af968f62
UD
20430 * config.make.in: Add have-mfma4 entry.
20431 * configure.in: Substitute libc_cv_cc_fma4.
20432 * math/Makefile (dbl-only-routines): Add sincostab.
20433 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20434 Use __sincostab not sincos.
20435 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20436 name is a macro.
20437 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20440 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20441 using __copysign.
20442 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20443 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20444 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20445 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20446 and __inv.
20447 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20448 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20449 __copysign.
20450 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20451 define aliases when function name is a macro.
20452 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20453 sysdeps/ieee754/dbl-64/sincos.tbl.
20454 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20455 fma4-enabled routines.
20456 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20457 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20458 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20459 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20460 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20461 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20462 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20463 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20464 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20465 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20466 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20467 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20468 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20469 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20470 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20471 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20472 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20473 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20474 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20475 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20476 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20477 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20478 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20479 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20480 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20481 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20482 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20483 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20484 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20485 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20486
58985aa9
UD
20487 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20488 rename.
20489 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20490 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20491 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20492 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20493 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20494 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20495 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20497
a201fbcf
AS
204982011-10-24 Andreas Schwab <schwab@redhat.com>
20499
20500 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20501
fc2ee42a
LD
205022011-10-23 Ulrich Drepper <drepper@gmail.com>
20503
bb3129bd
UD
20504 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20505
0275fff8
UD
20506 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20507 prediction.
20508 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20509
2fa2ae85
UD
20510 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20511 Remove unused variable magic_bits.
20512 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20513
fc2ee42a
LD
20514 * string/strnlen.c: Define and use STRNLEN macro.
20515 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20516 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20517 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20518 * wcsmbs/wcslen.c: Define and use WCSLEN.
20519 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20520 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20521 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20522 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20523 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20524 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20525 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20526
ce7dd29f
LD
205272011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20528
20529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20530 strnlen-sse2-no-bsf.
20531 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20532 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20533 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20534 Add strnlen support.
20535 (USE_AS_STRNLEN): New macro.
20536 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20537 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20538 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20539 * sysdeps/x86_64/wcslen.S: New file.
20540
979c70a3
MZ
205412011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20542
20543 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20544 XMM-moves are used for copying on small sizes.
20545
2d09f82f
LD
205462011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20547
20548 * wcsmbs/Makefile (strop-tests): Add wcschr.
20549 * wcsmbs/test-wcschr.c: New file.
20550 * string/test-strchr.c: Update.
20551 Add wcschr support.
20552 (WIDE): New macro.
20553
619fccca
LD
205542011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20555
2d09f82f 20556 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
20557 * wcsmbs/test-wcslen.c: New file.
20558 * string/test-strlen.c: Update.
20559 Add wcslen support.
20560 (WIDE): New macro.
20561
09f699ea
UD
205622011-10-23 Ulrich Drepper <drepper@gmail.com>
20563
20564 * po/it.po: Update from translation team.
20565
95584d3b
LD
205662011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20567
20568 * sysdeps/x86_64/wcscmp.S: Update.
20569 Fix wrong comparison semantics.
20570 wcscmp shall use signed comparison not unsigned.
20571 Don't use substraction to avoid overflow bug.
20572 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20573 * wcsmbc/wcscmp.c: Likewise.
20574 * string/test-strcmp.c: Likewise.
20575 Add new tests to check cases with negative values.
20576
c8b3296b
UD
205772011-10-23 Ulrich Drepper <drepper@gmail.com>
20578
20579 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20580 * sysdeps/x86_64/dla.h: ...here. New file.
20581 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20582 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20583 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20588 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20589 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20590
246ad57a
AS
205912011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20592
20593 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20594 __ynl_finite aliases.
20595
a1a87169
UD
205962011-10-22 Ulrich Drepper <drepper@gmail.com>
20597
0d355eb7
UD
20598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20599
a1a87169
UD
20600 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20601 define DLA_FMA.
20602 [DLA_FMA] (EMULV): Use DLA_FMA.
20603 [DLA_FMA] (MUL12): Use EMULV.
20604 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20605 that are not needed.
20606 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20608 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20609 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20610 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20611 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20612 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20613
ee2aafe0
AS
206142011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20615
20616 * math/s_nan.c: Undef __nan.
20617 * math/s_nanf.c: Undef __nanf.
20618 * math/s_nanl.c: Undef __nanl.
20619 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20620 "math_private.h".
20621
bc62c2fb
UD
206222011-10-22 Ulrich Drepper <drepper@gmail.com>
20623
77425c63
UD
20624 * math/s_catan.c: Add branch predictions.
20625 * math/s_catanf.c: Likewise.
20626 * math/s_catanh.c: Likewise.
20627 * math/s_catanhf.c: Likewise.
20628 * math/s_catanhl.c: Likewise.
20629 * math/s_catanl.c: Likewise.
20630 * math/s_cexp.c: Likewise.
20631 * math/s_cexpf.c: Likewise.
20632 * math/s_cexpl.c: Likewise.
20633 * math/s_clog.c: Likewise.
20634 * math/s_clog10.c: Likewise.
20635 * math/s_clog10f.c: Likewise.
20636 * math/s_clog10l.c: Likewise.
20637 * math/s_clogf.c: Likewise.
20638 * math/s_clogl.c: Likewise.
20639 * math/s_csqrt.c: Likewise.
20640 * math/s_csqrtf.c: Likewise.
20641 * math/s_csqrtl.c: Likewise.
20642 * math/s_ctanf.c: Likewise.
20643 * math/s_ctanh.c: Likewise.
20644 * math/s_ctanhf.c: Likewise.
20645 * math/s_ctanhl.c: Likewise.
20646 * math/s_ctanl.c: Likewise.
20647
bc62c2fb
UD
20648 * math/math_private.h: Define __nan, __nanf, __nanl.
20649 * math/s_cacosh.c: Include <math_private.h>.
20650 * math/s_cacoshl.c: Likewise.
20651 * math/s_casinh.c: Likewise.
20652 * math/s_casinhf.c: Likewise.
20653 * math/s_casinhl.c: Likewise.
20654 * math/s_ccos.c: Rely entire on ccosh.
20655 * math/s_ccosf.c: Rely entire on ccoshf.
20656 * math/s_ccosl.c: Rely entirely on ccoshl.
20657 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20658 Remove tests for FE_INVALID.
20659 * math/s_ccoshf.c: Likewise.
20660 * math/s_ccoshl.c: Likewise.
20661 * math/s_csin.c: Likewise.
20662 * math/s_csinf.c: Likewise.
20663 * math/s_csinh.c Likewise.
20664 * math/s_csinhf.c: Likewise.
20665 * math/s_csinhl.c: Likewise.
20666 * math/s_csinl.c: Likewise.
20667 * math/s_ctan.c: Likewise.
20668 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20669 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20670 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20671
8ec250a4
UD
206722011-10-21 Ulrich Drepper <drepper@gmail.com>
20673
c196fed8
UD
20674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20675 compilation problems.
20676
8ec250a4
UD
20677 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20678 __builtin_expect.
20679
8d4f46c6
UD
206802011-10-20 Ulrich Drepper <drepper@gmail.com>
20681
ed72b654
UD
20682 * sysdeps/i386/configure.in: Test for -mfma4 option.
20683 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20684 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20685 COMMON_CPUID_INDEX_80000001.
20686 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20687 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20688 use it if FMA3 is not supported.
20689 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20690
8d4f46c6
UD
20691 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20692 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20693
d45c60c2
AS
206942011-10-20 Andreas Schwab <schwab@redhat.com>
20695
20696 [BZ #12892]
20697 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20698 it would create a cycle with a link time dependency.
20699
d9a4d2ab
UD
207002011-10-19 Ulrich Drepper <drepper@gmail.com>
20701
855d1560
UD
20702 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20703 instruction.
20704 * string/Makefile (strop-tests): Add rawmemchr.
20705 * string/test-rawmemchr.c: New file.
20706
d9a4d2ab
UD
20707 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20708 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20709 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20710 when compiling str{,n}casecmp and when AVX is available. Hook up
20711 new optimized code in initializers.
20712
8f3b1ffe
AS
207132011-10-19 Andreas Schwab <schwab@redhat.com>
20714
20715 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20716 __feraiseexcept instead of feraiseexcept.
20717
d38f1dba
UD
207182011-10-18 Ulrich Drepper <drepper@gmail.com>
20719
d9a8d0ab
UD
20720 * math/math_private.h: Define defaults for libc_fetestexcept and
20721 libc_feupdateenv.
20722 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20723 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20724 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20725 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20726 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20727 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20728 libc_fetestexcept and libc_feupdateenv.
20729
4855e3dd
UD
20730 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20731 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20732 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20733 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20734 libc_feholdexcept_setround.
20735
581d30e3
UD
20736 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20737 Add s_nearbyint-c and s_nearbyintf-c.
20738 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20739 nearbyintf inlines.
20740 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20741 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20742 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20743 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20744
d38f1dba
UD
20745 * math/math_private.h: Define defaults for libc_fegetround,
20746 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20747 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20748 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20749 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20750 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20751 standard functions.
20752 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20753 Remove comments and hacks for old compiler versions.
20754 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20755 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20756 libc_feholdexceptl.
20757
caa6c9d8
AS
207582011-10-18 Andreas Schwab <schwab@redhat.com>
20759
20760 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20761 (__feraiseexcept_renamed): Add __NTH.
20762 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20763 namespace violations.
20764
97c066e6
UD
207652011-10-17 Ulrich Drepper <drepper@gmail.com>
20766
99ce7b04
UD
20767 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20768
1004d182
UD
20769 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20770
228a984d
UD
20771 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20772 recently added interfaces.
20773 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20774
c8553a6a
UD
20775 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20776 about macro parameter expansion.
20777
ed22dcf6
UD
20778 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20779 __NO_MATH_INLINES is defined. Cleanups.
20780
20781 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20782 and __floorf is target has SSE4.1.
20783 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20784 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20785 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20786 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20787
b171c137
UD
20788 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20789 name.
20790 (floorf): Likewise.
20791
97c066e6
UD
20792 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20793
629f62ef
AS
207942011-10-17 Andreas Schwab <schwab@redhat.com>
20795
49a43d80
AS
20796 * misc/sys/cdefs.h: Fix last change.
20797
629f62ef
AS
20798 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20799 database lookup.
20800
e453f6cd
UD
208012011-10-16 Ulrich Drepper <drepper@gmail.com>
20802
aa78043a
UD
20803 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20804
ad0f5cad
UD
20805 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20806 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20807 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20808 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20809 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20810 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20811 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20812 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20813 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20814 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20815 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20816 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20817 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20818 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20819 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20820 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20821 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20822 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20823 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20824 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20825 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20826 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20827
20828 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20829 ceil, ceilf, floor, floorf.
20830
20831 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20832 Perform IRELATIVE relocations last.
20833
e453f6cd
UD
20834 * elf/do-rel.h: Add another parameter nrelative, replacing the
20835 local variable with the same name. Change name of the function
20836 to end in Rel or Rela (uppercase).
20837 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20838 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20839 elf_dynamic_do_##reloc function.
20840
fd5bdc09
UD
208412011-10-15 Ulrich Drepper <drepper@gmail.com>
20842
79b195b5
UD
20843 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20844 is sufficient, at least on modern CPUs.
20845
d4a28569
UD
20846 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20847
b61099b5
UD
20848 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20849 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20850
bcf01e6d
UD
20851 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20852 __expl_finite.
20853 * math/bits/math-finite.h: Add entries for exp.
20854 * math/e_expl.c: Add __*_finite alias.
20855 * sysdeps/i386/fpu/e_exp.S: Likewise.
20856 * sysdeps/i386/fpu/e_expf.S: Likewise.
20857 * sysdeps/i386/fpu/e_expl.c: Likewise.
20858 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20859 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20860 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20861 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20862 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20863 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20864 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20865
ba1a0d59
UD
20866 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20867 is sufficient, at least on modern CPUs.
20868
fd5bdc09
UD
20869 * ctype/ctype-info.c (__ctype_init): Define.
20870 * include/ctype.h (__ctype_init): Declare.
20871 (__ctype_b_loc): The variable is always initialized.
20872 (__ctype_toupper_loc): Likewise.
20873 (__ctype_tolower_loc): Likewise.
20874 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20875 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20876
7872cfb0
AS
208772011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20878
b468825a
AS
20879 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20880
7872cfb0
AS
20881 * configure.in: Also look in $cxxmachine/include for C++ system
20882 headers.
20883
be13f7bf
LD
208842011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20885
20886 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20887 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20888 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20889 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20890 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20891 (USE_AS_WMEMCMP): New macro.
20892 Fixing indents.
20893 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20894 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20895 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20896 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20898 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20899 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20900 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20901 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20902 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20903 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20904 (USE_AS_WMEMCMP): New macro.
20905 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20906 * sysdeps/string/test-memcmp.c: Update.
20907 Fix simple_wmemcmp.
20908 Add new tests.
20909 * wcsmbs/wmemcmp.c: Update.
20910 (WMEMCMP): New macro.
20911 Fix overflow bug.
20912
556a2007
AJ
209132011-10-12 Andreas Jaeger <aj@suse.de>
20914
20915 [BZ #13268]
20916 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20917
538faaa7
UD
209182011-10-15 Ulrich Drepper <drepper@gmail.com>
20919
ab6737ff
UD
20920 * libio/iofwide.c (do_length): Avoid warning.
20921
538faaa7
UD
20922 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20923
396a21b1
UD
209242011-10-14 Ulrich Drepper <drepper@gmail.com>
20925
cdf2901f
UD
20926 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20927
38ad40ce
UD
20928 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20929 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20930 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20931 * sysdeps/i386/i686/fpu/e_log.S: New file.
20932 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20933 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20934
396a21b1
UD
20935 * ctype/ctype.h: Add support for inlined isXXX functions when
20936 compiling C++ code.
20937
6b1f68c9
AS
209382011-10-14 Andreas Schwab <schwab@redhat.com>
20939
349290c0
AS
20940 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20941
6b1f68c9
AS
20942 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20943
f2282d42
RM
209442011-10-13 Roland McGrath <roland@hack.frob.com>
20945
20946 [BZ #13291]
20947 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20948
5298ffa8
AS
209492011-10-13 Andreas Schwab <schwab@redhat.com>
20950
714fad23
AS
20951 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20952 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20953 feraiseexcept.
20954
81dcc7fb
AS
20955 * sysdeps/x86_64/memrchr.S: Check for zero size.
20956
5298ffa8
AS
20957 * string/stratcliff.c: Add memrchr tests.
20958
951fbcec
LD
209592011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20960
20961 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20962 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20963 rawmemchr-sse2 rawmemchr-sse2-bsf.
20964 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20965 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20966 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20967 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20968 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20969 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20970 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20971 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20972 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20973 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20974 * string/memrchr.c (MEMRCHR): New macro.
20975
0ac5ae23
UD
209762011-10-12 Ulrich Drepper <drepper@gmail.com>
20977
20978 Add integration with gcc's -ffinite-math-only and optimize wrapper
20979 functions in libm.
20980 * Versions.def: Define GLIBC_2.15 version for libm.
20981 * math/Makefile (headers): Add bits/math-finite.h.
20982 * math/bits/math-finite.h: New file.
20983 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20984 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20985 * math/e_acoshl.c: Add __*_finite alias.
20986 * math/e_acosl.c: Likewise.
20987 * math/e_asinl.c: Likewise.
20988 * math/e_atan2l.c: Likewise.
20989 * math/e_atanhl.c: Likewise.
20990 * math/e_coshl.c: Likewise.
20991 * math/e_exp10.c: Likewise.
20992 * math/e_exp10f.c: Likewise.
20993 * math/e_exp10l.c: Likewise.
20994 * math/e_exp2l.c: Likewise.
20995 * math/e_fmodl.c: Likewise.
20996 * math/e_gammal_r.c: Likewise.
20997 * math/e_hypotl.c: Likewise.
20998 * math/e_j0l.c: Likewise.
20999 * math/e_j1l.c: Likewise.
21000 * math/e_jnl.c: Likewise.
21001 * math/e_lgammal_r.c: Likewise.
21002 * math/e_log10l.c: Likewise.
21003 * math/e_log2l.c: Likewise.
21004 * math/e_logl.c: Likewise.
21005 * math/e_powl.c: Likewise.
21006 * math/e_sinhl.c: Likewise.
21007 * math/e_sqrtl.c: Likewise.
21008 * math/e_scalb.c: Completely rewritten and optimized.
21009 * math/e_scalbf.c: Likewise.
21010 * math/e_scalbl.c: Likewise.
21011 * math/w_acos.c: Likewise.
21012 * math/w_acosf.c: Likewise.
21013 * math/w_acosl.c: Likewise.
21014 * math/w_acosh.c: Likewise.
21015 * math/w_acoshf.c: Likewise.
21016 * math/w_acoshl.c: Likewise.
21017 * math/w_asin.c: Likewise.
21018 * math/w_asinf.c: Likewise.
21019 * math/w_asinl.c: Likewise.
21020 * math/w_atan2.c: Likewise.
21021 * math/w_atan2f.c: Likewise.
21022 * math/w_atan2l.c: Likewise.
21023 * math/w_atanh.c: Likewise.
21024 * math/w_atanhf.c: Likewise.
21025 * math/w_atanhl.c: Likewise.
21026 * math/w_exp10.c: Likewise.
21027 * math/w_exp10f.c: Likewise.
21028 * math/w_exp10l.c: Likewise.
21029 * math/w_fmod.c: Likewise.
21030 * math/w_fmodf.c: Likewise.
21031 * math/w_fmodl.c: Likewise.
21032 * math/w_j0.c: Likewise.
21033 * math/w_j0f.c: Likewise.
21034 * math/w_j0l.c: Likewise.
21035 * math/w_j1.c: Likewise.
21036 * math/w_j1f.c: Likewise.
21037 * math/w_j1l.c: Likewise.
21038 * math/w_jn.c: Likewise.
21039 * math/w_jnf.c: Likewise.
21040 * math/w_log.c: Likewise.
21041 * math/w_logf.c: Likewise.
21042 * math/w_logl.c: Likewise.
21043 * math/w_log10.c: Likewise.
21044 * math/w_log10f.c: Likewise.
21045 * math/w_log10l.c: Likewise.
21046 * math/w_log2.c: Likewise.
21047 * math/w_log2f.c: Likewise.
21048 * math/w_log2l.c: Likewise.
21049 * math/w_pow.c: Likewise.
21050 * math/w_powf.c: Likewise.
21051 * math/w_powl.c: Likewise.
21052 * math/w_remainder.c: Likewise.
21053 * math/w_remainderf.c: Likewise.
21054 * math/w_remainderl.c: Likewise.
21055 * math/w_scalb.c: Likewise.
21056 * math/w_scalbf.c: Likewise.
21057 * math/w_scalbl.c: Likewise.
21058 * math/w_sqrt.c: Likewise.
21059 * math/w_sqrtf.c: Likewise.
21060 * math/w_sqrtl.c: Likewise.
21061 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21062 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21063 used.
21064 * math/math_private.h: Declare __kernel_standard_f.
21065 * math/w_cosh.c: Remove cruft and optimize a bit.
21066 * math/w_coshf.c: Likewise.
21067 * math/w_coshl.c: Likewise.
21068 * math/w_exp2.c: Likewise.
21069 * math/w_exp2f.c: Likewise.
21070 * math/w_exp2l.c: Likewise.
21071 * math/w_hypot.c: Likewise.
21072 * math/w_hypotf.c: Likewise.
21073 * math/w_hypotl.c: Likewise.
21074 * math/w_lgamma.c: Likewise.
21075 * math/w_lgamma_r.c: Likewise.
21076 * math/w_lgammaf.c: Likewise.
21077 * math/w_lgammaf_r.c: Likewise.
21078 * math/w_lgammal.c: Likewise.
21079 * math/w_lgammal_r.c: Likewise.
21080 * math/w_sinh.c: Likewise.
21081 * math/w_sinhf.c: Likewise.
21082 * math/w_sinhl.c: Likewise.
21083 * math/w_tgamma.c: Likewise.
21084 * math/w_tgammaf.c: Likewise.
21085 * math/w_tgammal.c: Likewise.
21086 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21087 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21088 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21089 Minor optimizations. Pretty printing. Remove cruft.
21090 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21091 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21092 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21093 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21094 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21095 * sysdeps/i386/fpu/e_asin.S: Likewise.
21096 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21097 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21098 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21099 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21100 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21101 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21102 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21103 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21104 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21105 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21106 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21107 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21108 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21109 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21110 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21111 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21112 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21113 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21114 * sysdeps/i386/fpu/e_log.S: Likewise.
21115 * sysdeps/i386/fpu/e_log10.S: Likewise.
21116 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21117 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21118 * sysdeps/i386/fpu/e_log2.S: Likewise.
21119 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21120 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21121 * sysdeps/i386/fpu/e_logf.S: Likewise.
21122 * sysdeps/i386/fpu/e_logl.S: Likewise.
21123 * sysdeps/i386/fpu/e_pow.S: Likewise.
21124 * sysdeps/i386/fpu/e_powf.S: Likewise.
21125 * sysdeps/i386/fpu/e_powl.S: Likewise.
21126 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21127 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21128 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21129 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21130 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21131 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21132 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21133 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21134 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21135 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21136 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21137 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21138 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21139 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21140 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21141 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21142 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21143 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21144 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21145 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21146 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21148 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21149 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21150 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21151 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21152 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21153 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21155 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21156 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21157 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21158 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21159 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21160 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21161 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21162 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21163 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21164 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21165 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21166 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21167 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21168 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21169 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21170 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21171 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21172 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21173 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21174 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21175 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21176 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21177 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21178 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21179 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21180 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21181 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21182 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21183 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21184 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21185 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21186 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21187 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21188 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21189 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21190 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21191 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21192 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21193 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21194 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21195 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21196 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21197 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21198 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21199 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21200 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21201 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21202 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21203 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21204 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21205 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21206 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21207 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21208 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21209 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21212 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21214 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21215 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21216 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21217 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21218 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21219 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21220 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21221 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21222 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21223 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21224 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21225 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21226 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21227 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21228 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21229 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21230 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21231 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21232 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21233 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21234 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21235 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21236 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21237 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21238 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21239 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21240 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21241 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21242 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21243 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21244 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21245 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21246 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21247 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21248 (__isnanf): Likewise.
21249 (__isinf_ns): Likewise.
21250 (__isinf_nsf): Likewise.
21251 (__finite): Likewise.
21252 (__finitef): Likewise.
21253 (__ieee754_sqrt): Define as macro.
21254 (__ieee754_sqrtf): Define as macro.
21255 (__ieee754_sqrtl): Define as macro.
21256 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21257 inlined copy.
21258 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21259 __FINITE_MATH_ONLY__ consistent.
21260 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21261
12cc2fcd
AS
212622011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21263
a843a204
AS
21264 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21265 of rawmemchr.
21266
12cc2fcd
AS
21267 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21268
c853acd5
UD
212692011-10-09 Ulrich Drepper <drepper@gmail.com>
21270
21271 * po/ja.po: Update from translation team.
21272
c658d255
RM
212732011-10-08 Roland McGrath <roland@hack.frob.com>
21274
110946e4
RM
21275 * locale/programs/locarchive.c (prepare_address_space): New function.
21276 (create_archive, enlarge_archive, open_archive): Use it.
21277
50604220
RM
21278 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21279 inside [SHARED], where it is used.
21280
c658d255
RM
21281 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21282
21283 * nss/getent.c (netgroup_keys): Remove unused variable.
21284 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21285
6a621eb7
UD
212862011-10-08 Ulrich Drepper <drepper@gmail.com>
21287
7edb55ce
UD
21288 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21289 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21290 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21291 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21292 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21293 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21294 * math/Makefile (libm-calls): Add s_isinf_ns.
21295 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21296 * math/multc3.c: Likewise.
21297 * math/s_casin.c: Likewise.
21298 * math/s_casinf.c: Likewise.
21299 * math/s_casinl.c: Likewise.
21300 * math/s_ccos.c: Likewise.
21301 * math/s_ccosf.c: Likewise.
21302 * math/s_ccosl.c: Likewise.
21303 * math/s_ctan.c: Likewise.
21304 * math/s_ctanf.c: Likewise.
21305 * math/s_ctanh.c: Likewise.
21306 * math/s_ctanhf.c: Likewise.
21307 * math/s_ctanhl.c: Likewise.
21308 * math/s_ctanl.c: Likewise.
21309 * math/w_fmod.c: Likewise.
21310 * math/w_fmodf.c: Likewise.
21311 * math/w_fmodl.c: Likewise.
21312 * math/w_remainder.c: Likewise.
21313 * math/w_remainderf.c: Likewise.
21314 * math/w_remainderl.c: Likewise.
21315 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21316 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21317 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21319 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21320 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21321 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21322 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21323
187da0ae
UD
21324 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21325 of the number.
21326 * stdio-common/printf_fphex.c: Likewise.
21327 * stdio-common/printf_size.c: Likewise.
21328
9277c064
UD
21329 * math/e_exp10.c: Include math_private.h using <...> not "...".
21330 * math/e_exp10f.c: Likewise.
21331 * math/e_exp10l.c: Likewise.
21332 * math/e_exp2l.c: Likewise.
21333 * math/e_j0l.c: Likewise.
21334 * math/e_j1l.c: Likewise.
21335 * math/e_jnl.c: Likewise.
21336 * math/e_lgammal_r.c: Likewise.
21337 * math/e_rem_pio2l.c: Likewise.
21338 * math/e_scalb.c: Likewise.
21339 * math/e_scalbf.c: Likewise.
21340 * math/e_scalbl.c: Likewise.
21341 * math/k_cosl.c: Likewise.
21342 * math/k_sinl.c: Likewise.
21343 * math/k_tanl.c: Likewise.
21344 * math/s_cacoshf.c: Likewise.
21345 * math/s_catan.c: Likewise.
21346 * math/s_catanf.c: Likewise.
21347 * math/s_catanh.c: Likewise.
21348 * math/s_catanhf.c: Likewise.
21349 * math/s_catanhl.c: Likewise.
21350 * math/s_catanl.c: Likewise.
21351 * math/s_ccosh.c: Likewise.
21352 * math/s_ccoshf.c: Likewise.
21353 * math/s_ccoshl.c: Likewise.
21354 * math/s_cexp.c: Likewise.
21355 * math/s_cexpf.c: Likewise.
21356 * math/s_cexpl.c: Likewise.
21357 * math/s_clog.c: Likewise.
21358 * math/s_clog10.c: Likewise.
21359 * math/s_clog10f.c: Likewise.
21360 * math/s_clog10l.c: Likewise.
21361 * math/s_clogf.c: Likewise.
21362 * math/s_clogl.c: Likewise.
21363 * math/s_csin.c: Likewise.
21364 * math/s_csinf.c: Likewise.
21365 * math/s_csinh.c: Likewise.
21366 * math/s_csinhf.c: Likewise.
21367 * math/s_csinhl.c: Likewise.
21368 * math/s_csinl.c: Likewise.
21369 * math/s_csqrt.c: Likewise.
21370 * math/s_csqrtf.c: Likewise.
21371 * math/s_csqrtl.c: Likewise.
21372 * math/s_ctan.c: Likewise.
21373 * math/s_ctanf.c: Likewise.
21374 * math/s_ctanh.c: Likewise.
21375 * math/s_ctanhf.c: Likewise.
21376 * math/s_ctanhl.c: Likewise.
21377 * math/s_ctanl.c: Likewise.
21378 * math/s_ldexp.c: Likewise.
21379 * math/s_ldexpf.c: Likewise.
21380 * math/s_ldexpl.c: Likewise.
21381 * math/s_significand.c: Likewise.
21382 * math/s_significandf.c: Likewise.
21383 * math/s_significandl.c: Likewise.
21384 * math/w_acos.c: Likewise.
21385 * math/w_acosf.c: Likewise.
21386 * math/w_acosh.c: Likewise.
21387 * math/w_acoshf.c: Likewise.
21388 * math/w_acoshl.c: Likewise.
21389 * math/w_acosl.c: Likewise.
21390 * math/w_asin.c: Likewise.
21391 * math/w_asinf.c: Likewise.
21392 * math/w_asinl.c: Likewise.
21393 * math/w_atan2.c: Likewise.
21394 * math/w_atan2f.c: Likewise.
21395 * math/w_atan2l.c: Likewise.
21396 * math/w_atanh.c: Likewise.
21397 * math/w_atanhf.c: Likewise.
21398 * math/w_atanhl.c: Likewise.
21399 * math/w_cosh.c: Likewise.
21400 * math/w_coshf.c: Likewise.
21401 * math/w_coshl.c: Likewise.
21402 * math/w_dremf.c: Likewise.
21403 * math/w_exp10.c: Likewise.
21404 * math/w_exp10f.c: Likewise.
21405 * math/w_exp10l.c: Likewise.
21406 * math/w_exp2.c: Likewise.
21407 * math/w_exp2f.c: Likewise.
21408 * math/w_fmod.c: Likewise.
21409 * math/w_fmodf.c: Likewise.
21410 * math/w_fmodl.c: Likewise.
21411 * math/w_hypot.c: Likewise.
21412 * math/w_hypotf.c: Likewise.
21413 * math/w_hypotl.c: Likewise.
21414 * math/w_j0.c: Likewise.
21415 * math/w_j0f.c: Likewise.
21416 * math/w_j0l.c: Likewise.
21417 * math/w_j1.c: Likewise.
21418 * math/w_j1f.c: Likewise.
21419 * math/w_j1l.c: Likewise.
21420 * math/w_jn.c: Likewise.
21421 * math/w_jnf.c: Likewise.
21422 * math/w_jnl.c: Likewise.
21423 * math/w_lgamma.c: Likewise.
21424 * math/w_lgamma_r.c: Likewise.
21425 * math/w_lgammaf.c: Likewise.
21426 * math/w_lgammaf_r.c: Likewise.
21427 * math/w_lgammal.c: Likewise.
21428 * math/w_lgammal_r.c: Likewise.
21429 * math/w_log.c: Likewise.
21430 * math/w_log10.c: Likewise.
21431 * math/w_log10f.c: Likewise.
21432 * math/w_log10l.c: Likewise.
21433 * math/w_log2.c: Likewise.
21434 * math/w_log2f.c: Likewise.
21435 * math/w_log2l.c: Likewise.
21436 * math/w_logf.c: Likewise.
21437 * math/w_logl.c: Likewise.
21438 * math/w_pow.c: Likewise.
21439 * math/w_powf.c: Likewise.
21440 * math/w_powl.c: Likewise.
21441 * math/w_remainder.c: Likewise.
21442 * math/w_remainderf.c: Likewise.
21443 * math/w_remainderl.c: Likewise.
21444 * math/w_scalb.c: Likewise.
21445 * math/w_scalbf.c: Likewise.
21446 * math/w_scalbl.c: Likewise.
21447 * math/w_sinh.c: Likewise.
21448 * math/w_sinhf.c: Likewise.
21449 * math/w_sinhl.c: Likewise.
21450 * math/w_sqrt.c: Likewise.
21451 * math/w_sqrtf.c: Likewise.
21452 * math/w_sqrtl.c: Likewise.
21453 * math/w_tgamma.c: Likewise.
21454 * math/w_tgammaf.c: Likewise.
21455 * math/w_tgammal.c: Likewise.
21456
6a621eb7
UD
21457 * po/ja.po: Update from translation team.
21458
bf582445
AJ
214592011-09-29 Andreas Jaeger <aj@suse.de>
21460
f9efbf3a
AJ
21461 [BZ #13179]
21462 * sunrpc/netname.c (netname2host): Fix logic.
21463
bf582445
AJ
21464 [BZ #6779]
21465 [BZ #6783]
21466 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21467 correctly.
21468 * math/w_remainder.c (__remainder): Likewise.
21469 * math/w_remainderf.c (__remainderf): Likewise.
21470 * math/libm-test.inc (remainder_test): Add test cases.
21471
48693bea
AK
214722011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21473
21474 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21475 sdiv_qrnnd.
21476
42622229
LD
214772011-10-07 Ulrich Drepper <drepper@gmail.com>
21478
21479 * string/test-memcmp.c: Avoid unncessary #defines.
21480 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21481
093ecf92
LD
214822011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21483
21484 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21485 Use new sse2 version for core i3 - i7 as it's faster
21486 than sse42 version.
21487 (bit_Prefer_PMINUB_for_stringop): New.
21488 * sysdeps/x86_64/rawmemchr.S: Update.
21489 Replace with faster SSE2 version.
21490 * sysdeps/x86_64/memrchr.S: New file.
21491 * sysdeps/x86_64/memchr.S: Update.
21492 Replace with faster SSE2 version.
21493
fde56e5c
MP
214942011-09-12 Marek Polacek <mpolacek@redhat.com>
21495
21496 * elf/dl-load.c (lose): Add cast to avoid warning.
21497
21fd49a9
UD
214982011-10-07 Ulrich Drepper <drepper@gmail.com>
21499
5a06e643
UD
21500 * po/ca.po: Update from translation team.
21501
684ae515
UD
21502 * inet/getnetgrent_r.c: Hook up nscd.
21503 * nscd/Makefile (routines): Add nscd_netgroup.
21504 (nscd-modules): Add netgroupcache.
21505 (CFLAGS-netgroupcache.c): Define.
21506 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21507 (cache_search): Add const to second parameter.
21508 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21509 INNETGR.
21510 (dbs): Add netgrdb entry.
21511 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21512 (verify_persistent_db): Handle netgrdb.
21513 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21514 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21515 GETFDNETGR.
21516 (netgroup_response_header): Define.
21517 (innetgroup_response_header): Define.
21518 (datahead): Add netgroup_response_header and innetgroup_response_header
21519 elements.
21520 * nscd/nscd.conf: Add entries for netgroup cache.
21521 * nscd/nscd.h (dbtype): Add netgrdb.
21522 (_PATH_NSCD_NETGROUP_DB): Define.
21523 (netgroup_iov_disabled): Declare.
21524 (xmalloc, xcalloc, xrealloc): Move declarations here.
21525 (cache_search): Adjust prototype.
21526 Add netgroup-related prototypes.
21527 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21528 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21529 (__nscd_innetgr): Declare.
21530 * nscd/selinux.c (perms): Use access_vector_t as element type and
21531 add netgroup-related initializers.
21532 * nscd/netgroupcache.c: New file.
21533 * nscd/nscd_netgroup.c: New file.
21534 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21535 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21536 For four parameters use innetgr.
21537 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21538 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21539 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21540 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21541
21fd49a9
UD
21542 * nscd/connections.c (register_traced_file): Don't register file
21543 for disabled databases.
21544
054c0457
UD
215452011-10-06 Ulrich Drepper <drepper@gmail.com>
21546
32b63198
UD
21547 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21548
054c0457
UD
21549 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21550 from tree and freeing node.
21551
64031225
JO
215522011-09-25 Jiri Olsa <jolsa@redhat.com>
21553
21554 * nss/nsswitch.c (__nss_database_lookup): Handle
21555 nss_parse_service_list out of memory case.
21556
0490345c
JO
215572011-09-15 Jiri Olsa <jolsa@redhat.com>
21558
21559 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21560 out of memory case.
21561
3a62d00d
AS
215622011-10-04 Andreas Schwab <schwab@redhat.com>
21563
21564 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21565 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21566 pass it down.
21567 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21568 elf_machine_rela, elf_machine_lazy_rel.
21569 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21570 (ELF_DYNAMIC_DO_REL): Likewise.
21571 (ELF_DYNAMIC_DO_RELA): Likewise.
21572 (ELF_DYNAMIC_RELOCATE): Likewise.
21573 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21574 to ELF_DYNAMIC_DO_REL.
21575 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21576 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21577 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21578 elf_machine_rela.
21579 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21580 skip_ifunc, don't call ifunc function if non-zero.
21581 (elf_machine_rela): Likewise.
21582 (elf_machine_lazy_rel): Likewise.
21583 (elf_machine_lazy_rela): Likewise.
21584 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21585 (elf_machine_lazy_rel): Likewise.
21586 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21587 Likewise.
21588 (elf_machine_lazy_rel): Likewise.
21589 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21590 Likewise.
21591 (elf_machine_lazy_rel): Likewise.
21592 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21593 (elf_machine_lazy_rel): Likewise.
21594 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21595 (elf_machine_lazy_rel): Likewise.
21596 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21597 (elf_machine_lazy_rel): Likewise.
21598 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21599 (elf_machine_lazy_rel): Likewise.
21600 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21601 (elf_machine_lazy_rel): Likewise.
21602 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21603 (elf_machine_lazy_rel): Likewise.
21604
68577918
UD
216052011-09-28 Ulrich Drepper <drepper@gmail.com>
21606
21607 * nss/nss_files/files-init.c (_nss_files_init): Use static
21608 initialization for all the *_traced_file variables.
21609
68822d74
AS
216102011-09-28 Andreas Schwab <schwab@redhat.com>
21611
21612 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21613
2056100b
RM
216142011-09-27 Roland McGrath <roland@hack.frob.com>
21615
21616 [BZ #13226]
21617 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21618
32c76b63
AS
216192011-09-27 Andreas Schwab <schwab@redhat.com>
21620
21621 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21622 Reread the line before reparsing it.
21623
bf972c9d
AS
216242011-09-26 Andreas Schwab <schwab@redhat.com>
21625
21626 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21627
e057a1b5
JM
216282011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21629 Maxim Kuvyrkov <maxim@codesourcery.com>
21630 Joseph Myers <joseph@codesourcery.com>
21631
21632 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21633 if needed for __stack_chk_guard.
21634
bc7e1c36
RM
216352011-09-19 Roland McGrath <roland@hack.frob.com>
21636
ecb1482f
RM
21637 * sysdeps/posix/spawni.c (script_execute): Always define it.
21638 It will be optimized away if unused.
21639 (maybe_script_execute): New function.
21640 (__spawni): Call it.
21641
bc7e1c36
RM
21642 * Makerules: Don't include tls.make.
21643 (config-tls): Always set to thread.
21644 * tls.make.c: File removed.
21645
1c3b002b
MF
216462011-09-19 Mike Frysinger <vapier@gentoo.org>
21647
21648 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21649 * config.make.in (CPPFLAGS-config): New substituted variable.
21650
2840865d
UD
216512011-09-15 Ulrich Drepper <drepper@gmail.com>
21652
88738eb6
UD
21653 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21654
cbf645a6 21655 [BZ #13192]
2840865d
UD
21656 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21657 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21658
b402e91a
RM
216592011-09-15 Roland McGrath <roland@hack.frob.com>
21660
21661 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21662 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21663 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21664 (CALL_FAIL): Likewise.
21665 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21666 (CALL_FAIL): Macro removed.
21667 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21668
4c1a1f71
UD
216692011-09-15 Ulrich Drepper <drepper@gmail.com>
21670
21671 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21672 for __FINITE_MATH_ONLY__ == 1.
21673
edc121be
AS
216742011-09-15 Andreas Schwab <schwab@redhat.com>
21675
21676 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21677 __ieee754_sqrt instead of sqrt.
21678 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21679 __ieee754_sqrtf instead of sqrtf.
21680 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21681 __floorf instead of floorf.
21682 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21683 __floorf, __truncf instead of floorf, truncf.
21684
cd205654
UD
216852011-09-14 Ulrich Drepper <drepper@gmail.com>
21686
ee4d0315
UD
21687 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21688
cd205654
UD
21689 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21690 __extern_always_inline.
21691 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21692 32-bit.
21693
48b67d71
AS
216942011-09-14 Andreas Schwab <schwab@redhat.com>
21695
21696 * elf/rtld.c (dl_main): Also relocate in dependency order when
21697 doing symbol dependency testing.
21698
1ae12c75
AS
216992011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21700
21701 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21702 Always define `refsym'.
21703
995a80df
AS
217042011-09-13 Andreas Schwab <schwab@redhat.com>
21705
e529793b
AS
21706 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21707 (__FD_ELT): Renamed from __FDELT.
21708 * misc/bits/select2.h (__FD_ELT): Likewise.
21709 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21710 __FD_MASK instead of __FDELT, __FDMASK.
21711 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21712 Likewise.
21713 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21714 Likewise.
21715
52d4fef8
AS
21716 * elf/Makefile (gen-ldd): Fix pattern.
21717
995a80df
AS
21718 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21719 (init_tls): Likewise.
21720
8682f8b0
UD
217212011-09-12 Ulrich Drepper <drepper@gmail.com>
21722
21723 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21724
de82006d
AS
217252011-09-12 Andreas Schwab <schwab@redhat.com>
21726
a7c8e6a1
AS
21727 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21728 `struct cmsghdr *' instead of `void *'.
21729 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21730 Likewise.
21731
0f31fe77
AS
217322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21733
21734 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21735 if non-absolute.
21736 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21737 ldd_rewrite_script.
0f31fe77 21738
32b4c839
UD
217392011-09-11 Ulrich Drepper <drepper@gmail.com>
21740
83cd1420
UD
21741 * configure.in: Remove --with-tls option.
21742 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21743 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21744 out in case it is missing.
21745 * sysdeps/ia64/elf/configure.in: Likewise.
21746 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21747 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21748 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21749 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21750 * sysdeps/sh/elf/configure.in: Likewise.
21751 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21752 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21753 * sysdeps/x86_64/elf/configure.in: Likewise.
21754 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21755 * sysdeps/mach/hurd/tls.h: Likewise.
21756
633f745d
UD
21757 [BZ #13067]
21758 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21759
f318beb8
UD
21760 [BZ #13090]
21761 * configure.in: Fix use of AC_INIT.
21762
32b4c839
UD
21763 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21764
3ce1f295
UD
217652011-09-10 Ulrich Drepper <drepper@gmail.com>
21766
bb016596
UD
21767 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21768 __set_errno.
8e58439c
UD
21769 * malloc/hooks.c: Likewise.
21770
aebae053 21771 [BZ #11929]
02d46fc4
UD
21772 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21773 variables statically.
21774 (narenas): Initialize.
21775 (list_lock): Initialize.
bb016596
UD
21776 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21777 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21778 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21779 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21780 Add initializers to main_arena and mp_.
21781 (malloc_state): Remove pagesize member. Change all users to use
21782 GLRO(dl_pagesize).
21783
21784 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21785 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21786 is always initialized.
21787
22a89187
UD
21788 * malloc/malloc.c: Removed unused configurations and dead code.
21789 * malloc/arena.c: Likewise.
21790 * malloc/hooks.c: Likewise.
02d46fc4 21791 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21792
d063d164
UD
21793 * include/tls.h: Removed. USE___THREAD must always be defined.
21794 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21795 * elf/dl-libc.c: Likewise.
21796 * elf/dl-tsd.c: Likewise.
21797 * include/errno.h: Likewise.
21798 * include/netdb.h: Likewise.
21799 * include/resolv.h: Likewise.
21800 * inet/herrno-loc.c: Likewise.
21801 * inet/herrno.c: Likewise.
21802 * malloc/arena.c: Likewise.
21803 * malloc/hooks.c: Likewise.
21804 * malloc/malloc.c: Likewise.
21805 * resolv/res-state.c: Likewise.
21806 * resolv/res_libc.c: Likewise.
21807 * sysdeps/i386/dl-machine.h: Likewise.
21808 * sysdeps/ia64/dl-machine.h: Likewise.
21809 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21810 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21811 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21812 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21813 * sysdeps/sh/dl-machine.h: Likewise.
21814 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21815 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21816 * sysdeps/unix/i386/sysdep.S: Likewise.
21817 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21818 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21820 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21821 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21822 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21823 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21827 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21828 * sysdeps/x86_64/dl-machine.h: Likewise.
21829 * tls.make.c: Likewise.
21830
3ce1f295
UD
21831 * configure.in: Remove --with-__thread option. Make tests for
21832 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21833 tls_model attribute fail if no support is available. Remove
21834 USE_IN_LIBIO.
21835 * Makeconfig: Adjust for dropped configure option. All features are
21836 now mandatory.
21837 * Makerules: Likewise.
21838 * Versions.def: Likewise.
21839 * argp/argp-fmtstream.c: Likewise.
21840 * argp/argp-fmtstream.h: Likewise.
21841 * argp/argp-help.c: Likewise.
21842 * assert/assert.c: Likewise.
21843 * config.h.in: Likewise.
21844 * config.make.in: Likewise.
21845 * configure: Likewise.
21846 * configure.in: Likewise.
21847 * csu/Versions: Likewise.
21848 * csu/init.c: Likewise.
21849 * elf/tst-audit2.c: Likewise.
21850 * elf/tst-tls10.c: Likewise.
21851 * elf/tst-tls10.h: Likewise.
21852 * elf/tst-tls11.c: Likewise.
21853 * elf/tst-tls12.c: Likewise.
21854 * elf/tst-tls14.c: Likewise.
21855 * elf/tst-tlsmod11.c: Likewise.
21856 * elf/tst-tlsmod12.c: Likewise.
21857 * elf/tst-tlsmod13.c: Likewise.
21858 * elf/tst-tlsmod13a.c: Likewise.
21859 * elf/tst-tlsmod14a.c: Likewise.
21860 * elf/tst-tlsmod15b.c: Likewise.
21861 * elf/tst-tlsmod16a.c: Likewise.
21862 * elf/tst-tlsmod16b.c: Likewise.
21863 * elf/tst-tlsmod7.c: Likewise.
21864 * elf/tst-tlsmod8.c: Likewise.
21865 * elf/tst-tlsmod9.c: Likewise.
21866 * gmon/gmon.c: Likewise.
21867 * grp/fgetgrent_r.c: Likewise.
21868 * grp/putgrent.c: Likewise.
21869 * hurd/fopenport.c: Likewise.
21870 * include/libc-symbols.h: Likewise.
21871 * include/tls.h: Likewise.
21872 * intl/gettextP.h: Likewise.
21873 * intl/loadinfo.h: Likewise.
21874 * locale/global-locale.c: Likewise.
21875 * locale/localeinfo.h: Likewise.
21876 * mach/devstream.c: Likewise.
21877 * malloc/arena.c: Likewise.
21878 * malloc/set-freeres.c: Likewise.
21879 * misc/err.c: Likewise.
21880 * misc/getttyent.c: Likewise.
21881 * misc/mntent_r.c: Likewise.
21882 * posix/getopt.c: Likewise.
21883 * posix/wordexp.c: Likewise.
21884 * pwd/fgetpwent_r.c: Likewise.
21885 * resolv/Versions: Likewise.
21886 * resolv/res_hconf.c: Likewise.
21887 * shadow/fgetspent_r.c: Likewise.
21888 * shadow/putspent.c: Likewise.
21889 * stdio-common/printf_fphex.c: Likewise.
21890 * stdio-common/tmpfile.c: Likewise.
21891 * stdlib/abort.c: Likewise.
21892 * stdlib/fmtmsg.c: Likewise.
21893 * sunrpc/auth_unix.c: Likewise.
21894 * sunrpc/clnt_perr.c: Likewise.
21895 * sunrpc/clnt_tcp.c: Likewise.
21896 * sunrpc/clnt_udp.c: Likewise.
21897 * sunrpc/clnt_unix.c: Likewise.
21898 * sunrpc/openchild.c: Likewise.
21899 * sunrpc/svc_simple.c: Likewise.
21900 * sunrpc/svc_tcp.c: Likewise.
21901 * sunrpc/svc_udp.c: Likewise.
21902 * sunrpc/svc_unix.c: Likewise.
21903 * sunrpc/xdr.c: Likewise.
21904 * sunrpc/xdr_array.c: Likewise.
21905 * sunrpc/xdr_rec.c: Likewise.
21906 * sunrpc/xdr_ref.c: Likewise.
21907 * sunrpc/xdr_stdio.c: Likewise.
21908
1248c1c4
PB
219092011-09-09 Ulrich Drepper <drepper@gmail.com>
21910
21911 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21912
219132011-07-03 Andreas Jaeger <aj@suse.de>
21914
21915 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21916 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21917 regenerate with gen-libm-tests.pl.
21918
219192010-05-12 Petr Baudis <pasky@suse.cz>
21920
21921 [BZ #11589]
21922 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21923 around j0() zero points by switching to j1().
21924 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21925 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21927 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21928
f22e1074
UD
219292011-09-09 Ulrich Drepper <drepper@gmail.com>
21930
f19009c1
UD
21931 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21932 instead of 0.
21933 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21934 instead of 0.
f19009c1
UD
21935 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21936 Patch in part by Pavel Roskin <proski@gnu.org>.
21937
3f8cc204
UD
21938 [BZ #13138]
21939 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21940 realloc.
21941 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21942 Free memory block if necessary.
21943
f22e1074
UD
21944 [BZ #12847]
21945 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21946 be NULL. Don't lock in this case.
21947
0a2349f9
RM
219482011-09-09 Roland McGrath <roland@hack.frob.com>
21949
21950 * elf/elf.h (ELFOSABI_GNU): New macro.
21951 (ELFOSABI_LINUX): Define to that.
21952
f3cdd467
DZ
219532011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21954
21955 * string/strncat.c (strncat): Undef the symbol in case it has been
21956 defined in bits/string.h.
21957
74718d13
UD
219582011-09-09 Ulrich Drepper <drepper@gmail.com>
21959
633e9e0f
UD
21960 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21961
0a2349f9 21962 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
21963 link map.
21964
f9924780
AJ
219652011-08-17 Andreas Jaeger <aj@suse.de>
21966
21967 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21968
7f5517aa
PP
219692011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21970 Ian Lance Taylor <iant@google.com>
21971
21972 * math/libm-test.inc (lround_test): New testcase.
21973 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21974
762011fe
UD
219752011-09-08 Ulrich Drepper <drepper@gmail.com>
21976
92963737
UD
21977 * Makefile: Remove support for automatic cvs check-ins.
21978 * Makerules: Likewise.
21979 * config.make.in: Likewise.
21980 * configure.in: Likewise.
21981 * intl/Makefile: Likewise.
21982 * locale/Makefile: Likewise.
21983 * po/Makefile: Likewise.
21984 * posix/Makefile: Likewise.
21985 * sysdeps/gnu/Makefile: Likewise.
21986 * sysdeps/mach/hurd/Makefile: Likewise.
21987 * sysdeps/sparc/sparc32/Makefile: Likewise.
21988
b0727fd8
JS
21989 [BZ #13118]
21990 * posix/Makefile (bug-regex32-ENV): Define.
21991 Patch by John Stanley <jpsinthemix@verizon.net>.
21992
a0f33f99
UD
21993 * misc/Makefile (headers): Add bits/select2.h.
21994 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21995 * misc/bits/select2.h: New file.
21996 * include/bits/select2.h: New file.
21997 * debug/Makefile (routines): Add fdelt_chk.
21998 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21999 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22000 FD_ISSET.
22001 * debug/fdelt_chk.c: New file.
22002
762011fe
UD
22003 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22004 * wcsmbs/test-wmemcmp.c: Likewise.
22005 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 22006 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
22007
220082011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22009
22010 * string/Makefile (strop-tests): Add memcmp.
22011 * string/test-wmemcmp.c: New file.
22012 * string/test-memcmp.c: Add wmemcmp support.
22013
7f513ec8
RM
220142011-09-08 Roland McGrath <roland@hack.frob.com>
22015
0442afb4
RM
22016 [BZ #13153]
22017 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22018 2011-07-19 change.
22019
7f513ec8
RM
22020 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22021 garbage value in a __mach_port_mod_refs call in the cases of the
22022 task-self and thread-self ports.
22023
a12b2239
ST
220242011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22025
22026 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22027
610f9ab4
AS
220282011-09-08 Andreas Schwab <schwab@redhat.com>
22029
7f513ec8 22030 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 22031
48882a1a
LD
220322011-09-07 Ulrich Drepper <drepper@gmail.com>
22033
b49865be
UD
22034 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22035
fdc86bc9
UD
22036 * elf/dl-libc.c (dlerror_run): Pass back error code from
22037 dl_catch_error.
22038
c966526a
UD
22039 [BZ #13123]
22040 * elf/dl-load.c (lose): Free l_origin if it is valid.
22041
48882a1a
LD
22042 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22043 names.
22044 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22045 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22046 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22047 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22048 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22049 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22050
77a2a8b4
AZ
220512011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22052
22053 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22054 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22055 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22056 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22057 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22058 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22059 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22060 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22061 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22062 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22063
24f579d8
AM
220642011-08-15 Alan Modra <amodra@gmail.com>
22065
22066 [BZ #13092]
22067 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22068 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22069 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22070 ppc_mcount to static-only-routines.
22071 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22072 __mcount_internal.
22073 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22074 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22075
3d4837df
UD
220762011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22077
22078 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22079 for finite and infinity parameters.
22080
22700377
WS
220812011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22082
22083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22084 and add nop instructions for throughput optimization.
22085 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22086
5025581e
WS
220872011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22088
22089 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22090 aligned copy for power7 with vector-scalar instructions.
22091 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22092
08a300c9
L
220932011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22094
22095 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22096 AVX check.
22097
59178ef9
AS
220982011-09-07 Andreas Schwab <schwab@redhat.com>
22099
22100 [BZ #13144]
22101 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22102 last change.
22103
e38ba7ab
UD
221042011-09-07 Ulrich Drepper <drepper@gmail.com>
22105
22106 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22107 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22108 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22109 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22110 clock_gettime.
22111
d53a73ac
UD
221122011-09-06 Ulrich Drepper <drepper@gmail.com>
22113
fc8bffcc
UD
22114 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22115 Forgot to demangle the pointer.
22116
ceaa0c5d
UD
22117 * sysdeps/i386/sysdep.h: Define atom_text_section.
22118 * sysdeps/x86_64/sysdep.h: Likewise.
22119 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22120 section with atom_text_section.
22121 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22122 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22123 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22124 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22125 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22126
a77d3c17
UD
22127 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22128 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22129 already be defined. Change to take two parameters and don't assign
22130 result to variable. Adjust all users.
22131 Define INTERNAL_GETTIME if not already defined.
22132 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22133 call.
22134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22135 HAVE_CLOCK_GETTIME_VSYSCALL.
22136 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22137
d53a73ac
UD
22138 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22139 gettimeofday vsyscall, just use time.
22140
a8f84144
AS
221412011-09-06 Andreas Schwab <schwab@redhat.com>
22142
22143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22144 <errno.h>.
22145
ef606249
UD
221462011-09-06 Ulrich Drepper <drepper@gmail.com>
22147
22148 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22149 syscall on x86-64.
22150 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22151 syscall.
22152 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22153 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22154 syscall if possible.
22155
6585cb60
UD
221562011-09-05 Ulrich Drepper <drepper@gmail.com>
22157
22158 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22159 e_ident. Don't pass to find_mapsXX.
22160 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22161
a5f524e4
LD
221622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22163
22164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22165 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22166 * sysdeps/x86_64/multiarch/strchr.S: Update.
22167 Check bit_slow_BSF bit.
22168 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22169 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22170 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22171
554881ef
UD
221722011-09-05 Ulrich Drepper <drepper@gmail.com>
22173
d96de963
UD
22174 [BZ #13134]
22175 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22176 before glibc 2.15.
22177 (tryshell): Define.
22178 (__spawni): Change last parameter to be flag. Test
22179 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22180 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22181 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22182 * posix/spawni.c: Likewise.
22183 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22184 * posix/spawnp.c: Likewise. Change normal version to use
22185 SPAWN_XFLAGS_USE_PATH.
22186 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22187 SPAWN_XFLAGS_TRY_SHELL.
22188
d48e5868
UD
22189 [BZ #13150]
22190 * posix/glob.h: Remove gcc 1.x support.
22191
554881ef
UD
22192 [BZ #13068]
22193 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22194
693fb948
LD
221952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22196
22197 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22198 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22199 strrchr-sse2-bsf
22200 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22201 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22202 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22203 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22204 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22205 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22206
1b48c537
UD
222072011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22208
49d42c37
UD
22209 * sysdeps/x86_64/wcscmp.S: New file.
22210
1b48c537
UD
22211 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22212 wcscmp-c wcscmp-sse2
22213 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22214 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22215 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22216 * wcsmbs/wcscmp.c: Allow renaming.
22217
15c95c5d
DM
222182011-09-05 David S. Miller <davem@davemloft.net>
22219
22220 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22221 stack slot, rather than the struct return pointer slot.
22222 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22223 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22225 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22226
2f0ad8f3
UD
222272011-09-05 Ulrich Drepper <drepper@gmail.com>
22228
d88ae418
UD
22229 * po/ja.po: Update from translation team.
22230
2f0ad8f3
UD
22231 [BZ #13144]
22232 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22233 kernel in 64-bit binaries.
22234
5f4318d1
DM
222352011-09-01 David S. Miller <davem@davemloft.net>
22236
22237 * elf/elf.h (HWCAP_SPARC_*): Move to..
22238 * sysdeps/sparc/sysdep.h: this new file and add new values.
22239 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22240 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22241 _DL_HWCAP_COUNT to 24.
22242 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22243 entries.
22244 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22245 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22246 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22247 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22248 instead of magic constants.
22249 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22250
3ba57516
DM
222512011-08-31 David S. Miller <davem@davemloft.net>
22252
22253 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22254 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22255 Reimplement to do errno handling inline.
22256 (SYSCALL_ERROR_HANDLER): New macro.
22257 (__SYSCALL_STRING): Do not do errno handling in asm.
22258 (__CLONE_SYSCALL_STRING): Delete.
22259 (__INTERNAL_SYSCALL_STRING): Delete.
22260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22261 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22262 (PSEUDO): Reimplement to do errno handling inline.
22263 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22264 (SYSCALL_ERROR_HANDLER): New macro.
22265 (__SYSCALL_STRING): Do not do errno handling in asm.
22266 (__CLONE_SYSCALL_STRING): Delete.
22267 (__INTERNAL_SYSCALL_STRING): Delete.
22268 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22269 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22270 i386.
22271 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22272 (inline_syscall*): Add 'err' argument.
22273 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22274 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22275 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22276 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22277
22278 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22279 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22280
2bc17433
AS
222812011-08-30 Andreas Schwab <schwab@redhat.com>
22282
22283 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22284
fbeb5f4d
JO
222852011-08-29 Jiri Olsa <jolsa@redhat.com>
22286
22287 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22288 directive.
22289
ad69cc26
DM
222902011-08-24 David S. Miller <davem@davemloft.net>
22291
22292 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22293
39dd69df
AS
222942011-08-24 Andreas Schwab <schwab@redhat.com>
22295
22296 * elf/Makefile: Add rules to build and run unload8 test.
22297 * elf/unload8.c: New file.
22298 * elf/unload8mod1.c: New file.
22299 * elf/unload8mod1x.c: New file.
22300 * elf/unload8mod2.c: New file.
22301 * elf/unload8mod3.c: New file.
22302
22303 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22304 it wasn't used.
22305
2c0b250a
DM
223062011-08-23 David S. Miller <davem@davemloft.net>
22307
22308 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22309 subtract stack bias.
22310 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22311 %sp not %fp in calculations.
22312 (_JMPBUF_UNWINDS_ADJ): Likewise.
22313
22044b48
DM
22314 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22315 (aio_suspend): Call it to force an exception region around the
22316 AIO_MISC_WAIT() invocation.
22317
2cae4995
AS
223182011-08-23 Andreas Schwab <schwab@redhat.com>
22319
22320 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22321 backslash.
22322
873a772e
AJ
223232011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22324
22325 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22326 protection macro.
22327 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22328 and <dl-machine.h>.
22329 (Elf64_FuncDesc): Remove.
22330
25ad0df1
DM
223312011-08-22 David S. Miller <davem@davemloft.net>
22332
22333 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22334 sigaltstack check, add missing cfi directives.
22335 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22336 missing cfi directives, and sigaltstack handling.
22337
e888bcbe
AS
223382011-08-16 Andreas Schwab <schwab@redhat.com>
22339
22340 [BZ #11724]
22341 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22342 object is seen twice.
22343 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22344
22345 * elf/Makefile (distribute): Add tst-initorder2.c.
22346 (tests): Add tst-initorder2.
22347 (modules-names): Add tst-initorder2a tst-initorder2b
22348 tst-initorder2c tst-initorder2d. Add rules to build them.
22349 ($(objpfx)tst-initorder2.out): New rule.
22350 * elf/tst-initorder2.c: New file.
22351 * elf/tst-initorder2.exp: New file.
22352
87162f46
AS
223532011-08-22 Andreas Schwab <schwab@redhat.com>
22354
70538b7f
AS
22355 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22356
f55ffe58
AS
22357 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22358 dependencies back to end of function.
22359
87162f46
AS
22360 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22361 $(elfobjdir)/ld.so.
22362
91b392a4
UD
223632011-08-21 Ulrich Drepper <drepper@gmail.com>
22364
22365 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22366 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22367 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22368 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22369 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22370 of __vdso_gettimeofday.
22371 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22372 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22373 attribute_hidden.
22374 (_libc_vdso_platform_setup): Remove initialization of
22375 __vdso_gettimeofday and __vdso_time.
22376
5c43483f
UD
223772011-08-20 Ulrich Drepper <drepper@gmail.com>
22378
775a77e7
UD
22379 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22380 and fgetc_unlocked.
22381 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22382 getc_unlocked.
89f447ed 22383
49c74ba9
UD
22384 * elf/dl-open.c (add_to_global): Report additions to the global scope
22385 for LD_DEBUG=scopes.
22386 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 22387 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 22388
5c43483f
UD
22389 [BZ #13114]
22390 * stdio-common/Makefile (tests): Add bug24.
22391 * stdio-common/bug24.c: New file.
22392
a101b025
AJ
223932011-08-19 Andreas Jaeger <aj@suse.de>
22394
22395 [BZ #13114]
22396 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22397 non-existant file when using close-on-exec mode.
22398
c88f1766
UD
223992011-08-20 Ulrich Drepper <drepper@gmail.com>
22400
0276a718
UD
22401 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22402 the very first instruction.
22403
c88f1766
UD
22404 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22405 the CFI state in the end.
22406 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22407 inclusion of dl-trampoline.h.
22408 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22409
51ccffa0
AS
224102011-08-19 Andreas Schwab <schwab@redhat.com>
22411
94d7165f
AS
22412 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22413 expectations for long double.
22414
51ccffa0
AS
22415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22416 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22417
fd708658 224182011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
22419
22420 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22421 artificual limit depends upon the system page size.
22422
44f0a71e
UD
224232011-08-17 Ulrich Drepper <drepper@gmail.com>
22424
22425 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22426 * resolv/Makefile: Define CFLAGS-libresolv.
22427
8de79a24
AS
224282011-08-17 Andreas Schwab <schwab@redhat.com>
22429
22430 * nss/makedb.c (compute_tables): Make variables used in nested
22431 function static.
22432
27724598
UD
224332011-08-17 Ulrich Drepper <drepper@gmail.com>
22434
c5305d88
UD
22435 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22436 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22437 if buffer was too small.
22438
27724598
UD
22439 * elf/pldd.c (main): Attach to all threads in the process.
22440 Rewrite /proc handling to use *at functions.
22441
076fe015
UD
224422011-08-16 Ulrich Drepper <drepper@gmail.com>
22443
174baab3
UD
22444 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22445 specifies first scope to show.
22446 (dl_open_worker): Update callers. Move printing scope of new
22447 object to before the relocation.
44f0a71e 22448 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
22449 * sysdeps/generic/ldsodefs.h: Update declaration.
22450
076fe015
UD
22451 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22452 string for the scope number.
22453
a60df2c3
UD
224542011-08-14 Ulrich Drepper <drepper@gmail.com>
22455
22456 * nscd/servicescache.c (cache_addserv): Make sure written is always
22457 initialized.
22458
5e4287d1
RM
224592011-08-14 Roland McGrath <roland@hack.frob.com>
22460
85ae0589
RM
22461 * sysdeps/i386/i486/bits/atomic.h
22462 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22463 statement expression, so as to suppress "set but not used" warning.
22464 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22465
69f63097
RM
22466 * string/strncat.c (STRNCAT): Use prototype definition.
22467
675456ef
RM
22468 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22469 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22470 -Iprograms here.
22471 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22472 (localedef-modules): Add localedef.
22473 (locale-modules): Add locale.
22474
5e4287d1
RM
22475 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22476 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22477 to avoid a warning.
22478
9c96ff23
DM
224792011-08-14 David S. Miller <davem@davemloft.net>
22480
22481 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22482 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22483
f9ddf089
UD
224842011-08-13 Ulrich Drepper <drepper@gmail.com>
22485
44f0a71e 22486 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
22487 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22488 * elf/rtld.c (dl_main): Set l_name of vDSO.
22489 Call _dl_show_scope when DL_DEBUG_SCOPES.
22490 (process_dl_debug): Recognize scopes flag and also set it for all.
22491 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22492 Declare _dl_show_scope.
22493
1dc27704
UD
22494 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22495 (do_dlopen): Pass caller_dlopen to dl_open.
22496 (__libc_dlopen_mode): Initialize caller_dlopen.
22497
f9ddf089
UD
22498 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22499 of libc. Make tolower call locale-independent. Optimize a bit by
22500 using isdigit instead of isalnum.
22501 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22502
9ac533d3
UD
225032011-08-12 Ulrich Drepper <drepper@gmail.com>
22504
22505 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22506 was a dependency or dynamically loaded.
22507
89edf2e9
UD
225082011-08-11 Ulrich Drepper <drepper@gmail.com>
22509
8e999d29
UD
22510 * intl/l10nflist.c: Allow architecture-specific pop function.
22511 * sysdeps/x86_64/l10nflist.c: New file.
22512
89edf2e9
UD
22513 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22514 classification.
22515
14d96785
AS
225162011-08-10 Andreas Schwab <schwab@redhat.com>
22517
22518 * include/dirent.h: Add libc_hidden_proto for scandirat and
22519 scandirat64. Don't declare __scandirat64.
22520 * dirent/scandirat.c: Add libc_hidden_def.
22521 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22522 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22523
6761ac04
DM
225242011-08-10 David S. Miller <davem@davemloft.net>
22525
22526 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22527 enum.
22528 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22529 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22530 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22531
c55fbd1e
UD
225322011-08-09 Ulrich Drepper <drepper@gmail.com>
22533
22534 * Versions.def [libc]: Add GLIBC_2.15.
22535 * dirent/Makefile (routines): Add scandirat and scandirat64.
22536 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22537 GLIBC_2.15.
22538 * dirent/dirent.h: Declare scandirat and scandirat64.
22539 * dirent/scandirat.c: New file.
22540 * dirent/scandirat64.c: New file.
22541 * sysdeps/wordsize-64/scandirat.c: New file.
22542 * sysdeps/wordsize-64/scandirat64.c: New file.
22543 * dirent/opendir.c: Define opendirat.
22544 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22545 using scandirat.
22546 * dirent/scandir64.c: Adjust for scandir.c change.
22547 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22548 __scandirat64, and __scandir_cancel_handler.
22549 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22550 additional parameter and use openat instead of open (outside of ld.so).
22551 Add new __opendir as wrapper around __opendirat.
22552 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22553 here without requiring old scandirat implementation.
22554
879165f2
UD
225552011-08-08 Ulrich Drepper <drepper@gmail.com>
22556
22557 * dirent/scandir.c (cancel_handler): Renamed to
22558 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22559 defined. Adjust users.
22560 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22561 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22562
cb7e923b
UD
225632011-08-04 Ulrich Drepper <drepper@gmail.com>
22564
16292edd
UD
22565 * string/test-string.h (IMPL): Use __STRING to expand name and then
22566 stringify it.
22567
cb7e923b
UD
22568 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22569 of cleanups.
22570
cff82933
LD
225712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22572
22573 * string/Makefile: Update.
22574 (strop-tests): Append strncat.
22575 * string/test-wcscmp.c: New file.
22576 New comprehensive test for wcscmp.
22577 * string/test-strcmp.c: Update.
22578 (WIDE): New define.
22579
9be9bfcc
AS
225802011-07-22 Andreas Schwab <schwab@redhat.com>
22581
22582 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22583 line.
22584
2e96f1c7
AS
225852011-07-26 Andreas Schwab <schwab@redhat.com>
22586
22587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22588 encoding to ACE if AI_IDN.
22589
85188888
JJ
225902011-08-01 Jakub Jelinek <jakub@redhat.com>
22591
22592 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22593 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22594
5fa16e9b
LD
225952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22596
22597 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22598 Fix overflow bug in strncat.
22599 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22600
22601 * string/test-strncat.c: Update.
22602 Add new tests for checking overflow bugs.
22603
226042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22605
22606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22607 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22608 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22609 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22610 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22611 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22612 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22613 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22614 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22615
22616 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22617 (USE_AS_STRCAT): Define.
22618 Add strcat and strncat support.
22619 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22620
8c1a459f
AS
226212011-07-25 Andreas Schwab <schwab@redhat.com>
22622
22623 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22624 __n bigger than INT_MAX+1.
22625 (__strncmp_g): Likewise.
22626
bba33c28
UD
226272011-07-23 Ulrich Drepper <drepper@gmail.com>
22628
798be72d
UD
22629 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22630 * libio/stido.h: Likewise.
22631
8accd4dc
UD
22632 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22633 (AF_NFC): Define.
22634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22635 (AF_NFC): Define.
22636
cbff0d96
UD
22637 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22638 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22639 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22640 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22641 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22642
9191c04a
UD
22643 [BZ #13021]
22644 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22645 installed.
22646
bba33c28
UD
22647 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22648 typo.
22649 (_dl_x86_64_save_sse): Likewise.
22650
90f139dd
UD
226512011-07-22 Ulrich Drepper <drepper@gmail.com>
22652
1aae088a
UD
22653 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22654 OSXSAVE.
22655 (_dl_x86_64_save_sse): Likewise.
22656
8e2045f5
UD
22657 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22658
90f139dd
UD
22659 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22660
1d002f25
AS
226612011-07-21 Andreas Schwab <schwab@redhat.com>
22662
22663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22664 change.
22665 (_dl_x86_64_save_sse): Use correct AVX check.
22666
21137f89
UD
226672011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22668
22669 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22670 bug in strncpy/strncat.
22671 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22672
a65c0b7a
UD
226732011-07-21 Ulrich Drepper <drepper@gmail.com>
22674
22675 * string/tester.c (test_strcat): Add tests for different alignments
22676 of source and destination.
22677 (test_strncat): Likewise.
22678
6986b98a
UD
226792011-07-20 Ulrich Drepper <drepper@gmail.com>
22680
90bb2039
UD
22681 [BZ #12852]
22682 * posix/glob.c (glob): Check passed in values before using them in
22683 expressions to avoid some overflows.
22684 (glob_in_dir): Likewise.
22685
5644ef54
UD
22686 [BZ #13007]
22687 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22688 check for AVX enablement so that we don't crash with old kernels and
22689 new hardware.
22690 * elf/tst-audit4.c: Add same checks here.
22691 * elf/tst-audit6.c: Likewise.
22692
22693 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 22694
bfc9dc9b
AS
226952011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22696
22697 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22698
702e64bb
UD
226992011-07-20 Ulrich Drepper <drepper@gmail.com>
22700
22701 * po/cs.po: Update from translation team.
22702 * po/bg.po: Likewise.
22703
295e904f
MP
227042011-07-12 Marek Polacek <mpolacek@redhat.com>
22705
22706 * misc/sys/cdefs.h: Add support for const attribute.
22707 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22708 to gnu_dev_{major,minor,makedev} functions.
22709
3ff94596
MP
227102011-07-20 Marek Polacek <mpolacek@redhat.com>
22711
22712 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22713
28b59fca
AS
227142011-07-20 Andreas Schwab <schwab@redhat.com>
22715
22716 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22717 strlen results.
22718
19df733e
AK
227192011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22720
22721 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22722 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22723 register in order to avoid conflicts with the soft frame pointer
22724 being held in r11 when necessary.
22725 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22726 (INTERNAL_VSYSCALL_NCS): Likewise.
22727
c8835729
MP
227282011-07-14 Marek Polacek <mpolacek@redhat.com>
22729
22730 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22731 * elf/dl-fini.c (_dl_fini): Adjust caller.
22732 * elf/dl-close.c (_dl_close_worker): Likewise.
22733 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22734
b902330c
MP
227352011-07-15 Marek Polacek <mpolacek@redhat.com>
22736
8991e135
MP
22737 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22738 "aux_cache->nlibs < 0".
22739
b902330c
MP
22740 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22741 in the reload-count case.
22742
99710781
LD
227432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22744
22745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22746 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22747 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22748 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22749 * sysdeps/x86_64/multiarch/strcat.S: New file.
22750 * sysdeps/x86_64/multiarch/strncat.S: New file.
22751 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22752 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22753 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22754 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22755 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22756 (USE_AS_STRCAT): Define.
22757 Add strcat and strncat support.
22758 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22759 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22760 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22761 * string/strncat.c: Update.
22762 (USE_AS_STRNCAT): Define.
22763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22764 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22765 and i7.
22766 * sysdeps/x86_64/multiarch/init-arch.h
22767 (bit_Prefer_PMINUB_for_stringop): New.
22768 (index_Prefer_PMINUB_for_stringop): Likewise.
22769 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22770 bit_Prefer_PMINUB_for_stringop.
22771
7dc6bd90
UD
227722011-07-19 Ulrich Drepper <drepper@gmail.com>
22773
22774 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22775 buffer64.
22776 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22777 of casting of buffer.
22778 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22779 buffer32 and buffer64.
22780 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22781 writes instead of casting of buffer.
22782 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22783 buffer32.
22784 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22785 casting of buffer.
22786
e0e72284
AS
227872011-07-19 Andreas Schwab <schwab@redhat.com>
22788
22789 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22790
feb1eb0b
UD
227912011-07-19 Ulrich Drepper <drepper@gmail.com>
22792
22793 * nscd/nscd.c (termination_handler): Don't do anything for a database
22794 if it has not yet been initialized.
22795
298711ff
UD
227962011-07-18 Ulrich Drepper <drepper@gmail.com>
22797
22798 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22799
228002011-07-15 Marek Polacek <mpolacek@redhat.com>
22801
22802 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22803
f9d68389
UD
228042011-07-18 Ulrich Drepper <drepper@gmail.com>
22805
22806 * po/nl.po: Update from translation team.
22807 * po/sv.po: Likewise.
22808
db290cf5
RM
228092011-07-16 Roland McGrath <roland@hack.frob.com>
22810
22811 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22812 now disallowed by GCC.
5c550700 22813
fd5e21c7
RM
22814 * configure.in (use-default-link): Default to yes if a test -shared
22815 link meets our qualifications.
22816 * configure: Regenerated.
22817
5c550700
RM
22818 * config.make.in (output-format): New variable.
22819 * configure.in: Check for ld --print-output-format support.
22820 * configure: Regenerated.
22821 * Makerules ($(common-objpfx)format.lds)
22822 [$(output-format) != unknown]: Just use $(output-format),
22823 instead of the linker-script munging.
22824
9fa2c032
RM
228252011-07-14 Roland McGrath <roland@hack.frob.com>
22826
a6928d51
RM
22827 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22828 of $(common-objpfx)shlib.lds.
22829 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22830
661607b3
RM
22831 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22832 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22833
9fa2c032
RM
22834 * configure.in (-z relro check): Adjust test code to add a large
22835 writable data section after it.
22836 * configure: Regenerated.
22837
defe9061
RM
228382011-07-11 Roland McGrath <roland@hack.frob.com>
22839
22840 * configure.in (-z relro check): Fix test code to make the variable
22841 truly const.
22842 * configure: Regenerated.
22843
319b9ad4
UD
228442011-07-11 Ulrich Drepper <drepper@gmail.com>
22845
22846 * nscd/nscd.h (struct traced_file): Define.
22847 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22848 elements. Add traced_files.
22849 (inotify_fd): Declare.
22850 (register_traced_file): Declare.
22851 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22852 (inotify_fd): Export.
22853 (resolv_conf_descr): Remove.
22854 (nscd_init): Move inotify descriptor creation to main.
22855 Don't register files for notification here.
22856 (register_traced_file): New function.
22857 (invalidate_cache): Don't use reset_res to determine whether to call
22858 res_init, go through the list of registered files.
22859 (main_loop_poll): The inotify descriptors are now stored in the
22860 structures for the traced files.
22861 (main_loop_epoll): Likewise
22862 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22863 to __nss_disable_nscd.
22864 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22865 for a database anymore. Check the records for all the registered
22866 files instead.
22867 * nss/Makefile (libnss_files-routines): Add files-init.
22868 (libnss_db-routines): Add db-init.
22869 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22870 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22871 * nss/nss_db/db-init.c: New file.
22872 * nss/nss_files/files-init.c: New file.
22873 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22874 __nss_lookup_function.
22875 (__nss_lookup_function): Call nss_load_library.
22876 (nss_load_all_libraries): New function.
22877 (__nss_disable_nscd): Take parameter with callback function for files
22878 to register. Set is_nscd. Load all the DSOs for the NSS modules
22879 used for the cached services.
22880 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22881 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22882 options for features to all the files in nscd.
22883
22884 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22885
23bee3e8
RM
228862011-07-10 Roland McGrath <roland@hack.frob.com>
22887
22888 * csu/elf-init.c (__libc_csu_init): Comment typo.
22889
46a5b7f0
UD
228902011-07-09 Ulrich Drepper <drepper@gmail.com>
22891
22892 * po/pl.po: Update from translation team.
22893 * po/ja.po: Likewise.
22894 * po/ru.po: Likewise.
22895 * po/ko.po: Likewise.
22896 * po/fr.po: Likewise.
22897
d30cf5bb
RM
228982011-07-09 Roland McGrath <roland@hack.frob.com>
22899
113ddea4
RM
22900 * configure.in (.ctors/.dtors header and trailer check):
22901 Use an empirical test on a built program.
22902 * configure: Regenerated.
22903
574920b4
RM
22904 * configure.in (-z relro check): Use an empirical test on a built DSO.
22905 Detect, but do not require, on ia64.
22906 * configure: Regenerated.
22907
d30cf5bb
RM
22908 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22909 Update tests that use readelf to use $READELF instead.
22910 * configure: Regenerated.
22911
8538fdb3
UD
229122011-07-08 Ulrich Drepper <drepper@gmail.com>
22913
22914 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22915 if the result is not used.
22916
04d08991
AJ
229172011-07-05 Andreas Jaeger <aj@suse.de>
22918
22919 [BZ#9696]
22920 * stdlib/tst-strtod.c: Add testcase.
22921
de283087
AD
229222011-07-07 Ulrich Drepper <drepper@gmail.com>
22923
4e5f31c8 22924 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22925 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22926 The latter has a higher limit. Take additional parameter to pass to
22927 the new function.
22928 (__pathconf): Pass file to __statfs_link_max.
22929 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22930 __statfs_link_max.
22931 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22932 __statfs_link_max.
22933
de283087
AD
22934 [BZ #12868]
22935 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22936 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22937 Handle Lustre.
22938 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22939 (__statfs_filesize_max): Likewise.
22940 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22941
c75fa153
AJ
229422011-07-05 Andreas Jaeger <aj@suse.de>
22943
22944 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22945
1a544854
UD
229462011-07-06 Marek Polacek <mpolacek@redhat.com>
22947
22948 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22949 `status' variable.
22950 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22951 Likewise.
22952
6f0eec67
UD
229532011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22954
22955 * Makefile (strop-tests): Add strncat.
22956 * string/test-strncat.c: New file.
22957
aae30307
UD
229582011-06-30 Marek Polacek <mpolacek@redhat.com>
22959
22960 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22961
c0cfb5eb
UD
229622011-06-21 Andreas Jaeger <aj@suse.de>
22963
22964 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22965 Copy rule from iconvdata/Makefile.
22966
01636b21
UD
229672011-07-06 Ulrich Drepper <drepper@gmail.com>
22968
22969 [BZ #12922]
22970 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22971 but no long options are defined, just return 'W'.
22972
9895c8bc
UD
229732011-06-22 Marek Polacek <mpolacek@redhat.com>
22974
22975 [BZ #9696]
22976 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22977
5d4cf042
UD
229782011-07-06 Ulrich Drepper <drepper@gmail.com>
22979
22980 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22981 netgroups to read.
960e5535 22982 (innetgr): Likewise.
5d4cf042 22983
751eb97e
RM
229842011-07-05 Roland McGrath <roland@hack.frob.com>
22985
22986 * config.make.in (install_root): Default to $(DESTDIR).
22987
f15f1e45
UD
229882011-07-05 Ulrich Drepper <drepper@gmail.com>
22989
22990 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22991
4e34ac6a
RM
229922011-07-02 Roland McGrath <roland@hack.frob.com>
22993
5e9b6af4
RM
22994 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22995
84f9ea0f
RM
22996 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22997 containing directory rather than embedding absolute directory names.
22998
ea5ee9f7
RM
22999 * scripts/check-local-headers.sh: Rewritten using awk.
23000 Match by word, not by line. Print error messages for matches.
23001 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23002
1b74661a
RM
23003 * Makerules [shlib-lds-flags empty]:
23004 ($(common-objpfx)libc_pic.opts): New target.
23005 ($(common-objpfx)libc_pic.os.clean): New target.
23006 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23007
23008 * config.make.in (OBJCOPY): New variable.
23009 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23010 * configure: Regenerated.
23011
f781ef40
RM
23012 * config.make.in (use-default-link): New variable.
23013 * configure.in (use_default_link): Grok --with-default-link to set it.
23014 * configure: Regenerated.
23015 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23016 (shlib-lds, shlib-lds-flags): Define to empty.
23017
2d4fa81e
RM
23018 * Makerules (shlib-lds): New variable.
23019 (shlib-lds-flags): New variable.
23020 (build-shlib, build-moduile, build-module-asneeded): Use it.
23021 ($(common-objpfx)libc.so): Use $(shlib-lds).
23022 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23023 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23024
31fffa6b
RM
23025 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23026 DT_FLAGS/DT_FLAGS_1 with zero flags.
23027
4e34ac6a
RM
23028 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23029 linker script munging.
23030
fcfc776b
UD
230312011-07-02 Ulrich Drepper <drepper@gmail.com>
23032
23033 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23034 as 128-bit value.
23035 * crypt/sha512.c (sha512_process_block): Perform total addition using
23036 128-bit if possible.
23037 (__sha512_finish_ctx): Likewise.
23038 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23039 as 64-bit value.
23040 * crypt/sha256.c (SWAP64): Define.
23041 (sha256_process_block): Perform total addition using 64-bit if
23042 possible.
23043 (__sha256_finish_ctx): Likewise.
23044
99231d9a
UD
230452011-07-01 Ulrich Drepper <drepper@gmail.com>
23046
23047 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23048 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23049 * nscd/hstcache.c (cache_addhst): Likewise.
23050 * nscd/grpcache.c (cache_addgr): Likewise.
23051 * nscd/aicache.c (addhstaiX): Likewise
23052 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23053
445b4a53
TK
230542011-07-01 Thorsten Kukuk <kukuk@suse.de>
23055
23056 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23058 * nscd/hstcache.c (cache_addhst): Likewise.
23059 * nscd/grpcache.c (cache_addgr): Likewise.
23060 * nscd/aicache.c (addhstaiX): Likewise
23061
6d4d8e8e
AS
230622011-07-01 Andreas Schwab <schwab@redhat.com>
23063
23064 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23065 domain only when needed.
23066
89f654c5
AS
230672011-06-30 Andreas Schwab <schwab@redhat.com>
23068
23069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23070 is always restored.
23071
cf3b23ff
UD
230722011-06-29 Ulrich Drepper <drepper@gmail.com>
23073
23074 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23075 are re-adding the entry.
23076 * nscd/servicescache.c (cache_addserv): Likewise.
23077
751626f9
AJ
230782011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23079
23080 * sysdeps/generic/dl-irel.h: fix protection against multiple
23081 inclusions.
23082 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23083
9113ea1f
UD
230842011-06-28 Ulrich Drepper <drepper@gmail.com>
23085
5c0b8d90
UD
23086 [BZ #12935]
23087 * malloc/memusage.sh: Fix quoting in message.
23088 * debug/xtrace.sh: Likewise.
23089
9113ea1f
UD
23090 * configure.in: Remove support for --experimental-malloc option, make
23091 it the default.
23092 * config.make.in: Likewise.
23093 * malloc/Makefile: Likewise.
23094
a4172181
AS
230952011-06-27 Andreas Schwab <schwab@redhat.com>
23096
23097 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23098 two-byte characters.
23099
78a7eee7
RM
231002011-06-27 Roland McGrath <roland@hack.frob.com>
23101
62bede13
RM
23102 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23103 AC_CACHE_CHECK invocation.
23104 * configure: Regenerated.
23105
78a7eee7
RM
23106 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23107
5ce33a62
UD
231082011-06-27 Ulrich Drepper <drepper@gmail.com>
23109
034807a9
UD
23110 [BZ #12350]
23111 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23112 bit from old_res_options.
23113
4902da17
UD
23114 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23115
5ce33a62
UD
23116 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23117 value type for setfct.
23118
c2344f56
L
231192011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23120
23121 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23122 __gettimeofday instead of gettimeofday.
23123
68468076
UD
231242011-06-26 Ulrich Drepper <drepper@gmail.com>
23125
23126 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23127
acb0d739
L
231282011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23129
23130 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23131
23132 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23133 info.
23134
8912479f
L
231352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23136
23137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23138 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23139 strcpy-sse2-unaligned strncpy-sse2-unaligned
23140 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23141 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23142 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23143 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23144 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23145 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23146 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23147 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23148 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23149 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23150 (STRCPY): Support SSE2 and SSSE3 versions.
23151
d5495a11
UD
231522011-06-24 Ulrich Drepper <drepper@gmail.com>
23153
23154 [BZ #12874]
23155 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23156 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23157 kernels which artificially limit size of requests.
23158
0b1cbaae
L
231592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23160
23161 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23162 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23163 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23164 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23165 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23166 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23167 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23168 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23169 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23170 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23171 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23172 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23173 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23174 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23175 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23177 Enable unaligned load optimization for Intel Core i3, i5 and i7
23178 processors.
23179 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23180 Define.
23181 (index_Fast_Unaligned_Load): Define.
23182 (HAS_FAST_UNALIGNED_LOAD): Define.
23183
07f494a0
MP
231842011-06-23 Marek Polacek <mpolacek@redhat.com>
23185
23186 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23187
fa3fc0fe
UD
231882011-06-22 Ulrich Drepper <drepper@gmail.com>
23189
23190 [BZ #12907]
23191 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23192 until it is clear that the information is realy needed.
23193 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23194
e12df166
AS
231952011-06-22 Andreas Schwab <schwab@redhat.com>
23196
23197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23198
852eb34d
UD
231992011-06-22 Ulrich Drepper <drepper@gmail.com>
23200
84e2a551
UD
23201 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23202 /sys/devices/system/cpu/online if it is usable.
23203
852eb34d
UD
23204 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23205 reading the information from the /proc filesystem to once a second.
23206
6e502e19
UD
232072011-06-21 Andreas Jaeger <aj@suse.de>
23208
23209 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23210 NULL after inclusion of kernel headers.
23211
75d39ff2
UD
232122011-06-21 Ulrich Drepper <drepper@gmail.com>
23213
51f9aa6a
UD
23214 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23215 calls to internal_setent.
23216
c0244a9d
UD
23217 [BZ #12885]
23218 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23219 addresses using gethostbyname4_r ignore IPv4 addresses.
23220
c5e3c2ae
UD
23221 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23222 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23223
75d39ff2
UD
23224 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23225
42675c6f
DM
232262011-06-20 David S. Miller <davem@davemloft.net>
23227
23228 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23229 inclusions.
23230 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23231
23232 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23233 (elf_irel): Use it.
23234 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23235 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23236 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23237 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23238 * sysdeps/x86_64/dl-irel.h: Likewise.
23239
23240 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23241 * elf/dl-sym.c: Likewise.
23242
57912a71
UD
232432011-06-15 Ulrich Drepper <drepper@gmail.com>
23244
23245 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23246 need to dereference resplen2.
23247
ee22793d
AS
232482011-06-14 Andreas Schwab <schwab@redhat.com>
23249
23250 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23251
a9e836b0
UD
232522011-06-15 Ulrich Drepper <drepper@gmail.com>
23253
77fb9117
UD
23254 * Makeconfig: Define vardbdir and inst_vardbdir.
23255 * nss/Makefile: Add rules to install db-Makefile.
23256
40c1b22c
UD
23257 * nss/nss_db/db-XXX.c: Cleanup.
23258
9f2da732
UD
23259 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23260 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23261 GLIBC_PRIVATE.
23262 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23263 * nss/makedb.c: Implement -g option to specify that value strings
23264 are generated and should not be added to table iterated over for
23265 get*ent calls.
23266 * nss/nss_db/db-initgroups.c: New file.
23267
82e9a1f7
UD
23268 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23269 interface.
23270
c41af17e
UD
23271 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23272 (internal_getgrouplist): Adjust to name change.
23273 Update use_initgroups_entry if this is not the first call.
23274 * nss/databases.def: Add initgroups entry.
23275
a9e836b0
UD
23276 * nss/makedb.c (compute_tables): Check result of multiple hash table
23277 sizes to minimize maximum chain length.
23278
2666d441
UD
232792011-06-14 Ulrich Drepper <drepper@gmail.com>
23280
23281 * Versions.def: Add entry for libnss_db.
23282 * shlib-versions: Likewise.
23283 * nss/Makefile: Add rules to build libnss_db.
23284 * nss/Versions: Add libnss_db information. Organize libnss_files
23285 entries better.
23286 * nss/db-Makefile: Add gshadow support. Change rules for the new
23287 makedb progra. Some minor improvements to generate smaller files.
23288 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23289 here from...
23290 * nss/makedb.c: ...here.
23291 Improve database format to be smaller and require less memory at
23292 runtime.
23293 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23294 db anymore.
23295 * nss/nss_db/db-netgrp.c: Likewise.
23296 * nss/nss_db/db-open.c: Likewise.
23297 * nss/nss_files/flies-XXX.x: Adjust comments.
23298 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23299 * nss/nss_files/files-grp.c: Likewise.
23300 * nss/nss_files/files-hosts.c: Likewise.
23301 * nss/nss_files/files-network.c: Likewise.
23302 * nss/nss_files/files-proto.c: Likewise.
23303 * nss/nss_files/files-pwd.c: Likewise.
23304 * nss/nss_files/files-rpc.c: Likewise.
23305 * nss/nss_files/files-service.c: Likewise.
23306 * nss/nss_files/files-sgrp.c: Likewise.
23307 * nss/nss_files/files-spwd.c: Likewise.
23308 * nss/nss_db/db-alias.c: Removed.
23309 * nss/nss_db/dummy-db.h: Removed.
23310
9ee76b5a
UD
233112011-06-02 Ulrich Drepper <drepper@gmail.com>
23312
23313 * nss/makedb.c: Rewritten to not use database library.
23314 * nss/Makefile: Update to build new makedb program.
23315
c71ca1f8
AJ
233162011-06-14 Andreas Jaeger <aj@suse.de>
23317
23318 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23319 memset declaration.
23320
3154bfb8
UD
233212011-06-10 Andreas Schwab <schwab@redhat.com>
23322
23323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23324 tmpbuf.
23325
b350afab
RM
233262011-06-10 Roland McGrath <roland@hack.frob.com>
23327
decd4e50
RM
23328 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23329 * elf/Makefile ($(objpfx)ld.so): Likewise.
23330
5615eaf2
RM
23331 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23332 Don't list ld.so twice in dependencies.
23333
23334 * posix/bug-regex31.c: Include <stdlib.h>.
23335
23336 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23337
23338 * nis/nss_compat/compat-spwd.c
23339 (getspent_next_nss_netgr): Remove unused variable.
23340 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23341
23342 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23343 nonmembers" output to use the right array.
23344
23345 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23346
23347 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23348
23349 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23350 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23351 * catgets/gencat.c (read_input_file): Likewise.
23352 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23353
23354 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23355 variable definition inside #if's controlling its use.
23356
23357 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23358
23359 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23360
23361 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23362
23363 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23364 unreachable code.
23365
23366 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23367
b68e08db
RM
23368 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23369 * configure: Regenerated.
23370
b350afab
RM
23371 * Makerules: Revert last change.
23372 * elf/Makefile: Likewise.
23373
28368601
RM
233742011-06-09 Roland McGrath <roland@hack.frob.com>
23375
23376 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23377 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23378 (reloc-link): Likewise.
23379
11988f8f
UD
233802011-06-09 Ulrich Drepper <drepper@gmail.com>
23381
23382 * elf/Makefile: Add rules to build pldd.
23383 * elf/pldd.c: New file.
23384 * elf/pldd-xx.c: New file.
23385
e80fab37
UD
233862011-06-07 Ulrich Drepper <drepper@gmail.com>
23387
23388 * version.h: Update for 2.15 development version.
23389
9b849836
DM
233902011-06-07 David S. Miller <davem@davemloft.net>
23391
23392 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23393 ifuncs.
23394 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23395 elf_machine_lazy_rel): Likewise.
23396 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23397 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23398 elf_machine_lazy_rel): Likewise.
23399 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23400 dl_hwcap via passed in argument.
23401 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23402 Likewise.
23403
5a31b283
AK
234042011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23405
23406 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23407
069e52f8
RM
234082011-06-06 Roland McGrath <roland@hack.frob.com>
23409
23410 [BZ #12849]
23411 * manual/fdl-1.1.texi: New file, verbatim from:
23412 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23413 * manual/lgpl-2.1.texi: New file, verbatim from:
23414 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23415 * manual/Makefile (licenses): New variable, list those new file names.
23416 (texis): Use it.
23417 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23418
23419 * manual/fdl.texi: File removed.
23420 * manual/lesser.texi: File removed.
23421 * manual/libc.texinfo (Copying, Documentation License):
23422 Use new @include file names, put @appendix directive before @include.
23423
f16846a5
JJ
234242011-06-04 Jakub Jelinek <jakub@redhat.com>
23425
23426 [BZ #12841]
23427 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23428 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23429 (mq_open): Add __NTH.
23430
3d29045b
L
234312011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23432
23433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23434 Assume Intel Core i3/i5/i7 processor if AVX is available.
23435
8c297311
UD
234362011-05-31 Ulrich Drepper <drepper@gmail.com>
23437
23438 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23439 typo.
23440
c8fc0c91
UD
234412011-05-31 Andreas Schwab <schwab@redhat.com>
23442
23443 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23444 memory. Use alloca_account. Fix memory leak when retrying.
23445
5b27a807
UD
234462011-05-31 Ulrich Drepper <drepper@gmail.com>
23447
356f8bc6
UD
23448 * version.h (RELEASE): Bump for 2.14 release.
23449 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23450
5b27a807
UD
23451 * config.make.in (RANLIB): Remove entry.
23452
01f16ab0
UD
234532011-05-30 Ulrich Drepper <drepper@gmail.com>
23454
41fce8bd
UD
23455 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23456 (libc.pot): Work around missing support for .ksh extension in xgettext.
23457
4769ae77
UD
23458 [BZ #12684]
23459 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23460 if both request failed.
23461 (send_dg): In case of server errors clear resplen or *resplen2.
23462
6b1e7d19
UD
23463 [BZ #12454]
23464 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23465 when there are multiple maps.
23466 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23467 (_dl_fini): Remove test here.
23468
01f16ab0
UD
23469 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23470
b1ebd700
UD
234712011-05-29 Ulrich Drepper <drepper@gmail.com>
23472
7ae22829
UD
23473 [BZ #12350]
23474 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23475 bit from old_res_options.
23476 (gaih_inet): Likewise.
23477
553149f6 23478 [BZ #11099]
18a84741 23479 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
23480 as signed.
23481
652ffab1
UD
23482 * resolv/res_init.c (res_setoptions): Make the code more compact.
23483
16985fd0
UD
23484 [BZ #11558]
23485 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23486 set RES_USEVC.
23487
0464f746
UD
23488 [BZ #11634]
23489 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23490
7d17596c
UD
23491 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23492
cf6bbbd7
UD
23493 [BZ #11781]
23494 * malloc/malloc.h: Declare malloc hook variables as volatile.
23495
13f1ab36
UD
23496 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23497 in last patch.
23498
b1ebd700
UD
23499 [BZ #11799]
23500 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 23501 raise in the comment.
80e2212d
UD
23502 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23503 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23504 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 23505
ce67228d
UD
235062011-05-28 Ulrich Drepper <drepper@gmail.com>
23507
8887a920
UD
23508 [BZ #12811]
23509 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23510 grow the buffers more if it already has to be sufficient.
23511 (build_wcs_upper_buffer): Likewise.
23512 * posix/regexec.c (check_matching): Likewise.
23513 (clean_state_log_if_needed): Likewise.
23514 (extend_buffers): Don't enlarge buffers beyond size of the input
23515 buffer.
23516 Patches mostly by Emil Wojak <emil@wojak.eu>.
23517 * posix/bug-regex32.c: New file.
23518 * posix/Makefile (tests): Add bug-regex32.
23519
4f031072
UD
23520 * locale/findlocale.c (_nl_find_locale): Return right away if
23521 _nl_explode_name failed.
23522 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23523
d0478f0c
UD
23524 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23525
de81b246
UD
23526 * debug/xtrace.sh: Unify messages.
23527 * malloc/memusage.sh: Likewise.
23528
c738465a
UD
23529 [BZ #12813]
23530 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23531 time symbol from vDSO. Substitute with vsyscall if not available.
23532 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23533 __vdso_time.
23534
f1f929d7
UD
23535 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23536 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23537 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23538 Add sendmmsg and internal_sendmmsg.
23539 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23540 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23541 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23542
ce67228d
UD
23543 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23544 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23545 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23546
e57420c6
UD
235472011-05-27 Ulrich Drepper <drepper@gmail.com>
23548
a8509ca5
UD
23549 [BZ #12813]
23550 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23551 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23552 available.
23553 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23554 __vdso_getcpu.
23555
e57420c6
UD
23556 [BZ #12814]
23557 * iconvdata/Makefile (tests): Add bug-iconv9.
23558 * iconvdata/bug-iconv9.c: New file.
23559
4d07db15
AS
235602011-05-27 Andreas Schwab <schwab@redhat.com>
23561
23562 [BZ #12814]
23563 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23564
ea486f69
JJ
235652011-05-25 Jakub Jelinek <jakub@redhat.com>
23566
23567 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23568 (struct user_regs_struct): Change intcs field back to cs.
23569
6f038433
UD
235702011-05-25 Ulrich Drepper <drepper@gmail.com>
23571
23572 * po/ja.po: Update from translation team.
23573
67f86a25
UD
235742011-05-23 Ulrich Drepper <drepper@gmail.com>
23575
23576 [BZ #12795]
23577 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23578 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23579
def7fbd6
AS
235802011-05-20 Andreas Schwab <schwab@redhat.com>
23581
23582 * stdlib/longlong.h: Update from GCC.
23583
f50ef8f1
AS
235842011-05-23 Andreas Schwab <schwab@redhat.com>
23585
23586 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23587 parameter name.
23588 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23589 Add parameter name.
23590 (__sysconf): Pass it down.
23591
de7ce8f1
UD
235922011-05-22 Ulrich Drepper <drepper@gmail.com>
23593
f2962a71
UD
23594 [BZ #12671]
23595 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23596 some situations.
23597 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23598 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23599 add in in __libc_use_alloca calls. Adjust callers.
23600 (glob): Use malloc in some situations.
23601
de7ce8f1
UD
23602 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23603 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23604 pltexit.
23605
aec84f53
UD
236062011-05-21 Ulrich Drepper <drepper@gmail.com>
23607
05bb4a68
UD
23608 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23609 and CLOCK_BOOTTIME_ALARM.
23610
7ea72f99
UD
23611 [BZ #12782]
23612 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23613 is returned.
23614
7e4afad5
UD
23615 * string/_strerror.c (__strerror_r): Print negative errors as signed
23616 numbers.
23617
8e211fec
UD
23618 [BZ #12777]
23619 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23620 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23621 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23622
f7d82dc9
UD
23623 * configure.in: Fix typo in redirection and correct removal of test
23624 files in two cases.
23625
cc9e536d
UD
23626 [BZ #12788]
23627 * locale/setlocale.c (new_composite_name): Fix test to check for
23628 identical name of all categories.
23629
aec84f53
UD
23630 [BZ #12792]
23631 * libio/filedoalloc.c (local_isatty): New function.
23632 (_IO_file_doallocate): Use local_isatty.
23633 * stdio-common/perror.c (perror): In case a new stream is used
23634 forward the stream error.
23635 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23636 error flag.
23637
78e64fdc
RT
236382011-05-20 Ulrich Drepper <drepper@gmail.com>
23639
34a9094f
UD
23640 [BZ #11869]
23641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23642 alloca.
23643 * include/alloca.h (extend_alloca_account): Define.
23644
78e64fdc
RT
23645 [BZ #11857]
23646 * posix/regex.h: Fix comments with documentation of user-accessible
23647 fields after compilation and describe correct free'ing of pattern
23648 after re_compile_pattern.
23649 Patch by Reuben Thomas <rrt@sc3d.org>.
23650
457bddfc
RA
236512011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23652
23653 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23654 and -mno-altivec to prevent the compiler from using Altivec and/or
23655 VSX instructions when the corresponding registers are not available.
23656
a4527b51
AS
236572011-05-19 Andreas Schwab <schwab@redhat.com>
23658
23659 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23660
ed690b2f
UD
236612011-05-19 Ulrich Drepper <drepper@gmail.com>
23662
23663 * libio/freopen.c (freopen): Use __dup2, not dup2.
23664 * libio/freopen64.c (freopen64): Likewise.
23665
8db73634
L
236662011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23667
23668 [BZ #12775]
23669 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23670 * math/Makefile (tests): Add test-powl.
23671 (CFLAGS-test-powl.c): Define.
23672 * math/test-powl.c: New file.
23673
0a197a9d
L
236742011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23675
23676 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23677
ee30c380
UD
236782011-05-17 Ulrich Drepper <drepper@gmail.com>
23679
23680 [BZ #11837]
23681 * iconvdata/gb18030.c: Update to GB18020-2005.
23682
6ce75379
UD
236832011-05-16 Ulrich Drepper <drepper@gmail.com>
23684
a4b89fd8
AR
23685 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23686 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23687 Patch by Aharon Robbins <arnold@skeeve.com>.
23688
ea389b12
UD
23689 [BZ #11892]
23690 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23691 on the stack.
23692
68a3f91f
UD
23693 [BZ #11895]
23694 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23695 through underflows.
23696
15cc7dd1
UD
23697 [BZ #12766]
23698 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23699 point to strings before performing equality test for error_one_per_line
23700 mode.
23701
f3799213
UD
23702 [BZ #11697]
23703 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23704
d79a9c94
UD
23705 [BZ #11820]
23706 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23707 (struct user_fpregs_struct): Avoid __uint*_t types.
23708
56e5eb46
UD
23709 [BZ #6420]
23710 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23711 symbol info. Use it instead of calling _dl_addr locally.
23712 (lock_and_info): New function.
23713 (tr_freehook): Call lock_and_info and pass symbol info as additional
23714 parameter to tr_where.
23715 (tr_mallochook): Likewise.
23716 (tr_reallochook): Likewise.
23717 (tr_memalignhook): Likewise.
23718
6ce75379
UD
23719 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23720 used and couldn't be at all thread-safe.
23721
f8a3b5bf
UD
237222011-05-15 Ulrich Drepper <drepper@gmail.com>
23723
94b7cc37
UD
23724 * libio/freopen.c (freopen): Don't close old file descriptor
23725 before the new one is opened. Instead dup the new file descriptor
23726 to the old one after the new stream is created.
23727 * libio/freopen64.c (freopen64): Likewise.
23728 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23729 * libio/fileops.c (_IO_new_file_close_it): Handle new
23730 _IO_FLAGS2_NOCLOSE flag.
23731 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23732 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23733 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23734 _IO_FLAGS2_NOCLOSE flag.
23735 * include/unistd.h: Add hidden_proto for dup3.
23736 Define __have_dup3.
23737 * io/dup3.c: Define hidden symbol.
23738 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23739
bd25564e
UD
23740 [BZ #7101]
23741 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23742 when an incomplete long option is used.
23743 * posix/tst-getopt_long1.c: New file.
23744 * posix/Makefile (tests): Add tst-getopt_long1.
23745
c84cfef4
UD
23746 [BZ #10138]
23747 * scripts/config.guess: Update from autoconf-2.68.
23748 * scripts/config.sub: Likewise.
23749
3b85df27
UD
23750 [BZ #10157]
23751 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23752 tests into ...
23753 (has_cpuclock): ...this. New function.
23754 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23755 macro here based on has_cpuclock code.
23756
15a856b1
UD
23757 [BZ #10149]
23758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23759 First byte (not low byte) is now always NUL.
23760 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23761
05f399e6
UD
23762 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23763 Use non-cancelable interfaces.
23764
10a52685 23765 [BZ #9809]
94ecc67d
UD
23766 * locale/iso-639.def: Add entry for Sorani.
23767
f8a3b5bf
UD
23768 [BZ #11901]
23769 * include/stdlib.h: Move include protection to the right place.
23770 Define abort_msg_s. Declare __abort_msg with it.
23771 * stdlib/abort.c (__abort_msg): Adjust type.
23772 * assert/assert.c (__assert_fail_base): New function. Majority
23773 of code from __assert_fail. Allocate memory for __abort_msg with
23774 mmap.
23775 (__assert_fail): Now call __assert_fail_base.
23776 * assert/assert-perr.c: Remove bulk of implementation. Use
23777 __assert_fail_base.
23778 * include/assert.hL Declare __assert_fail_base.
23779 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23780 mmap.
23781 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23782
1af4e298
UD
237832011-05-14 Ulrich Drepper <drepper@gmail.com>
23784
f8a3b5bf 23785 [BZ #11952]
d26dfc60
MG
23786 [BZ #12453]
23787 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23788 until all modules are registered in the DTV.
23789 * elf/Makefile: Add rules to build and run tst-tls19.
23790 * elf/tst-tls19.c: New file.
23791 * elf/tst-tls19mod1.c: New file.
23792 * elf/tst-tls19mod2.c: New file.
23793 * elf/tst-tls19mod3.c: New file.
23794 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23795
2fc54d6f
UD
23796 [BZ #12083]
23797 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23798 correctly.
23799
98d76b46
UD
23800 [BZ #12601]
23801 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23802 two-byte sequence errors.
23803 * iconvdata/Makefile (tests): Add bug-iconv8.
23804 * iconvdata/bug-iconv8.c: New file.
23805
da3c19ef
UD
23806 [BZ #12626]
23807 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23808 buf2 definition.
23809
ca408c15
UD
23810 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23811
d6f67f7d
UD
23812 [BZ #12432]
23813 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23814 (dummy_getcfa): New function.
23815 (init): Get _Unwind_GetCFA address, use dummy if not found.
23816 (backtrace_helper): In recursion check, also check whether CFA changes.
23817 (__backtrace): Completely initialize arg.
23818
1af4e298 23819 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23820 storing incomplete byte sequence in state object. Avoid testing for
23821 guaranteed too small input if we know there is enough data available.
1af4e298 23822
da62f81b
AS
238232011-05-11 Andreas Schwab <schwab@redhat.com>
23824
23825 * Makeconfig (+link-pie): Indent.
23826 * Rules (binaries-pie): Define if $(have-fpie) and
23827 $(build-shared).
23828 (binaries-shared): Also filter out $(binaries-pie).
23829 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23830 * nscd/Makefile (others-pie): Add nscd.
23831 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23832 ($(objpfx)nscd): Remove command override.
23833 * login/Makefile (others-pie): Add pt_chown.
23834 ($(objpfx)pt_chown): Remove command override.
23835 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23836 remove command overrides.
23837
fcabc0f8
UD
238382011-05-13 Ulrich Drepper <drepper@gmail.com>
23839
20030ae6
UD
23840 * libio/tst_putwc.c: Fix error messages.
23841
fcabc0f8
UD
23842 [BZ #12724]
23843 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23844 currently writing and seek to current position when not.
23845 * libio/Makefile (tests): Add bug-fclose1.
23846 * libio/bug-fclose1.c: New file.
23847
320a5dc0
PB
238482011-05-12 Ulrich Drepper <drepper@gmail.com>
23849
23850 [BZ #12511]
23851 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23852 don't set DF_1_NODELETE here.
23853 (do_lookup_x): When entering new entry test for copy relocation
23854 and if necessary set DF_1_NODELETE flag.
23855 * elf/tst-unique4.cc: New file.
23856 * elf/tst-unique4.h: New file.
23857 * elf/tst-unique4lib.cc: New file.
23858 * elf/Makefile: Add rules to build and run tst-unique4.
23859 Patch by Piotr Bury <pbury@goahead.com>.
23860
22836f52
UD
238612011-05-11 Ulrich Drepper <drepper@gmail.com>
23862
f574184a
UD
23863 [BZ #12052]
23864 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23865
e1fb097f
UD
23866 [BZ #12625]
23867 * misc/mntent_r.c (addmntent): Flush the stream after the output
23868
22836f52
UD
23869 [BZ #12393]
23870 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23871 (is_trusted_path_normalize): Skip initial colon. Append slash
23872 to empty buffer. Duplicate is_trusted_path code but allow
23873 constructed patch to be prefix.
23874 (is_dst): Allow $ORIGIN followed by /.
23875 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23876 Correct testing of result of is_trusted_path_normalize
23877 (decompose_rpath): Fix warning.
23878
7b3b0b2a
UD
238792011-05-10 Ulrich Drepper <drepper@gmail.com>
23880
23881 [BZ #11257]
23882 * grp/initgroups.c (internal_getgrouplist): When we found the service
23883 list through the initgroups entry in nsswitch.conf do not always
23884 continue on a successful lookup. Don't always use the
eac80ce2 23885 __nss_group_database value if it is set.
7b3b0b2a
UD
23886 * nss/nsswitch.conf (initgroups): Change action for successful db
23887 lookup to continue for compatibility.
23888
2a81eaa5
UD
238892011-05-09 Ulrich Drepper <drepper@gmail.com>
23890
be97a69e
UD
23891 [BZ #11532]
23892 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23893 and CP774 modules.
23894 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23895 and CP774 modules.
23896 * iconvdata/tst-tables.sh: Likewise.
23897 * iconvdata/cp770.c: New file.
23898 * iconvdata/cp771.c: New file.
23899 * iconvdata/cp772.c: New file.
23900 * iconvdata/cp773.c: New file.
23901 * iconvdata/cp774.c: New file.
23902 * iconvdata/testdata/CP770: New file.
23903 * iconvdata/testdata/CP770..UTF8: New file.
23904 * iconvdata/testdata/CP771: New file.
23905 * iconvdata/testdata/CP771..UTF8: New file.
23906 * iconvdata/testdata/CP772: New file.
23907 * iconvdata/testdata/CP772..UTF8: New file.
23908 * iconvdata/testdata/CP773: New file.
23909 * iconvdata/testdata/CP773..UTF8: New file.
23910 * iconvdata/testdata/CP774: New file.
23911 * iconvdata/testdata/CP774..UTF8: New file.
23912
23913 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23914 END CHARMAP line.
23915 * iconvdata/gen-8bit-gap.sh: Likewise.
23916 * iconvdata/gen-8bit.sh: Likewise.
23917
c1e9e399
UD
23918 * locale/iso-639.def: Add ary entry.
23919
24c55fb3 23920 [BZ #11258]
96b4b1b0
UD
23921 * locale/C-translit.h.in: Add U20A1 transliteration.
23922
bdc2f971
KB
23923 [BZ #12178]
23924 * locale/iso-639.def: Add wae entry.
23925 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23926
2952b117
UD
23927 [BZ #12545]
23928 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23929 for n.
23930
2a81eaa5
UD
23931 [BZ #12711]
23932 * locale/C-translit.h.in: Add entry for U20B9.
23933 Patch by pravin.d.s@gmail.com.
23934
28377d1b
UD
239352011-05-08 Ulrich Drepper <drepper@gmail.com>
23936
7fb90fb8
UD
23937 [BZ #12713]
23938 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23939 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23940 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23941 in rtld. Use *stat64.
7fb90fb8 23942 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23943 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23944 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23945 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23946 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23947 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23948 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23949 __fstatat64 macros.
7fb90fb8
UD
23950 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23951 * dirent/rewinddir.c: Add libc_hidden_def.
23952 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23953 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23954
28377d1b
UD
23955 * include/dirent.h (__alloc_dir): Add flags parameter.
23956 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23957 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23958 __alloc_dir.
23959 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23960 from fdopendir if O_CLOEXEC is already set.
23961
66bdbaa4
AM
239622011-03-15 Alan Modra <amodra@gmail.com>
23963
23964 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23965 l_tls_firstbyte_offset non-zero. Save padding offset in
23966 l_tls_firstbyte_offset for later use.
23967 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23968 freeing static tls block.
23969
95721191
JN
239702011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23971
23972 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23973 where #ifdef was intended. The intent is to prevent ARG_MAX from
23974 being defined by the kernel headers.
23975
f87dfb1f
UD
239762011-05-07 Ulrich Drepper <drepper@gmail.com>
23977
23978 [BZ #12734]
23979 * resolv/resolv.h: Define RES_NOTLDQUERY.
23980 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23981 no-tld-query and set RES_NOTLDQUERY.
23982 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23983 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23984 modern BIND to search name as TLD unless forbidden.
23985
47c3cd7a
UD
239862011-05-07 Petr Baudis <pasky@suse.cz>
23987 Ulrich Drepper <drepper@gmail.com>
23988
23989 [BZ #12393]
23990 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23991 (is_trusted_path): ...to here.
c1e9ea35 23992 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 23993 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 23994 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 23995
8a35c912
PP
239962011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23997
23998 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23999 __BEGIN/__END_DECLS.
24000
acd41f47
UD
240012011-05-06 Ulrich Drepper <drepper@gmail.com>
24002
24003 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24004 NSS_STATUS_NOTFOUND if no record was found.
24005
597df647
AS
240062011-05-05 Andreas Schwab <schwab@redhat.com>
24007
24008 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24009 (headers-not-in-tirpc): Remove rpc/netdb.h
24010 * resolv/netdb.h: Revert last change.
24011
b9af1301
PP
240122011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24013
24014 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24015 circular dependency between libgcc.a and libc.a.
24016
4e34d5f5
AS
240172011-05-05 Andreas Schwab <schwab@redhat.com>
24018
24019 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24020 * nis/Makefile: Don't install rpcsvc/*.
24021 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24022 instead of <rpc/types.h>.
24023 (MAXHOSTNAMELEN): Define.
24024
00ee369c
AS
240252011-05-03 Andreas Schwab <schwab@redhat.com>
24026
24027 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24028
0b592a30
MB
240292011-04-28 Maciej Babinski <mbabinski@google.com>
24030
24031 [BZ #12714]
24032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24033 gethostbyname4_r when IPv6 results are possible.
24034
6e04cbbe
UD
240352011-05-02 Ulrich Drepper <drepper@gmail.com>
24036
24037 [BZ #12723]
24038 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24039 _PC_PIPE_BUF handling.
24040
e4ecafe0
BH
240412011-04-30 Bruno Haible <bruno@clisp.org>
24042
24043 [BZ #12717]
24044 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24045 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24046 to 'int'.
24047 * inet/getnameinfo.c (getnameinfo): Likewise.
24048
125ee683
UD
240492011-04-29 Ulrich Drepper <drepper@gmail.com>
24050
24051 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24052 to groups setting in database lookup.
24053 * nss/nsswitch.conf: Add initgroups entry.
24054
b722481a
EB
240552011-04-22 Ulrich Drepper <drepper@gmail.com>
24056
24057 [BZ #12685]
24058 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24059 mode string.
24060 Patch by Eric Blake <eblake@redhat.com>.
24061
4df46dbd
L
240622011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24063
24064 * sunrpc/Makefile (need-export-routines): Add svc_run.
24065 (routines): Remove svc_run.
24066 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24067 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24068 * sunrpc/svc_run.c (svc_run): Likewise.
24069 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24070
e84142d2
UD
240712011-04-21 Ulrich Drepper <drepper@gmail.com>
24072
24073 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24074 problem in reallocation in last patch.
24075
877175d8
UD
240762011-04-20 Ulrich Drepper <drepper@gmail.com>
24077
24078 * sunrpc/Makefile: Move inclusion of Rules.
24079
ab8eed78
UD
240802011-04-19 Ulrich Drepper <drepper@gmail.com>
24081
24082 * nss/nss_files/files-initgroups.c: New file.
24083 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24084 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24085 _nss_files_initgroups_dyn.
24086
e3d8f584
RS
240872011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24088
24089 * elf/elf.h (R_ARM_IRELATIVE): Define.
24090
af190f45
UD
240912011-04-19 Ulrich Drepper <drepper@gmail.com>
24092
24093 * po/ru.po: Update from translation team.
24094
53cf59ef
UD
240952011-04-17 Ulrich Drepper <drepper@gmail.com>
24096
24097 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24098 dependencies.
24099
4c559bcd
MF
241002011-02-06 Mike Frysinger <vapier@gentoo.org>
24101
24102 [BZ #12653]
24103 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24104 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24105 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24106 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24108
4420675c
AS
241092011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24110
24111 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24112 differing bytes.
24113 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24114 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24115 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24116
75ea32ab
UD
241172011-04-17 Ulrich Drepper <drepper@gmail.com>
24118
24119 [BZ #12420]
24120 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24121 storing it.
24122 * stdlib/bug-getcontext.c: New file.
24123 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24124
27390476
AK
241252011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24126
24127 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24128 instructions into .machine "z9-109".
24129 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24130 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24131
10442705
AK
241322011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24133
24134 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24135 between environment variables and auxiliary vector.
24136
7b57bfe5
UD
241372011-04-16 Ulrich Drepper <drepper@gmail.com>
24138
24139 * Makefile: Add rules to build linkobj/libc.so.
24140 * include/libc-symbols.h: Define libc_hidden_nolink.
24141 * include/rpc/auth.h: Mark functions which are to be hidden.
24142 * include/rpc/auth_des.h: Likewise.
24143 * include/rpc/auth_unix.h: Likewise.
24144 * include/rpc/clnt.h: Likewise.
24145 * include/rpc/des_crypt.h: Likewise.
24146 * include/rpc/key_prot.h: Likewise.
24147 * include/rpc/pmap_clnt.h: Likewise.
24148 * include/rpc/pmap_prot.h: Likewise.
24149 * include/rpc/pmap_rmt.h: Likewise.
24150 * include/rpc/rpc_msg.h: Likewise.
24151 * include/rpc/svc.h: Likewise.
24152 * include/rpc/svc_auth.h: Likewise.
24153 * include/rpc/xdr.h: Likewise.
24154 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24155 * nss/Makefile: Likewise.
24156 * sunrpc/Makefile: Don't install headers. Build library with normal
24157 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24158 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24159 for the compat linking library. Remove use of INTDEF/INTUSE.
24160 * sunrpc/auth_none.c: Likewise.
24161 * sunrpc/auth_unix.c: Likewise.
24162 * sunrpc/authdes_prot.c: Likewise.
24163 * sunrpc/authuxprot.c: Likewise.
24164 * sunrpc/clnt_gen.c: Likewise.
24165 * sunrpc/clnt_perr.c: Likewise.
24166 * sunrpc/clnt_raw.c: Likewise.
24167 * sunrpc/clnt_simp.c: Likewise.
24168 * sunrpc/clnt_tcp.c: Likewise.
24169 * sunrpc/clnt_udp.c: Likewise.
24170 * sunrpc/clnt_unix.c: Likewise.
24171 * sunrpc/des_crypt.c: Likewise.
24172 * sunrpc/des_soft.c: Likewise.
24173 * sunrpc/get_myaddr.c: Likewise.
24174 * sunrpc/key_call.c: Likewise.
24175 * sunrpc/key_prot.c: Likewise.
24176 * sunrpc/netname.c: Likewise.
24177 * sunrpc/pm_getmaps.c: Likewise.
24178 * sunrpc/pm_getport.c: Likewise.
24179 * sunrpc/pmap_clnt.c: Likewise.
24180 * sunrpc/pmap_prot.c: Likewise.
24181 * sunrpc/pmap_prot2.c: Likewise.
24182 * sunrpc/pmap_rmt.c: Likewise.
24183 * sunrpc/publickey.c: Likewise.
24184 * sunrpc/rpc_cmsg.c: Likewise.
24185 * sunrpc/rpc_common.c: Likewise.
24186 * sunrpc/rpc_dtable.c: Likewise.
24187 * sunrpc/rpc_prot.c: Likewise.
24188 * sunrpc/rpc_thread.c: Likewise.
24189 * sunrpc/rtime.c: Likewise.
24190 * sunrpc/svc.c: Likewise.
24191 * sunrpc/svc_auth.c: Likewise.
24192 * sunrpc/svc_authux.c: Likewise.
24193 * sunrpc/svc_raw.c: Likewise.
24194 * sunrpc/svc_run.c: Likewise.
24195 * sunrpc/svc_simple.c: Likewise.
24196 * sunrpc/svc_tcp.c: Likewise.
24197 * sunrpc/svc_udp.c: Likewise.
24198 * sunrpc/svc_unix.c: Likewise.
24199 * sunrpc/svcauth_des.c: Likewise.
24200 * sunrpc/xcrypt.c: Likewise.
24201 * sunrpc/xdr.c: Likewise.
24202 * sunrpc/xdr_array.c: Likewise.
24203 * sunrpc/xdr_float.c: Likewise.
24204 * sunrpc/xdr_intXX_t.c: Likewise.
24205 * sunrpc/xdr_mem.c: Likewise.
24206 * sunrpc/xdr_rec.c: Likewise.
24207 * sunrpc/xdr_ref.c: Likewise.
24208 * sunrpc/xdr_sizeof.c: Likewise.
24209 * sunrpc/xdr_stdio.c: Likewise.
24210
e6c61494
UD
242112011-04-10 Ulrich Drepper <drepper@gmail.com>
24212
24213 [BZ #12650]
24214 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24215 * sysdeps/ia64/dl-tls.h: Likewise.
24216 * sysdeps/powerpc/dl-tls.h: Likewise.
24217 * sysdeps/s390/dl-tls.h: Likewise.
24218 * sysdeps/sh/dl-tls.h: Likewise.
24219 * sysdeps/sparc/dl-tls.h: Likewise.
24220 * sysdeps/x86_64/dl-tls.h: Likewise.
24221 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24222
34fe483e
AS
242232011-03-14 Andreas Schwab <schwab@redhat.com>
24224
24225 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24226 rpath element also skip the following colon.
24227 (expand_dynamic_string_token): Add is_path parameter and pass
24228 down to DL_DST_REQUIRED and _dl_dst_substitute.
24229 (decompose_rpath): Call expand_dynamic_string_token with
24230 non-zero is_path. Ignore empty rpaths.
24231 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24232 with zero is_path.
24233
f12a32e6
AS
242342011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24235
24236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24237 Make cancelable.
24238
38a7d692
UD
242392011-04-09 Ulrich Drepper <drepper@gmail.com>
24240
24241 [BZ #12655]
24242 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24243 Patch by Filipe David Manana <fdmanana@apache.org>.
24244
e451d22b
AS
242452011-04-07 Andreas Schwab <schwab@redhat.com>
24246
24247 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24248 Maintain aligned stack.
24249 (CHECK_RSP): Remove unused macro.
24250
dedc7c7b
UD
242512011-04-03 Ulrich Drepper <drepper@gmail.com>
24252
24253 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24254 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24255
94521213
UD
242562011-04-02 Ulrich Drepper <drepper@gmail.com>
24257
24258 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24259
8cb700c0 24260 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24261
0354e355
L
242622011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24263
24264 [BZ #12518]
24265 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24266 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24267 * sysdeps/x86_64/memmove.c: New file.
24268 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24269 (memcpy): Renamed to ...
24270 (__new_memcpy): This.
24271 (memcpy): Provide GLIBC_2_14 memcpy.
24272 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24273 (memcpy): Provide GLIBC_2_2_5 memcpy.
24274
8593482f
UD
242752011-04-01 Ulrich Drepper <drepper@gmail.com>
24276
24277 [BZ #12631]
24278 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24279
81a5726b
AS
242802011-03-30 Andreas Schwab <schwab@redhat.com>
24281
24282 * misc/syncfs.c: New file.
24283 * misc/Makefile (routines): Add syncfs.
24284 * posix/unistd.h: Declare syncfs.
24285 * sysdeps/unix/syscalls.list: Add syncfs.
24286
00e5419f
AS
242872011-04-01 Andreas Schwab <schwab@redhat.com>
24288
24289 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24290 open_by_handle_at.
24291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24292 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24294 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24296 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24297 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24298
748876bf
UD
242992011-04-01 Ulrich Drepper <drepper@gmail.com>
24300
658e451d
UD
24301 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24302 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24303 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24305 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24306 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24307 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24308
748876bf
UD
24309 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24310 sync_file_range.c with -fexceptions.
24311 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24312 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24313 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24314 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24315 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24316 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24317 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
24318 sync_file_range as cancellation point
24319 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24320 now a wrapper around __call_sync_file_range with cancellation handling.
24321 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24322 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24323 function name to __call_sync_file_range.
24324 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24325 Add call_sync_file_range.
748876bf 24326
6e63d5e1
AS
243272011-04-01 Andreas Schwab <schwab@redhat.com>
24328
24329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 24330 bits/timex.h.
6e63d5e1 24331
46998f74
UD
243322011-04-01 Ulrich Drepper <drepper@gmail.com>
24333
4c1423ed
UD
24334 * iconv/iconv.h: Fix typo in comment.
24335 * io/fcntl.h: Likewise.
24336 * libio/stdio.h: Likewise.
24337 * posix/spawn.h: Likewise.
24338 * posix/unistd.h: Likewise.
24339 * stdlib/stdlib.h: Likewise.
24340 * time/time.h: Likewise.
24341 * wcsmbs/wchar.h: Likewise.
24342
158648c0
UD
24343 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24344 open_by_handle): Add.
24345 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24346 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24347 Augment a few comments.
24348 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24350 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24351 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24352 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24353 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24354 open_by_handle.
24355
46998f74
UD
24356 * io/fcntl.h (AT_EMPTY_PATH): Define.
24357
83fe108b
UD
243582011-03-30 Ulrich Drepper <drepper@gmail.com>
24359
24360 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24361 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24362 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24363 to...
24364 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
24365 * Versions.def: Add GLIBC_2.14.
24366 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24367 Export.
83fe108b 24368
bb242059
UD
243692011-03-22 Ulrich Drepper <drepper@gmail.com>
24370
24371 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24372 round counter.
24373 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24374
c97a1282
L
243752011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24376
24377 [BZ #12597]
24378 * string/test-strncmp.c (do_page_test): New function.
24379 (check2): Likewise.
24380 (test_main): Call check2.
24381 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24382
2a115601
UD
243832011-03-20 Ulrich Drepper <drepper@gmail.com>
24384
24385 [BZ #12587]
24386 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24387 Handle cache information in CPU leaf 4.
24388 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24389
8126d904
UD
243902011-03-18 Ulrich Drepper <drepper@gmail.com>
24391
042c49c6 24392 [BZ #12583]
8126d904
UD
24393 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24394 character representation.
24395 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24396
ccfe366e
RA
243972011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24398
24399 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24400 END(__isnan) to END(__isnanf) to match function entry point/label
24401 EALIGN(__isnanf,...).
24402
c6e13027
JJ
244032011-03-10 Jakub Jelinek <jakub@redhat.com>
24404
24405 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24406
33f85a3f
UD
244072011-03-10 Ulrich Drepper <drepper@gmail.com>
24408
028478fa
UD
24409 [BZ #12510]
24410 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24411 copy from the symbol referenced in the relocation to initialize the
24412 used variable.
24413 Patch by Piotr Bury <pbury@goahead.com>.
24414 * elf/Makefile: Add rules to build and tst-unique3.
24415 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24416 * elf/tst-unique3.cc: New file.
24417 * elf/tst-unique3.h: New file.
24418 * elf/tst-unique3lib.cc: New file.
24419 * elf/tst-unique3lib2.cc: New file.
24420
33f85a3f
UD
24421 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24422
03592fc7
MF
244232011-03-10 Mike Frysinger <vapier@gentoo.org>
24424
24425 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24426 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24427 to _start.
03592fc7 24428
6a5ee102
UD
244292011-03-06 Ulrich Drepper <drepper@gmail.com>
24430
24431 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24432 to-be-loaded object along a path to loader is ld.so.
24433
7e4ba49c
HJ
244342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24435 Ulrich Drepper <drepper@gmail.com>
24436
24437 * sysdeps/x86_64/memset.S: After aligning destination, code
24438 branches to different locations depending on the value of
24439 misalignment, when multiarch is enabled. Fix this.
24440
244412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24442
24443 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24444 Set _x86_64_preferred_memory_instruction for AMD processsors.
24445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24446 Set bit_Prefer_SSE_for_memop for AMD processors.
24447
13a804de
UD
244482011-03-04 Ulrich Drepper <drepper@gmail.com>
24449
24450 * libio/fmemopen.c (fmemopen): Optimize a bit.
24451
9d25c392
AS
244522011-03-03 Andreas Schwab <schwab@redhat.com>
24453
24454 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24455
a5543c6a
RM
244562011-03-03 Roland McGrath <roland@redhat.com>
24457
24458 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24459
012d35f7
DM
244602011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24461
7e4ba49c 24462 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
24463 __bzero_ultra1 instead of __memset_ultra1.
24464
4bff6e01
AS
244652011-02-23 Andreas Schwab <schwab@redhat.com>
24466 Ulrich Drepper <drepper@gmail.com>
24467
24468 [BZ #12509]
24469 * include/link.h (struct link_map): Add l_orig_initfini.
24470 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24471 returning unsuccessfully.
24472 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24473 close of a file loaded at startup, restore the original l_initfini
24474 list.
24475 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24476 list, store the pointer.
24477 * elf/Makefile ($(objpfx)noload-mem): New rule.
24478 (noload-ENV): Define.
24479 (tests): Add $(objpfx)noload-mem.
24480 * elf/noload.c: Include <memcheck.h>.
24481 (main): Call mtrace. Close all opened handles.
24482
f2092faf
AS
244832011-02-17 Andreas Schwab <schwab@redhat.com>
24484
24485 [BZ #12454]
24486 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24487 dependencies are missing.
24488
6c8a2e88
ST
244892011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24490
f2092faf 24491 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
24492 Hurd needs munmap.
24493 * sysdeps/mach/hurd/ifreq.h: New file.
24494
84a42118
PB
244952011-01-27 Petr Baudis <pasky@suse.cz>
24496 Ulrich Drepper <drepper@gmail.com>
24497
071f805e 24498 [BZ 12445]#
84a42118
PB
24499 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24500 to extend_alloca().
24501 * stdio-common/bug23.c: New file.
24502 * stdio-common/Makefile (tests): Add bug23.
24503
e23fe25b
AS
245042010-09-28 Andreas Schwab <schwab@redhat.com>
24505 Ulrich Drepper <drepper@gmail.com>
24506
24507 [BZ #12489]
24508 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24509 before performing relro protection. At old place add assertion
24510 to make sure nothing changed.
24511
d3f02e10
NS
245122011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24513 Glauber de Oliveira Costa <glommer@gmail.com>
24514
24515 * elf/elf.h: Add new ARM TLS relocs.
24516
d55fd7a5
RA
245172011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24518
24519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24520 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24521 cast from r3.
24522 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24523 'tests' variable.
24524 * sysdeps/wordsize-64/tst-writev.c: New file.
24525
2206397e
RA
245262011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24527
24528 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24529 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24530 insns in _dl_start to prevent a TOC reference before relocs are
24531 resolved.
24532
e9433893
UD
245332011-02-15 Ulrich Drepper <drepper@gmail.com>
24534
24535 [BZ #12469]
24536 * Makeconfig: Remove RANLIB definition.
24537 * Makerules: Don't use RANLIB.
24538 * aclocal.m4: Remove ranlib test.
24539 * configure.in: No need to check for ranlib.
24540 * elf/rtld-Rules: Don't use RANLIB.
24541
f75286c6
ST
245422011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24543
8e31c82d
ST
24544 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24545 protection macro.
24546 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24547 inclusion protection macro.
24548
f75286c6
ST
24549 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24550 SIGRTMIN and SIGRTMAX and print information in that case only when
24551 SIGRTMIN is defined.
24552
c1d0e639
JJ
245532011-02-11 Jakub Jelinek <jakub@redhat.com>
24554
24555 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24556 arginfo fn returning -1.
24557
24558 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24559 and thousands string is zero terminated.
24560
edf9294e
AS
245612011-02-03 Andreas Schwab <schwab@redhat.com>
24562
24563 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24564 sysdeps/unix/sysv/linux/bits/socket.h.
24565
2b7e92df
ST
245662011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24567
edf9294e
AS
24568 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24569 (__CPU_COUNT): Remove old macros.
24570 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24571 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24572 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
24573 (__sched_cpualloc, __sched_cpufree): Add declarations.
24574
a4c7ea7b
UD
245752011-02-05 Ulrich Drepper <drepper@gmail.com>
24576
24577 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24578 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24579 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24580 (readdhstai): Return value of addhstaiX call.
24581 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24582 (addgrbyX): Return value returned by cache_addgr.
24583 (readdgrbyname): Return value returned by addgrbyX.
24584 (readdgrbygid): Likewise.
24585 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24586 (addpwbyX): Return value returned by cache_addpw.
24587 (readdpwbyname): Return value returned by addhstbyX.
24588 (readdpwbyuid): Likewise.
24589 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24590 (addservbyX): Return value returned by cache_addserv.
24591 (readdservbyname): Return value returned by addservbyX:
24592 (readdservbyport): Likewise.
24593 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24594 (addhstbyX): Return value returned by cache_addhst.
24595 (readdhstbyname): Return value returned by addhstbyX.
24596 (readdhstbyaddr): Likewise.
24597 (readdhstbynamev6): Likewise.
24598 (readdhstbyaddrv6): Likewise.
24599 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24600 (readdinitgroups): Return value returned by addinitgroupsX.
24601 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24602 (prune_cache): Keep track of timeout value of re-added entries.
24603 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24604 * nscd/nscd.h: Adjust prototypes of readd* functions.
24605
a0bf67cc
RM
246062011-02-04 Roland McGrath <roland@redhat.com>
24607
24608 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24609 (nis_stats): Likewise.
24610 * nis/nis_modify.c (nis_modify): Likewise.
24611 * nis/nis_remove.c (nis_remove): Likewise.
24612 * nis/nis_add.c (nis_add): Likewise.
24613
24614 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24615
24616 * posix/fnmatch_loop.c: Add some consts.
24617
24618 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24619
435b95eb
L
246202011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24621
24622 [BZ #12460]
24623 * config.make.in (config-cflags-novzeroupper): Define.
24624 * configure.in: Substitute libc_cv_cc_novzeroupper.
24625 * elf/Makefile (AVX-CFLAGS): Define.
24626 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24627 (CFLAGS-tst-auditmod4a.c): Likewise.
24628 (CFLAGS-tst-auditmod4b.c): Likewise.
24629 (CFLAGS-tst-auditmod6b.c): Likewise.
24630 (CFLAGS-tst-auditmod6c.c): Likewise.
24631 (CFLAGS-tst-auditmod7b.c): Likewise.
24632 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24633
8517b15e
UD
246342011-02-02 Ulrich Drepper <drepper@gmail.com>
24635
24636 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24637 function to the callback.
24638 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24639
10a656fe
AS
246402011-02-02 Andreas Schwab <schwab@redhat.com>
24641
24642 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24643 of errno.
24644
968dad0a
UD
246452011-01-19 Ulrich Drepper <drepper@gmail.com>
24646
9f94d2ea 24647 [BZ #11724]
968dad0a
UD
24648 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24649 of constructors.
24650 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24651 of destructors.
24652 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24653
24654 [BZ #11724]
24655 * elf/Makefile: Add rules to build and run new test.
24656 * elf/tst-initorder.c: New file.
24657 * elf/tst-initorder.exp: New file.
24658 * elf/tst-initordera1.c: New file.
24659 * elf/tst-initordera2.c: New file.
24660 * elf/tst-initordera3.c: New file.
24661 * elf/tst-initordera4.c: New file.
24662 * elf/tst-initorderb1.c: New file.
24663 * elf/tst-initorderb2.c: New file.
24664 * elf/tst-order-a1.c: New file.
24665 * elf/tst-order-a2.c: New file.
24666 * elf/tst-order-a3.c: New file.
24667 * elf/tst-order-a4.c: New file.
24668 * elf/tst-order-b1.c: New file.
24669 * elf/tst-order-b2.c: New file.
24670 * elf/tst-order-main.c: New file.
24671 New test case by George Gensure <werkt0@gmail.com>.
24672
86e92359
UD
246732010-10-01 Andreas Schwab <schwab@redhat.com>
24674
24675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24676 decoding ACE if AI_CANONIDN.
24677
5d5732b0
UD
246782011-01-18 Ulrich Drepper <drepper@gmail.com>
24679
24680 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24681
a77e8cbc
UD
246822011-01-17 Ulrich Drepper <drepper@gmail.com>
24683
6392473f
UD
24684 * version.h (RELEASE): Bump for 2.13 release.
24685 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24686
620a0529
UD
24687 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24688
18ba70a5
UD
24689 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24690 MADV_NOHUGEPAGE.
32465c3e
UD
24691 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24692 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24693 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24694 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24695 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24696 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24697
c0dafcf1
UD
24698 * posix/getconf.c: Update copyright year.
24699 * catgets/gencat.c: Likewise.
24700 * csu/version.c: Likewise.
24701 * debug/catchsegv.sh: Likewise.
24702 * debug/xtrace.sh: Likewise.
24703 * elf/ldconfig.c: Likewise.
24704 * elf/ldd.bash.in: Likewise.
24705 * elf/sprof.c (print_version): Likewise.
24706 * iconv/iconv_prog.c: Likewise.
24707 * iconv/iconvconfig.c: Likewise.
24708 * locale/programs/locale.c: Likewise.
24709 * locale/programs/localedef.c: Likewise.
24710 * malloc/memusage.sh: Likewise.
24711 * malloc/mtrace.pl: Likewise.
24712 * nscd/nscd.c (print_version): Likewise.
24713 * nss/getent.c: Likewise.
24714
a77e8cbc
UD
24715 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24716 PF_CAIF, and PF_ALG.
24717 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24718
77e8bddf
AS
247192011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24720
1f20b93a
AS
24721 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24722 (modules-names): Use them.
24723 (ifunc-test-modules, ifunc-pie-tests): Define.
24724 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24725 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24726 (test-extras): Likewise.
24727 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24728 $(compile-command.c).
24729 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24730 (all-built-dso): Define.
24731 (check-textrel.out, check-execstack.out): Depend on it.
24732
77e8bddf
AS
24733 * configure.in: Don't override --enable-multi-arch.
24734
bc425b33
UD
247352011-01-15 Ulrich Drepper <drepper@gmail.com>
24736
24737 [BZ #6812]
24738 * nscd/hstcache.c (tryagain): Define.
24739 (cache_addhst): Return tryagain not notfound for temporary errors.
24740 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24741 failed.
24742
794c3ad3
UD
247432011-01-14 Ulrich Drepper <drepper@gmail.com>
24744
70181fdd
UD
24745 [BZ #10563]
24746 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24747 to make the syscall.
24748 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24749
794c3ad3
UD
24750 [BZ #12378]
24751 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24752 and fall back to matching as normal character if the string ends before
24753 the matching ']' is found. This is what POSIX requires.
24754 * posix/testfnm.c: Adjust test result.
24755 * posix/globtest.sh: Adjust test result. Add new test.
24756 * posix/tst-fnmatch.input: Likewise.
24757 * posix/tst-fnmatch2.c: Add new test.
24758
68dc9497
AS
247592010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24760
24761 * elf/Makefile (check-execstack): Revert last change. Depend on
24762 check-execstack.h.
24763 (check-execstack.h): New target.
24764 (generated): Add check-execstack.h.
24765 * elf/check-execstack.c: Include "check-execstack.h".
24766 (main): Revert last change.
24767 (handle_file): Return zero if GNU_STACK is absent and
24768 DEFAULT_STACK_PERMS doesn't include PF_X.
24769
451f001b
UD
247702011-01-13 Ulrich Drepper <drepper@gmail.com>
24771
cfa28e56
UD
24772 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24773 in child fails because the descriptor is already closed.
8cf8ce17
UD
24774 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24775 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24776 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24777
1086d70d
UD
24778 [BZ #12397]
24779 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24780 syscall.
24781
451f001b
UD
24782 [BZ #10484]
24783 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24784 temporary buffer used to handle multi lookups locally.
a85b5cb4 24785 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24786
08769175
UD
247872011-01-12 Ulrich Drepper <drepper@gmail.com>
24788
24789 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24790 loader is ld.so.
24791
5e49c52e
UD
247922011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24793
24794 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24795 alignment for SSE2.
24796
60522a5f
UD
247972011-01-12 Ulrich Drepper <drepper@gmail.com>
24798
24799 [BZ #12394]
24800 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24801 characters. When rounding increased number of integer digits recompute
24802 number of groups.
24803 * stdio-common/tst-grouping.c: New file.
24804 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24805
f257bbd7
UD
248062011-01-09 Ulrich Drepper <drepper@gmail.com>
24807
24808 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24809 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24810
24811 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24812 void.
24813 * bits/select.h: Likewise.
24814
fa9c15cb
UD
248152011-01-08 Ulrich Drepper <drepper@gmail.com>
24816
24817 * po/ja.po: Update from translation team.
24818
16c2895f
DM
248192011-01-04 David S. Miller <davem@sunset.davemloft.net>
24820
24821 [BZ #11155]
24822 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24823 implementation just like for lxstat, fxstatat, et al.
24824
2543fef2
JM
248252010-12-27 Jim Meyering <meyering@redhat.com>
24826
24827 [BZ #12348]
24828 * posix/regexec.c (build_trtable): Return failure indication upon
24829 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24830
98727dbe
UD
248312010-12-25 Ulrich Drepper <drepper@gmail.com>
24832
5bd6dc5c
UD
24833 [BZ #12201]
24834 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24835 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24836 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24837 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24838
97983464
UD
24839 [BZ #12207]
24840 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24841
98727dbe
UD
24842 [BZ #12204]
24843 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24844 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24845
4a531bb0
L
248462010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24847
24848 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24849 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24850 script has SORT_BY_INIT_PRIORITY.
24851 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24852 NO_CTORS_DTORS_SECTIONS is defined.
24853 * elf/soinit.c: Likewise.
24854 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24855 NO_CTORS_DTORS_SECTIONS is defined.
24856 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24857 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24858 * sysdeps/sh/init-first.c: Likewise.
24859 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24860
07eb4b71
UD
248612010-12-24 Ulrich Drepper <drepper@gmail.com>
24862
24863 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24864 always use the slow path.
24865
30950a5f
RA
248662010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24867
24868 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24869 similar rule which adds the sysdep directories to the header search in
24870 order to pick up the correct platform stackinfo.h.
24871 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24872 perform test if it is, otherwise return successfully without testing.
24873 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24874 DEFAULT_STACK_PERMS define in stackinfo.h.
24875 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24876 defined in stackinfo.h.
24877 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24878 DEFAULT_STACK_PERMS defined in stackinfo.h.
24879 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24880 * sysdeps/ia64/stackinfo.h: Likewise.
24881 * sysdeps/s390/stackinfo.h: Likewise.
24882 * sysdeps/sh/stackinfo.h: Likewise.
24883 * sysdeps/sparc/stackinfo.h: Likewise.
24884 * sysdeps/x86_64/stackinfo.h: Likewise.
24885 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24886 PF_X for powerpc64. Retain PF_X for powerpc32.
24887
db753e2c
UD
248882010-12-19 Ulrich Drepper <drepper@gmail.com>
24889
14b697f7
UD
24890 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24891 accurately.
db753e2c
UD
24892 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24893 GETDENTS_64BIT_ALIGNED.
24894
28300719
UD
248952010-12-14 Ulrich Drepper <dreper@gmail.com>
24896
14b697f7 24897 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24898
4f197237
AS
248992010-12-10 Andreas Schwab <schwab@redhat.com>
24900
dbb0472f
AS
24901 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24902 _GNU_SOURCE.
24903
4f197237
AS
24904 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24905 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24906 Remove __restrict.
24907 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24908 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24909
fb88ac72
UD
249102010-12-09 Ulrich Drepper <drepper@gmail.com>
24911
24912 [BZ #11655]
24913 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24914 are initialized.
24915
42acbb92
JJ
249162010-12-09 Jakub Jelinek <jakub@redhat.com>
24917
24918 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24919
c038d98d
UD
249202010-12-03 Ulrich Drepper <drepper@gmail.com>
24921
24922 * po/it.po: Update from translation team.
24923
3a4a2499
L
249242010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24925
24926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24927 unused codes.
24928
1e24cf6e
UD
249292010-11-30 Ulrich Drepper <drepper@gmail.com>
24930
24931 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24932
a7690819
AS
249332010-11-24 Andreas Schwab <schwab@redhat.com>
24934
24935 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24936 specially.
24937 (gaih_getanswer_slice): Likewise.
24938
3bf8d1b1
JJ
249392010-10-20 Jakub Jelinek <jakub@redhat.com>
24940
24941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24942
6db52fbb
PB
249432010-05-31 Petr Baudis <pasky@suse.cz>
24944
24945 [BZ #11149]
24946 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24947 silently even in the chroot mode.
24948
eaca7569
UD
249492010-11-22 Ulrich Drepper <drepper@gmail.com>
24950
24951 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24952 last patch a bit. Pretty printing
24953
3056dcdb
UD
249542010-05-31 Petr Baudis <pasky@suse.cz>
24955
24956 [BZ #10085]
24957 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24958 initialization of skip_initgroups_dyn.
24959
cf7c9078
UD
249602010-11-19 Ulrich Drepper <drepper@gmail.com>
24961
24962 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24963 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24964
a1fb5e3e
UD
249652010-11-16 Ulrich Drepper <drepper@gmail.com>
24966
24967 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24968
3540d66b
AS
249692010-11-11 Andreas Schwab <schwab@redhat.com>
24970
24971 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24972 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24973 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24974 ($(objpfx)tst-fnmatch-mem): New rule.
24975 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24976 * posix/tst-fnmatch.c (main): Call mtrace.
24977
13b69574
L
249782010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24979
24980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24981 Support Intel processor model 6 and model 0x2c.
24982
da93d214
LM
249832010-11-10 Luis Machado <luisgpm@br.ibm.com>
24984
24985 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24986 signed comparison.
24987
8ca52c6e
L
249882010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24989
24990 [BZ #12205]
24991 * string/test-strncasecmp.c (check_result): New function.
24992 (do_one_test): Use it.
24993 (check1): New function.
24994 (test_main): Use it.
24995 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24996 Support strcasecmp and strncasecmp.
24997
69da074d
UD
249982010-11-08 Ulrich Drepper <drepper@gmail.com>
24999
25000 [BZ #12194]
25001 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25002 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25003
ff02d528
L
250042010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25005
25006 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25007 IFUNC support.
25008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25009 memset-x86-64.
25010 * sysdeps/x86_64/multiarch/bzero.S: New file.
25011 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25012 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25013 * sysdeps/x86_64/multiarch/memset.S: New file.
25014 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25016 Set bit_Prefer_SSE_for_memop for Intel processors.
25017 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25018 Define.
25019 (index_Prefer_SSE_for_memop): Define.
25020 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25021
344d0b54
LM
250222010-11-04 Luis Machado <luisgpm@br.ibm.com>
25023
25024 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25025 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25026
c0dde15b
UD
250272010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25028
25029 [BZ #12191]
25030 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25031 (__x86_64_raw_data_cache_size_half): Likewise.
25032 (__x86_64_raw_shared_cache_size): Likewise.
25033 (__x86_64_raw_shared_cache_size_half): Likewise.
25034
25035 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25036 (__x86_64_raw_data_cache_size_half): Likewise.
25037 (__x86_64_raw_shared_cache_size): Likewise.
25038 (__x86_64_raw_shared_cache_size_half): Likewise.
25039 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25040 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25041 and __x86_64_raw_shared_cache_size_half. Round
25042 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25043 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25044 to multiple of 256 bytes.
25045
0e516e0e
MS
250462010-11-03 Ulrich Drepper <drepper@gmail.com>
25047
25048 [BZ #12167]
25049 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25050 of inacessible symlinks. Verify result of symlink before returning it.
25051 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25052 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25053
0e012e87
ER
250542010-10-28 Erich Ritz <erichritz@gmail.com>
25055
25056 * math/math.h (isinf): Fix typo in comment.
25057
de0ff7bc
UD
250582010-11-01 Ulrich Drepper <drepper@gmail.com>
25059
25060 * po/da.po: Update from translation team.
25061
fa41c84d
UD
250622010-10-26 Ulrich Drepper <drepper@gmail.com>
25063
25064 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25065 is added to the list.
25066
f0967738
AK
250672010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25068 Ulrich Drepper <drepper@gmail.com>
25069
25070 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25071 the global list here. Move code to...
25072 (_dl_add_to_namespace_list): ...here. New function.
25073 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25074 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25075 * elf/dl-load.c (lose): Don't remove the element from the list.
25076 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25077 (_dl_map_object): Likewise.
25078
250792010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25080
25081 [BZ #12159]
25082 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25083 into all bytes of SSE register.
25084 Patch by Richard Li <richardpku@gmail.com>.
25085
f0967738 250862010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25087
25088 [BZ #12140]
25089 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25090 perturbing.
25091
d0b9e94f
MB
250922010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25093
25094 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25095 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25096 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25097 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25099 submachine.
25100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25101
8e9f92e9
AS
251022010-10-22 Andreas Schwab <schwab@redhat.com>
25103
25104 * include/dlfcn.h (__RTLD_SECURE): Define.
25105 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25106 mode & __RTLD_SECURE instead.
25107 (open_path): Rename preloaded parameter to secure.
25108 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25109 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25110 * elf/dl-deps.c (openaux): Likewise.
25111 * elf/rtld.c (struct map_args): Remove is_preloaded.
25112 (map_doit): Don't use it.
25113 (dl_main): Likewise.
25114 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25115 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25116
bc96fbda
AS
251172010-09-09 Andreas Schwab <schwab@redhat.com>
25118
25119 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25120 (sysd-rules-targets): Remove duplicates.
25121 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25122 rtld-%.$o dependency.
25123
22cd1c9b
AS
251242010-10-18 Andreas Schwab <schwab@redhat.com>
25125
25126 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25127 _dl_map_object do it.
25128
18edac48
UD
251292010-10-19 Ulrich Drepper <drepper@gmail.com>
25130
25131 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25132 fast fma builtins, define the macros in the C99 standard.
25133 (FP_FAST_FMAF): Likewise.
25134 (FP_FAST_FMAL): Likewise.
25135 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25136
25137 * bits/mathdef.h: Update copyright year.
25138 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25139
d2050124
MM
251402010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25141
25142 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25143 builtins, define the macros in the C99 standard.
25144 (FP_FAST_FMAF): Likewise.
25145 (FP_FAST_FMAL): Likewise.
25146 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25147 multiply/add.
25148 (FP_FAST_FMAF): Likewise.
25149
475facd1
JJ
251502010-10-15 Jakub Jelinek <jakub@redhat.com>
25151
25152 [BZ #3268]
25153 * math/libm-test.inc (fma_test): Some new testcases.
25154 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25155 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25156 y and infinite z. Do multiplication by C already in long double.
25157 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25159 y and infinite z. Do bitwise or of inexact bit into u.d.
25160 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25161 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25162 * sysdeps/i386/fpu/s_fma.S: Removed.
25163 * sysdeps/i386/fpu/s_fmal.S: Removed.
25164
7c08a05c
JJ
251652010-10-16 Jakub Jelinek <jakub@redhat.com>
25166
25167 [BZ #3268]
25168 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25170 computation is not scheduled after fetestexcept. Fix value
25171 of minimum denormal long double.
25172
f3f7372d
JJ
251732010-10-14 Jakub Jelinek <jakub@redhat.com>
25174
25175 [BZ #3268]
25176 * math/libm-test.inc (fma_test): Add some more tests.
25177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25178 correctly.
25179
14d43591
AS
251802010-10-15 Andreas Schwab <schwab@redhat.com>
25181
25182 * scripts/data/localplt-s390-linux-gnu.data: New file.
25183 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25184
5e908464
JJ
251852010-10-13 Jakub Jelinek <jakub@redhat.com>
25186
25187 [BZ #3268]
25188 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25189 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25190 instead of dbl-64.
25191 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25192 inlines.
25193 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25195 if one of x and y is very large and the other is subnormal.
25196 * sysdeps/s390/fpu/s_fmaf.c: New file.
25197 * sysdeps/s390/fpu/s_fma.c: New file.
25198 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25199 * sysdeps/powerpc/fpu/s_fma.S: New file.
25200 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25201 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25202 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25203
252042010-10-12 Jakub Jelinek <jakub@redhat.com>
25205
25206 [BZ #3268]
25207 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25208 fma tests.
25209 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25210 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25211 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25212 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25213 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25214 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25215 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25216
b833d51f
UD
252172010-10-12 Ulrich Drepper <drepper@redhat.com>
25218
25219 [BZ #12078]
25220 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25221 * posix/bug-regex31.input: Add test case.
25222
1751705d
UD
252232010-10-11 Ulrich Drepper <drepper@gmail.com>
25224
e9b9cbf5
UD
25225 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25226 * posix/bug-regex31.input: New file.
25227
25228 [BZ #12078]
25229 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25230 (parse_sub_exp): Fix last change, use postorder.
25231
ef06edbe
UD
25232 * posix/bug-regex31.c: New file.
25233 * posix/Makefile: Add rules to build and run bug-regex31.
25234
a129c80d
UD
25235 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25236
25237 [BZ #12078]
25238 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25239
b76b818e
UD
25240 [BZ #12108]
25241 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25242 to have entries in sys_siglist.
25243
1751705d
UD
25244 [BZ #12093]
25245 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25246 be NULL.
25247
9ff8d36f
JJ
252482010-10-07 Jakub Jelinek <jakub@redhat.com>
25249
25250 [BZ #3268]
25251 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25252 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25253 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25254 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25255 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25256 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25257 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25258 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25259 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25260 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25261 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25262 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25263 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25264 * math/ftestexcept.c (fetestexcept): Likewise.
25265 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25266 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25267 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25268 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25269 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25270 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25271 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25272
af325969
UD
252732010-10-11 Ulrich Drepper <drepper@gmail.com>
25274
c579b202 25275 [BZ #12107]
af325969
UD
25276 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25277 newline.
25278
67a67b95
UD
252792010-10-06 Ulrich Drepper <drepper@gmail.com>
25280
25281 * string/bug-strstr1.c: New file.
25282 * string/Makefile: Add rules to build and run bug-strstr1.
25283
5fb308bc
EB
252842010-10-05 Eric Blake <eblake@redhat.com>
25285
25286 [BZ #12092]
25287 * string/str-two-way.h (two_way_long_needle): Always clear memory
25288 when skipping input due to the shift table.
25289
45db99c7
UD
252902010-10-03 Ulrich Drepper <drepper@gmail.com>
25291
3b111893
UD
25292 [BZ #12005]
25293 * malloc/mcheck.c: Handle large requests.
25294
45db99c7
UD
25295 [BZ #12077]
25296 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25297 for strncmp and strncasecmp.
25298 * string/stratcliff.c: Add tests for strcmp and strncmp.
25299 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25300
cf7a1eb8
NI
253012010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25302
25303 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25304 __set_fpscr.
25305
6484ba5e
AJ
253062010-09-30 Andreas Jaeger <aj@suse.de>
25307
25308 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25309 (CGROUP_SUPER_MAGIC): Define.
25310 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25311 Handle btrfs and cgroup file systems.
25312 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25313 Likewise.
25314
91c42559
LM
253152010-09-27 Luis Machado <luisgpm@br.ibm.com>
25316
25317 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25318 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25319
87a97932
AK
253202010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25321
25322 [BZ #12067]
25323 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25324 trying to locate the ELF header.
25325
c21cc9bc
AS
253262010-09-27 Andreas Schwab <schwab@redhat.com>
25327
25328 [BZ #11611]
25329 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25330 Mask out sign-bit copies when constructing f_fsid.
25331
315970f6
PB
253322010-09-24 Petr Baudis <pasky@suse.cz>
25333
25334 * debug/stack_chk_fail_local.c: Add missing licence exception.
25335 * debug/warning-nop.c: Likewise.
25336
1ac7a2c7
JM
253372010-09-15 Joseph Myers <joseph@codesourcery.com>
25338
25339 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25340 implementing getdents64 using getdents syscall, set d_type if
25341 __ASSUME_GETDENTS32_D_TYPE.
25342
56801c50
AS
253432010-09-16 Andreas Schwab <schwab@redhat.com>
25344
25345 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25346 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25347
dda51327
UD
253482010-09-21 Ulrich Drepper <drepper@redhat.com>
25349
25350 [BZ #12037]
25351 * posix/unistd.h: Undo change of feature selection for ftruncate from
25352 2010-01-11.
25353
8ffcee4a
UD
253542010-09-20 Ulrich Drepper <drepper@redhat.com>
25355
a545ecd9 25356 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
25357 detection.
25358
e24f0a8b
AS
253592010-09-20 Andreas Schwab <schwab@redhat.com>
25360
25361 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25362 fanotify_mark.
25363 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25364
7291c56f
AS
253652010-09-14 Andreas Schwab <schwab@redhat.com>
25366
25367 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25368 variables after CHECK_SP call.
25369 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25370
bc5fb037
AS
253712010-09-13 Andreas Schwab <schwab@redhat.com>
25372 Ulrich Drepper <drepper@redhat.com>
25373
25374 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25375 re-relocationg ld.so.
25376 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25377 _dl_init_paths call.
25378 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25379 here anymore.
25380
e66e7419
UD
253812010-09-14 Ulrich Drepper <drepper@redhat.com>
25382
25383 * resolv/res_init.c (__res_vinit): Count the default server we added.
25384
c044aa75
CLT
253852010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25386 Ulrich Drepper <drepper@redhat.com>
25387
25388 [BZ #11968]
25389 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25390 (____longjmp_chk): Use %ebx for saving value across system call.
25391 Add unwind info.
25392
32cf4069
AS
253932010-09-06 Andreas Schwab <schwab@redhat.com>
25394
25395 * manual/Makefile: Don't mix pattern rules with normal rules.
25396
817328ee
AS
253972010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25398
25399 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25400 operation.
25401 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25402 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25403 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25404 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25405 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25406 Likewise.
25407
29fddf61
UD
254082010-09-04 Ulrich Drepper <drepper@redhat.com>
25409
25410 [BZ #11979]
25411 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25412 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25413
0959ffc9
UD
254142010-09-02 Ulrich Drepper <drepper@redhat.com>
25415
25416 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25417 * sysdeps/x86_64/addmul_1.S: Likewise.
25418 * sysdeps/x86_64/lshift.S: Likewise.
25419 * sysdeps/x86_64/mul_1.S: Likewise.
25420 * sysdeps/x86_64/rshift.S: Likewise.
25421 * sysdeps/x86_64/sub_n.S: Likewise.
25422 * sysdeps/x86_64/submul_1.S: Likewise.
25423
ece29840
ST
254242010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25425
0959ffc9
UD
25426 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25427 Define __sched_param instead of SCHED_* and sched_param when
ece29840 25428 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 25429 * bits/sched.h [__need_schedparam]
ece29840 25430 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
25431 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25432 (__defined_schedparam): Define to 1.
ece29840
ST
25433 (__sched_param): New structure, identical to sched_param.
25434 (__need_schedparam): Undefine.
25435
e53a31fe
MF
254362010-08-31 Mike Frysinger <vapier@gentoo.org>
25437
fdc0c10d
MF
25438 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25439 (epoll_create1): Declare.
25440
e53a31fe
MF
25441 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25442
a726d796
AS
254432010-08-31 Andreas Schwab <schwab@redhat.com>
25444
25445 [BZ #7066]
25446 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25447 shifting retval into place.
25448
2f3e3dc7
UD
254492010-09-01 Ulrich Drepper <drepper@redhat.com>
25450
f2933da9
UD
25451 * nis/rpcsvc/nis.h: Update copyright notice.
25452 * nis/rpcsvc/nis.x: Likewise.
25453 * nis/rpcsvc/nis_callback.h: Likewise.
25454 * nis/rpcsvc/nis_callback.x: Likewise.
25455 * nis/rpcsvc/nis_object.x: Likewise.
25456 * nis/rpcsvc/nis_tags.h: Likewise.
25457 * nis/rpcsvc/yp.h: Likewise.
25458 * nis/rpcsvc/yp.x: Likewise.
25459 * nis/rpcsvc/ypupd.h: Likewise.
25460 * nis/yp_xdr.c: Likewise.
25461 * nis/ypupdate_xdr.c: Likewise.
25462
2f3e3dc7
UD
25463 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25464 mainly the body of pmap_getport. Add parameters to specify timeouts.
25465 (pmap_getport): Use __libc_rpc_getport.
25466 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25467 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25468 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25469
f3dcc2f9
AS
254702010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25471
25472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25473 fanotify_mark.
25474
6d34eb5b
RM
254752010-08-27 Roland McGrath <roland@redhat.com>
25476
25477 * sysdeps/i386/i686/multiarch/Makefile
25478 (CFLAGS-varshift.c): New variable.
25479
9ea3de11
UD
254802010-08-27 Ulrich Drepper <drepper@redhat.com>
25481
c96d23fc
UD
25482 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25483 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25484
9ea3de11
UD
25485 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25486
25487 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25488
623aac7f
L
254892010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25490
25491 * sysdeps/x86_64/strlen.S: Unroll the loop.
25492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25493 strlen-sse2 strlen-sse2-bsf.
25494 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25495 __strlen_no_bsf if bit_Slow_BSF is set.
25496 (__strlen_sse42): Removed.
25497 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25498 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25499
8b2b7715
RM
255002010-08-25 Roland McGrath <roland@redhat.com>
25501
25502 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25503 * sysdeps/x86_64/multiarch/varshift.c: New file.
25504 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25505 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25506 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25507 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25508
e73015f2
L
255092010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25510
25511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25512 strlen-sse2 strlen-sse2-bsf.
25513 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25514 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25515 (__strlen_sse2): Removed.
25516 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25517 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25519 bit_Slow_BSF for Atom.
25520 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25521 (index_Slow_BSF): Define.
25522 (HAS_SLOW_BSF): Define.
25523
df24a73e
UD
255242010-08-25 Ulrich Drepper <drepper@redhat.com>
25525
25526 [BZ #10851]
25527 * resolv/res_init.c (__res_vinit): When no server address at all
25528 is given default to loopback.
25529
f2ac4868
RM
255302010-08-24 Roland McGrath <roland@redhat.com>
25531
09055553
RM
25532 * configure.in: Remove config-name.h generation.
25533 * configure: Regenerated.
25534 * config-name.in: File removed.
25535 * scripts/config-uname.sh: New file.
25536 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25537 ($(objdir)config-name.h): New target.
25538
f2ac4868
RM
25539 * sunrpc/rpc_parse.h: Avoid nested comment.
25540
73f27d5e
RH
255412010-08-24 Richard Henderson <rth@redhat.com>
25542 Ulrich Drepper <drepper@redhat.com>
25543 H.J. Lu <hongjiu.lu@intel.com>
25544
25545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25547 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25548 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25549 _mm_alignr_epi8 with _mm_loadu_si128.
25550 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25551 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25552 (__m128i_shift_right): Removed.
25553 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25554 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25555 * sysdeps/x86_64/multiarch/varshift.h: New file.
25556 * sysdeps/x86_64/multiarch/varshift.S: New file.
25557
84b9230c
MF
255582010-08-21 Mike Frysinger <vapier@gentoo.org>
25559
25560 * configure.in: Move assembler checks to before sysdep dir checking.
25561
9bbd0ddc
PB
255622010-08-20 Petr Baudis <pasky@suse.cz>
25563
25564 * LICENSES: Sync the sunrpc license.
25565
9da4bb31
UD
255662010-08-19 Ulrich Drepper <drepper@redhat.com>
25567
a7ab6ec8
UD
25568 * sunrpc/auth_des.c: Update copyright notice once again.
25569 * sunrpc/auth_none.c: Likewise.
25570 * sunrpc/auth_unix.c: Likewise.
25571 * sunrpc/authdes_prot.c: Likewise.
25572 * sunrpc/authuxprot.c: Likewise.
25573 * sunrpc/bindrsvprt.c: Likewise.
25574 * sunrpc/clnt_gen.c: Likewise.
25575 * sunrpc/clnt_perr.c: Likewise.
25576 * sunrpc/clnt_raw.c: Likewise.
25577 * sunrpc/clnt_simp.c: Likewise.
25578 * sunrpc/clnt_tcp.c: Likewise.
25579 * sunrpc/clnt_udp.c: Likewise.
25580 * sunrpc/clnt_unix.c: Likewise.
25581 * sunrpc/des_crypt.c: Likewise.
25582 * sunrpc/des_soft.c: Likewise.
25583 * sunrpc/get_myaddr.c: Likewise.
25584 * sunrpc/getrpcport.c: Likewise.
25585 * sunrpc/key_call.c: Likewise.
25586 * sunrpc/key_prot.c: Likewise.
25587 * sunrpc/openchild.c: Likewise.
25588 * sunrpc/pm_getmaps.c: Likewise.
25589 * sunrpc/pm_getport.c: Likewise.
25590 * sunrpc/pmap_clnt.c: Likewise.
25591 * sunrpc/pmap_prot.c: Likewise.
25592 * sunrpc/pmap_prot2.c: Likewise.
25593 * sunrpc/pmap_rmt.c: Likewise.
25594 * sunrpc/rpc/auth.h: Likewise.
25595 * sunrpc/rpc/auth_unix.h: Likewise.
25596 * sunrpc/rpc/clnt.h: Likewise.
25597 * sunrpc/rpc/des_crypt.h: Likewise.
25598 * sunrpc/rpc/key_prot.h: Likewise.
25599 * sunrpc/rpc/netdb.h: Likewise.
25600 * sunrpc/rpc/pmap_clnt.h: Likewise.
25601 * sunrpc/rpc/pmap_prot.h: Likewise.
25602 * sunrpc/rpc/pmap_rmt.h: Likewise.
25603 * sunrpc/rpc/rpc.h: Likewise.
25604 * sunrpc/rpc/rpc_des.h: Likewise.
25605 * sunrpc/rpc/rpc_msg.h: Likewise.
25606 * sunrpc/rpc/svc.h: Likewise.
25607 * sunrpc/rpc/svc_auth.h: Likewise.
25608 * sunrpc/rpc/types.h: Likewise.
25609 * sunrpc/rpc/xdr.h: Likewise.
25610 * sunrpc/rpc_clntout.c: Likewise.
25611 * sunrpc/rpc_cmsg.c: Likewise.
25612 * sunrpc/rpc_common.c: Likewise.
25613 * sunrpc/rpc_cout.c: Likewise.
25614 * sunrpc/rpc_dtable.c: Likewise.
25615 * sunrpc/rpc_hout.c: Likewise.
25616 * sunrpc/rpc_main.c: Likewise.
25617 * sunrpc/rpc_parse.c: Likewise.
25618 * sunrpc/rpc_parse.h: Likewise.
25619 * sunrpc/rpc_prot.c: Likewise.
25620 * sunrpc/rpc_sample.c: Likewise.
25621 * sunrpc/rpc_scan.c: Likewise.
25622 * sunrpc/rpc_scan.h: Likewise.
25623 * sunrpc/rpc_svcout.c: Likewise.
25624 * sunrpc/rpc_tblout.c: Likewise.
25625 * sunrpc/rpc_util.c: Likewise.
25626 * sunrpc/rpc_util.h: Likewise.
25627 * sunrpc/rpcinfo.c: Likewise.
25628 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25629 * sunrpc/rpcsvc/key_prot.x: Likewise.
25630 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25631 * sunrpc/rpcsvc/mount.x: Likewise.
25632 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25633 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25634 * sunrpc/rpcsvc/rex.x: Likewise.
25635 * sunrpc/rpcsvc/rstat.x: Likewise.
25636 * sunrpc/rpcsvc/rusers.x: Likewise.
25637 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25638 * sunrpc/rpcsvc/spray.x: Likewise.
25639 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25640 * sunrpc/rtime.c: Likewise.
25641 * sunrpc/svc.c: Likewise.
25642 * sunrpc/svc_auth.c: Likewise.
25643 * sunrpc/svc_authux.c: Likewise.
25644 * sunrpc/svc_raw.c: Likewise.
25645 * sunrpc/svc_run.c: Likewise.
25646 * sunrpc/svc_simple.c: Likewise.
25647 * sunrpc/svc_tcp.c: Likewise.
25648 * sunrpc/svc_udp.c: Likewise.
25649 * sunrpc/svc_unix.c: Likewise.
25650 * sunrpc/svcauth_des.c: Likewise.
25651 * sunrpc/xcrypt.c: Likewise.
25652 * sunrpc/xdr.c: Likewise.
25653 * sunrpc/xdr_array.c: Likewise.
25654 * sunrpc/xdr_float.c: Likewise.
25655 * sunrpc/xdr_mem.c: Likewise.
25656 * sunrpc/xdr_rec.c: Likewise.
25657 * sunrpc/xdr_ref.c: Likewise.
25658 * sunrpc/xdr_sizeof.c: Likewise.
25659 * sunrpc/xdr_stdio.c: Likewise.
25660
9da4bb31
UD
25661 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25662 handling.
25663
bdaa77bc
AS
256642010-08-19 Andreas Schwab <schwab@redhat.com>
25665
25666 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25667
fe2f79db
LM
256682010-08-19 Luis Machado <luisgpm@br.ibm.com>
25669
25670 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25671 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25672 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25673 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25674 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25675 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25676 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25677 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25678 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25679 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25680 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25681 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25682 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25683 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25684
b9b42ee0
AB
256852010-07-26 Anton Blanchard <anton@samba.org>
25686
25687 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25688 * malloc/arena.c (heap_trim): Likewise.
25689
1c06ba31
UD
256902010-08-16 Ulrich Drepper <drepper@redhat.com>
25691
25692 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25693 here. Not...
25694 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25695 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25696
f8392f40
L
256972010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25698
25699 * sysdeps/i386/elf/Makefile: New file.
25700
3162f12e
AS
257012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25702
25703 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25704 from fanotify_init.
25705 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25706 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25707
28c90b2c
UD
257082010-08-15 Ulrich Drepper <drepper@redhat.com>
25709
25710 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25711 of strncasecmp_l.
1feccb6c 25712 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25713
ca6bb004
UD
257142010-08-14 Ulrich Drepper <drepper@redhat.com>
25715
e9f82e0d
UD
25716 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25717 strncase_l-nonascii.
25718 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25719 Add strncase_l-ssse3.
25720 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25721 * sysdeps/x86_64/strcmp.S: Likewise.
25722 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25723 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25724 * sysdeps/x86_64/strncase.S: New file.
25725 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25726 * sysdeps/x86_64/strncase_l.S: New file.
25727 * string/Makefile (strop-tests): Add strncasecmp.
25728 * string/test-strncasecmp.c: New file.
25729
25730 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25731 warning.
25732
ca6bb004
UD
25733 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25734 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25735
052fa7b3
AS
257362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25737
25738 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25739
962dba78
UD
257402010-08-12 Ulrich Drepper <drepper@redhat.com>
25741
25742 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25743 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25744 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25745
bebff237
AM
257462010-05-01 Alan Modra <amodra@gmail.com>
25747
25748 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25749 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25750 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25751 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25752 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25753 tidying. Don't tail-call __sigjmp_save for static lib.
25754 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25755 save location.
25756 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25757 (CALL_MCOUNT): Add eh info, and nop after bl.
25758 (TAIL_CALL_SYSCALL_ERROR): New macro.
25759 (PSEUDO_RET): Use it.
25760 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25761 Correct save location of integer regs and cr.
25762 (_dl_profile_resolve): Correct cr save location. Delete nops
25763 after bl when SHARED. Reduce cfi size a little by better
25764 placement of cfi directives.
25765 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25766 make a stack frame. Instead use parm save area as a temp.
25767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25768 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25770 Don't make a stack frame for parent, use parm save area.
25771 Increase child stack frame to 112 bytes. Don't save unused reg,
25772 and adjust reg usage. Set up cfi on error recovery and
25773 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25775 (__makecontext): Add dummy nop after jump to exit.
25776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25777 Use correct parm save area and cr save, reduce stack frame.
25778 Correct cfi for possible PSEUDO_RET frame setup.
25779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25780 Branch to local label emitted by PSEUDO_RET rather than
25781 __syscall_error.
25782
02637374
AS
257832010-08-12 Andreas Schwab <schwab@redhat.com>
25784
25785 [BZ #11904]
25786 * locale/programs/locale.c (print_assignment): New function.
25787 (show_locale_vars): Use it.
25788
c3e2f19b
UD
257892010-08-11 Ulrich Drepper <drepper@redhat.com>
25790
3cdaa6ad
UD
25791 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25792 field.
25793 (struct statfs64): Likewise.
25794 (_STATFS_F_FLAGS): Define.
25795 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25796 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25797 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25798 (ST_VALID): Define locally.
25799 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25800 __statvfs_getflags, use the provided value.
25801 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25802 __ASSUME_STATFS_F_FLAGS.
25803
754f7da3
UD
25804 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25805
10b3bedc
UD
25806 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25807 Add sys/fanotify.h.
25808 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25809 fanotify_mask for GLIBC_2.13.
25810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25811 fanotify_init and fanotify_mark.
25812 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25813 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25814
c08fb0d7
UD
25815 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25816 Add prlimit.
25817 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25818 prlimit64 for GLIBC_2.13.
25819 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25820 prlimit64.
25821 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25822 syscall.
25823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25824 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25825 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25826 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25827 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25828 add prlimit alias.
25829 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25830
15bac72b
UD
25831 [BZ #11903]
25832 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25833 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25834
c3e2f19b
UD
25835 * nss/Makefile: Add rules to build and run tst-nss-test1.
25836 * shlib-versions: Add entry for libnss_test1.
25837 * nss/nss_test1.c: New file.
25838 * nss/tst-nss-test1.c: New file.
25839
25840 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25841 (__nss_configure_lookup): Set appropriate entry in
25842 __nss_configure_lookup to true.
25843 * nss/nsswitch.h: Define enum with indeces of databases in
25844 databases and __nss_database_custom arrays. Declare
25845 __nss_database_custom.
25846 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25847 to avoid using nscd when custom rules are installed.
25848 * nss/getXXbyYY_r.c: Likewise.
25849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25850
25851 * nss/nss_files/files-parse.c: Whitespace fixes.
25852
f15ce4d8
UD
258532010-08-09 Ulrich Drepper <drepper@redhat.com>
25854
25855 [BZ #11883]
25856 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25857 * posix/fnmatch_loop.c: Likewise.
25858
d22e4cc9
AK
258592010-07-17 Andi Kleen <ak@linux.intel.com>
25860
25861 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25862 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25863 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25864 * Versions.def [GLIBC_2.13]: Add.
25865
805bc17d
UD
258662010-08-06 Ulrich Drepper <drepper@redhat.com>
25867
25868 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25869 Also fail if tpwd after pwuid call is NULL.
25870
5a42321d
ST
258712010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25872
25873 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25874 when converting to ms.
25875
fd3ebeda
ST
258762010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25877
25878 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25879 EOPNOTSUPP errors with ENOTTY.
25880 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25881 EOPNOTSUPP errors with ENOTTY.
25882
73507d3a
UD
258832010-07-31 Ulrich Drepper <drepper@redhat.com>
25884
25885 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25886 Add strcasecmp_l-ssse3.
25887 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25888 strcasecmp.
25889 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25890 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25891 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25892
fe36dd02
UD
258932010-07-30 Ulrich Drepper <drepper@redhat.com>
25894
66f6765a
UD
25895 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25896
42e08a54
UD
25897 * string/Makefile (strop-tests): Add strcasecmp.
25898 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25899 strcasecmp_l-nonascii.
25900 (gen-as-const-headers): Add locale-defines.sym.
25901 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25902 * sysdeps/x86_64/strcasecmp.S: New file.
25903 * sysdeps/x86_64/strcasecmp_l.S: New file.
25904 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25905 * sysdeps/x86_64/locale-defines.sym: New file.
25906 * string/test-strcasecmp.c: New file.
25907
fe36dd02
UD
25908 * string/test-strcasestr.c: Test both ends of the range of characters.
25909 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25910
48cbc0d6
RM
259112010-07-29 Roland McGrath <roland@redhat.com>
25912
76e6d6bc 25913 [BZ #11856]
48cbc0d6
RM
25914 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25915
880113d9
UD
259162010-07-27 Ulrich Drepper <drepper@redhat.com>
25917
25918 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25919 for ld.so.
25920
deb9cabb
AS
259212010-07-27 Andreas Schwab <schwab@redhat.com>
25922
25923 * manual/memory.texi (Malloc Tunable Parameters): Document
25924 M_PERTURB.
25925
1c7570ff
RM
259262010-07-26 Roland McGrath <roland@redhat.com>
25927
25928 [BZ #11840]
25929 * configure.in (-fgnu89-inline check): Set and substitute
25930 gnu89_inline, not libc_cv_gnu89_inline.
25931 * configure: Regenerated.
25932 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25933
24fb0f88
UD
259342010-07-26 Ulrich Drepper <drepper@redhat.com>
25935
25936 * string/test-strnlen.c: New file.
25937 * string/Makefile (strop-tests): Add strnlen.
25938 * string/tester.c (test_strnlen): Add a few more test cases.
25939 * string/tst-strlen.c: Better error reporting.
25940
25941 * sysdeps/x86_64/strnlen.S: New file.
25942
8e96b93a
UD
259432010-07-24 Ulrich Drepper <drepper@redhat.com>
25944
25945 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25946 lower-latency instructions.
25947
dbc676d4
UD
259482010-07-23 Ulrich Drepper <drepper@redhat.com>
25949
25950 * string/test-strcasestr.c: New file.
25951 * string/test-strstr.c: New file.
25952 * string/Makefile (strop-tests): Add strstr and strcasestr.
25953 * string/str-two-way.h: Don't undefine MAX.
25954 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25955
f6a31e0e
AS
259562010-07-21 Andreas Schwab <schwab@redhat.com>
25957
25958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25959 strcasestr-nonascii.
25960 (CFLAGS-strcasestr-nonascii.c): Define.
25961 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25962 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25963 Remove unused attribute.
25964
5dbc3b6c
RM
259652010-07-20 Roland McGrath <roland@redhat.com>
25966
25967 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25968 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25969 ld.so.cache was broken. With it, there is no way to disable dsocaps
25970 like LD_HWCAP_MASK can disable hwcaps.
25971
23d101d8
EPM
259722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25973
25974 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25975
cc9f2e47
UD
259762010-07-16 Ulrich Drepper <drepper@redhat.com>
25977
25978 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25979 call in strcasestr.
25980 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25981 __strcasestr_sse42_nonascii.
25982 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25983 strcasestr-nonascii.c.
25984 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25985
77c1b069
LM
259862010-06-15 Luis Machado <luisgpm@br.ibm.com>
25987
25988 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25989 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25990 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25991 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25992
440566c3
UD
259932010-07-09 Ulrich Drepper <drepper@redhat.com>
25994
25995 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25996 fcntl.
25997
5be9d05d
AS
259982010-07-06 Andreas Schwab <schwab@redhat.com>
25999
c30b7ee2 26000 [BZ #11577]
5be9d05d
AS
26001 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26002 dl_signal_cerror.
26003
8a492a67
UD
260042010-07-06 Ulrich Drepper <drepper@redhat.com>
26005
26006 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26007 _PC_PIPE_BUF using F_GETPIPE_SZ.
26008
713df3d5
RM
260092010-07-05 Roland McGrath <roland@redhat.com>
26010
26011 * manual/arith.texi (Rounding Functions): Fix rint description
26012 implicit in round description.
26013
702e8f14
UD
260142010-07-02 Ulrich Drepper <drepper@redhat.com>
26015
26016 * elf/Makefile: Fix linking for a few tests to make recent linker
26017 happy.
26018
52ed8be9
AS
260192010-06-30 Andreas Schwab <schwab@redhat.com>
26020
26021 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26022 $(common-objpfx)libc_nonshared.a.
26023
f47c9a11
LM
260242010-06-21 Luis Machado <luisgpm@br.ibm.com>
26025
26026 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26027 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26028 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26029 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26030 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26031 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26032 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26033 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26048 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26049 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26050 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26051 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26052 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26053 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26054 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26055 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26056 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26057 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26058 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26059 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26074
6fb8cbcb
L
260752010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26076
26077 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26078 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26079 * string/memmove.c (memmove): Renamed to ...
26080 (MEMMOVE): ...this. Default to memmove.
26081 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26082 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26083 (END_CHK): Define.
26084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26085 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26086 mempcpy-ssse3-back memmove-ssse3-back.
26087 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26088 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26089 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26090 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26091 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26092 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26093 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26094 * sysdeps/x86_64/multiarch/memmove.c: New file.
26095 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26096 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26097 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26098 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26099 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26100 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26101 Define.
26102 (index_Fast_Copy_Backward): Define.
26103 (HAS_ARCH_FEATURE): Define.
26104 (HAS_FAST_REP_STRING): Define.
26105 (HAS_FAST_COPY_BACKWARD): Define.
26106
4e733bac 261072010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26108
26109 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26110 Restore proper fallback handling.
26111
63c4ed22
UD
261122010-06-19 Ulrich Drepper <drepper@redhat.com>
26113
ac2b484c
UD
26114 [BZ #11701]
26115 * posix/group_member.c (__group_member): Correct checking loop.
26116
63c4ed22
UD
26117 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26118 OOM in getpwuid_r correctly. Return error number when the caller
26119 should return, otherwise -1.
26120 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26121 call returning > 0 value.
26122 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26123
765ade4b
AS
261242010-06-07 Andreas Schwab <schwab@redhat.com>
26125
26126 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26127 libc_nonshared.a from targets in modules-names.
26128
80da2e09
KS
261292010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26130
26131 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26132 requires it.
26133
158db122
LM
261342010-06-10 Luis Machado <luisgpm@br.ibm.com>
26135
26136 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26137 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26138 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26139 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26140
caa78cf8
AS
261412010-06-02 Andreas Schwab <schwab@redhat.com>
26142
26143 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26144
b2ef2c01
UD
261452010-06-14 Ulrich Drepper <drepper@redhat.com>
26146
26147 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26148 and F_GETPIPE_SZ.
26149 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26150 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26151 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26153 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26154 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26155
fbd643b6
RM
261562010-06-14 Roland McGrath <roland@redhat.com>
26157
26158 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26159
f32f2869
JJ
261602010-06-07 Jakub Jelinek <jakub@redhat.com>
26161
26162 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26163 __REDIRECT followed by __THROW.
26164 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26165 * posix/getopt.h (getopt): Likewise.
26166
2a50c078
EPM
261672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26168
26169 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26170 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26171 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26172 in AT_FLAGS.
26173 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26174 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26175
eb5ad2eb
LM
261762010-05-28 Luis Machado <luisgpm@br.ibm.com>
26177
26178 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26179
3c88fe1e
L
261802010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26181
26182 [BZ #11640]
26183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26184 Properly check family and model.
26185
d2f73151
TY
261862010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26187
26188 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26189
ebd2e13d
LM
261902010-05-24 Luis Machado <luisgpm@br.ibm.com>
26191
26192 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26193
b32b8b45
UD
261942010-05-21 Ulrich Drepper <drepper@redhat.com>
26195
26196 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26197 symbol reference.
26198
9acbe24d
AS
261992010-05-19 Andreas Schwab <schwab@redhat.com>
26200
26201 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26202 symbol reference.
26203
f0ccf6ea
AS
262042010-05-21 Andreas Schwab <schwab@redhat.com>
26205
3d04ff3a
AS
26206 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26207 and internal_recvmmsg.
26208 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26209 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26210 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26211 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26212
f0ccf6ea
AS
26213 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26214 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26215 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26216
5b08ac57
AS
262172010-05-20 Andreas Schwab <schwab@redhat.com>
26218
26219 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26220
4828935d
LM
262212010-05-17 Luis Machado <luisgpm@br.ibm.com>
26222
26223 POWER7 optimizations.
26224 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26225 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26226
373d545e
UD
262272010-05-19 Ulrich Drepper <drepper@redhat.com>
26228
26229 * version.h: Update for 2.13 development version.
26230
21a2b1ae
AS
262312010-05-12 Andrew Stubbs <ams@codesourcery.com>
26232
26233 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26234 exceptions. Return 0.
26235
3f7dcb2b
RM
262362010-05-07 Roland McGrath <roland@redhat.com>
26237
26238 * elf/ldconfig.c (main): Add a const.
26239
5f24d53a 262402010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26241
a160f8d8
UD
26242 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26243 (args_options): Add no-idn option.
26244 (ahosts_keys_int): Add idn_flags to ai_flags.
26245 (parse_option): Handle 'i' option to clear idn_flags.
26246
5f24d53a
UD
26247 * malloc/malloc.c (_int_free): Possible race in the most recently
26248 added check. Only act on the data if no current modification
26249 happened.
265bb1ce
UD
26250
26251See ChangeLog.17 for earlier changes.