]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Format mptan.c
[thirdparty/glibc.git] / ChangeLog
CommitLineData
11d6e2f2
SP
12013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2
b8de2202
SP
3 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4
11d6e2f2
SP
5 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6
7e80ddb8
RM
72013-02-26 Roland McGrath <roland@hack.frob.com>
8
9 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10 [$(build-shared = yes].
7e80ddb8 11
7da6d9ed
SP
122013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13
45f05884
SP
14 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15 (__mul): Reduce iterations for calculating mantissa.
16
2236d359
SP
17 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18 MPTWO.
19 (__mpranred): Likewise.
20
7da6d9ed
SP
21 [BZ #15160]
22 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24
b7688c42
PE
252013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26
27 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28 Define __attribute__.
29
53a5c423
SP
302013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31
32 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
33 unused.
34 * posix/regex_internal.h (__attribute): Remove.
35 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36 (re_string_context_at): Likewise.
37 (bitset_not): Use __attribute__ and mark function as possibly
38 unused.
39 (bitset_merge): Likewise.
40 (bitset_mask): Likewise.
41 (re_string_char_size_at): Likewise.
42 (re_string_wchar_at): Likewise.
43 (re_string_elem_size_at): Likewise.
44
60f5a8b5
SP
452013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46
2a983a2e
SP
47 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
48 code.
49 (cc32): Likewise.
50
e69804d1
SP
51 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
52 (__acr): Likewise.
53 (__cpy): Likewise.
54 (norm): Likewise.
55 (denorm): Likewise.
56 (__dbl_mp): Likewise.
57 (add_magnitudes): Likewise.
58 (sub_magnitudes): Likewise.
59 (__mul): Likewise.
60 (__inv): Likewise.
61
2f22a1e8
SP
62 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
63 style.
64
8930ddc7
SP
65 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
66 style.
67
dc60cb11
SP
68 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
69 code.
70
60f5a8b5
SP
71 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
72 up changes with default code.
73 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
74 Likewise.
75
b4d1fd33
AM
762013-02-24 Allan McRae <allan@archlinux.org>
77
faf6f8bc
AM
78 * manual/socket.texi (The Internet Namespace): Order menu items
79 to match that in the file.
80
b4d1fd33
AM
81 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
82 node listing of the info page menu.
83
2366713d
JM
842013-02-21 Joseph Myers <joseph@codesourcery.com>
85
86 [BZ #13550]
87 * sysdeps/i386/bp-asm.h: Remove file.
88 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
89 (PARMS): Do not use macros from bp-asm.h.
90 (S1): Likewise.
91 (S2): Likewise.
92 (SIZE): Likewise.
93 (__mpn_add_n): Do not use BP_SYM
94 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
95 "bp-asm.h".
96 (PARMS): Do not use macros from bp-asm.h.
97 (S1): Likewise.
98 (SIZE): Likewise.
99 (__mpn_addmul_1): Do not use BP_SYM
100 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
101 "bp-asm.h".
102 (PARMS): Do not use macros from bp-asm.h.
103 (SIGMSK): Likewise.
104 (_setjmp): Likewise. Do not use BP_SYM.
105 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
106 "bp-asm.h".
107 (PARMS): Do not use macros from bp-asm.h.
108 (SIGMSK): Likewise.
109 (setjmp): Likewise. Do not use BP_SYM.
110 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
111 "bp-asm.h".
112 (PARMS): Do not use macros from bp-asm.h.
113 (__frexp): Do not use BP_SYM.
114 (frexp): Likewise.
115 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
116 "bp-asm.h".
117 (PARMS): Do not use macros from bp-asm.h.
118 (__frexpf): Do not use BP_SYM.
119 (frexpf): Likewise.
120 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
121 "bp-asm.h".
122 (PARMS): Do not use macros from bp-asm.h.
123 (__frexpl): Do not use BP_SYM.
124 (frexpl): Likewise.
125 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
126 "bp-asm.h".
127 (PARMS): Do not use macros from bp-asm.h.
128 (__remquo): Do not use BP_SYM.
129 (remquo): Likewise.
130 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
131 "bp-asm.h".
132 (PARMS): Do not use macros from bp-asm.h.
133 (__remquof): Do not use BP_SYM.
134 (remquof): Likewise.
135 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
136 "bp-asm.h".
137 (PARMS): Do not use macros from bp-asm.h.
138 (__remquol): Do not use BP_SYM.
139 (remquol): Likewise.
140 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
141 "bp-asm.h".
142 (PARMS): Do not use macros from bp-asm.h.
143 (DEST): Likewise.
144 (SRC): Likewise.
145 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
146 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
147 "bp-asm.h".
148 (PARMS): Do not use macros from bp-asm.h.
149 (strlen): Do not use BP_SYM.
150 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
151 "bp-asm.h".
152 (PARMS): Do not use macros from bp-asm.h.
153 (S1): Likewise.
154 (S2): Likewise.
155 (SIZE): Likewise.
156 (__mpn_add_n): Do not use BP_SYM.
157 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
158 "bp-asm.h".
159 (PARMS): Do not use macros from bp-asm.h.
160 (S1): Likewise.
161 (SIZE): Likewise.
162 (__mpn_addmul_1): Do not use BP_SYM.
163 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
164 weak_alias.
165 (bzero): Likewise.
166 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
167 "bp-asm.h".
168 (PARMS): Do not use macros from bp-asm.h.
169 (S): Likewise.
170 (SIZE): Likewise.
171 (__mpn_lshift): Do not use BP_SYM.
172 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
173 "bp-asm.h".
174 (PARMS): Do not use macros from bp-asm.h.
175 (DEST): Likewise.
176 (SRC): Likewise.
177 (LEN): Likewise.
178 (memcpy): Likewise. Do not use BP_SYM.
179 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
180 libc_hidden_def and weak_alias.
181 (mempcpy): Do not use BP_SYM in weak_alias.
182 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
183 "bp-asm.h".
184 (PARMS): Do not use macros from bp-asm.h.
185 (DEST): Likewise.
186 (LEN): Likewise.
187 [!BZERO_P] (CHR): Likewise.
188 (memset): Likewise. Do not use BP_SYM.
189 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
190 "bp-asm.h".
191 (PARMS): Do not use macros from bp-asm.h.
192 (S1): Likewise.
193 (SIZE): Likewise.
194 (__mpn_mul_1): Do not use BP_SYM.
195 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
196 "bp-asm.h".
197 (PARMS): Do not use macros from bp-asm.h.
198 (S): Likewise.
199 (SIZE): Likewise.
200 (__mpn_rshift): Do not use BP_SYM.
201 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
202 "bp-asm.h".
203 (PARMS): Do not use macros from bp-asm.h.
204 (STR): Likewise.
205 (CHR): Likewise.
206 (strchr): Likewise. Do not use BP_SYM.
207 (index): Do not use BP_SYM in weak_alias.
208 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
209 "bp-asm.h".
210 (PARMS): Do not use macros from bp-asm.h.
211 (DEST): Likewise.
212 (SRC): Likewise.
213 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
214 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
215 "bp-asm.h".
216 (PARMS): Do not use macros from bp-asm.h.
217 (strlen): Do not use BP_SYM.
218 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
219 "bp-asm.h".
220 (PARMS): Do not use macros from bp-asm.h.
221 (S1): Likewise.
222 (S2): Likewise.
223 (SIZE): Likewise.
224 (__mpn_sub_n): Do not use BP_SYM.
225 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
226 "bp-asm.h".
227 (PARMS): Do not use macros from bp-asm.h.
228 (S1): Likewise.
229 (SIZE): Likewise.
230 (__mpn_submul_1): Do not use BP_SYM.
231 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
232 "bp-asm.h".
233 (PARMS): Do not use macros from bp-asm.h.
234 (S1): Likewise.
235 (S2): Likewise.
236 (SIZE): Likewise.
237 (__mpn_add_n): Do not use BP_SYM.
238 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
239 weak_alias.
240 (bzero): Likewise.
241 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
242 "bp-asm.h".
243 (PARMS): Do not use macros from bp-asm.h.
244 (BLK2): Likewise.
245 (LEN): Likewise.
246 (memcmp): Do not use BP_SYM.
247 (bcmp): Do not use BP_SYM in weak_alias.
248 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
249 "bp-asm.h".
250 (PARMS): Do not use macros from bp-asm.h.
251 (DEST): Likewise.
252 (SRC): Likewise.
253 (LEN): Likewise.
254 (memcpy): Likewise. Do not use BP_SYM.
255 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
256 "bp-asm.h".
257 (PARMS): Do not use macros from bp-asm.h.
258 (DEST): Likewise.
259 (SRC): Likewise.
260 (LEN): Likewise.
261 (memmove): Likewise. Do not use BP_SYM.
262 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
263 "bp-asm.h".
264 (PARMS): Do not use macros from bp-asm.h.
265 (DEST): Likewise.
266 (SRC): Likewise.
267 (LEN): Likewise.
268 (__mempcpy): Likewise. Do not use BP_SYM.
269 (mempcpy): Do not use BP_SYM in weak_alias.
270 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
271 "bp-asm.h".
272 (PARMS): Do not use macros from bp-asm.h.
273 (DEST): Likewise.
274 (LEN): Likewise.
275 [!BZERO_P] (CHR): Likewise.
276 (memset): Likewise. Do not use BP_SYM.
277 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
278 "bp-asm.h".
279 (PARMS): Do not use macros from bp-asm.h.
280 (STR2): Likewise.
281 (strcmp): Do not use BP_SYM.
282 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
283 "bp-asm.h".
284 (PARMS): Do not use macros from bp-asm.h.
285 (STR): Likewise.
286 (DELIM): Likewise.
287 [USE_AS_STRTOK_R] (SAVE): Likewise.
288 (FUNCTION): Likewise. Do not use BP_SYM.
289 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
290 aliases.
291 (strtok_r): Likewise.
292 (__GI___strtok_r): Likewise.
293 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
294 (PARMS): Do not use macros from bp-asm.h.
295 (S): Likewise.
296 (SIZE): Likewise.
297 (__mpn_lshift): Do not use BP_SYM.
298 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
299 (PARMS): Do not use macros from bp-asm.h.
300 (STR): Likewise.
301 (CHR): Likewise.
302 (__memchr): Do not use BP_SYM.
303 (memchr): Do not use BP_SYM in weak_alias.
304 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
305 (PARMS): Do not use macros from bp-asm.h.
306 (BLK2): Likewise.
307 (LEN): Likewise.
308 (memcmp): Do not use BP_SYM.
309 (bcmp): Do not use BP_SYM in weak_alias.
310 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
311 (PARMS): Do not use macros from bp-asm.h.
312 (S1): Likewise.
313 (SIZE): Likewise.
314 (__mpn_mul_1): Do not use BP_SYM.
315 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
316 "bp-asm.h".
317 (PARMS): Do not use macros from bp-asm.h.
318 (STR): Likewise.
319 (CHR): Likewise.
320 (__rawmemchr): Do not use BP_SYM.
321 (rawmemchr): Do not use BP_SYM in weak_alias.
322 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
323 (PARMS): Do not use macros from bp-asm.h.
324 (S): Likewise.
325 (SIZE): Likewise.
326 (__mpn_rshift): Do not use BP_SYM.
327 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
328 (PARMS): Do not use macros from bp-asm.h.
329 (SIGMSK): Likewise.
330 (__sigsetjmp): Likewise. Do not use BP_SYM.
331 * sysdeps/i386/start.S: Do not include "bp-sym.h".
332 (_start): Do not use BP_SYM.
333 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
334 (PARMS): Do not use macros from bp-asm.h.
335 (DEST): Likewise.
336 (SRC): Likewise.
337 (__stpcpy): Likewise. Do not use BP_SYM.
338 (stpcpy): Do not use BP_SYM in weak_alias.
339 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
340 "bp-asm.h".
341 (PARMS): Do not use macros from bp-asm.h.
342 (DEST): Likewise.
343 (SRC): Likewise.
344 (LEN): Likewise.
345 (__stpncpy): Likewise. Do not use BP_SYM.
346 (stpncpy): Do not use BP_SYM in weak_alias.
347 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
348 (PARMS): Do not use macros from bp-asm.h.
349 (STR): Likewise.
350 (CHR): Likewise.
351 (strchr): Likewise. Do not use BP_SYM.
352 * sysdeps/i386/strchrnul.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 (__strchrnul): Likewise. Do not use BP_SYM.
358 (strchrnul): Do not use BP_SYM in weak_alias.
359 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
360 "bp-asm.h".
361 (PARMS): Do not use macros from bp-asm.h.
362 (STOP): Likewise.
363 (strcspn): Do not use BP_SYM.
364 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
365 "bp-asm.h".
366 (PARMS): Do not use macros from bp-asm.h.
367 (STR): Likewise.
368 (STOP): Likewise.
369 (strpbrk): Likewise. Do not use BP_SYM.
370 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
371 "bp-asm.h".
372 (PARMS): Do not use macros from bp-asm.h.
373 (STR): Likewise.
374 (CHR): Likewise.
375 (strrchr): Likewise. Do not use BP_SYM.
376 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
377 (PARMS): Do not use macros from bp-asm.h.
378 (SKIP): Likewise.
379 (strspn): Do not use BP_SYM.
380 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
381 (PARMS): Do not use macros from bp-asm.h.
382 (STR): Likewise.
383 (DELIM): Likewise.
384 (SAVE): Likewise.
385 (FUNCTION): Likewise. Do not use BP_SYM.
386 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
387 aliases.
388 (strtok_r): Likewise.
389 (__GI___strtok_r): Likewise.
390 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
391 (PARMS): Do not use macros from bp-asm.h.
392 (S1): Likewise.
393 (S2): Likewise.
394 (SIZE): Likewise.
395 (__mpn_sub_n): Do not use BP_SYM.
396 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
397 "bp-asm.h".
398 (PARMS): Do not use macros from bp-asm.h.
399 (S1): Likewise.
400 (SIZE): Likewise.
401 (__mpn_submul_1): Do not use BP_SYM.
402 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
403 <bp-sym.h>.
404 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
405 and <bp-asm.h>.
406 (PARMS): Do not use macros from bp-asm.h.
407 (FLAGS): Likewise.
408 (PTID): Likewise.
409 (TLS): Likewise.
410 (CTID): Likewise.
411 (__clone): Do not use BP_SYM.
412 (clone): Do not use BP_SYM in weak_alias.
413 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
414 and <bp-asm.h>.
415 (PARMS): Do not use macros from bp-asm.h.
416 (LEN): Likewise.
417 (__mmap64): Do not use BP_SYM.
418 (mmap64): Do not use BP_SYM in weak_alias.
419 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
420 <bp-sym.h> and <bp-asm.h>.
421 (PARMS): Do not use macros from bp-asm.h.
422 (__posix_fadvise64_l64): Do not use BP_SYM.
423 * sysdeps/unix/sysv/linux/i386/semtimedop.S
424 (PARMS): Do not use macros from bp-asm.h.
425 (NSOPS): Likewise.
426 (semtimedop): Do not use BP_SYM.
427 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
428 and <bp-asm.h>.
429
582a3cff
AM
4302013-02-21 Allan McRae <allan@archlinux.org>
431
432 * manual/message.texi (Charset conversion in gettext):
433 Move @end statement to beginning of line.
434
bab8a695
SP
4352013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
436
80945231
SP
437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
438 static.
439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
440 Likewise.
441
bab8a695
SP
442 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
443 (denorm): Likewise.
444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
446
e21d7aa7
AK
4472013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
448
449 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
450 tail-call to the resolved function if pltexit isn't needed.
451
4c7a4263
SP
4522013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
453
454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
455 or Y being zero as being unlikely.
456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
457 Likewise.
458
41f49342
CD
4592013-02-20 Carlos O'Donell <carlos@redhat.com>
460
461 * manual/nss.texi (System Databases and Name Service Switch):
462 Remove frobnicate @pxref.
463
50022a93
TS
4642013-02-20 Thomas Schwinge <thomas@codesourcery.com>
465
466 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
467 __attribute__ ((unused)) to __attribute__ ((__unused__)).
468
08cbd996
PM
4692013-02-20 Petr Machata <pmachata@redhat.com>
470
471 * elf/elf.h (R_ARM_TARGET1): New macro.
472 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
473 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
474 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
475 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
476 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
477 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
478 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
479 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
480 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
481 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
482 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
483 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
484 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
485 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
486 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
487 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
488 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
489 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
490 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
491 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
492 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
493 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
494 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
495 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
496 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
497 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
498 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
499 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
500 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
501 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
502 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
503 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
504 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
505 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
506 (R_ARM_THM_GOT_BREL12): Likewise.
507 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
508 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
509 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
510 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
511 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
512 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
513 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
514 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
515 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
516
c7b275d6
TS
5172013-02-20 Thomas Schwinge <thomas@codesourcery.com>
518
519 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
520 __attribute_used__ to __attribute__ ((unused)).
521
20cd7fb3
SP
5222013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
523
524 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
525 powerpc mpa.c.
526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
527 comment formatting.
528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
529
92945b52
JM
5302013-02-19 Joseph Myers <joseph@codesourcery.com>
531
532 [BZ #13550]
533 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
534 Remove macro.
535 (ENTER): Remove both macro definitions.
536 (LEAVE): Likewise.
537 (CHECK_BOUNDS_LOW): Likewise.
538 (CHECK_BOUNDS_HIGH): Likewise.
539 (CHECK_BOUNDS_BOTH): Likewise.
540 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
541 (RETURN_BOUNDED_POINTER): Likewise.
542 (RETURN_NULL_BOUNDED_POINTER): Likewise.
543 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
544 (POP_ERRNO_LOCATION_RETURN): Likewise.
545 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
546 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
547 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
548 macros.
549 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
550 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
551 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
552 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
553 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
554 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
555 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
556 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
557 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
558 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
559 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
560 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
561 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
562 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
563 removed macros.
564 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
565 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
566 macros.
567 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
568 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
569 * sysdeps/i386/i586/memset.S (memset): Likewise.
570 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
571 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
572 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
573 macros.
574 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
575 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
576 Change uses of L(2) to L(out).
577 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
578 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
579 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
580 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
581 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
582 removed macros.
583 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
584 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
585 macros.
586 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
587 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
588 (RETURN): Do not use macro LEAVE.
589 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
590 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
591 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
592 * sysdeps/i386/i686/memset.S (memset): Likewise.
593 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
594 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
595 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
596 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
597 Likewise.
598 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
599 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
600 L(1_2) and L(1_3) into L(1).
601 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
602 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
603 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
604 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
605 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
606 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
607 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
608 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
609 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
610 macros.
611 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
612 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
613 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
614 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
615 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
616 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
617 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
618 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
619 * sysdeps/i386/strcspn.S (strcspn): Likewise.
620 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
621 * sysdeps/i386/strrchr.S (strrchr): Likewise.
622 * sysdeps/i386/strspn.S (strspn): Likewise.
623 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
624 conditional code.
625 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
626 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
627 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
628 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
629 L(1_3) into L(1_1).
630 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
631 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
632 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
633 macros.
634 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
635
2389741a
JJ
6362013-02-19 Jakub Jelinek <jakub@redhat.com>
637
638 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
639 macro.
640
2016b3cd
SP
6412013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
642
e4f22324
SP
643 * math/atest-exp.c (exp_mpn): Remove ROUND.
644 * math/atest-exp2.c (exp_mpn): Likewise.
645 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
646
2016b3cd
SP
647 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
648 * stdlib/tst-tls-atexit-lib.c: Likewise.
649 * stdlib/tst-tls-atexit.c: Likewise.
650
4be9b544
MF
6512013-02-18 Mike Frysinger <vapier@gentoo.org>
652
653 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
654 and __attribute_alloc_size__.
655
2f62b9ee
MF
6562013-02-18 Mike Frysinger <vapier@gentoo.org>
657
658 * include/programs/xmalloc.h: Change __attribute_alloc_size to
659 __attribute_alloc_size__.
660 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
661 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
662
6ff444c4
MF
6632013-02-18 Mike Frysinger <vapier@gentoo.org>
664
665 * include/programs/xmalloc.h: New file.
666 * catgets/gencat.c: Include it.
667 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
668 * elf/pldd.c: Likewise.
669 * iconv/iconv_charmap.c: Likewise.
670 * iconv/iconvconfig.c: Likewise.
671 * iconv/strtab.c: Likewise.
672 * locale/programs/locale.c: Likewise.
673 * locale/programs/localedef.h: Likewise.
674 * locale/programs/simple-hash.c: Likewise.
675 * nscd/nscd.h: Likewise.
676 * nss/makedb.c: Likewise.
677 * sysdeps/generic/ldconfig.h: Likewise.
678
be179c8a
SP
6792013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
680
ba384f6e
SP
681 * Versions.def: Add GLIBC_2.18.
682 * include/link.h (struct link_map): New member l_tls_dtor_count.
683 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
684 (__call_tls_dtors): Likewise.
685 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
686 __cxa_thread_atexit_impl.
687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
688 Likewise.
689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
690 Likewise.
691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
692 Likewise.
693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
694 Likewise.
695 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
697 Likewise.
698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
699 Likewise.
700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
702 Likewise.
703 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
704 (tests): Add test case tst-tls-atexit.
705 (modules-names): Add shared library for tst-tls-atexit.
706 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
707 (GLIBC_PRIVATE): Add __call_tls_dtors.
708 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
709 for libstdc++.
710 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
711 * stdlib/tst-tls-atexit.c: New test case.
712 * stdlib/tst-tls-atexit-lib.c: New test case.
713
ffaa74cf 714 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 715
be179c8a
SP
716 * elf/Versions (ld): Add _dl_find_dso_for_object.
717 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
718 * elf/dl-open.c (_dl_find_dso_for_object): New function.
719 (dl_open_worker): Use _dl_find_dso_for_object.
720 * elf/dl-sym.c (do_sym): Likewise.
721 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
722
f78b5caa
AK
7232013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
724
725 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
726 Syntactic changes only.
727 (_dl_runtime_profile): Do a tail-call to the resolved function.
728
29691210
JM
7292013-02-17 Joseph Myers <joseph@codesourcery.com>
730
731 [BZ #13550]
732 * sysdeps/x86_64/bp-asm.h: Remove file.
733 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
734 <bp-sym.h> and <bp-asm.h>.
735 (__clone): Do not use BP_SYM.
736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
737 <bp-sym.h> and <bp-asm.h>.
738 * sysdeps/unix/x86_64/sysdep.S: Likewise.
739 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
740 "bp-asm.h".
741 (_setjmp): Do not use BP_SYM.
742 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
743 "bp-asm.h".
744 (setjmp): Do not use BP_SYM.
745 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
746 libc_hidden_def.
747 (mempcpy): Do not use BP_SYM in weak_alias.
748 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
749 "bp-asm.h".
750 (strchr): Do not use BP_SYM.
751 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
752 "bp-asm.h".
753 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
754 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
755 (_start): Do not use BP_SYM.
756 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
757 "bp-asm.h".
758 (strcat): Do not use BP_SYM.
759 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
760 "bp-asm.h".
761 (STRCMP): Do not use BP_SYM.
762 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
763 "bp-asm.h".
764 (STRCPY): Do not use BP_SYM.
765 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
766 "bp-asm.h".
767 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
768 "bp-asm.h".
769 (FUNCTION): Do not use BP_SYM.
770 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
771 weak_alias.
772 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
773
f238fd19
AJ
7742013-02-17 Andreas Jaeger <aj@suse.de>
775
776 * time/Versions: Sort entries.
777 * string/Versions: Likewise.
778 * resolv/Versions: Likewise.
779 * posix/Versions: Likewise.
780 * iconv/Versions: Likewise.
781 * elf/Versions: Likewise.
782 * wcsmbs/Versions: Likewise.
783
bd07f23c 7842013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 785
22af19f9
SP
786 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
787 loop termination condition.
788
4709fe76
SP
789 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
790 variable to calculate EZ.
791 (__sqr): Likewise.
2d0e0f29
SP
792
793 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
794 the lower precision input.
795
daaa7713
JM
7962013-02-15 Joseph Myers <joseph@codesourcery.com>
797
798 [BZ #13550]
799 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
800 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
801 (run-via-rtld-prefix): Do not handle %-bp tests.
802 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
803 (all-object-suffixes): Remove .ob.
804 (bppfx): Remove variable.
805 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
806 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
807 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
808 [$(build-bounded) = yes] (libtype.ob): Likewise.
809 * Makerules (elide-routines.ob): Remove variable.
810 (do-tests-clean): Do not handle *-bp.out.
811 (common-mostlyclean): Do not handle *-bp and *-bp.out.
812 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
813 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
814 (tests): Do not include $(tests-bp.out).
815 (xtests): Do not include $(xtests-bp.out).
816 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
817 [$(build-bounded) = yes] ($(addprefix
818 $(objpfx),$(binaries-bounded))): Remove rule.
819 ($(objpfx)%-bp.out): Remove rule.
820 * config.make.in (build-bounded): Remove variable.
821 * crypt/Makefile [$(build-bounded) = yes]
822 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
823 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
824 append to variable.
825 [$(build-bounded) = yes] (install-lib): Likewise.
826 [$(build-bounded) = yes] (generated): Likewise.
827 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
828 Remove rule.
829 * intl/Makefile [$(build-bounded) = yes]
830 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
831 * math/Makefile [$(build-bounded) = yes]
832 ($(tests:%=$(objpfx)%-bp): Likewise.
833 * misc/Makefile [$(build-bounded) = yes]
834 ($(objpfx)tst-tsearch-bp): Likewise.
835 * nptl/Makeconfig (bounded-thread-library): Remove variable.
836 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
837 Remove dependency.
838 * string/Makefile (o-objects.ob): Remove variable.
839 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
840 (CFLAGS-.ob): Remove variable.
841 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
842 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
843 both definitions of variable.
844 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
845 (ASFLAGS-.ob): Remove variable.
846
e97ed6dd
JM
8472013-02-14 Joseph Myers <joseph@codesourcery.com>
848
2bdd4ca6
JM
849 [BZ #13550]
850 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
851 Remove __BOUNDED_POINTERS__ from condition.
852 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
853 * string/bits/string2.h [!__NO_STRING_INLINES &&
854 !__BOUNDED_POINTERS__]: Likewise.
855 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
856 Likewise.
857 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
858 Remove conditional code.
859 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
860 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
861 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
862 condition.
863
e97ed6dd
JM
864 [BZ #13550]
865 * csu/libc-start.c: Do not include <bp-sym.h>.
866 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
867 * elf/dl-open.c: Do not include <bp-sym.h>.
868 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
869 * math/fegetenv.c: Do not include <bp-sym.h>.
870 (fegetenv): Do not use BP_SYM in versioned symbols.
871 * nptl/sysdeps/pthread/bits/libc-lockP.h
872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
873 <bp-sym.h>.
874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
875 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
877 (__pthread_mutex_destroy): Likewise.
878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
879 (__pthread_mutex_lock): Likewise.
880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
881 (__pthread_mutex_trylock): Likewise.
882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
883 (__pthread_mutex_unlock): Likewise.
884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
885 (__pthread_mutexattr_init): Likewise.
886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
887 (__pthread_mutexattr_destroy): Likewise.
888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
889 (__pthread_mutexattr_settype): Likewise.
890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
891 (__pthread_rwlock_init): Likewise.
892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
893 (__pthread_rwlock_destroy): Likewise.
894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
895 (__pthread_rwlock_rdlock): Likewise.
896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
897 (__pthread_rwlock_tryrdlock): Likewise.
898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
899 (__pthread_rwlock_wrlock): Likewise.
900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
901 (__pthread_rwlock_trywrlock): Likewise.
902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
903 (__pthread_rwlock_unlock): Likewise.
904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
905 (__pthread_key_create): Likewise.
906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
907 (__pthread_setspecific): Likewise.
908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
909 (__pthread_getspecific): Likewise.
910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
911 Likewise.
912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
913 (_pthread_cleanup_push_defer): Likewise.
914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
915 (_pthread_cleanup_pop_restore): Likewise.
916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
917 (pthread_setcancelstate): Likewise.
918 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
919 <bp-sym.h>.
920 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
921 (memchr): Do not use BP_SYM in weak_alias.
922 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
923 (fegetenv): Do not use BP_SYM in versioned symbols.
924 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
925 (fesetenv): Do not use BP_SYM in versioned symbols.
926 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
927 (feupdateenv): Do not use BP_SYM in versioned symbols.
928 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
929 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
930 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
931 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
932 (open64): Do not use BP_SYM in weak_alias.
933 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
934 (fegetenv): Do not use BP_SYM in versioned symbols.
935 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
936 (fesetenv): Do not use BP_SYM in versioned symbols.
937 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
938 (feupdateenv): Do not use BP_SYM in versioned symbols.
939 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
940 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
941 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
942 (feraiseexcept): Do not use BP_SYM in versioned symbols.
943 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
944 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
945 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
946 <bp-sym.h>.
947 (__libc_start_main): Do not use BP_SYM.
948
d6752ccd
SP
9492013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
950
cb57ce60
SP
951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
952 redundant return line.
953 (norm): Likewise.
954 (denorm): Likewise.
955 (dbl_mp): Likewise.
956 (sub_magnitudes): Likewise.
957 (__add): Likewise.
958 (__sub): Likewise.
959 (__mul): Likewise.
960 (__inv): Likewise.
961 (__dvd): Likewise.
962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
963 (norm): Likewise.
964 (denorm): Likewise.
965 (dbl_mp): Likewise.
966 (sub_magnitudes): Likewise.
967 (__add): Likewise.
968 (__sub): Likewise.
969 (__mul): Likewise.
970 (__inv): Likewise.
971 (__dvd): Likewise.
972
f414520d
SP
973 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
974 instead of __mul.
975 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
976 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
977 (cc32): Likewise.
978
d6752ccd
SP
979 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
980 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
981 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
982 of __mul for squares.
983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
984 function
985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
986 Likewise.
987 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
988 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
989
70d9946a
JM
9902013-02-13 Joseph Myers <joseph@codesourcery.com>
991
992 [BZ #13550]
993 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
994 code.
995 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
996 prototype or function definition. Rename ubp_* variables and
997 parameters. Remove argv definitions conditional on
998 [__BOUNDED_POINTERS__].
999 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1000 * elf/dl-runtime.c (_dl_fixup): Likewise.
1001 * include/set-hooks.h (RUN_HOOK): Likewise.
1002 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1003 definition.
1004 * string/strcpy.c (strcpy): Do not use __unbounded.
1005 * sysdeps/generic/frame.h (struct layout): Likewise.
1006 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1007 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1008 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1009 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1010 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1011 (__backtrace): Likewise.
1012 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1013 use __ptrvalue.
1014 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1015 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1016 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1017 Likewise.
1018 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1019 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1020 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1021 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1022 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1023 Do not use __unbounded.
1024 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1025 Rename __unboundedrlimits parameter to rlimits in prototype.
1026 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1027 Do not use __unbounded.
1028 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1029 not use __ptrvalue.
1030 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1031 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1032 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1033 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1034 __ptrvalue or __unbounded.
1035 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1036 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1037 use __unbounded.
1038 (__new_msgctl): Do not use __ptrvalue.
1039 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1040 __unbounded.
1041 (__libc_msgrcv): Do not use __ptrvalue.
1042 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1043 startup_info): Do not use __unbounded.
1044 (__libc_start_main): Likewise. Rename ubp_* variables and
1045 parameters. Remove argv definitions conditional on
1046 [__BOUNDED_POINTERS__].
1047 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1048 __ptrvalue.
1049 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1050 use __unbounded.
1051 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1052 or __ptrvalue.
1053 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1054 use __unbounded.
1055 (__new_shmctl): Do not use __ptrvalue.
1056 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1057 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1058 Likewise.
1059 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1060 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1061 (__libc_sigaction): Likewise.
1062 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1063 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1064 Likewise.
1065 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1066
cc7834d6
OB
10672013-02-13 Ondřej Bílka <neleai@seznam.cz>
1068
ffb1ec7b 1069 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1070
1071 * string/mempcpy.c: Implement by calling memcpy.
1072
bdf02814
SP
10732013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1074
c2af38aa
SP
1075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1076
4e92d59e
SP
1077 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1078 evaluation.
1079
909279a5
SP
1080 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1081 values in the mantissa.
1082
bdf02814
SP
1083 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1084 minimize writes to Z.
1085 (sub_magnitudes): Simplify code a bit.
1086
cd525923
RM
10872013-02-12 Roland McGrath <roland@hack.frob.com>
1088
1089 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1090 from the message. The linker prefixes all warnings with that already.
1091
7e2f0d2d
AS
10922013-02-12 Andreas Schwab <schwab@suse.de>
1093
a445af0b
AS
1094 [BZ #15078]
1095 * posix/regexec.c (extend_buffers): Add parameter min_len.
1096 (check_matching): Pass minimum needed length.
1097 (clean_state_log_if_needed): Likewise.
1098 (get_subexp): Likewise.
1099 * posix/Makefile (tests): Add bug-regex34.
1100 (bug-regex34-ENV): Define.
1101 * posix/bug-regex34.c: New file.
1102
7e2f0d2d
AS
1103 [BZ #11561]
1104 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1105 elements compare against the byte sequence of it, not its name.
1106 * posix/Makefile (tests): Add bug-regex35.
1107 (bug-regex35-ENV): Define.
1108 * posix/bug-regex35.c: New file.
1109
a175b684
TV
11102013-02-11 Tom de Vries <tom@codesourcery.com>
1111
1112 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1113 comment.
1114 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1115 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1116 (CHECK_EOL): Add undef.
1117
310998fe 11182013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1119
1120 * bits/stdlib-bsearch.h: New file.
1121 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1122 * stdlib/stdlib.h: Likewise.
41eda41d 1123
8ded91fb
RM
11242013-02-11 Roland McGrath <roland@hack.frob.com>
1125
1126 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1127 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1128 declaration.
1129 * manual/search.texi (Array Search Function): Add missing const in
1130 lfind prototype.
1131 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1132 declaration to use rlim_t.
1133 (Basic Scheduling Functions): Remove erroneous const from
1134 sched_getparam prototype. Remove erroneous * from
1135 sched_get_priority_max and sched_get_priority_min prototypes.
1136 (Resource Usage): Fix summary @comment on vtimes to refer to
1137 sys/vtimes.h rather than vtimes.h.
1138 Add missing *s in vtimes prototype.
1139 (Limits on Resources): Fix ulimit prototype to return long int.
1140 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1141 prototypes to use long int rather than double.
1142 (BSD Random): Fix initstate and setstate to use char *, not void *.
1143 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1144 prototype to make second argument 'struct aiocb64 *const[]'.
1145 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1146 (Status of AIO Operations): Remove erroneous const in aio_return and
1147 aio_return64 prototypes.
1148 (Synchronizing I/O): Fix sync prototype to return void.
1149 * manual/startup.texi (Suboptions): Remove an erroneous const in
1150 getsubopt prototype.
1151 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1152 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1153 use size_t rather than int.
1154 (Scanning All Users): Likewise for getpwent_r.
1155 (Setting Groups): Add missing const to setgroups prototype.
1156 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1157 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1158 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1159 'const void *' rather than 'const char *'.
1160 (Host Address Functions): Likewise for inet_ntop.
1161 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1162 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1163 ssize_t for return value.
1164 (Sending Data): Likewise for send, sendto, sendmsg.
1165 (Socket Option Functions): Add a missing const in setsockopt prototype.
1166 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1167 use wchar_t for the argument.
1168 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1169 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1170 take no arguments.
1171 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1172 double/float/long double for second argument.
1173 Fix return types of significand, significandf, significandl.
1174 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1175 argument in fchmod prototype.
1176 (File Owner): Use uid_t and gid_t in fchown prototype.
1177 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1178 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1179 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1180 use 'const struct dirent **' as argument types to CMP function pointer
1181 argument.
1182 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1183 (File Times): Fix summary magic @comment for struct utimbuf and utime
1184 to refer to utime.h, not time.h.
1185 * manual/string.texi (Argz Functions): Add missing const in
1186 argz_extract and argz_next prototypes.
1187 (Finding Tokens in a String): Likewise for basename.
1188 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1189 (Copying and Concatenation): Fix typo in wmemmove prototype.
1190 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1191 (Signal Stack): Remove erroneous const in sigstack prototype.
1192 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1193 prototype.
1194 (Simple Calendar Time): Likewise for stime.
1195 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1196 prototype.
1197 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1198 say sys/sysctl.h instead.
1199 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1200 and vsyslog prototypes.
1201
fe77fe6d
TV
12022013-02-11 Tom de Vries <tom@codesourcery.com>
1203
1204 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1205 Remove.
1206
3a09b620
RM
12072013-02-11 Roland McGrath <roland@hack.frob.com>
1208
1209 * misc/sys/mman.h: Fix typo in mremap comment.
1210
550a0b89
RM
12112013-02-08 Roland McGrath <roland@hack.frob.com>
1212
1213 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1214 the '\0' terminator.
1215
a2da1673
JM
12162013-02-08 Joseph Myers <joseph@codesourcery.com>
1217
1218 [BZ #13550]
1219 * debug/segfault.c: Don't include <bp-checks.h>.
1220 * sysdeps/generic/bp-checks.h: Remove file.
1221 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1222 (__GETDENTS): Don't use CHECK_N.
1223 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1224 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1225 (__getgroups): Don't use CHECK_N.
1226 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1227 (setgroups): Don't use CHECK_N.
1228 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1229 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1230 (__libc_msgrcv): Don't use CHECK_N.
1231 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1232 (__libc_msgsnd): Don't use CHECK_N.
1233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1234 <bp-checks.h>.
1235 (__libc_pread): Don't use CHECK_N.
1236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1237 include <bp-checks.h>.
1238 (__libc_pread64): Don't use CHECK_N.
1239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1240 include <bp-checks.h>.
1241 (__libc_pwrite): Don't use CHECK_N.
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1243 include <bp-checks.h>.
1244 (__libc_pwrite64): Don't use CHECK_N.
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1246 <bp-checks.h>.
1247 (__libc_pread): Don't use CHECK_N.
1248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1249 include <bp-checks.h>.
1250 (__libc_pread64): Don't use CHECK_N.
1251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1252 include <bp-checks.h>.
1253 (__libc_pwrite): Don't use CHECK_N.
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1255 include <bp-checks.h>.
1256 (__libc_pwrite64): Don't use CHECK_N.
1257 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1258 (do_pread): Don't use CHECK_N.
1259 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1260 (do_pread64): Don't use CHECK_N.
1261 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1262 (do_pwrite): Don't use CHECK_N.
1263 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1264 (do_pwrite64): Don't use CHECK_N.
1265 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1266 (__libc_readv): Don't use CHECK_N.
1267 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1268 (semop): Don't use CHECK_N.
1269 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1270 <bp-checks.h>.
1271 (semtimedop): Don't use CHECK_N.
1272 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1273 (__libc_pread): Don't use CHECK_N.
1274 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1275 <bp-checks.h>.
1276 (__libc_pread64): Don't use CHECK_N.
1277 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1278 <bp-checks.h>.
1279 (__libc_pwrite): Don't use CHECK_N.
1280 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1281 <bp-checks.h>.
1282 (__libc_pwrite64): Don't use CHECK_N.
1283 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1284 <bp-checks.h>.
1285 (__libc_msgrcv): Don't use CHECK_N.
1286 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1287 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1288 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1289 (__libc_writev): Don't use CHECK_N.
1290
b84660a8
RM
12912013-02-08 Roland McGrath <roland@hack.frob.com>
1292
7f3e75f8
RM
1293 * string/strcpy.c: Removed unused variable.
1294
b84660a8
RM
1295 * Makeconfig (+sysdep-includes): Define with := rather than =.
1296 Use an existing include/ subdir of each sysdeps dir before it.
1297
471514d3
CD
12982013-02-08 Carlos O'Donell <carlos@redhat.com>
1299
1300 * nscd/connection.c (register_traced_file): Comment function.
1301 [HAVE_INOTIFY] (union __inev): Define.
1302 [HAVE_INOTIFY] (inotify_check_files): New function.
1303 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1304 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1305 clear_db_cache.
1306 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1307
b2d3c3be
CD
13082013-02-08 Carlos O'Donell <carlos@redhat.com>
1309
1310 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1311 loaded if not already and that a failure is permanent.
1312
b39949d2
CD
13132013-02-08 Carlos O'Donell <carlos@redhat.com>
1314
ddacd1db 1315 [BZ #15006]
b39949d2
CD
1316 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1317 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1318
b2c9eff4
JM
13192013-02-08 Joseph Myers <joseph@codesourcery.com>
1320
f3aae3f3
JM
1321 [BZ #13550]
1322 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1323 (CHECK_1_NULL_OK): Likewise.
1324 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1325 (__fxstat): Do not use CHECK_1.
1326 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1327 <bp-checks.h>.
1328 (___fxstat64): Do not use CHECK_1.
1329 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1330 <bp-checks.h>.
1331 (__fxstatat): Do not use CHECK_1.
1332 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1333 <bp-checks.h>.
1334 (__fxstatat64): Do not use CHECK_1.
1335 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1336 <bp-checks.h>.
1337 (__fxstat): Do not use CHECK_1.
1338 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1339 <bp-checks.h>.
1340 (__fxstatat): Do not use CHECK_1.
1341 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1342 <bp-checks.h>.
1343 (__getresgid): Do not use CHECK_1.
1344 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1345 <bp-checks.h>.
1346 (__getresuid): Do not use CHECK_1.
1347 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1348 <bp-checks.h>.
1349 (__lxstat): Do not use CHECK_1.
1350 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1351 <bp-checks.h>.
1352 (__old_msgctl): Do not use CHECK_1.
1353 (__new_msgctl): Likewise.
1354 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1355 <bp-checks.h>.
1356 (__new_setrlimit): Do not use CHECK_1.
1357 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1358 <bp-checks.h>.
1359 (__old_shmctl): Do not use CHECK_1.
1360 (__new_shmctl): Likewise.
1361 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1362 <bp-checks.h>.
1363 (__xstat): Do not use CHECK_1.
1364 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1365 (__lxstat): Do not use CHECK_1.
1366 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1367 <bp-checks.h>.
1368 (___lxstat64): Do not use CHECK_1.
1369 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1370 (__old_msgctl): Do not use CHECK_1.
1371 (__new_msgctl): Likewise.
1372 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1373 <bp-checks.h>.
1374 (__gettimeofday): Do not use CHECK_1.
1375 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1376 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1377 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1378 <bp-checks.h>.
1379 (__gettimeofday): Do not use CHECK_1.
1380 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1381 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1382 (__new_shmctl): Do not use CHECK_1.
1383 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1384 <bp-checks.h>.
1385 (do_sigtimedwait): Do not use CHECK_1.
1386 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1387 <bp-checks.h>.
1388 (do_sigwaitinfo): Do not use CHECK_1.
1389 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1390 <bp-checks.h>.
1391 (msgctl): Do not use CHECK_1.
1392 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1393 <bp-checks.h>.
1394 (shmctl): Do not use CHECK_1.
1395 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1396 (ustat): Do not use CHECK_1.
1397 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1398 <bp-checks.h>.
1399 (__fxstat): Do not use CHECK_1.
1400 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1401 <bp-checks.h>.
1402 (__fxstatat): Do not use CHECK_1.
1403 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1404 <bp-checks.h>.
1405 (__lxstat): Do not use CHECK_1.
1406 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1407 <bp-checks.h>.
1408 (__xstat): Do not use CHECK_1.
1409 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1410 (__xstat): Do not use CHECK_1.
1411 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1412 (___xstat64): Do not use CHECK_1.
1413
b2c9eff4
JM
1414 [BZ #13550]
1415 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1416 definitions.
1417 (CHECK_BOUNDS_HIGH): Likewise.
1418 * string/strcpy.c: Do not include <bp-checks.h>.
1419 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1420
f1d70dad
RM
14212013-02-07 Roland McGrath <roland@hack.frob.com>
1422
1423 * nscd/nscd-client.h (__nscd_drop_map_ref):
1424 Add __attribute__ ((unused)).
1425 * nis/nss-nisplus.h (niserr2nss): Likewise.
1426
1427 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1428 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1429
1430 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1431 Remove inline keyword.
1432 * include/rounding-mode.h (round_away): Likewise.
1433 * libio/wfileops.c (adjust_wide_data): Likewise.
1434 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1435 (__m128i_strloadu_tolower): Likewise.
1436 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1437 (__m128i_strloadu_tolower): Likewise.
1438 * time/mktime.c (ydhms_diff): Likewise.
1439 * locale/elem-hash.h (elem_hash): Likewise.
1440 * locale/setlocale.c (setdata): Likewise.
1441 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1442 (re_string_wchar_at): Likewise.
1443 (bitset_not, bitset_merge, bitset_mask): Likewise.
1444 [!(__GNUC__ > 3)] (inline): Remove macro.
1445 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1446 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1447 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1448 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1449 * string/memcmp.c (memcmp_bytes): Likewise.
1450 * locale/programs/locarchive.c (compute_hashval): Likewise.
1451 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1452 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1453 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1454 * nss/getent.c (print_rpc, print_protocols): Likewise.
1455 (print_passwd, print_group, print_aliases): Likewise.
1456 * nis/nss-nisplus.h (niserr2nss): Likewise.
1457 * nscd/connections.c (restart_p): Likewise.
1458 Change return type to bool.
1459
eab55bfb
RM
14602013-02-05 Roland McGrath <roland@hack.frob.com>
1461
7bd642f5
RM
1462 * Makeconfig (all-Depend-files): Add existing
1463 $(sorted-subdirs:=/Depend) files.
1464 (all-subdirs): Remove nss.
1465 * sysdeps/unix/inet/Subdirs: Add it here instead.
1466 * hesiod/Depend: New file.
1467
573c29b2
RM
1468 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1469 instead of calling alloca.
1470
b2e25af0
RM
1471 * io/lseek.c (__lseek): Rename to __libc_lseek.
1472 Define __lseek as an alias.
1473
eab55bfb
RM
1474 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1475
9a0d1941
CD
14762013-02-04 Carlos O'Donell <carlos@redhat.com>
1477
1478 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1479 else clause and remove check for non-standard endianness.
1480
b83bbec4
DM
14812013-02-04 David S. Miller <davem@davemloft.net>
1482
1483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1484
6277fdab
JM
14852013-02-04 Joseph Myers <joseph@codesourcery.com>
1486
1487 [BZ #13550]
1488 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1489 (__ubp_memchr): Remove prototype.
1490 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1491 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1492 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1493 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1494 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1495 Remove alias.
1496 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1497 (__ubp_memchr): Likewise.
1498 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1499 (__ubp_memchr): Likewise.
1500 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1501 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1502 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1503 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1504 CHECK_STRING.
1505 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1506 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1507 (__getcwd): Do not use CHECK_STRING.
1508 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1509 <bp-checks.h>.
1510 (__real_chown): Do not use CHECK_STRING.
1511 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1512 <bp-checks.h>.
1513 (fchownat): Do not use CHECK_STRING.
1514 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1515 CHECK_STRING.
1516 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1517 <bp-checks.h>.
1518 (__lchown): Do not use CHECK_STRING.
1519 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1520 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1521 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1522 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1524 include <bp-checks.h>.
1525 (truncate64): Do not use CHECK_STRING.
1526 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1527 <bp-checks.h>.
1528 (__real_chown): Do not use CHECK_STRING.
1529 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1530 <bp-checks.h>.
1531 (__lchown): Do not use CHECK_STRING.
1532 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1533 <bp-checks.h>.
1534 (__chown): Do not use CHECK_STRING.
1535 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1536 <bp-checks.h>.
1537 (truncate64): Do not use CHECK_STRING.
1538 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1539 Likewise.
1540 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1541 (__xmknod): Do not use CHECK_STRING.
1542 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1543 <bp-checks.h>.
1544 (__xmknodat): Do not use CHECK_STRING.
1545 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1546 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1547
903ae060
AS
15482013-02-04 Andreas Schwab <schwab@suse.de>
1549
1550 [BZ #14142]
1551 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1552 * include/netdb.h: Likewise for h_errno.
1553 * elf/tst-stackguard1.c: Include <tls.h>.
1554
542f9466
JK
15552013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1556
1557 * elf/link.h (struct link_map): Extend the l_addr comment.
1558 * include/link.h (struct link_map): Likewise.
1559
e782a927
JM
15602013-02-01 Joseph Myers <joseph@codesourcery.com>
1561
1562 [BZ #13550]
1563 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1564 (BOUNDED_1): Remove macro.
1565 * debug/backtrace.c: Don't include <bp-checks.h>.
1566 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1567 (__backtrace): Likewise.
1568 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1569 <bp-checks.h>.
1570 (__backtrace): Don't use BOUNDED_1.
1571 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1572 <bp-checks.h>.
1573 (__backtrace): Don't use BOUNDED_1.
1574 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1575 (__backtrace): Don't use BOUNDED_1.
1576 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1577 (shmat): Don't use BOUNDED_N.
1578
8cf28c5e
JM
15792013-01-31 Joseph Myers <joseph@codesourcery.com>
1580
3a7ac8a0
JM
1581 [BZ #13550]
1582 * sysdeps/generic/bp-start.h: Remove file.
1583 * csu/libc-start.c: Don't include <bp-start.h>.
1584 (LIBC_START_MAIN): Set up __environ directly instead of using
1585 INIT_ARGV_and_ENVIRON.
1586 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1587 <bp-start.h>.
1588
f3499f95
JM
1589 [BZ #13550]
1590 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1591 definitions.
1592 (CHECK_FCNTL): Likewise.
1593 (CHECK_N_PAGES): Likewise.
1594
32a45bea
JM
1595 [BZ #13550]
1596 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1597 definitions.
1598 (CHECK_SIGSET_NULL_OK): Likewise.
1599 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1600 <bp-checks.h>.
1601 (sigpending): Don't use CHECK_SIGSET.
1602 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1603 <bp-checks.h>.
1604 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1605 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1606 <bp-checks.h>.
1607 (do_sigsuspend): Don't use CHECK_SIGSET.
1608 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1609 use CHECK_SIGSET.
1610 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1611 (do_sigwait): Don't use CHECK_SIGSET.
1612 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1613 use CHECK_SIGSET.
1614 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1615 include <bp-checks.h>.
1616 (sigpending): Don't use CHECK_SIGSET.
1617 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1618 include <bp-checks.h>.
1619 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1620 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1621 <bp-checks.h>.
1622 (sigpending): Don't use CHECK_SIGSET.
1623 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1624 <bp-checks.h>.
1625 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1626
2e8a5c8c
JM
1627 [BZ #13550]
1628 * sysdeps/generic/bp-semctl.h: Remove file.
1629 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1630 <bp-checks.h> and <bp-semctl.h>.
1631 (__old_semctl): Don't use CHECK_SEMCTL.
1632 (__new_semctl): Likewise.
1633 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1634 and <bp-semctl.h>.
1635 (__old_semctl): Don't use CHECK_SEMCTL.
1636 (__new_semctl): Likewise.
1637 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1638 <bp-checks.h> and <bp-semctl.h>.
1639 (__old_semctl): Don't use CHECK_SEMCTL.
1640 (__new_semctl): Likewise.
1641 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1642 <bp-checks.h> and <bp-semctl.h>.
1643 (semctl): Don't use CHECK_SEMCTL.
1644
c2d54929
JM
1645 [BZ #13550]
1646 * Makerules (elide-bp-thunks): Remove variable.
1647 (elide-routines.oS): Don't use $(elide-bp-thunks).
1648 (elide-routines.os): Likewise.
1649 (elide-routines.o): Likewise.
1650 (elide-routines.op): Likewise.
1651 (elide-routines.og): Likewise.
1652 (objects): Don't use $(bp-thunks).
1653 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1654 include.
1655 (common-generated): Do not add s-proto-bp.d.
1656 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1657 (int): Likewise.
1658 (typ): Likewise.
1659 Do not generate makefile rules for bounded-pointer thunks.
1660 * sysdeps/generic/bp-thunks.h: Remove file.
1661 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1662 * sysdeps/unix/s-proto-bp.S: Likewise.
1663
8cf28c5e
JM
1664 [BZ #15062]
1665 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1666 parts of result separately when argument is not close to line from
1667 -i to i and one part of argument is small.
1668 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1669 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1670 * math/libm-test.inc (cacos_test): Add more tests.
1671 (casin_test): Likewise.
1672 (casinh_test): Likewise.
1673 * sysdeps/i386/fpu/libm-test-ulps: Update.
1674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1675
c4e33b8d
DM
16762013-01-31 David S. Miller <davem@davemloft.net>
1677
1678 * po/de.po: Update from translation team.
1679
3b60b421
MK
16802013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1681
1682 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1683
bb931195
TS
16842013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1685
b5a5da23
TS
1686 * configure.in (_AC_PROG_CC_C89): New definition.
1687 * configure: Regenerate.
1688
bb931195
TS
1689 * configure.in (AC_PROG_CPP): New definition.
1690 * configure: Regenerate.
1691
8c53a12c
JM
16922013-01-23 Joseph Myers <joseph@codesourcery.com>
1693
1694 * debug/tst-backtrace.h: New file.
1695 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1696 (ret): Remove variable.
1697 (x): Likewise.
1698 (FAIL): Remove macro.
1699 (NO_INLINE): Likewise.
1700 (fn1): Use match function instead of strstr.
1701 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1702 (ret): Remove variable.
1703 (x): Likewise.
1704 (FAIL): Remove macro.
1705 (NO_INLINE): Likewise.
1706 (fn): Use match function instead of strstr.
1707 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1708 (ret): Remove variable.
1709 (x): Likewise.
1710 (FAIL): Remove macro.
1711 (NO_INLINE): Likewise.
1712 (handle_signal): Use match function instead of strstr.
1713 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1714 (ret): Remove variable.
1715 (x): Likewise.
1716 (FAIL): Remove macro.
1717 (NO_INLINE): Likewise.
1718 (handle_signal): Use match function instead of strstr.
1719
4858fa2a
RM
17202013-01-23 Roland McGrath <roland@hack.frob.com>
1721
1722 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1723
bae8e7f5
DM
17242013-01-23 David S. Miller <davem@davemloft.net>
1725
1726 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1727 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1728 argument of CAS if possible.
1729 * sysdeps/sparc/sparc64/bits/atomic.h
1730 (__arch_compare_and_exchange_val_32_acq): Likewise.
1731 (__arch_compare_and_exchange_val_64_acq): Likewise.
1732
9cbbc4ae
PT
17332013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1734
1735 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1736 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1737 Include <limits.h>.
67b3f58c 1738 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1739
5655a0b5
AC
17402013-01-23 Adam Conrad <adconrad@0c3.net>
1741
1742 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1743 (LDFLAGS-tst-array5): Likewise.
1744
052aff95
JM
17452013-01-23 Joseph Myers <joseph@codesourcery.com>
1746
1747 [BZ #15036]
1748 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1749 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1750 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1751 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1752
7c1e01aa
DM
17532013-01-21 David S. Miller <davem@davemloft.net>
1754
1755 * sysdeps/sparc/backtrace.c: New file.
1756 * sysdeps/sparc/sparc32/backtrace.h: New file.
1757 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1758 * sysdeps/sparc/sparc64/backtrace.h: New file.
1759 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1760 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1761 -funwind-tables.
1762
ab087e0a
AS
17632013-01-21 Andreas Schwab <schwab@suse.de>
1764
1765 [BZ #15020]
1766 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1767 closed its stdout.
1768
ed689c2f
AS
17692013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1770
1771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1772 "mpa2.h".
1773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1774
31d470ac
JM
17752013-01-18 Joseph Myers <joseph@codesourcery.com>
1776 Mark Mitchell <mark@codesourcery.com>
1777 Tom de Vries <tom@codesourcery.com>
1778 Paul Pluzhnikov <ppluzhnikov@google.com>
1779
1780 * debug/tst-backtrace2.c: New file.
1781 * debug/tst-backtrace3.c: Likewise.
1782 * debug/tst-backtrace4.c: Likewise.
1783 * debug/tst-backtrace5.c: Likewise.
1784 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1785 (CFLAGS-tst-backtrace3.c): Likewise.
1786 (CFLAGS-tst-backtrace4.c): Likewise.
1787 (CFLAGS-tst-backtrace5.c): Likewise.
1788 (LDFLAGS-tst-backtrace2): Likewise.
1789 (LDFLAGS-tst-backtrace3): Likewise.
1790 (LDFLAGS-tst-backtrace4): Likewise.
1791 (LDFLAGS-tst-backtrace5): Likewise.
1792 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1793 tst-backtrace4 and tst-backtrace5.
1794
90567f30 17952013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1796 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1797
1798 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1799 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1800 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1801 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1803 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1804 "+r" and remove output regs list as redundant. Add explicit inline
1805 asm to specify register of return val to work around compiler codegen
1806 bug. Remove (int) cast on return value. Add return type parameter to
1807 use in macro so that this macro does not truncate return value for
1808 64-bit values.
1809 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1810 pass to INTERNAL_VSYSCALL_NCS.
1811 (INLINE_VSYSCALL): Add 'long int' as return type to
1812 INTERNAL_VSYSCALL_NCS macro invocation.
1813 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1814 INTERNAL_VSYSCALL_NCS macro invocation.
1815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1816
d3b9ea61
SP
18172013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1818
0b57daeb
SP
1819 [BZ #14496]
1820 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1821 Fix application of SIMD FP exception mask.
1822
caa99d06
SP
1823 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1824 mp_no from a power of two.
1825 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1826 __mpexp_twomm1. Use __pow_mp.
1827
d3b9ea61
SP
1828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1829 multiplication.
1830
1dbaee3c
DM
18312013-01-17 David S. Miller <davem@davemloft.net>
1832
1833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1834
728d7b43
JM
18352013-01-17 Joseph Myers <joseph@codesourcery.com>
1836
1837 [BZ #15023]
1838 * include/complex.h: Condition contents on [!_COMPLEX_H].
1839 (__kernel_casinhf): New prototype.
1840 (__kernel_casinh): Likewise.
1841 (__kernel_casinhl): Likewise.
1842 * math/Makefile (libm_calls): Add k_casinh.
1843 * math/k_casinh.c: New file.
1844 * math/k_casinhf.c: Likewise.
1845 * math/k_casinhl.c: Likewise.
1846 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1847 finite nonzero arguments.
1848 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1849 finite nonzero arguments.
1850 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1851 finite nonzero arguments.
1852 * math/s_casinh.c: Do not include <float.h>.
1853 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1854 * math/s_casinhf.c: Do not include <float.h>.
1855 (__casinhf): Move code for finite nonzero arguments to
1856 k_casinhf.c.
1857 * math/s_casinhl.c: Do not include <float.h>.
1858 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1859 redefine.
1860 (__casinhl): Move code for finite nonzero arguments to
1861 k_casinhl.c.
1862 * math/libm-test.inc (cacos_test): Add more tests.
1863 * sysdeps/i386/fpu/libm-test-ulps: Update.
1864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1865
2a26ef3a
PT
18662013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1867
1868 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1869 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1870 [!HAVE_MREMAP]: Remove [defined linux] case.
1871 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1872
a897655d
SP
18732013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1874
1875 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1876
881ebe89 18772013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1878
1879 * elf/elf.h (R_386_SIZE32): New relocation.
1880 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1881 R_386_SIZE32.
1882 (elf_machine_rela): Likewise.
1883 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1884 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1885
59981e9b
JM
18862013-01-17 Joseph Myers <joseph@codesourcery.com>
1887
1888 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1889 (FP_FAST_FMA): Do not define.
1890 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1891 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1892 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1893 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1894 !_SOFT_FLOAT]: Likewise.
1895 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1896 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1897 value.
1898 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1899 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1900 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1901 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1902 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1903 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1904 file.
1905
cfa8054f
AS
19062013-01-16 Andreas Schwab <schwab@suse.de>
1907
1908 [BZ #14327]
1909 * include/stdlib.h (__mktemp): Add declaration.
1910 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1911 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1912
dd930cc5
SP
19132013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1914
881ebe89
SP
1915 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1916 definitions.
1917 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1918 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1919 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1920 definitions here.
1921 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1922 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1923 definitions.
1924 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1925 and ONE.
1926 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1927 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1928 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1929 definitions.
1930 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1931 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1932 definitions.
1933 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1934
dd930cc5
SP
1935 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1936
c19a9f89
DM
19372013-01-15 David S. Miller <davem@davemloft.net>
1938
1aa61767
DM
1939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1940 trunc{,f} to libm-sysdep_routes.
1941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1943 file.
1944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1946 file.
1947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1948 file.
1949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1951 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1952 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1953 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1954 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1955 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1956 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1957
c42d5e98
DM
1958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1959 nearbyint{,f} to libm-sysdep_routes.
1960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1962 New file.
1963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1964 file.
1965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1966 New file.
1967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1968 file.
1969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1971 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1972 file.
1973 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1974 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1975 file.
1976 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1977 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1978 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1979
c19a9f89
DM
1980 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1981 libc_feholdexcept and libc_fesetenv.
1982
357679d2
MF
19832013-01-15 Mike Frysinger <vapier@gentoo.org>
1984
1985 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1986
65a82e3d
DM
19872013-01-14 David S. Miller <davem@davemloft.net>
1988
8b954ab9
DM
1989 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1990 (SPARC_ASM_VIS2_IFUNC): Likewise.
1991 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1993 use of 'siam' instruction.
1994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1995 Likewise.
1996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1997 Likewise.
1998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1999 Likewise.
2000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2005 file.
2006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2007 file.
2008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2009 file.
2010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2011 file.
2012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2014 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2015 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2017 new VIS2 routines.
2018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2021 Likewise.
2022 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2027 routines to libm-sysdep_routines.
2028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2029
65a82e3d
DM
2030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2031 fdim/fdimf to libm-sysdep_routines.
2032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2033 file.
2034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2036 file.
2037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2040 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2041 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2042 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2043 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2044
e34ab705
SP
20452013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2046
2a91b573
SP
2047 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2048 to optimize copies.
2049
1066a534
SP
2050 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2053
e34ab705
SP
2054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2055 local variable MPTWO.
2056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2057 Likewise.
2058
aba5e596
MF
20592013-01-13 Mike Frysinger <vapier@gentoo.org>
2060
2061 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2062 GLOB_NOESCAPE.
2063
e557e9e5
MF
20642013-01-13 Mike Frysinger <vapier@gentoo.org>
2065
2066 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2067
0428cec9
MF
20682013-01-13 Mike Frysinger <vapier@gentoo.org>
2069
2070 * manual/pattern.texi (glob_t): Document gl_flags.
2071 (glob64_t): Likewise.
2072
8794a964
DM
20732013-01-11 David S. Miller <davem@davemloft.net>
2074
66438c3f
RM
2075 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2076 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2077 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2078 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2079 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2080 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2081 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2082 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2083 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2084 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2085 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2086 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2087 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2088
4ae4244d
DM
2089 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2090 sparc V9 rather than using V8 code.
2091 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2092 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2093
8794a964
DM
2094 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2095 Move to...
2096 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2097 Here.
2098
6270516e
RM
20992013-01-11 Roland McGrath <roland@hack.frob.com>
2100
2101 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2102 not in the main loop.
2103 * configure: Regenerated.
2104
6a57d931
JM
21052013-01-11 Joseph Myers <joseph@codesourcery.com>
2106
2107 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2108 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2109 to just #else.
2110 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2111 [!__GLIBC_HAVE_LONG_LONG] case.
2112 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2113 condition to just #else.
2114 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2115 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2116 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2117 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2118 unconditional.
2119 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2120 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2121 #elif condition to just #else.
2122 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2123 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2124 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2125 #elif condition to just #else.
2126
0e8529e9
SE
21272013-01-11 Steve Ellcey <sellcey@mips.com>
2128
2129 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2130 (EF_MIPS_ARCH_64): Fix value.
2131 (EF_MIPS_ARCH_32R2): New.
2132 (EF_MIPS_ARCH_64R2): New.
2133
740b3dbe
L
21342013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2135
2136 * Makeconfig (+link-pie-before-libc): New.
2137 (+link-pie-after-libc): Likewise.
2138 (+link-pie-tests): Likewise.
2139 (+link-pie): Rewritten.
2140 (link-before-libc): Remove $(config-LDFLAGS).
2141 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2142 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2143 (config-LDFLAGS): Renamed to ...
2144 (rtld-LDFLAGS): This.
2145 (rtld-tests-LDFLAGS): New macro.
2146 (link-libc-rpath-link): Likewise.
2147 (link-libc-tests-rpath-link): Likewise.
2148 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2149 (link-libc): Prepand $(link-libc-rpath-link).
2150 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2151 (test-program-prefix): New macro.
2152 (test-via-rtld-prefix): Likewise.
2153 (test-program-cmd): Likewise.
2154 (host-test-program-cmd): Likewise.
2155 * Makefile ($(common-objpfx)testrun.sh): Replace
2156 $(run-program-prefix) with $(test-program-prefix).
2157 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2158 $(rtld-LDFLAGS).
2159 ($(common-objpfx)shlib.lds): Likewise.
2160 (build-module-helper): Likewise.
2161 ($(common-objpfx)format.lds): Likewise.
2162 * Rules (binaries-pie-tests): New.
2163 (binaries-pie-notests): Likewise.
2164 (binaries-pie): Rewritten.
2165 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2166 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2167 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2168 (make-test-out): Replace $(host-built-program-cmd) with
2169 $(host-test-program-cmd).
2170 * config.make.in (build-hardcoded-path-in-tests): New variable.
2171 * configure.in (--enable-hardcoded-path-in-tests): New configure
2172 option.
2173 (hardcoded_path_in_tests): New AC_SUBST.
2174 * configure: Regenerated.
2175 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2176 $(built-program-cmd) with $(test-program-cmd).
2177 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2178 (test_program_cmd): This.
2179 * elf/Makefile ($(objpfx)order.out): Run test with
2180 $(test-program-prefix).
2181 ($(objpfx)order2.out): Likewise.
2182 ($(objpfx)tst-initorder.out): Likewise.
2183 ($(objpfx)tst-initorder2.out): Likewise.
2184 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2185 $(test-program-cmd).
2186 ($(objpfx)tst-array1-static.out): Likewise.
2187 ($(objpfx)tst-array2.out): Likewise.
2188 ($(objpfx)tst-array3.out): Likewise.
2189 ($(objpfx)tst-array4.out): Likewise.
2190 ($(objpfx)tst-array5.out): Likewise.
2191 ($(objpfx)tst-array5-static.out): Likewise.
2192 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2193 $(test-program-cmd).
2194 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2195 $(run-program-prefix) with $(test-program-prefix).
2196 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2197 (test_program_prefix): This.
2198 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2199 $(run-program-prefix) with $(test-program-prefix).
2200 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2201 (test_program_prefix): This.
2202 * iconvdata/tst-tables.sh: Likewise.
2203 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2204 $(run-program-prefix) with $(test-program-prefix).
2205 ($(objpfx)tst-translit.out): Likewise.
2206 ($(objpfx)tst-gettext2.out): Likewise.
2207 ($(objpfx)tst-gettext4.out): Likewise.
2208 ($(objpfx)tst-gettext6.out): Likewise.
2209 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2210 (test_program_prefix): This.
2211 * intl/tst-gettext2.sh: Likewise.
2212 * intl/tst-gettext4.sh Likewise.
2213 * intl/tst-gettext6.sh: Likewise.
2214 * intl/tst-translit.sh: Likewise.
2215 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2216 with $(test-program-cmd).
2217 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2218 $(run-program-prefix) with $(test-program-prefix).
2219 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2220 (test_program_prefix): This.
2221 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2222 $(run-program-prefix) with $(test-program-prefix).
2223 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2224 (test_program_prefix): This.
2225 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2226 * posix/Makefile ($(objpfx)globtest.out): Replace
2227 $(run-via-rtld-prefix) and $(test-wrapper) with
2228 $(test-program-prefix) and $(test-via-rtld-prefix).
2229 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2230 $(test-program-prefix).
2231 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2232 $(host-test-program-cmd).
2233 (tst-spawn-ARGS): Likewise.
2234 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2235 $(test-program-prefix).
2236 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2237 (test_via_rtld_prefix): This.
2238 (test_wrapper): Renamed to ...
2239 (test_program_prefix): This.
2240 (run_program_prefix): Replaced by test_program_prefix.
2241 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2242 (test_program_prefix): This.
2243 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2244 with $(host-test-program-cmd).
2245 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2246 $(run-program-prefix) with $(test-program-prefix).
2247 ($(objpfx)tst-printf.out): Likewise.
2248 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2249 $(test-program-cmd).
2250 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2251 (test_program_prefix): This.
2252 * stdio-common/tst-unbputc.sh: Likewise.
2253 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2254 $(run-program-prefix) with $(test-program-prefix).
2255 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2256 (test_program_prefix): This.
2257 * string/Makefile ($(objpfx)tst-svc.out): Replace
2258 $(built-program-cmd) with $(test-program-cmd).
2259
c6fe55cf
AJ
22602013-01-11 Andreas Jaeger <aj@suse.de>
2261
2262 [BZ #15003]
2263 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2264 value. Sync with Linux 3.7.
2265
9e6919c8
DM
22662013-01-10 David S. Miller <davem@davemloft.net>
2267
2268 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2269 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2270 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2271
1c9f1a02
RM
22722013-01-10 Roland McGrath <roland@hack.frob.com>
2273
2274 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2275 never set.
2276 * configure: Regenerated.
2277
b9de2dde
DM
22782013-01-10 David S. Miller <davem@davemloft.net>
2279
2280 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2281 sparc V9 rather than using V8 code.
2282 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2283 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2284
e7f68ef4
RM
22852013-01-10 Roland McGrath <roland@hack.frob.com>
2286
2287 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2288 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2289 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2290 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2291 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2292 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2293 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2294 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2295 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2296 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2297 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2298 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2299 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2300 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2301 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2302 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2303 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2304 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2305 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2306 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2307 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2308 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2309 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2310 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2311 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2312 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2313 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2314
5a47cc9c
DM
23152013-01-10 David S. Miller <davem@davemloft.net>
2316
2317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2318
4cf8f209
L
23192013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2320
2321 * posix/Makefile (tests-static): New variable.
2322 (tests): Add $(tests-static).
2323 (tst-exec-static-ARGS): New variable.
2324 (tst-spawn-static-ARGS): Likewise.
2325 * posix/tst-exec-static.c: New file.
2326 * posix/tst-spawn-static.c: Likewise.
2327 * posix/tst-exec.c: Support run directly.
2328 * posix/tst-spawn.c: Likewise.
2329
fed0faa1
JM
23302013-01-10 Joseph Myers <joseph@codesourcery.com>
2331
828beb13
JM
2332 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2333 long.
2334 * math/bits/mathcalls.h (llrint): Likewise.
2335 (llround): Likewise.
2336 * stdlib/stdlib.h (struct drand48_data): Likewise.
2337 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2338 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2339 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2340 Likewise.
2341 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2342 Likewise.
2343 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2344 (elf_greg_t): Likewise.
2345 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2346 (__jmp_buf): Likewise.
2347 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2348 definitions.
2349 (llrint): Likewise, for all definitions.
2350 (llrintl): Likewise.
2351
fed0faa1
JM
2352 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2353 Remove [__GNUC__] condition.
2354 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2355 condition to just [__USE_ISOC99].
2356 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2357
1a20cb20
L
23582013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2359
2360 [BZ #14200]
2361 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2362 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2363 defined.
2364 (_POSIX_V6_ILP32_OFF32): Likewise.
2365 (_XBS5_ILP32_OFF32): Likewise.
2366 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2367 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2368
751b85f7
SP
23692013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2370
7490eb81
SP
2371 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2372
751b85f7
SP
2373 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2374 doubles __mpexp_twomm1. Adjust usage.
2375 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2376 Remove.
2377
988197f0
AS
23782013-01-10 Andreas Schwab <schwab@suse.de>
2379
2380 [BZ #14964]
2381 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2382 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2383
e83d7298
DM
23842013-01-09 David S. Miller <davem@davemloft.net>
2385
034ed64b 2386 [BZ #15003]
e83d7298
DM
2387 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2388 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2389 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2390 TCP_FASTOPEN): Define.
2391 (tcp_repair_opt): New structure.
2392 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2393 enum values.
2394 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2395 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2396 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2397 (tcp_cookie_transactions): New structure.
2398
d5e0b9bd
AB
23992013-01-09 Anton Blanchard <anton@samba.org>
2400
2401 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2402 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2403 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2404 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2405
0c07e3ea
JM
24062013-01-09 Joseph Myers <joseph@codesourcery.com>
2407
2408 * include/features.h (__USE_ANSI): Remove.
2409
232f7002
RM
24102013-01-09 Roland McGrath <roland@hack.frob.com>
2411
ad98e30c
RM
2412 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2413
232f7002
RM
2414 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2415
950c99ca
SP
24162013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2417
b5792741
SP
2418 * sysdeps/s390/fpu/libm-test-ulps: Update.
2419
47cf2278
SP
2420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2421
950c99ca
SP
2422 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2423 (__acr): Likewise.
2424 (__cpy): Likewise.
2425 (norm): Likewise.
2426 (denorm): Likewise.
2427 (__mp_dbl): Likewise.
2428 (__dbl_mp): Likewise.
2429 (add_magnitudes): Likewise.
2430 (sub_magnitudes): Likewise.
2431 (__add): Likewise.
2432 (__sub): Likewise.
2433 (__mul): Likewise.
2434 (__inv): Likewise.
2435 (__dvd): Likewise.
2436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2437 (__acr): Likewise.
2438 (__cpy): Likewise.
2439 (norm): Likewise.
2440 (denorm): Likewise.
2441 (__mp_dbl): Likewise.
2442 (__dbl_mp): Likewise.
2443 (add_magnitudes): Likewise.
2444 (sub_magnitudes): Likewise.
2445 (__add): Likewise.
2446 (__sub): Likewise.
2447 (__mul): Likewise.
2448 (__inv): Likewise.
2449 (__dvd): Likewise.
2450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2451 (__acr): Likewise.
2452 (__cpy): Likewise.
2453 (norm): Likewise.
2454 (denorm): Likewise.
2455 (__mp_dbl): Likewise.
2456 (__dbl_mp): Likewise.
2457 (add_magnitudes): Likewise.
2458 (sub_magnitudes): Likewise.
2459 (__add): Likewise.
2460 (__sub): Likewise.
2461 (__mul): Likewise.
2462 (__inv): Likewise.
2463 (__dvd): Likewise.
2464
eede9df9
JM
24652013-01-08 Joseph Myers <joseph@codesourcery.com>
2466
2467 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2468 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2469 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2470 2 && __USE_EXTERN_INLINES]: Likewise.
2471
c40ea3d9
AJ
24722013-01-08 Andreas Jaeger <aj@suse.de>
2473
2474 [BZ# 14985]
2475 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2476 Remove.
2477 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2478 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2479
2ccdea26
AB
24802013-01-07 Anton Blanchard <anton@samba.org>
2481
2482 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2483 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2484 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2485 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2486 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2487 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2488 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2489 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2491 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2492 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2493 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2494 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2495 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2496 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2497 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2498 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2499 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2500 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2501 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2502 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2503 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2504 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2505 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2506 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2507 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2508 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2509 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2510 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2511 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2512 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2514 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2515 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2516 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2517 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2518 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2519 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2520 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2521 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2522 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2523 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2524 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2525
a9708fed
JM
25262013-01-07 Joseph Myers <joseph@codesourcery.com>
2527
375607b9
JM
2528 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2529 (__MALLOC_PMT): Likewise.
2530 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2531 [__GNUC__], only on [_LIBC].
2532 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2533 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2534 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2535 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2536 forward declaration.
2537 (realloc_hook_ini): Likewise.
2538 (memalign_hook_ini): Likewise.
2539 (__libc_memalign): Do not use __MALLOC_PMT in variable
2540 declaration.
2541 (__libc_valloc): Likewise.
2542 (__libc_pvalloc): Likewise.
2543 (__libc_calloc): Likewise.
2544 (__posix_memalign): Likewise.
2545
a9708fed
JM
2546 [BZ #14996]
2547 * math/s_casinh.c: Include <float.h>.
2548 (__casinh): Do not do computation with squaring and square root
2549 for large arguments.
2550 * math/s_casinhf.c: Include <float.h>.
2551 (__casinhf): Do not do computation with squaring and square root
2552 for large arguments.
2553 * math/s_casinhl.c: Include <float.h>.
2554 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2555 (__casinhl): Do not do computation with squaring and square root
2556 for large arguments.
2557 * math/libm-test.inc (casin_test): Add more tests.
2558 (casinh_test): Likewise.
2559 * sysdeps/i386/fpu/libm-test-ulps: Update.
2560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2561
afec409a
L
25622013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2563
2564 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2565 (__x86_64_raw_data_cache_size): Likewise.
2566 (__x86_64_data_cache_size_half): Likewise.
2567 (__x86_64_raw_data_cache_size_half): Likewise.
2568 (__x86_64_shared_cache_size): Likewise.
2569 (__x86_64_raw_shared_cache_size): Likewise.
2570 (__x86_64_shared_cache_size_half): Likewise.
2571 (__x86_64_raw_shared_cache_size_half): Likewise.
2572 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2573 to ...
2574 (__x86_data_cache_size): This.
2575 (__x86_64_raw_data_cache_size): Renamed to ...
2576 (__x86_raw_data_cache_size): This.
2577 (__x86_64_data_cache_size_half): Renamed to ...
2578 (__x86_data_cache_size_half): This.
2579 (__x86_64_raw_data_cache_size_half): Renamed to ...
2580 (__x86_raw_data_cache_size_half): This.
2581 (__x86_64_shared_cache_size): Renamed to ...
2582 (__x86_shared_cache_size): This.
2583 (__x86_64_raw_shared_cache_size): Renamed to ...
2584 (__x86_raw_shared_cache_size): This.
2585 (__x86_64_shared_cache_size_half): Renamed to ...
2586 (__x86_shared_cache_size_half): This.
2587 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2588 (__x86_raw_shared_cache_size_half): This.
2589 * sysdeps/x86_64/memcpy.S: Updated.
2590 * sysdeps/x86_64/memset.S: Likewise.
2591 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2592 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2593 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2594
0b3986d0
DM
25952013-01-04 David S. Miller <davem@davemloft.net>
2596
2597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2598
e47686e9
AS
25992013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2600
d643bac1
AS
2601 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2602 1 to avoid redefinition warning.
2603 (__USE_GNU): Don't define.
2604 (init_signaling_nan): Protoize.
2605
e47686e9
AS
2606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2607
b18decba
SP
26082013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2609
fffb407f
SP
2610 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2612 (__cpymn): Likewise.
2613 (norm): Remove commented code.
2614 (denorm): Likewise.
2615 (__mp_dbl): Likewise.
2616 (__inv): Likewise.
2617 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2618 (__cpymn): Likewise.
2619 (norm): Remove commented code.
2620 (denorm): Likewise.
2621 (__mp_dbl): Likewise.
2622 (__inv): Likewise.
2623
b18decba
SP
2624 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2625 mp_no value for 1.0 and 2.0.
2626 (norm): Use RADIXI instead of radixi.d.
2627 (denorm): Likewise.
2628 (__mul): Use 0.0 instead of zero.d.
2629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2630 mp_no value for 1.0 and 2.0.
2631 (norm): Use RADIXI instead of radixi.d.
2632 (denorm): Likewise.
2633 (__mul): Use 0.0 instead of zero.d.
2634
cdc1c96f
JM
26352013-01-04 Joseph Myers <joseph@codesourcery.com>
2636
2637 [BZ #14994]
2638 * math/s_casinh.c (__casinh): Reduce finite argument to first
2639 quadrant then set signs of results at the end.
2640 * math/s_casinhf.c (__casinhf): Likewise.
2641 * math/s_casinhl.c (__casinhl): Likewise.
2642 * math/libm-test.inc (casin_test): Add more tests.
2643 (casinh_test): Likewise.
2644 * sysdeps/i386/fpu/libm-test-ulps: Update.
2645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2646
302913e1
SP
26472013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2648
6420d207
SP
2649 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2650
a9e48ab4
SP
2651 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2652
b7837264
SP
2653 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2654 declarations.
2655 (denorm): Likewise.
2656 (__mp_dbl): Likewise.
2657 (__inv): Likewise.
2658
f8af25d2
SP
2659 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2660 and adjust the header comment.
2661
302913e1
SP
2662 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2663 variable name from declaration.
2664
5d7dd1ca
L
26652013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2666
2667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2668 Initialize COMMON_CPUID_INDEX_7 element.
2669 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2670 (CPUID_RTM): Likewise.
2671 (HAS_RTM): Likewise.
2672 (COMMON_CPUID_INDEX_7): New enum.
2673
2f5f40f4
AS
26742013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2675
2676 [BZ #14981]
2677 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2678 size is zero, record memory as freed.
2679
4056f4a0
AJ
26802013-01-03 Andreas Jaeger <aj@suse.de>
2681
2682 * po/ia.po: Add new Interlingua translation.
2683
ab15736f 26842012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2685
2686 * locale/programs/localedef.c: Fix description of '--posix' flag.
2687
568035b7
JM
26882013-01-02 Joseph Myers <joseph@codesourcery.com>
2689
e6898b8d
JM
2690 * NEWS: Update dates in second copyright notice.
2691 * README: Update copyright dates in example.
2692 * manual/libc.texinfo: Update copyright dates.
2693 * scripts/test-installation.pl: Update copyright date in --version
2694 output.
2695
0e2f9562
JM
2696 * hurd/ctty-input.c: Fix copyright notice formatting.
2697 * hurd/ctty-output.c: Likewise.
2698 * hurd/dtable.c: Likewise.
2699 * hurd/hurd-raise.c: Likewise.
2700 * hurd/hurdprio.c: Likewise.
2701 * hurd/msgportdemux.c: Likewise.
2702 * misc/sys/file.h: Likewise.
2703 * misc/sys/ioctl.h: Likewise.
2704 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2705 * sysdeps/mach/hurd/chdir.c: Likewise.
2706 * sysdeps/mach/hurd/fchdir.c: Likewise.
2707 * sysdeps/mach/hurd/rename.c: Likewise.
2708 * sysdeps/mach/hurd/rmdir.c: Likewise.
2709 * sysdeps/mach/hurd/seekdir.c: Likewise.
2710 * sysdeps/mach/hurd/setsid.c: Likewise.
2711 * sysdeps/posix/wait3.c: Likewise.
2712
568035b7
JM
2713 * All files with FSF copyright notices: Update copyright dates
2714 using scripts/update-copyrights.
2715 * intl/plural.c: Regenerated.
2716 * locale/programs/charmap-kw.h: Likewise.
2717 * locale/programs/locfile-kw.h: Likewise.
2718
da08f647
SP
27192013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2720
0f5477af
SP
2721 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2722 four values.
2723
44e0d4c2
SP
2724 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2725 calculation loop and add branch prediction.
2726
4d55b4e5
SP
2727 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2728 check access beyond bounds of m1np.
2729
da08f647
SP
2730 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2731 MPTWO.
2732 (__inv): Remove local variable MPTWO to use the global
2733 constant.
2734 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2735 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2736 variable MPTWO.
2737 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2738 MP3HALFS static const.
2739
8e051029
DM
27402013-01-01 David S. Miller <davem@davemloft.net>
2741
2742 * po/ca.po: Update from translation team.
2743
f4cf5f2d
JM
27442013-01-01 Joseph Myers <joseph@codesourcery.com>
2745
2746 * scripts/update-copyrights: New file.
2747 * Makeconfig: Reformat copyright notice.
2748 * ctype/ctype.h: Likewise.
2749 * debug/swprintf_chk.c: Likewise.
2750 * elf/dl-cache.c: Likewise.
2751 * elf/dl-debug.c: Likewise.
2752 * elf/dl-object.c: Likewise.
2753 * grp/initgroups.c: Likewise.
2754 * hurd/Makefile: Likewise.
2755 * hurd/hurd/signal.h: Likewise.
2756 * hurd/hurdfault.c: Likewise.
2757 * hurd/hurdioctl.c: Likewise.
2758 * hurd/hurdlookup.c: Likewise.
2759 * hurd/intr-msg.c: Likewise.
2760 * iconv/gconv_open.c: Likewise.
2761 * libio/swprintf.c: Likewise.
2762 * locale/lc-ctype.c: Likewise.
2763 * locale/nl_langinfo.c: Likewise.
2764 * mach/Machrules: Likewise.
2765 * mach/Makefile: Likewise.
2766 * malloc/obstack.h: Likewise.
2767 * manual/Makefile: Likewise.
2768 * manual/tsort.awk: Likewise.
2769 * misc/bits/stab.def: Likewise.
2770 * nis/nis_print_group_entry.c: Likewise.
2771 * nis/nis_table.c: Likewise.
2772 * nis/nss_compat/compat-pwd.c: Likewise.
2773 * nis/nss_compat/compat-spwd.c: Likewise.
2774 * po/Makefile: Likewise.
2775 * posix/fnmatch.c: Likewise.
2776 * posix/regex.h: Likewise.
2777 * resolv/Makefile: Likewise.
2778 * resolv/nss_dns/dns-network.c: Likewise.
2779 * resolv/res_hconf.c: Likewise.
2780 * scripts/gen-sorted.awk: Likewise.
2781 * soft-fp/soft-fp.h: Likewise.
2782 * stdio-common/printf.h: Likewise.
2783 * stdlib/monetary.h: Likewise.
2784 * stdlib/random.c: Likewise.
2785 * stdlib/random_r.c: Likewise.
2786 * sysdeps/generic/Makefile: Likewise.
2787 * sysdeps/gnu/Makefile: Likewise.
2788 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2789 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2790 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2791 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2792 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2793 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2794 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2795 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2796 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2797 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2798 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2799 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2800 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2801 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2802 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2803 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2804 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2805 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2806 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2807 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2808 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2809 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2810 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2811 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2812 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2813 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2814 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2815 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2816 * sysdeps/mach/hurd/errnos.awk: Likewise.
2817 * sysdeps/mach/hurd/fork.c: Likewise.
2818 * sysdeps/mach/hurd/getcwd.c: Likewise.
2819 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2820 * sysdeps/mach/hurd/mmap.c: Likewise.
2821 * sysdeps/mach/hurd/utimes.c: Likewise.
2822 * sysdeps/mach/hurd/xmknod.c: Likewise.
2823 * sysdeps/posix/profil.c: Likewise.
2824 * sysdeps/posix/readdir_r.c: Likewise.
2825 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2826 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2827 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2828 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2830 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2831 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2832 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2834 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2835 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2836 * sysdeps/pthread/lio_listio.c: Likewise.
2837 * sysdeps/sparc/dl-procinfo.h: Likewise.
2838 * sysdeps/unix/i386/sysdep.S: Likewise.
2839 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2840 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2841 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2842 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2844 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2845 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2846 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2847 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2848 * sysdeps/wordsize-32/divdi3.c: Likewise.
2849 * time/sys/time.h: Likewise.
2850 * wcsmbs/Makefile: Likewise.
2851
0549fbba
DM
28522013-01-01 David S. Miller <davem@davemloft.net>
2853
a141f1a7
DM
2854 * po/fr.po: Update from translation team.
2855
0549fbba
DM
2856 * catgets/gencat.c: Update copyright year.
2857 * csu/version.c: Likewise.
2858 * debug/catchsegv.sh: Likewise.
2859 * debug/pcprofiledump.c: Likewise.
2860 * debug/xtrace.sh: Likewise.
2861 * elf/ldconfig.c: Likewise.
2862 * elf/ldd.bash.in: Likewise.
2863 * elf/pldd.c: Likewise.
2864 * elf/sotruss.ksh: Likewise.
2865 * elf/sprof.c: Likewise.
2866 * iconv/iconv_prog.c: Likewise.
2867 * iconv/iconvconfig.c: Likewise.
2868 * locale/programs/locale.c: Likewise.
2869 * locale/programs/localedef.c: Likewise.
2870 * login/programs/pt_chown.c: Likewise.
2871 * malloc/memusage.sh: Likewise.
2872 * malloc/memusagestat.c: Likewise.
2873 * malloc/mtrace.pl: Likewise.
2874 * nscd/nscd.c: Likewise.
2875 * nss/getent.c: Likewise.
2876 * nss/makedb.c: Likewise.
2877 * posix/getconf.c: Likewise.
2878
18ea052c
SP
28792012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2880
2881 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2882 numbers.
2883
9c89fca6
MF
28842012-12-30 Mike Frysinger <vapier@gentoo.org>
2885
2886 * math/bits/mathcalls.h (modf): Use __nonnull.
2887
085ec079
SP
28882012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2889
2890 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2891 (split): Use macro CN instead of the bare value.
2892 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2893 could be used.
2894 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2895 instead of the bare value.
2896 (power1): Likewise.
2897
6d9f97e1
SP
28982012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2899
d63f73be
SP
2900 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2901 __ATAN_TWOM.
2902 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2903
6d9f97e1
SP
2904 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2905 their values.
2906 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2907 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2908 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2909 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2910
4c4febf5
AJ
29112012-12-28 Andreas Jaeger <aj@suse.de>
2912
af5843ef
AJ
2913 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2914 values are from Linux 3.7.
2915
4c4febf5
AJ
2916 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2917 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2918
99136f82
SP
29192012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2920
2f216c3c 2921 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2922 TRUE case.
2923
99136f82
SP
2924 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2925 (norm): Likewise.
2926 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2927 variables with preprocessor constants.
2928 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2929 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2930 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2931
7fffbdff
BH
29322012-12-27 Bruno Haible <bruno@clisp.org>
2933
2934 [BZ #14317]
2935 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2936 only if needed.
2937
b76eb5f0
SP
29382012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2939
31a7fe5c
SP
2940 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2941 and use variable directly.
2942 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2943
b76eb5f0
SP
2944 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2945 MPONE.
2946 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2947 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2948 variable MPONE.
2949 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2951 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2952 include directive. Remove local variable MPONE.
2953 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2954 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2955 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2956
2c8bfe7d
DM
29572012-12-25 David S. Miller <davem@davemloft.net>
2958
2959 * version.h (RELEASE): Set to "development".
2960 (VERSION): Set to "2.17.90".
2961 * NEWS: Add 2.18 section.
2962
147d03b0
DM
29632012-12-21 David S. Miller <davem@davemloft.net>
2964
2965 * po/hr.po: Update from translation team.
2966
a8ebb2b9
AK
29672012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2968
2969 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2970
95b4f1b6
SE
29712012-12-19 Steve Ellcey <sellcey@mips.com>
2972
b2d94007 2973 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2974
cedb2a90
MS
29752012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2976
2977 * manual/contrib.texi (Contributors): Spelling correction.
2978
bbf527d6
DM
29792012-12-15 David S. Miller <davem@davemloft.net>
2980
2981 * po/ru.po: Update from translation team.
2982
bc38c906
DM
29832012-12-13 David S. Miller <davem@davemloft.net>
2984
85429b1a
DM
2985 * NEWS: Mention IFUNC testsuite enhancements.
2986
d283e353
DM
2987 * po/pl.po: Update from translation team.
2988 * po/bg.po: Likewise.
2989
bc38c906
DM
2990 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2991 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2992
a181b0d7
DM
29932012-12-11 David S. Miller <davem@davemloft.net>
2994
4641d57e
DM
2995 * po/sv.po: Update from translation team.
2996
f7bc6495
DM
2997 * po/vi.po: Update from translation team.
2998
6fc9048f
DM
2999 * po/cs.po: Update from translation team.
3000
a181b0d7
DM
3001 * po/de.po: Update from translation team.
3002 * po/eo.po: Likewise.
3003 * po/nl.po: Likewise.
3004
f70bfe80
SP
30052012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3006
3c8b4190
SP
3007 [BZ #14246]
3008 * manual/argp.texi (Argp Helper Functions): Move node to follow
3009 Argp Parsing State.
3010
f70bfe80
SP
3011 [BZ #14872]
3012 * manual/conf.texi (Limits on File System Capacity): Mention if
3013 terminating null is included in the max size.
3014
188f0adf
AJ
30152012-12-10 Andreas Jaeger <aj@suse.de>
3016
3017 * po/cs.po: Update from translation team.
3018
56e7d3ad
SP
30192012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3020
3021 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3022 void pointer and cast to uintptr_t.
3023 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3024 path.
3025 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3026 * sysdeps/s390/s390-64/memset.S: Likewise.
3027
76f2d2ea 30282012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
3029
3030 [BZ #14833]
3031 * menual/message.texi (Message Translation): Fix typos.
3032 (Helper programs for gettext): Likewise.
3033
67cbf9a2
AS
30342012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3035
3036 [BZ #14898]
3037 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3038 Change to -1.
3039
682d0e9a
DM
30402012-12-07 David S. Miller <davem@davemloft.net>
3041
3042 * po/libc.pot: Update.
3043
573cd484
RH
30442012-12-07 Richard Henderson <rth@redhat.com>
3045
7e9da188 3046 [BZ #10114]
573cd484
RH
3047 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3048 normal/normal case to before the switch.
3049 (_FP_DIV): Likewise.
3050
e933a943
MF
30512012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3052 Mike Frysinger <vapier@gentoo.org>
3053
3054 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3055 check for __NR_fadvise64_64.
3056
82123268
CM
30572012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3058
3059 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3060 0, not just to plain "0" as a statement.
3061 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3062 with cw.
3063
d9814526
JM
30642012-12-06 Joseph Myers <joseph@codesourcery.com>
3065
3066 * NEWS: Use sourceware.org in Bugzilla URL.
3067
7728c574
SP
30682012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3069
f16946dd
SP
3070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3071 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3072
5704bbcb
SP
3073 * stdio-common/tst-put-error.c (do_test): Add newline to the
3074 padded test to ensure flush.
3075
17aa0516
JL
30762012-12-05 Jeff Law <law@redhat.com>
3077
3078 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3079
363313b5
JM
30802012-12-05 Joseph Myers <joseph@codesourcery.com>
3081
effbd42a
JM
3082 * README: Don't refer to ports add-on as distributed separately.
3083 Mention AArch64 in list of systems supported in the ports add-on.
3084
87600365
JM
3085 * LICENSES: Add more non-FSF copyright and license notices.
3086
a0d7066a
JM
3087 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3088 ((unused)).
3089
66ca5a5b
JM
3090 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3091
363313b5
JM
3092 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3093 10000 as width of padded output.
3094
b37984ad
JM
30952012-12-04 Joseph Myers <joseph@codesourcery.com>
3096
9003570a
JM
3097 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3098
b37984ad
JM
3099 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3100 variable LX with __attribute__ ((unused)).
3101 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3102 Likewise.
3103 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3104 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3105 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3106 with __attribute__ ((unused)).
3107
c8df52ec
DM
31082012-12-04 David S. Miller <davem@abraco.davemloft.net>
3109
3110 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3111
b3b099af
JM
31122012-12-04 Joseph Myers <joseph@codesourcery.com>
3113
c33aa6e3
JM
3114 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3115 (CFLAGS-nldbl-acos.c): New variable.
3116 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3117 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3118 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3119 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3120 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3121 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3122 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3123 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3124 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3125 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3126 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3127 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3128 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3129 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3130 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3131 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3132 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3133 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3134 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3135 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3136 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3137 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3138 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3139 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3140 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3141 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3142 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3143 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3144 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3145 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3146 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3147 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3148 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3149 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3150 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3151 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3152 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3153 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3154 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3155 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3156 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3157 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3158 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3159 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3160 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3161 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3162 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3163 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3164 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3165 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3166 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3167 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3168 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3169 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3170 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3171 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3172 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3173 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3174 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3175 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3176 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3177 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3178 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3179 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3180 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3181 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3182 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3183 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3184 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3185 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3186 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3187 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3188 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3189 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3190 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3191 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3192 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3193 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3194 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3195 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3196 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3197 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3198 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3199 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3200 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3201 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3202 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3203 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3204 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3205 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3206 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3207 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3208 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3209 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3210 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3211 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3212 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3213
20f0018d
JM
3214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3215 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3216
b3b099af
JM
3217 [BZ #14914]
3218 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3219 whole low double instead of just low 47 bits when splitting values
3220 into two parts.
3221
029264d1
AM
32222012-12-03 Allan McRae <allan@archlinux.org>
3223
3224 * manual/stdio.texi (Predefined Printf Handlers): Remove
3225 @hsep and @vsep usage.
3226
c9d6789e
MF
32272012-12-03 Mike Frysinger <vapier@gentoo.org>
3228
3229 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3230 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3231
4b7634a5
JL
32322012-12-03 Jeff Law <law@redhat.com>
3233
3234 * time/sys/time.h (settimeofday): Do not mark TV argument
3235 as __nonnull.
3236
eb6cbd24
MF
32372012-12-01 Mike Frysinger <vapier@gentoo.org>
3238
3239 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3240 when currently writing and seek to current position when not.
3241 * libio/Makefile (tests): Remove bug-fclose1.
3242 * libio/bug-fclose1.c: Delete.
3243
f638872a
JM
32442012-12-01 Joseph Myers <joseph@codesourcery.com>
3245
3246 * manual/arith.texi (feenableexcept): Fix typo.
3247 (fedisableexcept): Likewise.
3248
48085d14
RM
32492012-11-30 Roland McGrath <roland@hack.frob.com>
3250
3251 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3252 second, differently-typed declaration, rather than a cast.
3253
1a538b9f
SP
32542012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3255
3256 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3257 * include/rpc/svc.h: ... here.
3258
d07f2ff1 32592012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3260
3261 [BZ #13013]
3262 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3263 depending n and resplen2 to catch cases where answer
3264 equals answerp2.
3265
c93ec1f0
CD
32662012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3267
3268 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3269 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3270
37db69de
MF
32712012-11-29 Mike Frysinger <vapier@gentoo.org>
3272
3273 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3274
e10c4e4f
RM
32752012-11-29 Roland McGrath <roland@hack.frob.com>
3276
3277 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3278
2af1b328
JL
32792012-11-28 Jeff Law <law@redhat.com>
3280
3281 [BZ #13761]
3282 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3283 dataset_temporary. Track alloca usage into alloca_used.
3284 If dataset is large allocate and release it via malloc/free.
3285
111db5b1
FW
32862012-06-04 Florian Weimer <fweimer@redhat.com>
3287
f06cc227 3288 [BZ #14197]
111db5b1
FW
3289 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3290
dd694abd
DM
32912012-11-28 David S. Miller <davem@davemloft.net>
3292
3293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3294
9984dd01
JM
32952012-11-28 Joseph Myers <joseph@codesourcery.com>
3296
3297 [BZ #14803]
3298 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3299 of pi/2 rounded to nearest to 64 bits.
3300 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3301 nearest to 64 bits.
3302 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3303 bits.
3304
14bc93a9
JL
33052012-11-28 Jeff Law <law@redhat.com>
3306 Martin Osvald <mosvald@redhat.com>
3307
3308 [BZ #14889]
3309 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3310 * sunrpc/svc.c: Include time.h.
3311 (__svc_accept_failed): New function.
3312 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3313 any reason other than EINTR, call __svc_accept_failed.
3314 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3315 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3316
e3c6aa3a
AS
33172012-11-28 Andreas Schwab <schwab@suse.de>
3318
3319 * scripts/abilist.awk: Also handle indirect functions in .opd
3320 section.
3321
1bead169
JM
33222012-11-28 Joseph Myers <joseph@codesourcery.com>
3323
3324 [BZ #13881]
3325 * sysdeps/x86/fpu/powl_helper.c: New file.
3326 * sysdeps/x86/fpu/Makefile: Likewise.
3327 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3328 (p3): New object.
3329 (__ieee754_powl): Use __powl_helper for finite arguments except
3330 integer exponents below 8.
3331 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3332 (p3): New object.
3333 (__ieee754_powl): Use __powl_helper for finite arguments except
3334 integer exponents below 8.
3335 * math/libm-test.inc (pow_test): Add more tests and enable some
3336 previously disabled tests.
3337 * sysdeps/i386/fpu/libm-test-ulps: Update.
3338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3339
0817d63d
SP
33402012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3341 Carlos O'Donell <carlos_odonell@mentor.com>
3342
3343 * nss/makedb.c (is_prime): Assert that input is odd and greater
3344 than 4. Note that fact in a comment too.
3345 (next_prime): Add 4 to input.
3346
de2fd463
SP
33472012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3348
3349 [BZ #11741]
3350 * libio/Makefile (tests): Add test case tst-fwrite-error.
3351 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3352 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3353 * libio/tst-fwrite-error.c: New test case.
3354
c515fb51
L
33552012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3356
3357 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3358 before casting to void *.
3359 * include/libc-internal.h (__pointer_type): New macro.
3360 (__integer_if_pointer_type_sub): Likewise.
3361 (__integer_if_pointer_type): Likewise.
3362 (cast_to_integer): Likewise.
3363 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3364 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3365 before casting to atomic64_t.
3366 (atomic_exchange_acq): Likewise.
3367 (__arch_exchange_and_add_body): Likewise.
3368 (__arch_add_body): Likewise.
3369 (atomic_add_negative): Likewise.
3370 (atomic_add_zero): Likewise.
3371
4cf77aa9
JM
33722012-11-26 Joseph Myers <joseph@codesourcery.com>
3373
3374 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3375 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3376 (add_fdes): Likewise.
3377 (linear_search_fdes): Likewise.
3378 (binary_search_unencoded_fdes): Likewise.
3379
d260b3b4
AS
33802012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3381
3382 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3383
67060746
AC
33842012-11-24 Adam Conrad <adconrad@0c3.net>
3385
3386 * configure.in: Autodetect C++ header directories.
3387 * configure: Regenerated.
3388
800938a1
MF
33892012-11-23 Mike Frysinger <vapier@gentoo.org>
3390
3391 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3392
4e6e34e6
AS
33932012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3394
3395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3396
7c7feb47
JM
33972012-11-22 Joseph Myers <joseph@codesourcery.com>
3398
7184dcdf
JM
3399 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3400 LDBL_MANT_DIG == 106]: Disable some tests.
3401 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3402 Likewise.
3403 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3404 Likewise.
3405
0a42601f
JM
3406 [BZ #14871]
3407 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3408 input for small inputs. Return +/- pi/2 for large inputs.
3409 * math/libm-test.inc (atan_test): Add more tests.
3410
79c9b9fe
JM
3411 * sysdeps/generic/unwind-dw2-fde-glibc.c
3412 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3413 __attribute__ ((unused)).
3414
c60d3bf2
JM
3415 [BZ #14645]
3416 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3417 x * y if x and y are nonzero and z is zero.
3418
ef1e0867
JM
3419 [BZ #14811]
3420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3421 nonzero exponents with absolute value below 0x1p-117 to +/-
3422 0x1p-117.
3423
1468ded3
JM
3424 [BZ #14869]
3425 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3426 up arguments below 2**-450, not just those below 2**-500.
3427 * math/libm-test.inc (hypot_test): Add another test.
3428
8e27e3cc
JM
3429 [BZ #14868]
3430 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3431 Return a+b for ratio over 2**120, not 2**60.
3432 * math/libm-test.inc (hypot_test): Add another test.
3433
c9c0279b
JM
3434 * math/libm-test.inc (clog_test): Use
3435 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3436 (clog10_test): Likewise.
3437
7c7feb47
JM
3438 [BZ #6778]
3439 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3440
fff1530e
AS
34412012-11-22 Andreas Schwab <schwab@suse.de>
3442
3443 * sysdeps/i386/fpu/libm-test-ulps: Update.
3444
94558d30
PT
34452012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3446
3447 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3448 printf output with newline.
3449
7e1be741
L
34502012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3451
6bfea974
L
3452 [BZ #14865]
3453 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3454 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3455 -z nodlopen, -z initfirst and -z execstack support.
3456 * configure: Regenerated.
3457
7e1be741
L
3458 * elf/elf.h (DF_1_NODIRECT): New macro.
3459 (DF_1_IGNMULDEF): Likewise.
3460 (DF_1_NOKSYMS): Likewise.
3461 (DF_1_NOHDR): Likewise.
3462 (DF_1_EDITED): Likewise.
3463 (DF_1_NORELOC): Likewise.
3464 (DF_1_SYMINTPOSE): Likewise.
3465 (DF_1_GLOBAUDIT): Likewise.
3466 (DF_1_SINGLETON): Likewise.
3467 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3468 DT_1_SUPPORTED_MASK bits.
3469 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3470
105ce2ce
CD
34712012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3472
3473 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3474
123be9de
TS
34752012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3476
d072f3f7
TS
3477 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3478 macro.
3479
123be9de
TS
3480 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3481 (sendmmsg): Move declarations...
3482 * socket/sys/socket.h: ... here.
3483 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3484 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3485 include it from...
3486 * socket/recvmmsg.c: ... this new file.
3487 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3488 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3489 definition of __sendmmsg hidden.
3490 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3491 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3492 Move ENOSYS stub into and include it from...
3493 * socket/sendmmsg.c: ... this new file.
3494 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3495 (sysdep_routines): Move recvmmsg and sendmmsg...
3496 * socket/Makefile (routines): ... here.
3497 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3498 (GLIBC_PRIVATE): Add __sendmmsg.
3499 * include/sys/socket.h (__sendmmsg): Add declarations.
3500 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3501 sendmmsg.
3502
cf9a5d18
JM
35032012-11-20 Joseph Myers <joseph@codesourcery.com>
3504
3505 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3506 variable I1 with __attribute__ ((unused)).
3507 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3508
ecd4caf9
JM
35092012-11-19 Joseph Myers <joseph@codesourcery.com>
3510
be14d48f
JM
3511 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3512 DUMMY variables with __attribute__ ((unused)).
3513
ecd4caf9
JM
3514 * bits/byteswap.h: Include <bits/types.h>.
3515 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3516
986cab95
PT
35172012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3518
3519 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3520 string_t. Do not manually set errno.
3521 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3522 length with __strnlen. Make sure to both set errno and return it on
3523 failure.
3524
6d33cc9d
DM
35252012-11-19 David S. Miller <davem@davemloft.net>
3526
3527 With help from Joseph Myers.
3528 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3529 very large arguments properly.
3530 * math/libm-test.inc (atan_test): New tests.
3531 (atan2_test): New tests.
3532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3534
ee663277
JM
35352012-11-19 Joseph Myers <joseph@codesourcery.com>
3536
877f2d8e
JM
3537 [BZ #14856]
3538 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3539 Define to 3.
3540
116fc08a
JM
3541 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3542 [POSIX] (EADDRNOTAVAIL): Likewise.
3543 [POSIX] (EAFNOSUPPORT): Likewise.
3544 [POSIX] (EALREADY): Likewise.
3545 [POSIX] (ECONNABORTED): Likewise.
3546 [POSIX] (ECONNREFUSED): Likewise.
3547 [POSIX] (ECONNRESET): Likewise.
3548 [POSIX] (EDESTADDRREQ): Likewise.
3549 [POSIX] (EDQUOT): Likewise.
3550 [POSIX] (EHOSTUNREACH): Likewise.
3551 [POSIX] (EIDRM): Likewise.
3552 [POSIX] (EISCONN): Likewise.
3553 [POSIX] (ELOOP): Likewise.
3554 [POSIX] (EMULTIHOP): Likewise.
3555 [POSIX] (ENETDOWN): Likewise.
3556 [POSIX] (ENETUNREACH): Likewise.
3557 [POSIX] (ENOBUFS): Likewise.
3558 [POSIX] (ENODATA): Likewise.
3559 [POSIX] (ENOLINK): Likewise.
3560 [POSIX] (ENOMSG): Likewise.
3561 [POSIX] (ENOPROTOOPT): Likewise.
3562 [POSIX] (ENOSR): Likewise.
3563 [POSIX] (ENOSTR): Likewise.
3564 [POSIX] (ENOTCONN): Likewise.
3565 [POSIX] (ENOTSOCK): Likewise.
3566 [POSIX] (EOPNOTSUPP): Likewise.
3567 [POSIX] (EOVERFLOW): Likewise.
3568 [POSIX] (EPROTO): Likewise.
3569 [POSIX] (EPROTONOSUPPORT): Likewise.
3570 [POSIX] (EPROTOTYPE): Likewise.
3571 [POSIX] (ESTALE): Likewise.
3572 [POSIX] (ETIME): Likewise.
3573 [POSIX] (ETXTBSY): Likewise.
3574 [POSIX] (EWOULDBLOCK): Likewise.
3575 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3576 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3577 [POSIX] (SEEK_CUR): Likewise.
3578 [POSIX] (SEEK_END): Likewise.
3579 [POSIX || UNIX98] (mode_t): Do not require.
3580 [POSIX] (off_t): Likewise.
3581 [POSIX] (pid_t): Likewise.
3582 [POSIX] (sys/stat.h): Do not allow header.
3583 [POSIX] (unistd.h): Likewise.
3584 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3585 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3586 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3587 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3588 require.
3589 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3590 sigevent): Specify elements.
3591 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3592 entry.
3593 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3594 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3595
a483863f
JM
3596 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3597 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3598 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3599 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3600 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3601 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3602 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3603 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3604 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3605 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3606 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3607 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3608 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3609 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3610 Likewise.
3611 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3612 Likewise.
3613 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3614 Likewise.
3615 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3616 Likewise.
3617 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3618 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3619 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3620 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3621 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3622 Specify lower bound on value.
3623 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3624 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3625 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3626 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3627 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3628 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3629 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3630 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3631 value.
3632 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3633 as optional.
3634 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3635 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3636 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3637 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3638 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3639 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3640 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3641 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3642 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3643 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3644 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3645 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3646 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3647 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3648 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3649 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3650 entry.
3651 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3652 optional.
3653 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3654 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3655 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3656 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3657 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3658 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3659 Likewise.
3660 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3661 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3662 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3663 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3664 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3665 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3666 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3667 as optional.
3668 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3669 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3670 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3671 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3672 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3673 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3674 specify as optional.
3675 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3676 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3677 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3678 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3679 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3680 [XPG3] (NL_LANGMAX): Likewise.
3681 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3682 [POSIX || XPG3] (NL_NMAX): Likewise.
3683 [POSIX || XPG3] (NL_SETMAX): Likewise.
3684 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3685 [XPG3] (NZERO): Likewise.
3686 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3687 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3688 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3689 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3690 (REG_ERANGE): Expect.
3691 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3692 optional-constant.
3693 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3694 Use (void) in prototype.
3695 [POSIX] (*_t): Allow.
3696 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3697 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3698 (WRDE_BADVAL): Expect.
3699
5ba924e3
JM
3700 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3701 expect.
3702 [XPG3 || XPG4] (O_RSYNC): Likewise.
3703 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3704 Likewise.
3705 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3706 [XPG3 || XPG4] (sigqueue): Likewise.
3707 [XPG3 || XPG4] (sigtimedwait): Likewise.
3708 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3709 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3710 [XPG3 || XPG4] (vsnprintf): Likewise.
3711 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3712 Likewise.
3713 [XPG3 || XPG4] (blksize_t): Likewise.
3714 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3715 Likewise.
3716 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3717 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3718 [XPG3 || XPG4] (struct itimerspec): Likewise.
3719 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3720 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3721 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3722 [XPG3 || XPG4] (clockid_t): Likewise.
3723 [XPG3 || XPG4] (timer_t): Likewise.
3724 [XPG3 || XPG4] (clock_getres): Likewise.
3725 [XPG3 || XPG4] (clock_gettime): Likewise.
3726 [XPG3 || XPG4] (clock_settime): Likewise.
3727 [XPG3 || XPG4] (nanosleep): Likewise.
3728 [XPG3 || XPG4] (timer_create): Likewise.
3729 [XPG3 || XPG4] (timer_delete): Likewise.
3730 [XPG3 || XPG4] (timer_gettime): Likewise.
3731 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3732 [XPG3 || XPG4] (timer_settime): Likewise.
3733 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3734 [XPG3 || XPG4] (getlogin_r): Likewise.
3735 [XPG3 || XPG4] (pread): Likewise.
3736 [XPG3 || XPG4] (pthread_atfork): Likewise.
3737 [XPG3 || XPG4] (pwrite): Likewise.
3738
ee663277
JM
3739 [BZ #14835]
3740 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3741 <bits/siginfo.h>.
3742
942caa16
PT
37432012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3744
e19af380
PT
3745 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3746 finalizing MALLSTREAM.
3747
942caa16
PT
3748 * sysdeps/mach/hurd/syncfs.c: New file.
3749
cfde9b46
SP
37502012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3751
3752 [BZ #14719]
3753 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3754 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3755 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3756 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3757 (_nss_dns_gethostbyname4_r): Likewise.
3758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3759 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3760
f6da27e5
PH
37612012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3762
3763 [BZ #13763]
3764 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3765
6665d4a2
SM
37662012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3767
1f51ee92
SM
3768 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3769 * elf/cache.c (print_entry): Print ",AArch64" for
3770 FLAG_AARCH64_LIB64
3771
6665d4a2
SM
3772 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3773 * elf/cache.c (print_entry): Print ",hard-float" for
3774 FLAG_ARM_LIBHF.
3775
05b227bd
DM
37762012-11-18 David S. Miller <davem@davemloft.net>
3777
3778 With help from Joseph Myers.
3779 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3780 cutoff to 2**-13.
3781 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3782 cutoff to 2**-25.
3783 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3784 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3785 small.
3786 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3787 * math/libm-test.inc (y0_test): New tests.
3788 (y1_test): New tests.
3789 * sysdeps/i386/fpu/libm-test-ulps: Update.
3790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3792
786b0b67
AS
37932012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3794
3795 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3796 64-bit targets.
3797 * configure: Regenerated.
3798
8e18b86d
DM
37992012-11-17 David S. Miller <davem@davemloft.net>
3800
3801 [BZ #14811]
3802 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3803 nonzero exponents with absolute value below 0x1p-128 to +/-
3804 0x1p-128.
3805
531f1ae0
JM
38062012-11-17 Joseph Myers <joseph@codesourcery.com>
3807
12df29e2
JM
3808 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3809
150dc1a0
JM
3810 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3811
531f1ae0
JM
3812 * posix/getconf-speclist.c: New file.
3813 * posix/posix-envs.def: Likewise.
3814 * posix/confstr.c (START_ENV_GROUP): New macro.
3815 (END_ENV_GROUP): Likewise.
3816 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3817 (KNOWN_PRESENT_ENV_STRING): Likewise.
3818 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3819 (UNKNOWN_ENVIRONMENT): Likewise.
3820 (confstr): Include posix-envs.def instead of handling
3821 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3822 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3823 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3824 (END_ENV_GROUP): Likewise.
3825 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3826 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3827 (UNKNOWN_ENVIRONMENT): Likewise.
3828 (__sysconf): Include posix-envs.def instead of handling associated
3829 cases directly here.
3830 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3831 preprocessing getconf-speclist.c rather than running getconf or
3832 generating empty file.
3833
a93f9cbc
PT
38342012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3835
3836 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3837
d64d9f87
AL
38382012-11-16 Andrej Lajovic <natrij@gmail.com>
3839
3840 [BZ #14672]
3841 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3842
447885eb
DM
38432012-11-16 David S. Miller <davem@davemloft.net>
3844
3845 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3846 smaller than LDBL_EPSILON/2.0L, just return xm1.
3847
bcbf9830
L
38482012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3849
3850 * elf/tst-array1.c (init): Set constructor priority to 1000.
3851 (fini): Set destructor priority to 1000.
3852 * elf/tst-array2dep.c: Likewise.
3853
2b766585
SP
38542012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3855
3856 [BZ #11741]
3857 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3858 (_IO_new_file_xsputn): Also return EOF if none of the input
3859 data was written when overflow failed.
3860 * libio/iopadn.c (_IO_padn): Likewise.
3861 * libio/iowpadn.c (_IO_wpadn): Likewise.
3862 * stdio-common/tst-put-error.c: Add copyright notice.
3863 (do_test): Add case for printing padded string.
3864 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3865 _IO_padn returned error.
3866 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3867 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3868 return EOF.
3869
b1848fde
SP
38702012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3871
3872 * libio/libioP.h: Add comment note that the references to C++
3873 bits are now obsolete.
3874
2fd89785
MS
38752012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3876
3877 * math/libm-test.inc (check_complex): Use asprintf.
3878
e3ea5409
JM
38792012-11-14 Joseph Myers <joseph@codesourcery.com>
3880
3881 * debug/pcprofiledump.c (print_version): Update copyright year.
3882 * malloc/memusagestat.c (print_version): Likewise.
3883
2e64d265
L
38842012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3885
3886 [BZ #14831]
3887 * elf/Makefile (tests): Add tst-audit8.
3888 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3889 ($(objpfx)tst-audit8.out): New target.
3890 (tst-audit8-ENV): New variable.
3891 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3892 audit if l_reloc_result is NULL.
3893 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3894 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3895 * elf/tst-audit8.c: New file.
3896
c485e4d2
MS
38972012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3898
3899 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3900 * misc/Makefile (CFLAGS-select.c): Define.
3901 * posix/Makefile (CFLAGS-pause.c): Define.
3902
3a0d900a
DM
39032012-11-13 David S. Miller <davem@davemloft.net>
3904
3905 * crypt/Makefile: Move test targets after toplevel Rules
3906 inclusion. Grab any necessary sysdep routines when linking.
3907 * crypt/md5.c (md5_process_block): Remove define, we will always
3908 name it __md5_process_block.
3909 (md5_finish_ctx): Update md5_process_block call.
3910 (md5_stream): Likewise.
3911 (md5_process_bytes): Likewise.
3912 (md5_process_block): Rename to __md5_process_block and move to ...
3913 * crypt/md5-block.c: ... here.
3914 * crypt/sha256.c (sha256_process_block): Move to ...
3915 * crypt/sha256-block.c: ... here.
3916 * crypt/sha512.c (sha512_process_block): Move to ...
3917 * crypt/sha512-block.c: ... here.
3918 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3919 path.
3920 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3921 * sysdeps/sparc/sparc64/multiarch/Makefile
3922 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3923 crypt subdir.
3924 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3925 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3926 multiarch changes.
3927 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3928 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3929 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3930 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3931 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3932 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3933 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3934 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3935 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3936 file.
3937 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3938 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3939 file.
3940 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3941
8ca89318
JM
39422012-11-13 Joseph Myers <joseph@codesourcery.com>
3943
e27d476a
JM
3944 * timezone/tzselect.ksh: Update from tzcode git revision
3945 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3946 * timezone/zdump.c: Likewise.
3947 * timezone/zic.c: Likewise.
3948 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3949 in TZVERSION setting, not $(PKGVERSION).
3950 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3951 REPORT_BUGS_TO settings.
3952
8ca89318
JM
3953 [BZ #14838]
3954 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3955 macro.
3956
47594329
MS
39572012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3958
3959 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3960 detection to immediately after _FP_ROUND().
3961 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3962 bits are 0.
3963
640ac3f1
DM
39642012-11-11 David S. Miller <davem@davemloft.net>
3965
3966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3967 inttypes.h
3968 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3969 __close rather than their public counterparts.
3970
3d2577bb
JM
39712012-11-10 Joseph Myers <joseph@codesourcery.com>
3972
3973 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3974 file.
3975 [UNIX98] (sem_timedwait): Do not expect.
3976 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3977 [XPG4 || UNIX98] (sockatmark): Do not expect.
3978 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3979 (clock_getcpuclockid): Do not expect.
3980 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3981 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3982 Do not expect.
3983 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3984 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3985 [UNIX98] (vwscanf): Likewise.
3986 [UNIX98] (vswscanf): Likewise.
3987
fb1ae1ee
JM
39882012-11-09 Joseph Myers <joseph@codesourcery.com>
3989
9ec6f8bd
JM
3990 * timezone/version.h: Remove file.
3991 * timezone/README: Do not refer to version.h.
3992 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3993 $(objpfx)version.h.
3994 ($(objpfx)zdump.o): Likewise.
c3f81911 3995 ($(objpfx)version.h): New target.
9ec6f8bd 3996
0aa8f8a1
JM
3997 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3998 2012i.
3999 * timezone/README: Don't mention modification to tzselect.ksh.
4000 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4001 work on unmodified tzselect.ksh. Substitute version numbers in
4002 tzselect.ksh.
4003
4e87147f
JM
4004 * Makefile (format-me): Remove.
4005 (INSTALL): Adjust indentation. Use commands directly instead of
4006 using $(format-me).
4007
8b748aed
JM
4008 * aclocal.m4 (ACX_PKGVERSION): New macro.
4009 (ACX_BUGURL): Likewise.
4010 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4011 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4012 (REPORT_BUGS_TO): Likewise.
4013 * configure: Regenerated.
4014 * config.h.in (PKGVERSION): New macro.
4015 (REPORT_BUGS_TO): Likewise.
4016 * config.make.in (PKGVERSION): New variable.
4017 (PKGVERSION_TEXI): Likewise.
4018 (REPORT_BUGS_TO): Likewise.
4019 (REPORT_BUGS_TEXI): Likewise.
4020 * Makefile (format-me): Use -I$(common-objpfx)manual.
4021 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4022 ($(common-objpfx)manual/%): New target.
4023 (manual/%): Remove target.
4024 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4025 (print_version): Use PKGVERSION.
4026 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4027 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4028 and REPORT_BUGS_TO.
4029 ($(objpfx)xtrace): Likewise.
4030 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4031 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4032 (print_version): Use PKGVERSION.
4033 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4034 (do_version): Use PKGVERSION.
4035 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4036 REPORT_BUGS_TO.
4037 (common-ldd-rewrite): Likewise.
4038 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4039 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4040 (print_version): Use PKGVERSION.
4041 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4042 * elf/pldd.c (argp_program_bug_address): Remove variable.
4043 (more_help): New function.
4044 (argp): Use more_help.
4045 (print_version): Use PKGVERSION.
4046 * elf/sln.c (main): Use PKGVERSION.
4047 (usage): Use REPORT_BUGS_TO.
4048 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4049 (top level): Use PKGVERSION.
4050 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4051 (print_version): Use PKGVERSION.
4052 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4053 (print_version): Use PKGVERSION.
4054 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4055 (print_version): Use PKGVERSION.
4056 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4057 (print_version): Use PKGVERSION.
4058 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4059 (print_version): Use PKGVERSION.
4060 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4061 (print_version): Use PKGVERSION.
4062 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4063 and BUGURL.
4064 ($(objpfx)memusage): Likewise.
4065 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4066 (do_version): Use PKGVERSION.
4067 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4068 (print_version): Use PKGVERSION.
4069 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4070 ($PKGVERSION): New variable.
4071 ($REPORT_BUGS_TO): Likewise.
4072 (usage): Use $REPORT_BUGS_TO.
4073 (top level): Use $PKGVERSION.
4074 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4075 ($(objpfx)pkgvers.texi): New rule.
4076 ($(objpfx)stamp-pkgvers): Likewise.
4077 * manual/install.texi: Include pkgvers.texi.
4078 (--with-pkgversion): Document new configure option.
4079 (--with-bugurl): Likewise.
4080 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4081 than necessarily for this particular distribution. Use
4082 REPORT_BUGS_TO for where to report bugs.
4083 * INSTALL: Regenerated.
4084 * manual/libc.texinfo: Include pkgvers.texi.
4085 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4086 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4087 (print_version): Use PKGVERSION.
4088 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4089 (print_version): Use PKGVERSION.
4090 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4091 (print_version): Use PKGVERSION.
4092 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4093 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4094 macro.
4095 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4096 (print_version): Use PKGVERSION.
4097 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4098 (print_version): Use PKGVERSION.
4099 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4100 and PKGVERSION.
4101
92e4b6a9
JM
4102 * timezone/checktab.awk: Update from tzcode 2012i.
4103 * timezone/ialloc.c: Likewise.
4104 * timezone/private.h: Likewise.
4105 * timezone/scheck.c: Likewise.
4106 * timezone/tzfile.h: Likewise.
4107 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4108 (TZVERSION): Hardcode tzcode version number.
4109 * timezone/zdump.c: Update from tzcode 2012i.
4110 * timezone/zic.c: Likewise.
4111 * timezone/version.h: New file.
4112 * timezone/README: Describe version.h. Update upstream location.
4113
9bde902c
JM
4114 [BZ #14824]
4115 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4116 (mktemp): Enable declaration.
4117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4118 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4120 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4121 Likewise.
4122 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4123 Likewise.
4124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4125 Likewise.
4126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4127 Likewise.
4128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4129 Likewise.
4130 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4131 Likewise.
4132
fb1ae1ee
JM
4133 [BZ #14821]
4134 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4135 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4136 for copies of such integer values.
4137 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4138 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4139
2c1adbcb
AJ
41402012-11-09 Andreas Jaeger <aj@suse.de>
4141
4142 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4143 definitions and declarations that are provided by
4144 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4145
d0f8457e
AK
41462012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4147
3a235abb 4148 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4149 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4150 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4151 definition.
4152
57241e26
MS
41532012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4154
4155 * elf/elf.h: Update comment before AArch64 relocations.
4156
60e8270d
DM
41572012-11-07 David S. Miller <davem@davemloft.net>
4158
4159 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4160 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4161 (__start_context): Declare.
4162 (__makecontext_ret): Delete.
4163 (__makecontext): Hook up __start_context instead of
4164 __makecontext_ret.
4165 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4166 (sysdep_routines): Add __start_context when in stdlib.
4167
0fbb0fbc
JM
41682012-11-07 Joseph Myers <joseph@codesourcery.com>
4169
4170 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4171 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4172 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4173 hardcoded "nm".
4174 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4175 (READELF): New variable. Use it instead of hardcoded "readelf".
4176
eb48db7e
L
41772012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4178
4179 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4180 * sysdeps/x86/Makefile: Here.
4181 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4182 * sysdeps/x86/tst-xmmymm.sh: This.
4183
05bcf62a
JM
41842012-11-07 Joseph Myers <joseph@codesourcery.com>
4185
c4b6cf53
JM
4186 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4187 expectations.
4188 [UNIX98] (pthread_barrier_t): Do not expect.
4189 [UNIX98] (pthread_barrierattr_t): Likewise.
4190 [UNIX98] (pthread_spinlock_t): Likewise.
4191 [UNIX98] (pthread_barrier_destroy): Likewise.
4192 [UNIX98] (pthread_barrier_init): Likewise.
4193 [UNIX98] (pthread_barrier_wait): Likewise.
4194 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4195 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4196 [UNIX98] (pthread_barrierattr_init): Likewise.
4197 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4198 [UNIX98] (pthread_getcpuclockid): Likewise.
4199 [UNIX98] (pthread_mutex_timedlock): Likewise.
4200 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4201 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4202 [UNIX98] (pthread_sigmask): Likewise.
4203 [UNIX98] (pthread_spin_destroy): Likewise.
4204 [UNIX98] (pthread_spin_init): Likewise.
4205 [UNIX98] (pthread_spin_lock): Likewise.
4206 [UNIX98] (pthread_spin_trylock): Likewise.
4207 [UNIX98] (pthread_spin_unlock): Likewise.
4208 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4209 Do not expect.
4210 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4211 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4212 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4213 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4214 [XPG3 || XPG4] (pthread_key_t): Likewise.
4215 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4216 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4217 [XPG3 || XPG4] (pthread_once_t): Likewise.
4218 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4219 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4220 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4221 [XPG3 || XPG4] (pthread_t): Likewise.
4222
cbe6e120
JM
4223 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4224 not expect.
4225 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4226
1b126443
JM
4227 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4228 Change function return type to int.
4229
b961a573
JM
4230 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4231 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4232 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4233 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4234 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4235 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4236 [!POSIX] (posix_madvise): Likewise.
4237 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4238 && !UNIX98].
4239 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4240 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4241 (mode_t): Likewise.
4242 (posix_mem_offset): Likewise.
4243 (posix_typed_mem_get_info): Likewise.
4244 (posix_typed_mem_open): Likewise.
4245
9e188909
JM
4246 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4247 Change condition to [XOPEN2K8].
4248
05bcf62a
JM
4249 * conform/conformtest.pl: Preprocess allow-header data with -x c
4250 instead of from stdin.
4251 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4252 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4253 [C99-based standards] (cerfc): Likewise.
4254 [C99-based standards] (cexp2): Likewise.
4255 [C99-based standards] (cexpm1): Likewise.
4256 [C99-based standards] (clog10): Likewise.
4257 [C99-based standards] (clog1p): Likewise.
4258 [C99-based standards] (clog2): Likewise.
4259 [C99-based standards] (clgamma): Likewise.
4260 [C99-based standards] (ctgamma): Likewise.
4261 [C99-based standards] (cerff): Likewise.
4262 [C99-based standards] (cerfcf): Likewise.
4263 [C99-based standards] (cexp2f): Likewise.
4264 [C99-based standards] (cexpm1f): Likewise.
4265 [C99-based standards] (clog10f): Likewise.
4266 [C99-based standards] (clog1pf): Likewise.
4267 [C99-based standards] (clog2f): Likewise.
4268 [C99-based standards] (clgammaf): Likewise.
4269 [C99-based standards] (ctgammaf): Likewise.
4270 [C99-based standards] (cerfl): Likewise.
4271 [C99-based standards] (cerfcl): Likewise.
4272 [C99-based standards] (cexp2l): Likewise.
4273 [C99-based standards] (cexpm1l): Likewise.
4274 [C99-based standards] (clog10l): Likewise.
4275 [C99-based standards] (clog1pl): Likewise.
4276 [C99-based standards] (clog2l): Likewise.
4277 [C99-based standards] (clgammal): Likewise.
4278 [C99-based standards] (ctgammal): Likewise.
4279 * conform/data/inttypes.h-data [C99-based standards]: Include
4280 stdint.h-data. Remove all expectations for stdint.h contents.
4281 [C99-based standards] (PRI*): Do not allow.
4282 [C99-based standards] (SCN*): Likewise.
4283 [C99-based standards] (*_t): Likewise.
4284 [C99-based-standards] (PRId8): Expect macro.
4285 [C99-based-standards] (PRIi8): Likewise.
4286 [C99-based-standards] (PRIo8): Likewise.
4287 [C99-based-standards] (PRIu8): Likewise.
4288 [C99-based-standards] (PRIx8): Likewise.
4289 [C99-based-standards] (PRIX8): Likewise.
4290 [C99-based-standards] (SCNd8): Likewise.
4291 [C99-based-standards] (SCNi8): Likewise.
4292 [C99-based-standards] (SCNo8): Likewise.
4293 [C99-based-standards] (SCNu8): Likewise.
4294 [C99-based-standards] (SCNx8): Likewise.
4295 [C99-based-standards] (PRIdLEAST8): Likewise.
4296 [C99-based-standards] (PRIiLEAST8): Likewise.
4297 [C99-based-standards] (PRIoLEAST8): Likewise.
4298 [C99-based-standards] (PRIuLEAST8): Likewise.
4299 [C99-based-standards] (PRIxLEAST8): Likewise.
4300 [C99-based-standards] (PRIXLEAST8): Likewise.
4301 [C99-based-standards] (SCNdLEAST8): Likewise.
4302 [C99-based-standards] (SCNiLEAST8): Likewise.
4303 [C99-based-standards] (SCNoLEAST8): Likewise.
4304 [C99-based-standards] (SCNuLEAST8): Likewise.
4305 [C99-based-standards] (SCNxLEAST8): Likewise.
4306 [C99-based-standards] (PRIdFAST8): Likewise.
4307 [C99-based-standards] (PRIiFAST8): Likewise.
4308 [C99-based-standards] (PRIoFAST8): Likewise.
4309 [C99-based-standards] (PRIuFAST8): Likewise.
4310 [C99-based-standards] (PRIxFAST8): Likewise.
4311 [C99-based-standards] (PRIXFAST8): Likewise.
4312 [C99-based-standards] (SCNdFAST8): Likewise.
4313 [C99-based-standards] (SCNiFAST8): Likewise.
4314 [C99-based-standards] (SCNoFAST8): Likewise.
4315 [C99-based-standards] (SCNuFAST8): Likewise.
4316 [C99-based-standards] (SCNxFAST8): Likewise.
4317 [C99-based-standards] (PRId16): Likewise.
4318 [C99-based-standards] (PRIi16): Likewise.
4319 [C99-based-standards] (PRIo16): Likewise.
4320 [C99-based-standards] (PRIu16): Likewise.
4321 [C99-based-standards] (PRIx16): Likewise.
4322 [C99-based-standards] (PRIX16): Likewise.
4323 [C99-based-standards] (SCNd16): Likewise.
4324 [C99-based-standards] (SCNi16): Likewise.
4325 [C99-based-standards] (SCNo16): Likewise.
4326 [C99-based-standards] (SCNu16): Likewise.
4327 [C99-based-standards] (SCNx16): Likewise.
4328 [C99-based-standards] (PRIdLEAST16): Likewise.
4329 [C99-based-standards] (PRIiLEAST16): Likewise.
4330 [C99-based-standards] (PRIoLEAST16): Likewise.
4331 [C99-based-standards] (PRIuLEAST16): Likewise.
4332 [C99-based-standards] (PRIxLEAST16): Likewise.
4333 [C99-based-standards] (PRIXLEAST16): Likewise.
4334 [C99-based-standards] (SCNdLEAST16): Likewise.
4335 [C99-based-standards] (SCNiLEAST16): Likewise.
4336 [C99-based-standards] (SCNoLEAST16): Likewise.
4337 [C99-based-standards] (SCNuLEAST16): Likewise.
4338 [C99-based-standards] (SCNxLEAST16): Likewise.
4339 [C99-based-standards] (PRIdFAST16): Likewise.
4340 [C99-based-standards] (PRIiFAST16): Likewise.
4341 [C99-based-standards] (PRIoFAST16): Likewise.
4342 [C99-based-standards] (PRIuFAST16): Likewise.
4343 [C99-based-standards] (PRIxFAST16): Likewise.
4344 [C99-based-standards] (PRIXFAST16): Likewise.
4345 [C99-based-standards] (SCNdFAST16): Likewise.
4346 [C99-based-standards] (SCNiFAST16): Likewise.
4347 [C99-based-standards] (SCNoFAST16): Likewise.
4348 [C99-based-standards] (SCNuFAST16): Likewise.
4349 [C99-based-standards] (SCNxFAST16): Likewise.
4350 [C99-based-standards] (PRId32): Likewise.
4351 [C99-based-standards] (PRIi32): Likewise.
4352 [C99-based-standards] (PRIo32): Likewise.
4353 [C99-based-standards] (PRIu32): Likewise.
4354 [C99-based-standards] (PRIx32): Likewise.
4355 [C99-based-standards] (PRIX32): Likewise.
4356 [C99-based-standards] (SCNd32): Likewise.
4357 [C99-based-standards] (SCNi32): Likewise.
4358 [C99-based-standards] (SCNo32): Likewise.
4359 [C99-based-standards] (SCNu32): Likewise.
4360 [C99-based-standards] (SCNx32): Likewise.
4361 [C99-based-standards] (PRIdLEAST32): Likewise.
4362 [C99-based-standards] (PRIiLEAST32): Likewise.
4363 [C99-based-standards] (PRIoLEAST32): Likewise.
4364 [C99-based-standards] (PRIuLEAST32): Likewise.
4365 [C99-based-standards] (PRIxLEAST32): Likewise.
4366 [C99-based-standards] (PRIXLEAST32): Likewise.
4367 [C99-based-standards] (SCNdLEAST32): Likewise.
4368 [C99-based-standards] (SCNiLEAST32): Likewise.
4369 [C99-based-standards] (SCNoLEAST32): Likewise.
4370 [C99-based-standards] (SCNuLEAST32): Likewise.
4371 [C99-based-standards] (SCNxLEAST32): Likewise.
4372 [C99-based-standards] (PRIdFAST32): Likewise.
4373 [C99-based-standards] (PRIiFAST32): Likewise.
4374 [C99-based-standards] (PRIoFAST32): Likewise.
4375 [C99-based-standards] (PRIuFAST32): Likewise.
4376 [C99-based-standards] (PRIxFAST32): Likewise.
4377 [C99-based-standards] (PRIXFAST32): Likewise.
4378 [C99-based-standards] (SCNdFAST32): Likewise.
4379 [C99-based-standards] (SCNiFAST32): Likewise.
4380 [C99-based-standards] (SCNoFAST32): Likewise.
4381 [C99-based-standards] (SCNuFAST32): Likewise.
4382 [C99-based-standards] (SCNxFAST32): Likewise.
4383 [C99-based-standards] (PRId64): Likewise.
4384 [C99-based-standards] (PRIi64): Likewise.
4385 [C99-based-standards] (PRIo64): Likewise.
4386 [C99-based-standards] (PRIu64): Likewise.
4387 [C99-based-standards] (PRIx64): Likewise.
4388 [C99-based-standards] (PRIX64): Likewise.
4389 [C99-based-standards] (SCNd64): Likewise.
4390 [C99-based-standards] (SCNi64): Likewise.
4391 [C99-based-standards] (SCNo64): Likewise.
4392 [C99-based-standards] (SCNu64): Likewise.
4393 [C99-based-standards] (SCNx64): Likewise.
4394 [C99-based-standards] (PRIdLEAST64): Likewise.
4395 [C99-based-standards] (PRIiLEAST64): Likewise.
4396 [C99-based-standards] (PRIoLEAST64): Likewise.
4397 [C99-based-standards] (PRIuLEAST64): Likewise.
4398 [C99-based-standards] (PRIxLEAST64): Likewise.
4399 [C99-based-standards] (PRIXLEAST64): Likewise.
4400 [C99-based-standards] (SCNdLEAST64): Likewise.
4401 [C99-based-standards] (SCNiLEAST64): Likewise.
4402 [C99-based-standards] (SCNoLEAST64): Likewise.
4403 [C99-based-standards] (SCNuLEAST64): Likewise.
4404 [C99-based-standards] (SCNxLEAST64): Likewise.
4405 [C99-based-standards] (PRIdFAST64): Likewise.
4406 [C99-based-standards] (PRIiFAST64): Likewise.
4407 [C99-based-standards] (PRIoFAST64): Likewise.
4408 [C99-based-standards] (PRIuFAST64): Likewise.
4409 [C99-based-standards] (PRIxFAST64): Likewise.
4410 [C99-based-standards] (PRIXFAST64): Likewise.
4411 [C99-based-standards] (SCNdFAST64): Likewise.
4412 [C99-based-standards] (SCNiFAST64): Likewise.
4413 [C99-based-standards] (SCNoFAST64): Likewise.
4414 [C99-based-standards] (SCNuFAST64): Likewise.
4415 [C99-based-standards] (SCNxFAST64): Likewise.
4416 [C99-based-standards] (PRIdMAX): Likewise.
4417 [C99-based-standards] (PRIiMAX): Likewise.
4418 [C99-based-standards] (PRIoMAX): Likewise.
4419 [C99-based-standards] (PRIuMAX): Likewise.
4420 [C99-based-standards] (PRIxMAX): Likewise.
4421 [C99-based-standards] (PRIXMAX): Likewise.
4422 [C99-based-standards] (SCNdMAX): Likewise.
4423 [C99-based-standards] (SCNiMAX): Likewise.
4424 [C99-based-standards] (SCNoMAX): Likewise.
4425 [C99-based-standards] (SCNuMAX): Likewise.
4426 [C99-based-standards] (SCNxMAX): Likewise.
4427 [C99-based-standards] (PRIdPTR): Likewise.
4428 [C99-based-standards] (PRIiPTR): Likewise.
4429 [C99-based-standards] (PRIoPTR): Likewise.
4430 [C99-based-standards] (PRIuPTR): Likewise.
4431 [C99-based-standards] (PRIxPTR): Likewise.
4432 [C99-based-standards] (PRIXPTR): Likewise.
4433 [C99-based-standards] (SCNdPTR): Likewise.
4434 [C99-based-standards] (SCNiPTR): Likewise.
4435 [C99-based-standards] (SCNoPTR): Likewise.
4436 [C99-based-standards] (SCNuPTR): Likewise.
4437 [C99-based-standards] (SCNxPTR): Likewise.
4438 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4439 allow.
4440 * conform/data/stdint.h-data: Update comments to clarify
4441 requirements.
4442 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4443 type.
4444 [C99-based standards] (INT8_MAX): Likewise.
4445 [C99-based standards] (INT16_MIN): Likewise.
4446 [C99-based standards] (INT16_MAX): Likewise.
4447 [C99-based standards] (INT32_MIN): Likewise.
4448 [C99-based standards] (INT32_MAX): Likewise.
4449 [C99-based standards] (INT64_MIN): Likewise.
4450 [C99-based standards] (INT64_MAX): Likewise.
4451 [C99-based standards] (UINT8_MAX): Likewise.
4452 [C99-based standards] (UINT16_MAX): Likewise.
4453 [C99-based standards] (UINT32_MAX): Likewise.
4454 [C99-based standards] (UINT64_MAX): Likewise.
4455 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4456 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4457 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4458 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4459 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4460 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4461 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4462 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4463 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4464 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4465 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4466 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4467 [C99-based standards] (INT_FAST8_MIN): Likewise.
4468 [C99-based standards] (INT_FAST8_MAX): Likewise.
4469 [C99-based standards] (INT_FAST16_MIN): Likewise.
4470 [C99-based standards] (INT_FAST16_MAX): Likewise.
4471 [C99-based standards] (INT_FAST32_MIN): Likewise.
4472 [C99-based standards] (INT_FAST32_MAX): Likewise.
4473 [C99-based standards] (INT_FAST64_MIN): Likewise.
4474 [C99-based standards] (INT_FAST64_MAX): Likewise.
4475 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4476 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4477 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4478 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4479 [C99-based standards] (INTPTR_MIN): Likewise.
4480 [C99-based standards] (INTPTR_MAX): Likewise.
4481 [C99-based standards] (UINTPTR_MAX): Likewise.
4482 [C99-based standards] (INTMAX_MIN): Likewise.
4483 [C99-based standards] (INTMAX_MAX): Likewise.
4484 [C99-based standards] (UINTMAX_MAX): Likewise.
4485 [C99-based standards] (PTRDIFF_MIN): Likewise.
4486 [C99-based standards] (PTRDIFF_MAX): Likewise.
4487 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4488 [C99-based standards] (SIZE_MAX): Likewise.
4489 [C99-based standards] (WCHAR_MAX): Likewise.
4490 [C99-based standards] (WINT_MAX): Likewise.
4491 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4492 constraint on value.
4493 [C99-based standards] (WCHAR_MIN): Likewise.
4494 [C99-based standards] (WINT_MIN): Likewise.
4495 [C99-based standards] (*_t): Allow.
4496 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4497 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4498 Include math.h-data and complex.h-data. Remove all expectations
4499 of math.h and complex.h contents.
4500 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4501 at end of line.
4502 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4503 (struct tm): Expect tag.
4504 [C99-based-standards] (wcstof): Expect function.
4505 [C99-based-standards] (wcstold): Likewise.
4506 [C99-based-standards] (wcstoll): Likewise.
4507 [C99-based-standards] (wcstoull): Likewise.
4508 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4509 macro-int-constant. Specify type.
4510 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4511 constraint on value.
4512 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4513 Specify type.
4514 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4515 Specify value.
4516 [ISO C standards]: Do not allow headers.
4517 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4518 wcs[abcdefghijklmnopqrstuvwxyz]*.
4519 [ISO C standards] (*_t): Do not allow.
4520 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4521 Expect function.
4522 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4523 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4524 Specify type.
4525 [ISO C standards]: Do not allow headers.
4526 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4527 is[abcdefghijklmnopqrstuvwxyz]*.
4528 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4529 to[abcdefghijklmnopqrstuvwxyz]*.
4530 [ISO C standards] (*_t): Do not allow.
4531 * conform/data/stdalign.h-data: New file.
4532 * conform/data/stdbool.h-data: Likewise.
4533 * conform/data/stdnoreturn.h-data: Likewise.
4534
7514feb8
RM
45352012-11-07 Roland McGrath <roland@hack.frob.com>
4536
4537 [BZ #14815]
4538 * manual/filesys.texi (Directory Entries): Typo fix.
4539 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4540
19b2ecfc
MS
45412012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4542
4543 * elf/elf.h (EM_AARCH64): New macro.
4544 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4545 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4546 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4547 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4548 (R_AARCH64_TLSDESC): Likewise.
4549 (NT_ARM_TLS): Likewise.
4550 (NT_ARM_HW_BREAK): Likewise.
4551 (NT_ARM_HW_WATCH): Likewise.
4552
60e235ee
JM
45532012-11-07 Joseph Myers <joseph@codesourcery.com>
4554
4555 [BZ #14811]
4556 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4557 (__ieee754_powl): Saturate nonzero exponents with absolute value
4558 below 0x1p-79 to +/- 0x1p-79.
4559 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4560 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4561 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4562 nonzero exponents with absolute value below 0x1p-32 to +/-
4563 0x1p-32.
4564 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4565 (__ieee754_powl): Saturate nonzero exponents with absolute value
4566 below 0x1p-79 to +/- 0x1p-79.
4567 * math/libm-test.inc (pow_test): Add more tests.
4568
0ab234b7
AK
45692012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4570
4571 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4572 _dl_s390_cap_flags with kernel. Increase string length.
4573 (_dl_s390_platforms): Add z196 and zEC12.
4574
45832f74
JM
45752012-11-07 Joseph Myers <joseph@codesourcery.com>
4576
4577 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4578 Change XOPEN21K to XOPEN2K.
4579
19218757
MK
45802012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4581
4582 * string/memmove.c: Use memcpy when possible.
4583
c5f45721
AJ
45842012-11-06 Andreas Jaeger <aj@suse.de>
4585
4586 * po/eo.po: Update from translation team.
4587
82477c28
JM
45882012-11-06 Joseph Myers <joseph@codesourcery.com>
4589
4590 [BZ #14793]
4591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4592 exponent and small x and y exponents, scale x or y up. Increase
4593 by 2 the exponent used in scaling up.
4594 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4595 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4596 * math/libm-test.inc (fma_test): Add more tests.
4597 (fma_test_towardzero): Likewise.
4598 (fma_test_downward): Likewise.
4599 (fma_test_upward): Likewise.
4600
99252c8c
JM
46012012-11-05 Joseph Myers <joseph@codesourcery.com>
4602
acfa885f
JM
4603 [BZ #14805]
4604 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4605 fenv_t *.
4606
99252c8c
JM
4607 [BZ #14801]
4608 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4609 namespace for names of struct fields.
4610 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4611 fenv_t fields.
4612 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4613 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4614
d6d98dea
ST
46152012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4616
4617 [BZ #3665]
4618 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4619
e10bb107
TS
46202012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4621
4622 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4623 PTR_DEMANGLE.
4624
4625 [BZ #5246]
4626 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4627 PTR_DEMANGLE.
4628
a0c2940d
JM
46292012-11-04 Joseph Myers <joseph@codesourcery.com>
4630
4631 [BZ #14797]
4632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4633 definitely overflow as x * y not x * y + z.
4634 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4635 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4636 * math/libm-test.inc (fma_test): Add more tests.
4637 (fma_test_towardzero): Likewise.
4638 (fma_test_downward): Likewise.
4639 (fma_test_upward): Likewise.
4640
b830319d
TS
46412012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4642
4643 [BZ #157]
4644
4645 * include/stub-tag.h: Remove file.
4646 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4647 '#include' of it.
4648 * manual/maint.texi (Porting): Don't reference it.
4649 * Makerules ($(objpfx)stubs): Likewise.
4650 * dirent/closedir.c: Don't include <stub-tag.h>.
4651 * dirent/dirfd.c: Likewise.
4652 * dirent/fdopendir.c: Likewise.
4653 * dirent/getdents.c: Likewise.
4654 * dirent/getdents64.c: Likewise.
4655 * dirent/opendir.c: Likewise.
4656 * dirent/readdir.c: Likewise.
4657 * dirent/readdir64.c: Likewise.
4658 * dirent/readdir64_r.c: Likewise.
4659 * dirent/readdir_r.c: Likewise.
4660 * dirent/rewinddir.c: Likewise.
4661 * dirent/seekdir.c: Likewise.
4662 * dirent/telldir.c: Likewise.
4663 * gmon/profil.c: Likewise.
4664 * grp/setgroups.c: Likewise.
4665 * inet/if_index.c: Likewise.
4666 * io/access.c: Likewise.
4667 * io/chdir.c: Likewise.
4668 * io/chmod.c: Likewise.
4669 * io/chown.c: Likewise.
4670 * io/close.c: Likewise.
4671 * io/dup.c: Likewise.
4672 * io/dup2.c: Likewise.
4673 * io/dup3.c: Likewise.
4674 * io/euidaccess.c: Likewise.
4675 * io/faccessat.c: Likewise.
4676 * io/fchdir.c: Likewise.
4677 * io/fchmod.c: Likewise.
4678 * io/fchmodat.c: Likewise.
4679 * io/fchown.c: Likewise.
4680 * io/fchownat.c: Likewise.
4681 * io/fcntl.c: Likewise.
4682 * io/flock.c: Likewise.
4683 * io/fstatfs.c: Likewise.
4684 * io/fstatfs64.c: Likewise.
4685 * io/fstatvfs.c: Likewise.
4686 * io/fstatvfs64.c: Likewise.
4687 * io/futimens.c: Likewise.
4688 * io/fxstat.c: Likewise.
4689 * io/fxstat64.c: Likewise.
4690 * io/fxstatat.c: Likewise.
4691 * io/fxstatat64.c: Likewise.
4692 * io/getcwd.c: Likewise.
4693 * io/isatty.c: Likewise.
4694 * io/lchmod.c: Likewise.
4695 * io/lchown.c: Likewise.
4696 * io/link.c: Likewise.
4697 * io/linkat.c: Likewise.
4698 * io/lseek.c: Likewise.
4699 * io/lseek64.c: Likewise.
4700 * io/lxstat64.c: Likewise.
4701 * io/mkdir.c: Likewise.
4702 * io/mkdirat.c: Likewise.
4703 * io/mkfifo.c: Likewise.
4704 * io/mkfifoat.c: Likewise.
4705 * io/open.c: Likewise.
4706 * io/open64.c: Likewise.
4707 * io/openat.c: Likewise.
4708 * io/openat64.c: Likewise.
4709 * io/pipe.c: Likewise.
4710 * io/pipe2.c: Likewise.
4711 * io/poll.c: Likewise.
4712 * io/posix_fadvise.c: Likewise.
4713 * io/posix_fadvise64.c: Likewise.
4714 * io/posix_fallocate.c: Likewise.
4715 * io/posix_fallocate64.c: Likewise.
4716 * io/read.c: Likewise.
4717 * io/readlink.c: Likewise.
4718 * io/readlinkat.c: Likewise.
4719 * io/rmdir.c: Likewise.
4720 * io/sendfile.c: Likewise.
4721 * io/sendfile64.c: Likewise.
4722 * io/statfs.c: Likewise.
4723 * io/statfs64.c: Likewise.
4724 * io/statvfs.c: Likewise.
4725 * io/statvfs64.c: Likewise.
4726 * io/symlink.c: Likewise.
4727 * io/symlinkat.c: Likewise.
4728 * io/ttyname.c: Likewise.
4729 * io/ttyname_r.c: Likewise.
4730 * io/umask.c: Likewise.
4731 * io/unlink.c: Likewise.
4732 * io/unlinkat.c: Likewise.
4733 * io/utime.c: Likewise.
4734 * io/utimensat.c: Likewise.
4735 * io/write.c: Likewise.
4736 * io/xmknod.c: Likewise.
4737 * io/xmknodat.c: Likewise.
4738 * io/xstat.c: Likewise.
4739 * io/xstat64.c: Likewise.
4740 * login/getpt.c: Likewise.
4741 * login/grantpt.c: Likewise.
4742 * login/unlockpt.c: Likewise.
4743 * math/e_acoshl.c: Likewise.
4744 * math/e_acosl.c: Likewise.
4745 * math/e_asinl.c: Likewise.
4746 * math/e_atan2l.c: Likewise.
4747 * math/e_atanhl.c: Likewise.
4748 * math/e_coshl.c: Likewise.
4749 * math/e_expl.c: Likewise.
4750 * math/e_fmodl.c: Likewise.
4751 * math/e_gammal_r.c: Likewise.
4752 * math/e_hypotl.c: Likewise.
4753 * math/e_j0l.c: Likewise.
4754 * math/e_j1l.c: Likewise.
4755 * math/e_jnl.c: Likewise.
4756 * math/e_lgammal_r.c: Likewise.
4757 * math/e_log10l.c: Likewise.
4758 * math/e_log2l.c: Likewise.
4759 * math/e_logl.c: Likewise.
4760 * math/e_powl.c: Likewise.
4761 * math/e_rem_pio2l.c: Likewise.
4762 * math/e_sinhl.c: Likewise.
4763 * math/e_sqrtl.c: Likewise.
4764 * math/fclrexcpt.c: Likewise.
4765 * math/fedisblxcpt.c: Likewise.
4766 * math/feenablxcpt.c: Likewise.
4767 * math/fegetenv.c: Likewise.
4768 * math/fegetexcept.c: Likewise.
4769 * math/fegetround.c: Likewise.
4770 * math/feholdexcpt.c: Likewise.
4771 * math/fesetenv.c: Likewise.
4772 * math/fesetround.c: Likewise.
4773 * math/feupdateenv.c: Likewise.
4774 * math/fgetexcptflg.c: Likewise.
4775 * math/fraiseexcpt.c: Likewise.
4776 * math/fsetexcptflg.c: Likewise.
4777 * math/ftestexcept.c: Likewise.
4778 * math/k_cosl.c: Likewise.
4779 * math/k_rem_pio2l.c: Likewise.
4780 * math/k_sinl.c: Likewise.
4781 * math/k_tanl.c: Likewise.
4782 * math/s_asinhl.c: Likewise.
4783 * math/s_atanl.c: Likewise.
4784 * math/s_cbrtl.c: Likewise.
4785 * math/s_erfl.c: Likewise.
4786 * math/s_expm1l.c: Likewise.
4787 * math/s_log1pl.c: Likewise.
4788 * math/s_tanhl.c: Likewise.
4789 * misc/acct.c: Likewise.
4790 * misc/brk.c: Likewise.
4791 * misc/chflags.c: Likewise.
4792 * misc/chroot.c: Likewise.
4793 * misc/fchflags.c: Likewise.
4794 * misc/fgetxattr.c: Likewise.
4795 * misc/flistxattr.c: Likewise.
4796 * misc/fremovexattr.c: Likewise.
4797 * misc/fsetxattr.c: Likewise.
4798 * misc/fsync.c: Likewise.
4799 * misc/ftruncate.c: Likewise.
4800 * misc/futimes.c: Likewise.
4801 * misc/futimesat.c: Likewise.
4802 * misc/getdomain.c: Likewise.
4803 * misc/getdtsz.c: Likewise.
4804 * misc/gethostid.c: Likewise.
4805 * misc/gethostname.c: Likewise.
4806 * misc/getloadavg.c: Likewise.
4807 * misc/getpagesize.c: Likewise.
4808 * misc/getsysstats.c: Likewise.
4809 * misc/getxattr.c: Likewise.
4810 * misc/gtty.c: Likewise.
4811 * misc/ioctl.c: Likewise.
4812 * misc/lgetxattr.c: Likewise.
4813 * misc/listxattr.c: Likewise.
4814 * misc/llistxattr.c: Likewise.
4815 * misc/lremovexattr.c: Likewise.
4816 * misc/lsetxattr.c: Likewise.
4817 * misc/lutimes.c: Likewise.
4818 * misc/madvise.c: Likewise.
4819 * misc/mincore.c: Likewise.
4820 * misc/mlock.c: Likewise.
4821 * misc/mlockall.c: Likewise.
4822 * misc/mmap.c: Likewise.
4823 * misc/mprotect.c: Likewise.
4824 * misc/msync.c: Likewise.
4825 * misc/munlock.c: Likewise.
4826 * misc/munlockall.c: Likewise.
4827 * misc/munmap.c: Likewise.
4828 * misc/preadv.c: Likewise.
4829 * misc/preadv64.c: Likewise.
4830 * misc/ptrace.c: Likewise.
4831 * misc/pwritev.c: Likewise.
4832 * misc/pwritev64.c: Likewise.
4833 * misc/readv.c: Likewise.
4834 * misc/reboot.c: Likewise.
4835 * misc/remap_file_pages.c: Likewise.
4836 * misc/removexattr.c: Likewise.
4837 * misc/revoke.c: Likewise.
4838 * misc/select.c: Likewise.
4839 * misc/setdomain.c: Likewise.
4840 * misc/setegid.c: Likewise.
4841 * misc/seteuid.c: Likewise.
4842 * misc/sethostid.c: Likewise.
4843 * misc/sethostname.c: Likewise.
4844 * misc/setregid.c: Likewise.
4845 * misc/setreuid.c: Likewise.
4846 * misc/setxattr.c: Likewise.
4847 * misc/sstk.c: Likewise.
4848 * misc/stty.c: Likewise.
4849 * misc/swapoff.c: Likewise.
4850 * misc/swapon.c: Likewise.
4851 * misc/sync.c: Likewise.
4852 * misc/syncfs.c: Likewise.
4853 * misc/syscall.c: Likewise.
4854 * misc/truncate.c: Likewise.
4855 * misc/ualarm.c: Likewise.
4856 * misc/usleep.c: Likewise.
4857 * misc/ustat.c: Likewise.
4858 * misc/utimes.c: Likewise.
4859 * misc/vhangup.c: Likewise.
4860 * misc/writev.c: Likewise.
4861 * posix/_exit.c: Likewise.
4862 * posix/alarm.c: Likewise.
4863 * posix/execve.c: Likewise.
4864 * posix/fexecve.c: Likewise.
4865 * posix/fork.c: Likewise.
4866 * posix/fpathconf.c: Likewise.
4867 * posix/getaddrinfo.c: Likewise.
4868 * posix/getegid.c: Likewise.
4869 * posix/geteuid.c: Likewise.
4870 * posix/getgid.c: Likewise.
4871 * posix/getgroups.c: Likewise.
4872 * posix/getlogin.c: Likewise.
4873 * posix/getlogin_r.c: Likewise.
4874 * posix/getpgid.c: Likewise.
4875 * posix/getpid.c: Likewise.
4876 * posix/getppid.c: Likewise.
4877 * posix/getresgid.c: Likewise.
4878 * posix/getresuid.c: Likewise.
4879 * posix/getsid.c: Likewise.
4880 * posix/getuid.c: Likewise.
4881 * posix/glob64.c: Likewise.
4882 * posix/nanosleep.c: Likewise.
4883 * posix/pathconf.c: Likewise.
4884 * posix/pause.c: Likewise.
4885 * posix/posix_madvise.c: Likewise.
4886 * posix/pread.c: Likewise.
4887 * posix/pread64.c: Likewise.
4888 * posix/pwrite.c: Likewise.
4889 * posix/pwrite64.c: Likewise.
4890 * posix/sched_getaffinity.c: Likewise.
4891 * posix/sched_getp.c: Likewise.
4892 * posix/sched_gets.c: Likewise.
4893 * posix/sched_primax.c: Likewise.
4894 * posix/sched_primin.c: Likewise.
4895 * posix/sched_rr_gi.c: Likewise.
4896 * posix/sched_setaffinity.c: Likewise.
4897 * posix/sched_setp.c: Likewise.
4898 * posix/sched_sets.c: Likewise.
4899 * posix/sched_yield.c: Likewise.
4900 * posix/setgid.c: Likewise.
4901 * posix/setlogin.c: Likewise.
4902 * posix/setpgid.c: Likewise.
4903 * posix/setresgid.c: Likewise.
4904 * posix/setresuid.c: Likewise.
4905 * posix/setsid.c: Likewise.
4906 * posix/setuid.c: Likewise.
4907 * posix/sleep.c: Likewise.
4908 * posix/spawni.c: Likewise.
4909 * posix/sysconf.c: Likewise.
4910 * posix/times.c: Likewise.
4911 * posix/wait.c: Likewise.
4912 * posix/wait3.c: Likewise.
4913 * posix/wait4.c: Likewise.
4914 * posix/waitpid.c: Likewise.
4915 * resolv/gai_sigqueue.c: Likewise.
4916 * resource/getpriority.c: Likewise.
4917 * resource/getrlimit.c: Likewise.
4918 * resource/getrusage.c: Likewise.
4919 * resource/nice.c: Likewise.
4920 * resource/setpriority.c: Likewise.
4921 * resource/setrlimit.c: Likewise.
4922 * resource/ulimit.c: Likewise.
4923 * rt/aio_cancel.c: Likewise.
4924 * rt/aio_fsync.c: Likewise.
4925 * rt/aio_read.c: Likewise.
4926 * rt/aio_sigqueue.c: Likewise.
4927 * rt/aio_suspend.c: Likewise.
4928 * rt/aio_write.c: Likewise.
4929 * rt/clock_getres.c: Likewise.
4930 * rt/clock_gettime.c: Likewise.
4931 * rt/clock_nanosleep.c: Likewise.
4932 * rt/clock_settime.c: Likewise.
4933 * rt/lio_listio.c: Likewise.
4934 * rt/mq_close.c: Likewise.
4935 * rt/mq_getattr.c: Likewise.
4936 * rt/mq_notify.c: Likewise.
4937 * rt/mq_open.c: Likewise.
4938 * rt/mq_receive.c: Likewise.
4939 * rt/mq_send.c: Likewise.
4940 * rt/mq_setattr.c: Likewise.
4941 * rt/mq_timedreceive.c: Likewise.
4942 * rt/mq_timedsend.c: Likewise.
4943 * rt/mq_unlink.c: Likewise.
4944 * rt/shm_open.c: Likewise.
4945 * rt/shm_unlink.c: Likewise.
4946 * rt/timer_create.c: Likewise.
4947 * rt/timer_delete.c: Likewise.
4948 * rt/timer_getoverr.c: Likewise.
4949 * rt/timer_gettime.c: Likewise.
4950 * rt/timer_settime.c: Likewise.
4951 * setjmp/__longjmp.c: Likewise.
4952 * setjmp/setjmp.c: Likewise.
4953 * signal/kill.c: Likewise.
4954 * signal/killpg.c: Likewise.
4955 * signal/raise.c: Likewise.
4956 * signal/sigaction.c: Likewise.
4957 * signal/sigaltstack.c: Likewise.
4958 * signal/sigblock.c: Likewise.
4959 * signal/sigignore.c: Likewise.
4960 * signal/sigintr.c: Likewise.
4961 * signal/signal.c: Likewise.
4962 * signal/sigpause.c: Likewise.
4963 * signal/sigpending.c: Likewise.
4964 * signal/sigqueue.c: Likewise.
4965 * signal/sigreturn.c: Likewise.
4966 * signal/sigset.c: Likewise.
4967 * signal/sigsetmask.c: Likewise.
4968 * signal/sigstack.c: Likewise.
4969 * signal/sigsuspend.c: Likewise.
4970 * signal/sigtimedwait.c: Likewise.
4971 * signal/sigvec.c: Likewise.
4972 * signal/sigwait.c: Likewise.
4973 * signal/sigwaitinfo.c: Likewise.
4974 * signal/sysv_signal.c: Likewise.
4975 * socket/accept.c: Likewise.
4976 * socket/accept4.c: Likewise.
4977 * socket/bind.c: Likewise.
4978 * socket/connect.c: Likewise.
4979 * socket/getpeername.c: Likewise.
4980 * socket/getsockname.c: Likewise.
4981 * socket/getsockopt.c: Likewise.
4982 * socket/isfdtype.c: Likewise.
4983 * socket/listen.c: Likewise.
4984 * socket/recv.c: Likewise.
4985 * socket/recvfrom.c: Likewise.
4986 * socket/recvmsg.c: Likewise.
4987 * socket/send.c: Likewise.
4988 * socket/sendmsg.c: Likewise.
4989 * socket/sendto.c: Likewise.
4990 * socket/setsockopt.c: Likewise.
4991 * socket/shutdown.c: Likewise.
4992 * socket/sockatmark.c: Likewise.
4993 * socket/socket.c: Likewise.
4994 * socket/socketpair.c: Likewise.
4995 * stdio-common/ctermid.c: Likewise.
4996 * stdio-common/cuserid.c: Likewise.
4997 * stdio-common/remove.c: Likewise.
4998 * stdio-common/rename.c: Likewise.
4999 * stdio-common/renameat.c: Likewise.
5000 * stdio-common/tempname.c: Likewise.
5001 * stdlib/getcontext.c: Likewise.
5002 * stdlib/makecontext.c: Likewise.
5003 * stdlib/setcontext.c: Likewise.
5004 * stdlib/swapcontext.c: Likewise.
5005 * stdlib/system.c: Likewise.
5006 * streams/fattach.c: Likewise.
5007 * streams/fdetach.c: Likewise.
5008 * streams/getmsg.c: Likewise.
5009 * streams/getpmsg.c: Likewise.
5010 * streams/putmsg.c: Likewise.
5011 * streams/putpmsg.c: Likewise.
5012 * sysdeps/unix/bsd/getpt.c: Likewise.
5013 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5014 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5015 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5017 Likewise.
5018 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5019 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5020 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5021 * sysvipc/msgctl.c: Likewise.
5022 * sysvipc/msgget.c: Likewise.
5023 * sysvipc/msgrcv.c: Likewise.
5024 * sysvipc/msgsnd.c: Likewise.
5025 * sysvipc/semctl.c: Likewise.
5026 * sysvipc/semget.c: Likewise.
5027 * sysvipc/semop.c: Likewise.
5028 * sysvipc/semtimedop.c: Likewise.
5029 * sysvipc/shmat.c: Likewise.
5030 * sysvipc/shmctl.c: Likewise.
5031 * sysvipc/shmdt.c: Likewise.
5032 * sysvipc/shmget.c: Likewise.
5033 * termios/tcdrain.c: Likewise.
5034 * termios/tcflow.c: Likewise.
5035 * termios/tcflush.c: Likewise.
5036 * termios/tcgetattr.c: Likewise.
5037 * termios/tcgetpgrp.c: Likewise.
5038 * termios/tcsendbrk.c: Likewise.
5039 * termios/tcsetattr.c: Likewise.
5040 * termios/tcsetpgrp.c: Likewise.
5041 * time/adjtime.c: Likewise.
5042 * time/clock.c: Likewise.
5043 * time/getitimer.c: Likewise.
5044 * time/gettimeofday.c: Likewise.
5045 * time/setitimer.c: Likewise.
5046 * time/settimeofday.c: Likewise.
5047 * time/stime.c: Likewise.
5048 * time/time.c: Likewise.
5049
50502012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 5051
a20492cf
PT
5052 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5053 /usr/old/bin.
5054
72e182e3
PT
5055 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5056 instead of spaces.
5057 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5058
fbeafede
JM
50592012-11-03 Joseph Myers <joseph@codesourcery.com>
5060
5b5b04d6
JM
5061 [BZ #14796]
5062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5063 FE_TONEAREST before applying Dekker multiplication and Knuth
5064 addition. Clear inexact exceptions and check for exact zero
5065 results afterwards.
5066 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5067 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5068 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5069 * math/libm-test.inc (fma_test): Add more tests.
5070 (fma_test_towardzero): Likewise.
5071 (fma_test_downward): Likewise.
5072 (fma_test_upward): Likewise.
5073 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5074 function.
5075 (libc_fesetround): New macro.
5076 (libc_fesetroundf): Likewise.
5077 (libc_fesetroundl): Likewise.
5078 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5079 function.
5080 (libc_fesetround_387): Likewise.
5081 (libc_fesetroundf): New macro.
5082 (libc_fesetround): Likewise.
5083 (libc_fesetroundl): Likewise.
5084 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5085 function.
5086 (libc_fesetroundf): New macro.
5087 (libc_fesetround): Likewise.
5088 (libc_fesetroundl): Likewise.
5089 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5090 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5091 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5092 libm_hidden_ver.
5093 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5094 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5095 libm_hidden_def.
5096 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5097 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5098 libm_hidden_ver.
5099 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5100 libm_hidden_def.
5101
fbeafede
JM
5102 [BZ #3439]
5103 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5104 integer constant usable in #if and use that to give value to enum
5105 constant.
5106 (FE_DIVBYZERO): Likewise.
5107 (FE_UNDERFLOW): Likewise.
5108 (FE_OVERFLOW): Likewise.
5109 (FE_INVALID): Likewise.
5110 (FE_INVALID_SNAN): Likewise.
5111 (FE_INVALID_ISI): Likewise.
5112 (FE_INVALID_IDI): Likewise.
5113 (FE_INVALID_ZDZ): Likewise.
5114 (FE_INVALID_IMZ): Likewise.
5115 (FE_INVALID_COMPARE): Likewise.
5116 (FE_INVALID_SOFTWARE): Likewise.
5117 (FE_INVALID_SQRT): Likewise.
5118 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5119 (FE_TONEAREST): Likewise.
5120 (FE_TOWARDZERO): Likewise.
5121 (FE_UPWARD): Likewise.
5122 (FE_DOWNWARD): Likewise.
5123 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5124 (FE_DIVBYZERO): Likewise.
5125 (FE_OVERFLOW): Likewise.
5126 (FE_UNDERFLOW): Likewise.
5127 (FE_INEXACT): Likewise.
5128 (FE_TONEAREST): Likewise.
5129 (FE_DOWNWARD): Likewise.
5130 (FE_UPWARD): Likewise.
5131 (FE_TOWARDZERO): Likewise.
5132 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5133 (FE_UNDERFLOW): Likewise.
5134 (FE_OVERFLOW): Likewise.
5135 (FE_DIVBYZERO): Likewise.
5136 (FE_INVALID): Likewise.
5137 (FE_TONEAREST): Likewise.
5138 (FE_TOWARDZERO): Likewise.
5139 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5140 (FE_OVERFLOW): Likewise.
5141 (FE_UNDERFLOW): Likewise.
5142 (FE_DIVBYZERO): Likewise.
5143 (FE_INEXACT): Likewise.
5144 (FE_TONEAREST): Likewise.
5145 (FE_TOWARDZERO): Likewise.
5146 (FE_UPWARD): Likewise.
5147 (FE_DOWNWARD): Likewise.
5148 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5149 (FE_DIVBYZERO): Likewise.
5150 (FE_OVERFLOW): Likewise.
5151 (FE_UNDERFLOW): Likewise.
5152 (FE_INEXACT): Likewise.
5153 (FE_TONEAREST): Likewise.
5154 (FE_DOWNWARD): Likewise.
5155 (FE_UPWARD): Likewise.
5156 (FE_TOWARDZERO): Likewise.
5157
105ca950
CM
51582012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5159
5160 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5161
a542b389
AS
51622012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5163
5164 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5165 commands. Quote $PWD.
5166 (blacklist_exports): Don't use remove_newlines. Replace "declare
5167 -x" by "export".
5168 (remove_newlines): Remove.
5169
f62c8abc
L
51702012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5171
5172 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5173 * stdlib/stdlib.h (atof): Moved to ...
5174 * include/bits/stdlib-float.h: Here. New file.
5175 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5176 * stdlib/bits/stdlib-float.h: New file.
5177 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5178 -mno-sse -mno-mmx.
5179 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5180 <xmmintrin.h>.
5181
0155d5b2
JM
51822012-11-02 Joseph Myers <joseph@codesourcery.com>
5183
a68d0680
JM
5184 * conform/conformtest.pl (@headers): Add fenv.h.
5185 * conform/data/fenv.h-data: New file.
5186 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5187 include of <math/fenv.h>.
5188
caf7f573
JM
5189 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5190 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5191 && !UNIX98]. Enables tests for XOPEN2K8.
5192 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5193 POSIX2008]: Likewise.
5194
6c073ad6
JM
5195 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5196 (struct rusage): Do not expect type or its members.
5197
0155d5b2
JM
5198 [BZ #3439]
5199 * math/math.h (FP_NAN): Define macro to integer constant usable in
5200 #if and use that to give value to enum constant.
5201 (FP_INFINITE): Likewise.
5202 (FP_ZERO): Likewise.
5203 (FP_SUBNORMAL): Likewise.
5204 (FP_NORMAL): Likewise.
5205
b5dcacb4
AS
52062012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5207
5208 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5209 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5210 arguments.
5211
f7934be8
RM
52122012-11-02 Roland McGrath <roland@hack.frob.com>
5213
5214 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5215 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5216 autoconf-time if not.
5217 * configure.in: Remove AC_PREREQ.
5218
d7d08bde
TMQMF
52192012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5220
5221 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5222 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5223 of the internal implementation.
5224
dcdae19a
JM
52252012-11-02 Joseph Myers <joseph@codesourcery.com>
5226
5227 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5228 except include of <misc/sys/syslog.h>.
5229
d6cffd3e
AS
52302012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5231
5232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5233 function returns with a NULL context exit with zero.
5234
b3563932
TMQMF
52352012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5236
5237 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5238
b288a93d
L
52392012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5240
5241 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5242 (run_program_cmd): This.
5243 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5244 (tst_langinfo): New variable. Use it.
5245
a2421a68
SAS
52462012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5247
5248 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5249 floating point opcodes.
5250
6f796e1b
TS
52512012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5252
7402596b
TS
5253 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5254 variable.
5255
d0d4f868
TS
5256 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5257
6f796e1b
TS
5258 * sysdeps/mach/hurd/powerpc: Remove directory.
5259 * sysdeps/mach/powerpc: Likewise.
5260
4da224a2
AS
52612012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5262
5263 * scripts/check-local-headers.sh: Ignore c++ headers.
5264
341dd673
TS
52652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5266
5267 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5268 __libc_cleanup_region_start argument.
5269
473611b2
JM
52702012-11-01 Joseph Myers <joseph@codesourcery.com>
5271
5272 [BZ #14784]
5273 [BZ #14785]
5274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5275 x * y using scaling, not as x * y + z.
5276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5277 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5278 * math/libm-test.inc (fma_test): Add more tests.
5279 (fma_test_towardzero): Likewise.
5280 (fma_test_downward): Likewise.
5281 (fma_test_upward): Likewise.
5282
4078da3d
TS
52832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5284
5285 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5286
903252aa
JM
52872012-10-31 Joseph Myers <joseph@codesourcery.com>
5288
5289 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5290 New variable.
5291
cbc818d0
TS
52922012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5293
5294 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5295
5a03cb1e
AS
52962012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5297
5298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5299 Fix sort order.
5300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5301 Likewise.
5302
90aff2ff
TMQMF
53032012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5304
5305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5306 Fix the order of the list for glibc 2.17.
5307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5308 Likewise.
5309
1818fcb7
AS
53102012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5311
5312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5313
ef82f4da
JM
53142012-10-31 Joseph Myers <joseph@codesourcery.com>
5315
16a0e2ec
JM
5316 [BZ #14610]
5317 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5318 for low part of x being zero before using __atanl (y).
5319 * math/libm-test.inc (atan2_test): Add another test.
5320
0eb69512
JM
5321 * manual/install.texi (Configuring and compiling): Document
5322 general use of test-wrapper and test-wrapper-env.
5323 * INSTALL: Regenerated.
5324
ef82f4da
JM
5325 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5326 (__fma): Do not extract and scale down low bits on after-rounding
5327 systems when result rounded to normal precision would have normal
5328 exponent.
5329 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5330 (__fmal): Do not extract and scale down low bits on after-rounding
5331 systems when result rounded to normal precision would have normal
5332 exponent.
5333 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5334 (__fmal): Do not extract and scale down low bits on after-rounding
5335 systems when result rounded to normal precision would have normal
5336 exponent.
5337 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5338 macro.
5339 (fma_test): Add more tests.
5340 (fma_test_towardzero): Likewise.
5341 (fma_test_downward): Likewise.
5342 (fma_test_upward): Likewise.
5343
954ef0d9
L
53442012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5345
5346 * sysdeps/i386/tininess.h: Renamed to ...
5347 * sysdeps/x86/tininess.h: This.
5348 * sysdeps/x86_64/tininess.h: Removed.
5349
df61ffb2
JM
53502012-10-30 Joseph Myers <joseph@codesourcery.com>
5351
5352 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5353 input. Use $(build-program-cmd).
5354 ($(objpfx)tst-array1-static.out): Likewise.
5355 ($(objpfx)tst-array2.out): Likewise.
5356 ($(objpfx)tst-array3.out): Likewise.
5357 ($(objpfx)tst-array4.out): Likewise.
5358 ($(objpfx)tst-array5.out): Likewise.
5359 ($(objpfx)tst-array5-static.out): Likewise.
5360
01767843
CM
53612012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5362
47cc1490
CM
5363 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5364 if defined.
5365
01767843
CM
5366 * nss/nsswitch.h (nss_interface_function): Provide new
5367 macro for use with NSS functions.
5368 * grp/initgroups.c: Use new macro.
5369 * nss/getXXbyYY.c: Likewise.
5370 * nss/getXXbyYY_r.c: Likewise.
5371 * nss/getXXent.c: Likewise.
5372 * nss/getXXent_r.c: Likewise.
5373 * sysdeps/posix/getaddrinfo.c: Likewise.
5374
8321aa97
AJ
53752012-10-30 Andreas Jaeger <aj@suse.de>
5376
5377 * po/ru.po: Update Russion translation from translation project.
5378
2a27fd6d
JM
53792012-10-30 Joseph Myers <joseph@codesourcery.com>
5380
8627a232
JM
5381 [BZ #14152]
5382 [BZ #14783]
5383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5384 result and shift together with sticky bit instead of replicating
5385 round-to-nearest rounding.
5386 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5387 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5388 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5389 missing underflow exceptions.
5390 (fma_test_towardzero): Add more tests.
5391 (fma_test_downward): Likewise.
5392 (fma_test_upward): Likewise.
5393
2a27fd6d
JM
5394 [BZ #14047]
5395 * sysdeps/generic/tininess.h: New file.
5396 * sysdeps/i386/tininess.h: Likewise.
5397 * sysdeps/sh/tininess.h: Likewise.
5398 * sysdeps/x86_64/tininess.h: Likewise.
5399 * stdlib/tst-strtod-underflow.c: Likewise.
5400 * stdlib/tst-tininess.c: Likewise.
5401 * stdlib/strtod_l.c: Include <tininess.h>.
5402 (round_and_return): Do not set errno for exact underflow cases.
5403 Force an underflow exception when setting errno for underflow.
5404 Determine underflow based on rounding to normal precision if
5405 TININESS_AFTER_ROUNDING.
5406 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5407 ERANGE for exact underflow cases.
5408 * stdlib/Makefile (tests): Add tst-tininess and
5409 tst-strtod-underflow.
5410 ($(objpfx)tst-tininess): Use $(link-libm).
5411 ($(objpfx)tst-strtod-underflow): Likewise.
5412
e7170363
AJ
54132012-10-30 Andreas Jaeger <aj@suse.de>
5414
e5088dc6
AJ
5415 [BZ#14767]
5416 * elf/Makefile (tests): Remove conditional for have-initfini-array
5417 since this is now always required and the variable does not exist
5418 anymore.
5419 (tests-static): Likewise.
5420 (modules-names): Likewise.
5421
e7170363 5422 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
5423
5424 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5425 merged with constructor/destructor.
5426 (init_array): Likewise.
5427 * elf/tst-array2dep.c (fini_array): Likewise.
5428 (init_array): Likewise.
5429
60457d8a
MF
54302012-10-29 Mike Frysinger <vapier@gentoo.org>
5431
5432 * manual/message.texi: Delete @cartouche tags.
5433
8bece752
PT
54342012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5435
94ce799f
PT
5436 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5437 EOPNOTSUPP.
5438 * sysdeps/mach/hurd/fsync.c: Likewise.
5439
8bece752
PT
5440 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5441 [_POSIX_REALTIME_SIGNALS]: Change condition to
5442 [_POSIX_REALTIME_SIGNALS > 0].
5443
86ebe6b1
AJ
54442012-10-27 Andreas Jaeger <aj@suse.de>
5445
5446 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5447 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5448 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5449 [__WORDSIZE != 64]: Likewise.
5450
54399c08
L
54512012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5452
5453 * iconvdata/tst-table.sh: Remove ${SHELL}.
5454 * iconvdata/tst-tables.sh: Likewise.
5455
e2211bed
DM
54562012-10-25 David S. Miller <davem@davemloft.net>
5457
5458 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5459 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5460 of strtoull.
5461
f303f97c
DM
5462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5463 ifunc-impl-list.c
5464 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5465 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5466 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5467 file.
5468
1e9d84cd
RM
54692012-10-25 Roland McGrath <roland@hack.frob.com>
5470
5471 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5472 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5473 __getdirentries.
5474
df381762
JM
54752012-10-25 Joseph Myers <joseph@codesourcery.com>
5476 Jim Blandy <jimb@codesourcery.com>
5477
5478 * scripts/cross-test-ssh.sh: New file.
5479 * manual/install.texi (Configuring and compiling): Document use of
5480 cross-test-ssh.sh.
5481 * INSTALL: Regenerated.
5482
bff64913
PT
54832012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5484
5485 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5486 EOPNOTSUPP.
5487
25fe8932
JM
54882012-10-25 Joseph Myers <joseph@codesourcery.com>
5489
5490 * Makeconfig (run-program-prefix): Fix comment.
5491
cc1290d0
JM
54922012-10-24 Joseph Myers <joseph@codesourcery.com>
5493 Jim Blandy <jimb@codesourcery.com>
5494
5495 * Makeconfig (test-wrapper): New variable,
5496 (test-wrapper-env): Likewise.
5497 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5498 (run-built-tests): Define to yes.
5499 (run-program-prefix): Use $(test-wrapper).
5500 (built-program-cmd): Likewise.
5501 * Rules (make-test-out): Use $(test-wrapper-env) and
5502 $(host-built-program-cmd).
5503 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5504 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5505 tst-pathopt.sh.
5506 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5507 $(test-wrapper-env) to tst-rtld-load-self.sh.
5508 ($(objpfx)order2.out): Use $(test-wrapper).
5509 ($(objpfx)tst-initorder.out): Likewise.
5510 ($(objpfx)tst-initorder2.out): Likewise.
5511 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5512 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5513 (test_wrapper_env): New variable. Use it to run ld.so.
5514 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5515 Use it to run ld.so.
5516 (test_wrapper_env): Likewise.
5517 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5518 $(test-wrapper) to run-iconv-test.sh.
5519 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5520 (ICONV): Use $test_wrapper.
5521 * posix/Makefile ($(objpfx)globtest.out): Pass
5522 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5523 globtest.sh, not $(run-program-prefix).
5524 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5525 (test_wrapper): Likewise.
5526 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5527 set together with run_via_rtld_prefix.
5528 (run_program_prefix): Define in terms of test_wrapper and
5529 run_via_rtld_prefix.
5530
6e6249d0
RM
55312012-10-24 Roland McGrath <roland@hack.frob.com>
5532
5533 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5534 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5535 Targets removed.
5536
5537 [BZ #14743]
5538 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5539 Declare __clock_getres, __clock_gettime, __clock_settime,
5540 __clock_nanosleep, and __clock_getcpuclockid.
5541 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5542 Remove librt_hidden_def (clock_gettime).
5543 * sysdeps/unix/clock_gettime.c: Likewise.
5544 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5545 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5546 * rt/clock_getres.c: Define __clock_getres as an alias.
5547 * sysdeps/posix/clock_getres.c: Likewise.
5548 * rt/clock_settime.c: Define __clock_settime as an alias.
5549 * sysdeps/unix/clock_settime.c: Likewise.
5550 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5551 * sysdeps/unix/clock_nanosleep.c: Likewise.
5552 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5553 * rt/clock-compat.c: New file.
5554 * rt/Makefile (librt-routines): Add clock-compat and move
5555 $(clock-routines) to ...
5556 (routines): ... here, new variable.
5557 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5558 Don't add get_clockfreq here.
5559 * rt/Versions (libc: GLIBC_2.17): New version set.
5560 Add clock_* symbols here.
5561 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5562 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5563 (GLIBC_2.17): Add clock_* symbols.
5564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5566 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5568 Likewise.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5570 Likewise.
5571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5575 * NEWS: Mention the move.
5576
5577 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5578 Use __open, __read, __close rather than their public counterparts.
5579 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5580 (__get_clockfreq_via_cpuinfo): Likewise.
5581 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5582 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5583
5584 * config.h.in (HAVE_IFUNC): New #undef.
5585 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5586 was successful.
5587 * configure: Regenerated.
5588
0cae3f4b
MF
55892012-10-24 Mike Frysinger <vapier@gentoo.org>
5590
5591 * configure.in: Move READELF check to start of file.
5592 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5593 libc_cv_asm_gnu_indirect_function in the process.
5594 * configure: Regenerated.
5595
8175a253
MF
55962012-10-24 Mike Frysinger <vapier@gentoo.org>
5597
5598 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5599 send the output to /dev/null.
5600 (libc_cv_cc_with_libunwind): Likewise.
5601 (libc_cv_as_noexecstack): Likewise.
5602 * configure: Regenerate.
5603
0708a7d1
JM
56042012-10-24 Joseph Myers <joseph@codesourcery.com>
5605
10b40d85
JM
5606 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5607
0708a7d1
JM
5608 * posix/globtest.sh (TMPDIR): Do not set.
5609 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5610 (testout): Likewise.
5611
9fddec1a
AJ
56122012-10-24 Andreas Jaeger <aj@suse.de>
5613
3a8db22f
AJ
5614 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5615 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5616 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5617 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5618 posix_fadvise64, posix_fallocate64.
5619
9fddec1a
AJ
5620 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5621 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5622 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5623 Likewise.
5624 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5625 Likewise.
5626 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5627
5628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5629 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5630 <bits/fcntl-linux.h>.
5631 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5632
5633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5634 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5635 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5636 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5637 [__WORDSIZE != 64]: Likewise.
5638
ebfd1bbd
JM
56392012-10-23 Joseph Myers <joseph@codesourcery.com>
5640
03ac099f
JM
5641 * Makeconfig (run-built-tests): New variable.
5642 * Rules [$(cross-compiling) = yes]: Change condition to
5643 [$(run-built-tests) = no].
5644 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5645 to [$(run-built-tests) = yes].
5646 * elf/Makefile [$(cross-compiling) = no]: Likewise
5647 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5648 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5649 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5650 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5651 * io/Makefile [$(cross-compiling) = no]: Likewise.
5652 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5653 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5654 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5655 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5656 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5657 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5658 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5659 * string/Makefile [$(cross-compiling) = no]: Likewise.
5660
ebfd1bbd
JM
5661 * posix/Makefile ($(objpfx)globtest.out): Pass
5662 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5663 $(rtld-installed-name).
5664 * posix/globtest.sh (elf_objpfx): Remove variable.
5665 (rtld_installed_name): Likewise.
5666 (library_path): Likewise.
5667 (run_program_prefix): New variable. Use for running globtest
5668 binary.
5669
166bca24
JB
56702012-10-23 Jim Blandy <jimb@codesourcery.com>
5671 Joseph Myers <joseph@codesourcery.com>
5672
5673 * Makeconfig (host-built-program-cmd): New variable.
5674 * elf/Makefile (tst-stackguard1-ARGS): Use
5675 $(host-built-program-cmd).
5676 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5677 (tst-spawn-ARGS): Likewise.
5678 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5679
88866099
JM
56802012-10-23 Joseph Myers <joseph@codesourcery.com>
5681 Jim Blandy <jimb@codesourcery.com>
5682
5683 * Makeconfig (run-via-rtld-prefix): New variable.
5684 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5685 (built-program-cmd): Likewise.
5686
b4b4c296
AJ
56872012-10-22 Andreas Jaeger <aj@suse.de>
5688
5689 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5690 __O_RSYNC if it exists, otherwise to O_SYNC.
5691
6fb54a22
JB
56922012-10-22 Jim Blandy <jimb@codesourcery.com>
5693 Joseph Myers <joseph@codesourcery.com>
5694
5695 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5696 /dev/null.
5697 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5698 from /dev/null
5699 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5700 /dev/null.
5701
481b90b9
AJ
57022012-10-22 Andreas Jaeger <aj@suse.de>
5703
2a0e2669
AJ
5704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5705 Define always.
5706 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5707
76e38f9a
AJ
5708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5709 bits/fcntl-linux.h.
5710
7cd37b43
AJ
5711 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5712 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5713
481b90b9
AJ
5714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5715 to __O_LARGEFILE.
5716 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5717 to __O_LARGEFILE.
5718
aba75984
JB
57192012-10-21 Jim Blandy <jimb@codesourcery.com>
5720 Joseph Myers <joseph@codesourcery.com>
5721
5722 * config.make.in (NM): New variable.
5723
88d4247f
AJ
57242012-10-21 Andreas Jaeger <aj@suse.de>
5725
5726 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5727 definitions and declarations that are provided by
5728 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5729
f2eed205
L
57302012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5731
5732 [BZ #14683]
5733 * elf/Makefile (tests-static): Add tst-leaks1-static.
5734 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5735 ($(objpfx)tst-leaks1-static): New rule.
5736 ($(objpfx)tst-leaks1-static-mem): Likewise.
5737 (tst-leaks1-static-ENV): New macro.
5738 * elf/dl-open.c (dl_open_worker): Check the main application
5739 only if SHARED is defined.
5740 * elf/tst-leaks1-static.c: New file.
5741
335e6931
AJ
57422012-10-20 Andreas Jaeger <aj@suse.de>
5743
5744 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5745 generic values for Linux.
5746 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5747 and declarations that are provided by <bits/fcntl-linux.h> and
5748 include <bits/fcntl-linux.h>.
5749 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5751
ac5c94d3
RM
57522012-10-20 Roland McGrath <roland@hack.frob.com>
5753
5754 * io/fcntl.h: Move include of <bits/types.h> to the top and
5755 include it unconditionally.
5756
de54b33a
L
57572012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5758
228cfb01
L
5759 * wcsmbs/Makefile (tests-ifunc): New variable.
5760 (tests): Add $(tests-ifunc).
5761 * wcsmbs/test-wcschr-ifunc.c: New file.
5762 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5763 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5764 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5765 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5766 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5767
69f07e5f
L
5768 * string/Makefile (tests-ifunc): New variable.
5769 (tests): Add $(tests-ifunc).
5770 * string/test-memccpy.c (TEST_NAME): New macro.
5771 * string/test-memchr.c (TEST_NAME): Likewise.
5772 * string/test-memcmp.c (TEST_NAME): Likewise.
5773 * string/test-memcpy.c (TEST_NAME): Likewise.
5774 * string/test-memmem.c (TEST_NAME): Likewise.
5775 * string/test-memmove.c (TEST_NAME): Likewise.
5776 * string/test-memset.c (TEST_NAME): Likewise.
5777 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5778 * string/test-stpcpy.c (TEST_NAME): Likewise.
5779 * string/test-stpncpy.c (TEST_NAME): Likewise.
5780 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5781 * string/test-strcasestr.c (TEST_NAME): Likewise.
5782 * string/test-strcat.c (TEST_NAME): Likewise.
5783 * string/test-strchr.c (TEST_NAME): Likewise.
5784 * string/test-strcmp.c(TEST_NAME): Likewise.
5785 * string/test-strcpy.c (TEST_NAME): Likewise.
5786 * string/test-strcspn.c (TEST_NAME): Likewise.
5787 * string/test-strlen.c (TEST_NAME): Likewise.
5788 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5789 * string/test-strncmp.c (TEST_NAME): Likewise.
5790 * string/test-strncpy.c (TEST_NAME): Likewise.
5791 * string/test-strnlen.c (TEST_NAME): Likewise.
5792 * string/test-strpbrk.c (TEST_NAME): Likewise.
5793 * string/test-strrchr.c (TEST_NAME): Likewise.
5794 * string/test-strspn.c (TEST_NAME): Likewise.
5795 * string/test-strstr.c (TEST_NAME): Likewise.
5796 * string/test-bcopy-ifunc.c: New file.
5797 * string/test-bzero-ifunc.c: Likewise.
5798 * string/test-memccpy-ifunc.c: Likewise.
5799 * string/test-memchr-ifunc.c: Likewise.
5800 * string/test-memcmp-ifunc.c: Likewise.
5801 * string/test-memcpy-ifunc.c: Likewise.
5802 * string/test-memmem-ifunc.c: Likewise.
5803 * string/test-memmove-ifunc.c: Likewise.
5804 * string/test-mempcpy-ifunc.c: Likewise.
5805 * string/test-memset-ifunc.c: Likewise.
5806 * string/test-rawmemchr-ifunc.c: Likewise.
5807 * string/test-stpcpy-ifunc.c: Likewise.
5808 * string/test-stpncpy-ifunc.c: Likewise.
5809 * string/test-strcasecmp-ifunc.c: Likewise.
5810 * string/test-strcasestr-ifunc.c: Likewise.
5811 * string/test-strcat-ifunc.c: Likewise.
5812 * string/test-strchr-ifunc.c: Likewise.
5813 * string/test-strchrnul-ifunc.c: Likewise.
5814 * string/test-strcmp-ifunc.c: Likewise.
5815 * string/test-strcpy-ifunc.c: Likewise.
5816 * string/test-strcspn-ifunc.c: Likewise.
5817 * string/test-strlen-ifunc.c: Likewise.
5818 * string/test-strncasecmp-ifunc.c: Likewise.
5819 * string/test-strncat-ifunc.c: Likewise.
5820 * string/test-strncmp-ifunc.c: Likewise.
5821 * string/test-strncpy-ifunc.c: Likewise.
5822 * string/test-strnlen-ifunc.c: Likewise.
5823 * string/test-strpbrk-ifunc.c: Likewise.
5824 * string/test-strrchr-ifunc.c: Likewise.
5825 * string/test-strspn-ifunc.c: Likewise.
5826 * string/test-strstr-ifunc.c: Likewise.
5827
de54b33a
L
5828 * debug/Makefile (tests-ifunc): New variable.
5829 (tests): Add $(tests-ifunc).
5830 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5831 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5832 * debug/test-stpcpy_chk-ifunc.c: New file.
5833 * debug/test-strcpy_chk-ifunc.c: Likewise.
5834
88481c16
SP
58352012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5836
5837 [BZ #13601]
5838 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5839 header is not read in.
5840
135948bd
JM
58412012-10-19 Joseph Myers <joseph@codesourcery.com>
5842
89f1c388
JM
5843 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5844 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5845 directly. Pass built executable to script as
5846 $(built-program-cmd).
5847 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5848 $testprogram without using LD_LIBRARY_PATH and $ldso.
5849
e40a0d21
JM
5850 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5851 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5852 $(rtld-installed-name).
5853 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5854 (rtld_installed_name): Likewise.
5855 (library_path): Likewise.
5856 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5857 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5858 $(run-program-prefix) to tst-tables.sh.
5859 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5860 it to run tst-table-from and tst-table-to.
5861 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5862 Pass it to tst-table.sh.
5863 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5864 $(run-program-prefix) to tst-gettext.sh.
5865 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5866 tst-translit.sh.
5867 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5868 tst-gettext2.sh.
5869 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5870 to run tst-gettext.
5871 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5872 to run tst-gettext2.
5873 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5874 to run tst-translit.
5875 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5876 $(run-program-prefix) to tst-mtrace.sh.
5877 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5878 to run tst-mtrace.
5879 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5880 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5881 $(rtld-installed-name).
5882 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5883 (rtld_installed_name): Likewise.
5884 (run_program_prefix): New variable. Use it to run wordexp-test.
5885
728e272a
JM
5886 * Makeconfig (ARCH): Remove all definitions.
5887 (machine): Likewise.
5888 [ARCH]: Remove conditional code.
5889 [!objdir]: Give error.
5890 [!objdir] (objpfx): Remove.
5891 [!objdir] (common-objpfx): Likewise.
5892 [!objdir] (common-objdir): Likewise.
5893 * configure.in (config_makefile): Remove. Hardcode Makefile in
5894 AC_CONFIG_FILES call.
5895 * configure: Regenerated.
5896
d528cdcf
JM
5897 [BZ #13888]
5898 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5899 or TMPDIR.
5900 (testout): Likewise.
5901
135948bd
JM
5902 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5903 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5904 $(rtld-installed-name).
5905 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5906 (rtld_installed_name): Likwise.
5907 (runit): Remove function.
5908 (run_getconf): New variable, Use it for running getconf binary.
5909
38c78296
L
59102012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5911
5912 [BZ #14716]
5913 * string/test-memmem.c (check_result): New function.
5914 (do_one_test): Use it.
5915 (check1): New function.
5916 (test_main): Use it.
5917
d077f65f
MT
59182012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5919
5920 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5921
ced52c71
JM
59222012-10-18 Joseph Myers <joseph@codesourcery.com>
5923
5924 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5925 (_G_LSEEK64): Likewise.
5926 (_G_MMAP64): Likewise.
5927 (_G_FSTAT64): Likewise.
5928 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5929 (_G_LSEEK64): Likewise.
5930 (_G_MMAP64): Likewise.
5931 (_G_FSTAT64): Likewise.
5932 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5933 unconditional. Call __mmap64 directly.
5934 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5935 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5936 __lseek64 directly.
5937 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5938 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5939 __mmap64 directly.
5940 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5941 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5942 __lseek64 directly.
5943 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5944 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5945 __lseek64 directly.
5946 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5947 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5948 __lseek64 directly.
5949 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5950 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5951 __fxstat64 directly.
5952 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5953 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5954 unconditional.
5955 (freopen64) [!_G_OPEN64]: Remove conditional code.
5956 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5957 unconditional.
5958 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5959 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5960 unconditional.
5961 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5962 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5963 unconditional.
5964 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5965 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5966 unconditional.
5967 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5968 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5969 unconditional.
5970 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5971 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5972 unconditional.
5973 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5974 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5975 unconditional.
5976 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5977
b741de23
SP
59782012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5979
5980 [BZ #12140]
5981 * manual/memory.texi (Malloc Tunable Parameters): Add note
5982 about free list pointers overwriting some perturb bytes.
5983 Wording suggested by Roland McGrath.
5984
f9b9d9c9
JM
59852012-10-17 Joseph Myers <joseph@codesourcery.com>
5986
5987 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5988 (lgamma_test): Likewise.
5989 (tgamma_test): Likewise.
5990
172a631a
FW
59912012-10-16 Florian Weimer <fweimer@redhat.com>
5992
5993 [BZ #14700]
5994 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5995 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5996
e9f37252
MK
59972012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5998
5999 * NEWS: Mention BZ #14716.
6000 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6001 when removing AVAILABLE1_USES_J macro.
6002
d394eb74
L
60032012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6004
6005 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6006 (__bswap_64): __uint64_t for unsigned 64-bit int.
6007
ca38dc17
AS
60082012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6009
6010 * include/string.h (memmem): Declare libc hidden alias.
6011 * string/memmem.c (memmem): Define libc hidden alias.
6012 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6013 __read, __close instead of open, read, close.
6014
9a387d1f
L
60152012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6016
ac49ecaf
L
6017 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6018 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6019 global and hidden.
6020 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6021 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6022 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6023 Likewise.
6024 (__rawmemchr_sse2): Likewise.
6025 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6026 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6027 (__strchr_sse2): Likewise.
6028 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6029 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6030 (__strcasecmp_sse2): Likewise.
6031 (__strncasecmp_sse2): Likewise.
6032 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6033 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6034 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6035 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6036 (__strrchr_sse2): Likewise.
6037 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6038 ifunc-impl-list.c.
6039 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6040 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6041 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6042 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6043 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6044 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6045 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6046 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6047 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6048 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6049 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6050 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6051 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6052 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6053 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6054 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6055 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6056 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6057 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6058 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6059 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6060 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6061 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6062 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6063 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6064 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6065 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6066 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6067 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6068 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6069
b090e8ea
L
6070 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6071 global and hidden.
6072 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6073 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6074 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6075 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6076 Likewise.
6077 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6078 Likewise.
6079 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6080 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6081 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6082 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6083 ifunc-impl-list.c.
6084 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6085 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6086 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6087 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6088 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6089 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6090 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6091 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6092 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6093 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6094 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6095 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6096 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6097 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6098 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6099 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6100 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6101 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6102 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6103 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6104 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6105 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6106 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6107 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6108 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6109 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6110 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6111 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6112 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6113 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6114 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6115 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6116 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6117 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6118 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6119 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6120 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6121 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6122 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6123 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6124 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6125
11dd4af6
L
6126 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6127 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6128 * include/ifunc-impl-list.h: New file.
6129 * misc/ifunc-impl-list.c: Likewise.
6130 * misc/Makefile (routines): Add ifunc-impl-list.
6131 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6132 * string/test-string.h: Include <ifunc-impl-list.h>.
6133 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6134 impl_array): New variables.
6135 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6136 are defined.
6137 (test_init): Call __libc_ifunc_impl_list to initialize
6138 func_list if TEST_IFUNC and TEST_NAME are defined.
6139
9a387d1f
L
6140 * string/Makefile (strop-tests): Add bcopy and bzero.
6141 * string/test-bcopy.c: New file.
6142 * string/test-bzero.c: Likewise.
6143 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6144 defined.
6145 * string/test-memset.c: Support bzero test if TEST_BZERO is
6146 defined.
6147 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6148 __libc_memmove.
6149 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6150 __libc_memset.
6151 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6152 of memset.
6153
472371b9
JM
61542012-10-10 Joseph Myers <joseph@codesourcery.com>
6155
1e4a9536
JM
6156 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6157 * configure: Regenerated.
6158
d173d12e
JM
6159 * Makeconfig (+link-static-before-libc): Don't include
6160 $(link-static-libc).
6161
472371b9
JM
6162 * libio/libio.h (_IO_pos_t): Remove.
6163
89a3ad0b
AO
61642012-10-10 Alexandre Oliva <aoliva@redhat.com>
6165
6166 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6167 McGrath.
6168
e7451425
AO
61692012-10-10 Alexandre Oliva <aoliva@redhat.com>
6170
6171 * crypt/crypt-entry.c: Include fips-private.h.
6172 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6173 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6174 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6175 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6176
4ba74a35
AO
61772012-10-10 Alexandre Oliva <aoliva@redhat.com>
6178
6179 * crypt/crypt-private.h: Include stdbool.h.
6180 (_ufc_setup_salt_r): Return bool.
6181 * crypt/crypt-entry.c: Include errno.h.
6182 (__crypt_r): Return NULL with EINVAL for bad salt.
6183 * crypt/crypt_util.c (bad_for_salt): New.
6184 (_ufc_setup_salt_r): Check that salt is long enough and within
6185 the specified alphabet.
6186 * crypt/badsalttest.c: New file.
6187 * crypt/Makefile (tests): Add it.
6188 ($(objpfx)badsalttest): New.
6189
f96f1242
MK
61902012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6191
6192 * NEWS: Add entry for BZ #14602.
6193
0e8e0c1c
JM
61942012-10-09 Joseph Myers <joseph@codesourcery.com>
6195
6196 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6197 type-generic.
6198 * math/libm-test.inc: Update comment listing what functions and
6199 macros are tested.
6200 (isgreater_test): New function.
6201 (isgreaterequal_test): Likewise.
6202 (isless_test): Likewise.
6203 (islessequal_test): Likewise.
6204 (islessgreater_test): Likewise.
6205 (isunordered_test): Likewise.
6206 (main): Call the new functions.
6207
273edc5e
RM
62082012-10-09 Roland McGrath <roland@hack.frob.com>
6209
b8493de0
RM
6210 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6211 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6212 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6213 * sysdeps/i386/configure: Regenerated.
6214 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6215 * sysdeps/mach/configure: Regenerated.
6216 * sysdeps/mach/hurd/configure: Regenerated.
6217 * sysdeps/powerpc/configure: Regenerated.
6218 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6219 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6220 * sysdeps/s390/s390-32/configure: Regenerated.
6221 * sysdeps/s390/s390-64/configure: Regenerated.
6222 * sysdeps/sh/configure: Regenerated.
6223 * sysdeps/sparc/configure: Regenerated.
6224 * sysdeps/unix/sysv/linux/configure: Regenerated.
6225 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6226 * sysdeps/x86_64/configure: Regenerated.
6227
273edc5e
RM
6228 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6229 defined. Don't check if MAP is NULL.
6230
c8450f70
JM
62312012-10-09 Joseph Myers <joseph@codesourcery.com>
6232
6233 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6234 (_G_stat64): Likewise.
6235 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6236 (_G_stat64): Likewise.
6237 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6238 instead of struct _G_stat64.
6239 * libio/fileops.c (mmap_remap_check): Likewise.
6240 (decide_maybe_mmap): Likewise.
6241 (_IO_new_file_seekoff): Likewise.
6242 (_IO_file_stat): Likewise.
6243 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6244 _G_off64_t.
6245 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6246 instead of struct _G_stat64.
6247 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6248
57e605ba
MK
62492012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6250
6251 [BZ #14602]
6252 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6253 Replace with ...
6254 (CHECK_EOL): New macro.
6255 (two_way_short_needle): Check beginning of haystack for EOL. Use
6256 CHECK_EOL.
6257 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6258 Replace with CHECK_EOL.
6259 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6260 Replace with CHECK_EOL.
6261
ef1bb361
JM
62622012-10-08 Joseph Myers <joseph@codesourcery.com>
6263
6264 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6265 type-generic.
6266 * math/libm-test.inc: Update comment listing what functions and
6267 macros are tested.
6268 (finite_test): New function.
6269 (isinf_test): Likewise.
6270 (isnan_test): Likewise.
6271 (fpclassify_test): Test subnormal input.
6272 (isfinite_test): Likewise.
6273 (isnormal_test): Likewise.
6274 (main): Call the new functions.
6275
55f11534
JN
62762012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6277
6278 [BZ #14660]
6279 * Makerules (%.dynsym): Force C locale when running
6280 $(OBJDUMP) --dynamic-syms.
6281
1ab29350
AS
62822012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6283
6284 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6285 <stdint.h>.
6286
f1ecb7ef
DM
62872012-10-06 David S. Miller <davem@davemloft.net>
6288
6289 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6290 upper 32-bits of the length value in %o2 since we use branch-on-register
6291 tests which consider the entire 64-bit register.
6292
5d41d91a
L
62932012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6294
6295 * string/test-strstr.c (check2): Add a test for page boundary.
6296
3baddb72
DM
62972012-10-05 David S. Miller <davem@davemloft.net>
6298
6299 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6300 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6301 file.
6302 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6303 sysdep_routines.
6304 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6305 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6306 and bzero when HWCAP_SPARC_CRYPTO is present.
6307
9cee5585
L
63082012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6309
d7e0dab9
L
6310 [BZ #14602]
6311 * string/test-strstr.c (check2): New function.
6312 (test_main): Call check2.
6313
03759f47
L
6314 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6315 and bug-strchr1.
6316 * string/bug-strcasestr1.c (do_test): Moved to ...
6317 * string/test-strcasestr.c (check1): Here. New function.
6318 (do_one_test): Break out result checking code into ...
6319 (check_result): This. New function.
6320 (do_one_test): Call check_result.
6321 (test_main): Call check1.
6322 * string/bug-strchr1.c (do_test): Moved to ...
6323 * string/test-strchr.c (check1): Here. New function.
6324 (do_one_test): Break out result checking code into ...
6325 (check_result): This. New function.
6326 (do_one_test): Call check_result.
6327 (test_main): Call check1.
6328 * string/bug-strstr1.c (main): Moved to ...
046f153e 6329 * string/test-strstr.c (check1): Here. New function.
03759f47
L
6330 (do_one_test): Break out result checking code into ...
6331 (check_result): This. New function.
6332 (do_one_test): Call check_result.
6333 (test_main): Call check1.
6334 * string/bug-strcasestr1.c: Removed.
6335 * string/bug-strchr1.c: Likewise.
6336 * string/bug-strstr1.c: Likewise.
6337
53cea63e
L
6338 * elf/Makefile (dl-routines): Add hwcaps.
6339 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6340 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6341 (_dl_important_hwcaps): Moved to ...
6342 * elf/dl-hwcaps.c: Here. New file.
6343 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6344
9cee5585 6345 [BZ #14557]
bb859b06
L
6346 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6347 if IS_IN_rtld isn't defined.
6348
9cee5585
L
6349 * elf/dl-support.c (_dl_sysinfo_map): New.
6350 Include "get-dynamic-info.h" and "setup-vdso.h".
6351 (_dl_non_dynamic_init): Call setup_vdso.
6352 * elf/dynamic-link.h: Don't include <assert.h>.
6353 (elf_get_dynamic_info): Moved to ...
6354 * elf/get-dynamic-info.h: Here. New file.
6355 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6356 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6357 * elf/setup-vdso.h: Here. New file.
6358 * elf/rtld.c: Include "setup-vdso.h".
6359 (dl_main): Call setup_vdso.
6360
23c31b76
JM
63612012-10-05 Joseph Myers <joseph@codesourcery.com>
6362
28234b07
JM
6363 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6364 creal in comment listing functions tested. List finite, isinf,
6365 isnan, isless, islessequal, isgreater, isgreaterequal,
6366 islessgreater, isunordered, lgamma_r and pow10 as functions and
6367 macros not tested. Mention which functions not tested are aliases
6368 for other functions. Fix typo. Note that signs of NaNs are not
6369 tested.
6370
23c31b76
JM
6371 * scripts/config.guess: Update from config.git.
6372 * scripts/config.sub: Likewise.
6373
9043e228
RM
63742012-10-04 Roland McGrath <roland@hack.frob.com>
6375
6376 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6377 * misc/madvise.c (madvise): Renamed to __madvise.
6378 Make madvise a weak alias.
6379 * include/sys/mman.h: Declare __madvise.
6380 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6381 * sysdeps/unix/syscalls.list
6382 (madvise): Make __madvise the strong name, and madvise a weak alias.
6383 * sysdeps/unix/sysv/linux/syscalls.list
6384 (madvise, mmap): Remove redundant entries.
6385 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6386 * malloc/malloc.c (mtrim): Likewise.
6387 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6388
f57f8055
RM
63892012-10-03 Roland McGrath <roland@hack.frob.com>
6390
6391 * sysdeps/mach/hurd/dl-cache.c: File removed.
6392 * config.h.in (USE_LDCONFIG): New #undef.
6393 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6394 * configure: Regenerated.
6395 * elf/Makefile (dl-routines): Add dl-cache only under
6396 [$(use-ldconfig) = yes].
6397 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6398 cache on [USE_LDCONFIG].
6399 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6400 [USE_LDCONFIG].
6401 * elf/rtld.c (dl_main): Likewise.
6402
5bb0c10a
PT
64032012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6404
6405 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6406 _SC_LEVEL4_CACHE_LINESIZE.
6407
010188c6
RM
64082012-10-03 Roland McGrath <roland@hack.frob.com>
6409
6410 * sysdeps/unix/bsd/confstr.h: File removed.
6411
b6c5ec07
AO
64122012-10-02 Alexandre Oliva <aoliva@redhat.com>
6413
6414 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6415 sys/sdt-config.h.
6416
408223d4
RM
64172012-10-02 Roland McGrath <roland@hack.frob.com>
6418
6419 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6420 Make 'mapoff' field ElfW(Off) rather than off_t.
6421
bb9510dc
DL
64222012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6423
fc997c6e
DL
6424 * nscd/Makefile: Remove nscd-cflags and all its users.
6425 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6426 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6427
bb9510dc
DL
6428 [BZ #10631]
6429 * malloc.c (malloc_printerr): Clarify error message.
6430
05699367
L
64312012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6432
6433 [BZ #14648]
6434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6435 Set bit_FMA_Usable if FMA is supported.
6436 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6437 macro.
6438 (bit_FMA4_Usable): Updated.
6439 (index_FMA_Usable): New macro.
6440 (CPUID_FMA): Likewise
6441 (HAS_FMA): Defined with bit_FMA_Usable.
6442
51367701
RM
64432012-10-01 Roland McGrath <roland@hack.frob.com>
6444
6445 * bits/types.h (__swblk_t): Type removed.
6446 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6447 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6448 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6449 (__SWBLK_T_TYPE): Likewise.
6450 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6451 (__SWBLK_T_TYPE): Likewise.
6452 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6453 (__SWBLK_T_TYPE): Likewise.
6454 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6455 (__SWBLK_T_TYPE): Likewise.
6456
4d57bf63 64572012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 6458 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
6459
6460 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6461 (xdr_mapname): Use YPMAXMAP as maxsize.
6462 (xdr_peername): Use YPMAXPEER as maxsize.
6463 (xdr_keydat): Use YPAXRECORD as maxsize.
6464 (xdr_valdat): Use YPMAXRECORD as maxsize.
6465
93c65d43
RM
64662012-10-01 Roland McGrath <roland@hack.frob.com>
6467
497a03d6
RM
6468 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6469
93c65d43
RM
6470 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6471 * csu/init-first.c: ... here.
6472 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6473 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6474 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6475 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6476 * sysdeps/i386/init-first.c: File removed.
6477 * sysdeps/sh/init-first.c: File removed.
6478
bec749fd
JM
64792012-10-01 Joseph Myers <joseph@codesourcery.com>
6480
6481 [BZ #14645]
6482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6483 if x * y might underflow to zero and z is zero.
6484 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6485 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6486 * math/libm-test.inc (min_subnorm_value): New variable.
6487 (fma_test): Add more tests.
6488 (fma_test_towardzero): Likewise.
6489 (fma_test_downward): Likewise
6490 (fma_test_upward): Likewise.
6491 (initialize): Set min_subnorm_value.
6492
8ec5b013
JM
64932012-09-29 Joseph Myers <joseph@codesourcery.com>
6494
6495 [BZ #14638]
6496 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6497 0 + 0.
6498 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6499 mode for addition resulting in exact zero.
6500 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6502 exact 0 + 0.
6503 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6504 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6505 * math/libm-test.inc (fma_test): Add more tests.
6506 (fma_test_towardzero): New function.
6507 (fma_test_downward): Likewise.
6508 (fma_test_upward): Likewise.
6509 (main): Call the new functions.
6510
b1fa802e
DM
65112012-09-28 David S. Miller <davem@davemloft.net>
6512
6513 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6514
d3b9fd9e
RM
65152012-09-28 Roland McGrath <roland@hack.frob.com>
6516
ea4d37b3
RM
6517 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6518 instead of SIGALRM.
6519
ac51c949
RM
6520 * sysdeps/gnu/_G_config.h: Moved to ...
6521 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6522 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6523 * sysdeps/generic/_G_config.h: ... here.
6524
28c195f7
RM
6525 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6526
848917f9
RM
6527 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6528
6bacf05b
RM
6529 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6530 Conditionalize target on [libnss_test1.so-version].
6531
91363dbb
RM
6532 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6533
cc87f7d8
RM
6534 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6535 (elfobjdir): Move out of conditionals.
6536
b1c608fe
RM
6537 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6538 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6539 (__nss_lookup_function): Conditionalize label remove_from_tree on
6540 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 6541
1d9a6d96
DM
65422012-09-28 David S. Miller <davem@davemloft.net>
6543
6544 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6545 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6546 file.
6547 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6548 sysdep_routines.
6549 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6550 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6551 when HWCAP_SPARC_CRYPTO is present.
6552
72581615
PT
65532012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6554
6555 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6556
715a900c
JL
65572012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6558
6559 [BZ #6530]
6560 * stdio-common/vfprintf.c (process_string_arg): Revert
6561 2000-07-22 change.
6562
65632011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6564
6565 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6566 for testcase.
6567 * stdio-common/tst-sprintf.c: Include <locale.h>
6568 (main): Test sprintf's handling of incomplete multibyte
6569 characters.
6570
9bac1d86
L
65712012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6572
6573 * elf/dl-runtime.c (VERSYMIDX): Removed.
6574 * elf/dl-version.c (VERSYMIDX): Likewise.
6575 * elf/do-rel.h (VERSYMIDX): Likewise.
6576 (VALIDX): Likewise.
6577 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6578 * elf/rtld.c (VALIDX): Likewise.
6579 (ADDRIDX): Likewise.
9bac1d86
L
6580 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6581 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6582 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
6583 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6584 (VALIDX): Likewise.
6585 (ADDRIDX): Likewise.
9bac1d86 6586
b31606c0
PT
65872012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6588
6589 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6590
11541177
JL
65912012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6592
6593 [BZ #11438]
6594 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6595 to global scope.
6596 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6597 addresses are in the same scope as 192.0.2/24.
6598 * posix/gai.conf: Document new scope table defaults.
6599
adb26fae
SP
66002012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6601
6602 [BZ #5298]
6603 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6604 for ftell. Compute offsets from write pointers instead.
6605 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6606
4573c6b0
SP
66072012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6608
6609 [BZ #14543]
6610 * libio/Makefile (tests): New test case tst-fseek.
6611 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6612 combination works in wide mode.
6613 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6614 state when the external buffer state changes.
6615
aa9bbfe6
DM
66162012-09-27 David S. Miller <davem@davemloft.net>
6617
6618 [BZ #14376]
6619 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6620 pass reloc->r_addend in as the 'high' argument to
6621 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6622
784421e7
DM
6623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6624
c39bc8b8
PT
66252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6626
6627 * rt/tst-aio2.c: Include <pthread.h>.
6628 * rt/tst-aio3.c: Likewise.
6629
1ccc2399
SE
66302012-09-27 Steve Ellcey <sellcey@mips.com>
6631
6632 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6633
31ed4153
L
66342012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6635
25f5f885
L
6636 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6637 contents on [SHARED].
31ed4153 6638
b7bfe116
MP
66392012-09-26 Marek Polacek <polacek@redhat.com>
6640
6641 [BZ #14530]
6642 [BZ #13741]
6643 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6644 for C++ and GCC <4.3 as well as for non GCC compilers.
6645
43c4edba
MT
66462012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6647
6648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6649
6a1bf82f
RM
66502012-09-25 Roland McGrath <roland@hack.frob.com>
6651
6652 * Makefile.in (all, install): Declare with .PHONY.
6653 Reported by Michael Hope <michael.hope@linaro.org>.
6654
8ad11b9a
TMQMF
66552012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6656
6657 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6658 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6659 system header.
6660 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6661 Likewise.
6662 (sydep_routines): Add the new and the internal functions.
6663 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6664 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6666 (GLIBC_2.17): Add the new function.
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6668 (GLIBC_2.17): Likewise.
6669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6670 (GLIBC_2.17): Likewise.
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6672 (GLIBC_2.17): Likewise.
6673 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6674
7e2fca8d
AM
66752012-09-25 Alan Modra <amodra@gmail.com>
6676
6677 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6678 Add release barrier before setting once_control to say
6679 initialisation is done. Add hints on lwarx. Use macro in
6680 place of isync.
6681 (clear_once_control): Add release barrier.
6682
b87c4b24
JM
66832012-09-25 Joseph Myers <joseph@codesourcery.com>
6684
d032e0d2
JM
6685 [BZ #13629]
6686 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6687 specially.
6688 * math/s_clog10.c (__clog10): Likewise.
6689 * math/s_clog10f.c (__clog10f): Likewise.
6690 * math/s_clog10l.c (__clog10l): Likewise.
6691 * math/s_clogf.c (__clogf): Likewise.
6692 * math/s_clogl.c (__clogl): Likewise.
6693 * math/Makefile (libm-calls): Add x2y2m1.
6694 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6695 (__x2y2m1): Likewise.
6696 (__x2y2m1l): Likewise.
6697 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6698 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6701 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6702 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6703 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6704 * sysdeps/i386/fpu/libm-test-ulps: Update.
6705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6706
b87c4b24
JM
6707 [BZ #14621]
6708 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6709 int as type of variable DEPTH.
6710 (glob): Use size_t instead of int as type of variables NEWCOUNT
6711 and OLD_PATHC.
6712
6d3bf199
LD
67132012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6714
22bf5c17
LD
6715 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6716 Add s_sincosf-sse2.
6717 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6718 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6719 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6720 macros for using routine as __sincosf_ia32.
6721 Use macro for function declaration and weak_alias.
6722 * sysdeps/i386/fpu/libm-test-ulps: Update.
6723
6724 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6726
6727 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6728 subnormal argument.
6729 * math/s_cexpf.c (__cexpf): Likewise.
6730 * math/s_csinf.c (__csinf): Likewise.
6731 * math/s_csinhf.c (__csinhf): Likewise.
6732 * math/s_ctanf.c (__ctanf): Likewise.
6733 * math/s_ctanhf.c (__ctanhf): Likewise.
6734 * math/s_ccosh.c (__ccoshf): Likewise.
6735 * math/s_cexp.c (__cexpl): Likewise.
6736 * math/s_csin.c (__csin): Likewise.
6737 * math/s_csinh.c (__csinh): Likewise.
6738 * math/s_ctan.c (__ctan): Likewise.
6739 * math/s_ctanh.c (ctanh): Likewise.
6740 * math/s_ccoshl.c (__ccoshl): Likewise.
6741 * math/s_cexpl.c (__cexpl): Likewise.
6742 * math/s_csinl.c (__csinl): Likewise.
6743 * math/s_csinhl.c (__csinhl): Likewise.
6744 * math/s_ctanl.c (__ctanl): Likewise.
6745 * math/s_ctanhl.c (__ctanhl): Likewise.
6746
203e5603
JM
67472012-09-25 Joseph Myers <joseph@codesourcery.com>
6748
6749 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6750 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6751 (_IO_off_t): Define to __off_t, not _G_off_t.
6752 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6753 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6754 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6755 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6756 type of __dummy and __dummy2 fields.
6757 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6758 (_G_ssize_t): Likewise.
6759 (_G_off_t): Likewise.
6760 (_G_pid_t): Likewise.
6761 (_G_uid_t): Likewise.
6762 (_G_wchar_t): Likewise.
6763 (_G_wint_t): Likewise.
6764 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6765 (_G_ssize_t): Likewise.
6766 (_G_off_t): Likewise.
6767 (_G_pid_t): Likewise.
6768 (_G_uid_t): Likewise.
6769 (_G_wchar_t): Likewise.
6770 (_G_wint_t): Likewise.
6771 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6772 (_G_ssize_t): Likewise.
6773 (_G_off_t): Likewise.
6774 (_G_pid_t): Likewise.
6775 (_G_uid_t): Likewise.
6776 (_G_wchar_t): Likewise.
6777 (_G_wint_t): Likewise.
6778
9fab36eb
SP
67792012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6780
6781 * malloc/arena.c: Include malloc-sysdep.h.
6782 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6783 is sufficient to shrink the heap or an unmap is needed.
6784 * sysdeps/generic/malloc-sysdep.h: New file. Define
6785 new function check_may_shrink_heap.
6786 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6787 new function check_may_shrink_heap.
6788
2b4f00d1
SP
67892012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6790
6791 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6792 comments.
6793
9a9028b1
DL
67942012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6795
57c69bef
DL
6796 * catgets/test-gencat.sh: Add "set -e".
6797 * elf/tst-pathopt.sh: Likewise.
6798 * grp/tst_fgetgrent.sh: Likewise.
6799 * iconvdata/run-iconv-test.sh: Likewise.
6800 * intl/tst-gettext.sh: Likewise.
6801 * intl/tst-gettext2.sh: Likewise.
6802 * intl/tst-gettext4.sh: Likewise.
6803 * intl/tst-gettext6.sh: Likewise.
6804 * intl/tst-translit.sh: Likewise.
6805 * io/ftwtest-sh: Likewise.
6806 * libio/test-freopen.sh: Likewise.
6807 * malloc/tst-mtrace.sh: Likewise.
6808 * posix/globtest.sh: Likewise.
6809 * posix/tst-getconf.sh: Likewise.
6810 * posix/wordexp-tst.sh: Likewise.
6811 * stdio-common/tst-printf.sh: Likewise.
6812 * stdio-common/tst-unbputc.sh: Likewise.
6813 * stdlib/tst-fmtmsg.sh: Likewise.
6814 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6815 * catgets/Makefile: Do not specify -e option when running
6816 testsuite shell scripts.
6817 * elf/Makefile: Likewise.
6818 * grp/Makefile: Likewise.
6819 * iconvdata/Makefile: Likewise.
6820 * intl/Makefile: Likewise.
6821 * io/Makefile: Likewise.
6822 * libio/Makefile: Likewise.
6823 * malloc/Makefile: Likewise.
6824 * posix/Makefile: Likewise.
6825 * stdio-common/Makefile: Likewise.
6826 * stdlib/Makefile: Likewise.
6827 * sysdeps/x86_64/Makefile: Likewise.
6828
9a9028b1
DL
6829 * io/ftwtest-sh: Add copyright header.
6830 * posix/globtest.sh: Likewise.
6831 * posix/tst-getconf.sh: Likewise.
6832 * posix/wordexp-tst.sh: Likewise.
6833 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6834
ced6f16e
L
68352012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6836
94b32c39
L
6837 [BZ #13679]
6838 * Makeconfig (+link): Defined as $(+link-static) if
6839 $(build-shared) isn't yes.
6840 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6841 isn't yes.
6842 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6843
189e935b
L
6844 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6845
ced6f16e
L
6846 [BZ #14562]
6847 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6848 new chunk size with MALLOC_ALIGN_MASK.
6849
a9f8e53a
JM
68502012-09-24 Joseph Myers <joseph@codesourcery.com>
6851
6852 [BZ #5044]
6853 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6854 <rounding-mode.h>.
6855 (__printf_fphex): Determine rounding using get_rounding_mode and
6856 round_away.
6857 * stdio-common/tst-printf-round.c (struct hex_test): New
6858 structure.
6859 (hex_tests): New variable.
6860 (test_hex_in_one_mode): New function.
6861 (do_test): Also run tests for hex float output.
6862
43153109
JM
68632012-09-21 Joseph Myers <joseph@codesourcery.com>
6864
6865 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6866 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6867 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6868 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6869 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6870 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6871 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6872 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6873
8a26625d
JM
68742012-09-20 Joseph Myers <joseph@codesourcery.com>
6875
6876 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6877 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6878 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6879 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6880
f3fd569c
DL
68812012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6882
6883 [BZ #14579]
6884 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6885 mode only.
6886 * elf/tst-rtld-load-self.sh: New test.
6887 * elf/Makefile: Run it.
6888
63bbedd4
JM
68892012-09-18 Joseph Myers <joseph@codesourcery.com>
6890
6891 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6892 (tst-writev-ENV): Remove.
6893 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6894
626f8b6a
CM
68952012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6896
6897 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6898
b7aaa4d6
JM
68992012-09-17 Joseph Myers <joseph@codesourcery.com>
6900
6901 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6902 unconditional.
6903 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6904 Likewise.
6905 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6906 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6907 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6908 Likewise.
6909
65513990
L
69102012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6911
6912 [BZ #14587]
6913 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6914 * config.make.in (have-cpp-asm-debuginfo): Removed.
6915 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6916 * configure: Regenerated.
6917
784761be
JM
69182012-09-14 Joseph Myers <joseph@codesourcery.com>
6919
6920 [BZ #5044]
6921 * stdio-common/printf_fp.c: Include <stdbool.h> and
6922 <rounding-mode.h>.
6923 (___printf_fp): Determine rounding using get_rounding_mode and
6924 round_away.
6925 * stdio-common/tst-printf-round.c: New file.
6926 * stdio-common/Makefile (tests): Add tst-printf-round.
6927 (link-libm): New variable.
6928 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6929
9503345f
L
69302012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6931
6932 [BZ #14576]
6933 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6934 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6935 Likewise.
6936 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6937 Likewise.
6938
ad35fc00
JM
69392012-09-13 Joseph Myers <joseph@codesourcery.com>
6940
6941 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6942 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6943 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6944 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6945
6c9b0f68
JM
69462012-09-12 Joseph Myers <joseph@codesourcery.com>
6947
6948 [BZ #14518]
6949 * include/rounding-mode.h: New file.
6950 * sysdeps/generic/get-rounding-mode.h: Likewise.
6951 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6952 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6953 (MAX_VALUE): New macro.
6954 (MIN_VALUE): Likewise.
6955 (overflow_value): New function.
6956 (underflow_value): Likewise.
6957 (round_and_return): Use overflow_value and underflow_value to
6958 determine return values in overflow and underflow cases. Use
6959 round_away to determine rounding depending on rounding mode.
6960 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6961 determine return values in overflow and underflow cases.
6962 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6963 (struct test_results): New structure.
6964 (struct test): Use struct test_results to store expected results
6965 for all rounding modes.
6966 (TEST): Include expected results for all rounding modes.
6967 (test_in_one_mode): New function.
6968 (do_test): Use test_in_one_mode to compute and check results.
6969 Check results for all rounding modes.
6970 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6971 $(link-libm).
6972
19fcedd5
AM
69732012-12-09 Allan McRae <allan@archlinux.org>
6974
1e9d84cd 6975 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 6976
8bbfd2f1
JM
69772012-09-11 Joseph Myers <joseph@codesourcery.com>
6978
6979 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6980 (_G_int32_t): Likewise.
6981 (_G_uint16_t): Likewise.
6982 (_G_uint32_t): Likewise.
6983 (_G_HAVE_BOOL): Likewise.
6984 (_G_HAVE_ATEXIT): Likewise.
6985 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6986 (_G_HAVE_IO_FILE_OPEN): Likewise.
6987 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6988 (_G_int32_t): Likewise.
6989 (_G_uint16_t): Likewise.
6990 (_G_uint32_t): Likewise.
6991 (_G_HAVE_BOOL): Likewise.
6992 (_G_HAVE_ATEXIT): Likewise.
6993 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6994 (_G_HAVE_IO_FILE_OPEN): Likewise.
6995 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6996 (_G_int32_t): Likewise.
6997 (_G_uint16_t): Likewise.
6998 (_G_uint32_t): Likewise.
6999 (_G_HAVE_BOOL): Likewise.
7000 (_G_HAVE_ATEXIT): Likewise.
7001 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7002 (_G_HAVE_IO_FILE_OPEN): Likewise.
7003
b1dc5912
L
70042012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7005
7006 * csu/libc-tls.c: Update copyright years.
7007
0e886ef9
JM
70082012-09-10 Joseph Myers <joseph@codesourcery.com>
7009
28361c5e
JM
7010 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7011 [!_G_USING_THUNKS]: Remove conditional code.
7012 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7013 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7014
0e886ef9
JM
7015 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7016 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7017 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7018 (_G_VTABLE_LABEL_PREFIX): Likewise.
7019 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7020 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7021 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7022 (_G_VTABLE_LABEL_PREFIX): Likewise.
7023 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7024 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7025 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7026 (_G_VTABLE_LABEL_PREFIX): Likewise.
7027 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7028
bcba7aa2
L
70292012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7030
7031 * libio/Makefile: Include ../Makeconfig before tests.
7032 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7033 only if $(build-shared) is yes.
7034
06585ee8
L
7035 * iconv/gconv_db.c: Update copyright years.
7036
80ccd52c
LD
70372012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7038
7039 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7040 unwind info if defined PIC. Fix special cases description.
7041 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7042
7043 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7044 DP_HI_MASK entry.
7045 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7046
691bc9c1
L
70472012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7048
3d9b46b3
L
7049 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7050
de2139a9
L
7051 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7052 is NULL.
7053
5ca78dd0
L
7054 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7055 (LDLIBS-tst-chk4): This.
7056 (LDFLAGS-tst-chk5): Renamed to ...
7057 (LDLIBS-tst-chk5): This.
7058 (LDFLAGS-tst-chk6): Renamed to ...
7059 (LDLIBS-tst-chk6): This.
7060 (LDFLAGS-tst-lfschk4): Renamed to ...
7061 (LDLIBS-tst-lfschk4): This.
7062 (LDFLAGS-tst-lfschk5): Renamed to ...
7063 (LDLIBS-tst-lfschk5): This.
7064 (LDFLAGS-tst-lfschk6): Renamed to ...
7065 (LDLIBS-tst-lfschk6): This.
7066
691bc9c1
L
7067 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7068 on $(common-objpfx)soversions.mk.
7069
65cafb1c
JM
70702012-09-07 Joseph Myers <joseph@codesourcery.com>
7071
7072 [BZ #10014]
7073 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7074 example host name.
7075
c78ab094
SP
70762012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7077
7078 * malloc/arena.c (arena_get_retry): New function that gets
7079 another arena for the caller to try its request on.
7080 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7081 current arena cannot fulfill the request.
7082 (__libc_memalign): Likewise.
7083 (__libc_memalign): Likewise.
7084 (__libc_pvalloc): Likewise.
7085 (__libc_calloc): Likewise.
7086
01f49f59
JT
70872012-09-05 John Tobey <john.tobey@gmail.com>
7088
7089 [BZ #13542]
7090 * manual/arith.texi (Operations on Complex): Fix description
7091 of carg branch cut.
7092
4c23fed5
JM
70932012-09-06 Joseph Myers <joseph@codesourcery.com>
7094
1d3c8572
JM
7095 [BZ #10014]
7096 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7097 host name.
7098
4c23fed5
JM
7099 [BZ #10038]
7100 * manual/memory.texi (Memory): Make order of menu items match
7101 order of sections.
7102
04570aaa
L
71032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7104
7105 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7106 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7107 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7108
b80af2f4
L
71092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7110
7111 * csu/libc-tls.c (static_dtv): Renamed to ...
7112 (_dl_static_dtv): This. Make it global.
7113 (_dl_initial_dtv): Removed.
7114 (__libc_setup_tls): Updated.
7115 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7116 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7117 DL_INITIAL_DTV.
7118
2abe9f15
PM
71192012-09-06 Petr Machata <pmachata@redhat.com>
7120
7121 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7122 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7123 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7124 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7125
0948c3af
L
71262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7127
7128 [BZ #14545]
7129 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7130 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7131 freeing dtv[-1].
7132
a5055ad1
L
71332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7134
7135 [BZ #14544]
7136 * Makeconfig (link-static-before-libc): Replace $(+prector)
7137 with $(+prectorT).
7138 (link-static-after-libc): Replace $(+postctor) with
7139 $(+postctorT).
7140 (link-bounded): Replace $(+prector)/$(+postctor) with
7141 $(+prectorT)/$(+postctorT).
7142 (+prectorT): New macro.
7143 (+postctorT): Likewise.
7144
ed8c2ecd
JM
71452012-09-06 Joseph Myers <joseph@codesourcery.com>
7146
7147 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7148 (round_str): Handle values above the maximum for IBM long double
7149 as inexact.
7150 * stdlib/tst-strtod-round.c (tests): Regenerated.
7151
14c996c8
AK
71522012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7153
7154 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7155 assembler flag.
7156 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7157 zarch_nohighgprs around the zarch optimized routines.
7158 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7159 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7160 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7161 for zarch.
7162
430d6ce6
DM
71632012-09-05 David S. Miller <davem@davemloft.net>
7164
7165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7166
ff04dda4
DM
7167 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7168 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7169 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7170 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7171 entries.
7172
24d4e01b
AO
71732012-09-05 Alexandre Oliva <aoliva@redhat.com>
7174
7175 * malloc/arena.c: Fold copyright years.
7176 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7177
61d58174
AO
71782012-09-05 Alexandre Oliva <aoliva@redhat.com>
7179
7180 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7181
20196a5e
AO
71822012-09-05 Alexandre Oliva <aoliva@redhat.com>
7183
7184 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7185
5c447383
AO
71862012-09-05 Alexandre Oliva <aoliva@redhat.com>
7187
7188 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7189 change internal state upon failure.
7190
fad64255
AO
71912012-09-05 Alexandre Oliva <aoliva@redhat.com>
7192
7193 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7194 * malloc/memusage.c (mmap): Likewise.
7195 (mmap64, mremap): Likewise. Adjust name in comment.
7196
1ffb8c90
SP
71972012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7198
7199 * libio/fileops.c: Fix typos in comments.
7200 * libio/oldfileops.c: Likewise.
7201 * libio/wfileops.c: Likewise.
7202
6ef9cc37
SP
72032012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7204
7205 [BZ #1349]
7206 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7207 (tst-malloc-usable-ENV): Set environment for test case.
7208 * malloc/hooks.c (malloc_check_get_size): New function to get
7209 requested size.
7210 * malloc/malloc.c (musable): Use malloc_check_get_size.
7211 * malloc/tst-malloc-usable.c: New test case.
7212
4d038ae3
AS
72132012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7214
7215 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7216
c4e85184
AM
72172012-09-05 Allan McRae <allan@archlinux.org>
7218
b9dafc56 7219 [BZ #13966]
c4e85184
AM
7220 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7221 determine header location.
7222 * configure: Regenerated.
7223
e1343020
AS
72242012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7225
7226 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7227 float format.
7228 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7229 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7230 format.
e1343020
AS
7231 (test): Regenerate.
7232
0a9f1987
DM
72332012-09-04 David S. Miller <davem@davemloft.net>
7234
7235 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7236 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7237 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7238
29237804
FW
72392012-09-04 Florian Weimer <fweimer@redhat.com>
7240
7241 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7242 failures.
7243
edb3cb88
FW
7244 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7245
60160d83
JM
72462012-09-04 Joseph Myers <joseph@codesourcery.com>
7247
7248 [BZ #9914]
7249 * libio/iogetdelim.c: Include <limits.h>.
7250 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7251 + len + 1 would overflow.
7252
bcd6c8dc
AJ
72532012-09-03 Andreas Jaeger <aj@suse.de>
7254
7255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7256 * sysdeps/i386/fpu/libm-test-ulps: Update.
7257
4ffffbd2
LD
72582012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7259
7260 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7261 Add s_sinf-sse2, s_conf-sse2.
7262
7263 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7264 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7265 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7266 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7267
7268 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7269 for using routine as __sinf_ia32.
7270 Use macro for function declaration and weak_alias.
7271 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7272 for using routine as __cosf_ia32.
7273 Use macro for function declaration and weak_alias.
7274
7275 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7276 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7277
7278 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7279 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7280 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7281
7282 * math/libm-test.inc (cos_test): Add more test cases.
7283 (sin_test): Likewise.
7284 (sincos_test): Likewise.
7285
511fa286
AK
72862012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7287
7288 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7289 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7290 hidden.
7291 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7292
5f30cfec
L
72932012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7294
7295 [BZ #14538]
7296 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7297 first element of the GOT.
7298 (elf_machine_load_address): Return the difference between
7299 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7300
0786794f
AM
73012012-09-01 Allan McRae <allan@archlinux.org>
7302
5f30cfec
L
7303 [BZ #13412]
7304 * configure.in (AWK): Require gawk version 3.0 or later.
7305 * configure: Regenerated.
0786794f 7306
26889eac
JM
73072012-09-01 Joseph Myers <joseph@codesourcery.com>
7308
7309 * sysdeps/unix/sysv/linux/kernel-features.h
7310 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7311 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7312 [__NR_clock_getres]: Make code unconditional.
7313 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7314 (clock_getcpuclockid): Remove code left unreachable by removal of
7315 conditionals.
7316 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7317 code unconditional.
7318 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7319 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7320 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7321 Make code unconditional.
7322 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7323 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7324 * sysdeps/unix/sysv/linux/clock_settime.c
7325 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7326 conditional code.
7327 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7328 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7329
d22e28b0
L
73302012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7331
7332 [BZ #14476]
7333 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7334 scripts/test-installation.pl.
7335
7336 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7337 and $ld_so_version if it is set.
7338
050af9c4
SP
73392012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7340
7341 [BZ #14516]
7342 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7343 failure if reading from procfs failed.
7344 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7345
ad845c0b
JM
73462012-08-27 Joseph Myers <joseph@codesourcery.com>
7347
7348 * sysdeps/unix/sysv/linux/kernel-features.h
7349 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7350 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7351 Remove conditional code.
7352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7353 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7354 Remove conditional code.
7355 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7356 * sysdeps/unix/sysv/linux/i386/fxstat.c
7357 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7359 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7360 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7362 * sysdeps/unix/sysv/linux/i386/lxstat.c
7363 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7364 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7365 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7366 Remove conditional code.
7367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7368 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7369 Remove conditional code.
7370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7371 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7372 <kernel-features.h>.
7373 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7374 Remove.
7375 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7376 Remove conditional code.
7377 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7378 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7379 Remove conditional.
7380
5dbf56af
MF
73812012-08-27 Mike Frysinger <vapier@gentoo.org>
7382
7383 [BZ #5400]
7384 * NEWS: Add fixed bug number.
7385
d6e70f43
JM
73862012-08-27 Joseph Myers <joseph@codesourcery.com>
7387
7efb4737
JM
7388 [BZ #14519]
7389 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7390 underflowing exponent in case of negative sign.
7391 * stdlib/tst-strtod-round-data: Add more tests.
7392 * stdlib/tst-strtod-round.c (tests): Regenerated.
7393
af92131a
JM
7394 [BZ #3479]
7395 * stdlib/strtod_l.c (NDIG): Remove.
7396 (HEXNDIG): Likewise.
7397 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7398 smallest representable value.
7399 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7400 lie within an exact representation of 1/2 ulp of the result.
7401 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7402 unconditionally.
7403 (TENS_P9_IDX): Define unconditionally.
7404 (TENS_P9_SIZE): Likewise.
7405 (TENS_P10_IDX): Likewise.
7406 (TENS_P10_SIZE): Likewise.
7407 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7408 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7409 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7410 entries for 10^2^13 and 10^2^14.
7411 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7412 (TENS_P13_IDX): Define.
7413 (TENS_P13_SIZE): Likewise.
7414 (TENS_P14_IDX): Likewise.
7415 (TENS_P14_SIZE): Likewise.
7416 (_fpioconst_pow10): Change array size to
7417 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7418 unconditional.
7419 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7420 1024]: Add entries for 10^2^13 and 10^2^14.
7421 [LAST_POW10 > _LAST_POW10]: Remove #error.
7422 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7423 (_fpioconst_pow10): Change array size to
7424 FPIOCONST_POW10_ARRAY_SIZE.
7425 * stdlib/gen-fpioconst.c: New file.
7426 * stdlib/gen-tst-strtod-round.c: Likewise.
7427 * stdlib/tst-strtod-round-data: Likewise.
7428 * stdlib/tst-strtod-round.c: Likewise.
7429 * stdlib/Makefile (tests): Add tst-strtod-round.
7430
d6e70f43
JM
7431 [BZ #14459]
7432 * stdlib/strtod_l.c: Include <stdint.h>.
7433 (NDEBUG): Do not define.
7434 (round_and_return): Change EXPONENT parameter to type intmax_t.
7435 Rearrange calculations to avoid internal overflow possibilities.
7436 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7437 Rearrange calculations to avoid internal overflow possibilities.
7438 Assert that number fits inside MPNSIZE limbs.
7439 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7440 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7441 calculations and add assertions to avoid internal overflow
7442 possibilities. Add casts to avoid signed/unsigned operations.
7443 * stdlib/tst-strtod-overflow.c: New file.
7444 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7445
1f529f7d
MP
74462012-08-25 Marek Polacek <polacek@redhat.com>
7447
7448 * time/time.h: Fix some typos in comments.
7449
59a629f1
RM
74502012-08-23 Roland McGrath <roland@hack.frob.com>
7451
7452 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7453 * posix/tst-rfc3484-2.c: Likewise.
7454 * posix/tst-rfc3484-3.c: Likewise.
7455
d3bafbc9
SM
74562012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7457
7458 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7459 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7460
4efcc022
JM
74612012-08-23 Joseph Myers <joseph@codesourcery.com>
7462
7463 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7464 #include of fxstatat64.c.
7465
3cc3ef96
RM
74662012-08-22 Roland McGrath <roland@hack.frob.com>
7467
f04e2132
RM
7468 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7469 * shadow/getspent_r.c: Likewise.
7470 * shadow/getspnam.c: Likewise.
7471 * shadow/getspnam_r.c: Likewise.
7472 * gshadow/getsgent.c: Likewise.
7473 * gshadow/getsgent_r.c: Likewise.
7474 * gshadow/getsgnam.c: Likewise.
7475 * gshadow/getsgnam_r.c: Likewise.
7476 * inet/getnetbyad.c: Likewise.
7477 * inet/getnetbyad_r.c: Likewise.
7478 * inet/getnetbynm.c: Likewise.
7479 * inet/getnetbynm_r.c: Likewise.
7480 * inet/getnetent.c: Likewise.
7481 * inet/getnetent_r.c: Likewise.
7482 * inet/getproto.c: Likewise.
7483 * inet/getproto_r.c: Likewise.
7484 * inet/getprtent.c: Likewise.
7485 * inet/getprtent_r.c: Likewise.
7486 * inet/getprtname.c: Likewise.
7487 * inet/getprtname_r.c: Likewise.
7488 * inet/getrpcbyname.c: Likewise.
7489 * inet/getrpcbyname_r.c: Likewise.
7490 * inet/getrpcbynumber.c: Likewise.
7491 * inet/getrpcbynumber_r.c: Likewise.
7492 * inet/getrpcent.c: Likewise.
7493 * inet/getrpcent_r.c: Likewise.
7494 * inet/getaliasent.c: Likewise.
7495 * inet/getaliasent_r.c: Likewise.
7496 * inet/getaliasname.c: Likewise.
7497 * inet/getaliasname_r.c: Likewise.
7498 * nscd/getgrgid_r.c: Likewise.
7499 * nscd/getgrnam_r.c: Likewise.
7500 * nscd/gethstbyad_r.c: Likewise.
7501 * nscd/gethstbynm3_r.c: Likewise.
7502 * nscd/getpwnam_r.c: Likewise.
7503 * nscd/getpwuid_r.c: Likewise.
7504 * nscd/getsrvbynm_r.c: Likewise.
7505 * nscd/getsrvbypt_r.c: Likewise.
7506 * nscd/gai.c: Likewise.
7507
c53d909c
RM
7508 * configure.in (build_nscd): New substituted variable, set
7509 by --disable-build-nscd and defaults to $use_nscd.
7510 * configure: Regenerated.
7511 * config.make.in (build-nscd): New substituted variable.
7512 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7513 Change conditional to require [$(build-nscd) = yes] as well.
7514 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7515
3cc3ef96
RM
7516 [BZ# 13696]
7517 * configure.in (use_nscd): New substituted variable, set by
7518 --disable-nscd. If enabled, define USE_NSCD.
7519 * configure: Regenerated.
7520 * config.h.in: Add USE_NSCD.
7521 * config.make.in (use-nscd): New substituted variable.
7522 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7523 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7524 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7525 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7526 (CFLAGS-getgrnam_r.c): Likewise.
7527 (CFLAGS-initgroups.c): Likewise.
7528 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7529 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7530 Variables removed.
7531 * inet/getnetgrent_r.c
7532 (nscd_setnetgrent): New function, broken out of ...
7533 (setnetgrent): ... here. Call it.
7534 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7535 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7536 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7537 * nscd/Makefile (routines, aux): Move definitions after include of
7538 Makeconfig. Conditionalize on [$(use-nscd) != no].
7539 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7540 Conditionalize on [USE_NSCD].
7541 (is_nscd, nscd_init_cb): Likewise.
7542 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7543 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7544 * nss/nss_db/db-init.c: Likewise.
7545 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7546 [USE_NSCD].
7547 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7548 (make_request): Use it.
7549 (cache_valid_p): New function.
7550 (__check_pf): Use it.
7551 * NEWS: Add item for --disable-nscd.
7552
07e51550
DL
75532012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7554
7555 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7556 to support sed >= 4.2.1-20-ga9bf076.
7557 * configure: Regenerated.
7558
35a5b08b
RM
75592012-08-22 Roland McGrath <roland@hack.frob.com>
7560
7561 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7562 Conditionalize whole body on [IREL].
7563
8479f23a
JL
75642012-08-22 Jeff Law <law@redhat.com>
7565
7566 [BZ #14505]
7567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7568 if the family is PF_UNSPEC.
7569
48da0b21
MF
75702012-08-22 Mike Frysinger <vapier@gentoo.org>
7571
7572 * Makerules (lib-version): Rename from V.
7573 (install-lib-nosubdir): Change V to lib-version.
7574
15d0da8c
WS
75752012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7576
7577 [BZ #14252]
7578 * powerpc32/power6/wcschr.c: New file.
7579 * powerpc32/power6/wcscpy.c: New file.
7580 * powerpc32/power6/wcsrchr.c: New file.
7581 * powerpc64/power6/wcschr.c: New file.
7582 * powerpc64/power6/wcscpy.c: New file.
7583 * powerpc64/power6/wcsrchr.c: New file.
7584
bcca0895
MK
75852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7586
7587 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7588 (two_way_short_needle): Use it.
5a4aaa33
RM
7589 * string/strstr.c (AVAILABLE1_USES_J): Define.
7590 * string/strcasestr.c: Likewise.
99677e57
MK
7591
7592 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7593 array references.
7594 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7595
400726de
MK
7596 [BZ #11607]
7597 * NEWS: Add an entry.
7598 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7599 define their defaults.
7600 (two_way_short_needle): Detect end-of-string on-the-fly.
7601 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7602 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7603 * string/bug-strcasestr1.c: New test.
7604 * string/Makefile: Run it.
7605
20a71f2c
MK
76062012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7607
7608 [BZ #11607]
7609 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7610 the first character.
7611
21ad0558
RM
76122012-08-21 Roland McGrath <roland@hack.frob.com>
7613
7614 * csu/elf-init.c (__libc_csu_irel): Function removed.
7615 * csu/libc-start.c (apply_irel): New function.
7616 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7617
0e1d9911
JM
76182012-08-21 Joseph Myers <joseph@codesourcery.com>
7619
7620 * sysdeps/unix/sysv/linux/kernel-features.h
7621 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7622 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7623 <kernel-features.h>.
7624 [__NR_fadvise64_64]: Make code unconditional.
7625 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7626 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7627 !__NR_fadvise64_64)]: Likewise.
7628 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7629 !__NR_fadvise64_64))]: Likewise.
7630 [__NR_fadvise64]: Make code unconditional.
7631 [!__NR_fadvise64]: Remove conditional code.
7632 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7633 <kernel-features.h>.
7634 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7635 unconditional.
7636 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7637 conditional code.
7638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7639 not include <kernel-features.h>.
7640 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7641 unconditional.
7642 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7643 conditional code.
7644 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7645 include <kernel-features.h>.
7646 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7647 unconditional.
7648 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7649 conditional code.
7650
14a50c9d
WS
76512012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7652
7653 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7654 slight instruction rearrangements per scrollpipe analysis.
7655 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7656
c0f4faf0
RM
76572012-08-20 Roland McGrath <roland@hack.frob.com>
7658
696da859
RM
7659 * manual/syslog.texi (syslog; vsyslog, closelog):
7660 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7661 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7662
c0f4faf0
RM
7663 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7664 DSOCAPS to match condition on defining it.
7665
348363b2
JM
76662012-08-20 Joseph Myers <joseph@codesourcery.com>
7667
a35cbf28
JM
7668 * sysdeps/unix/sysv/linux/kernel-features.h
7669 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7671 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7672 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7674 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7675 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7677 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7678 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7679
445f7ecd
JM
7680 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7681 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7682
348363b2
JM
7683 * sysdeps/unix/sysv/linux/kernel-features.h
7684 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7685 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7686 unconditional.
7687 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7688 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7689 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7690 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7691 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7692 Make code unconditional.
7693 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7694 (__mmap64) [!__NR_mmap2]: Likewise.
7695 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7696 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7697 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7698 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7699 [__NR_mmap2]: Make code unconditional.
7700 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7701 (__mmap64) [!__NR_mmap2]: Likewise.
7702
bc5bc0e5
AK
77032012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7704
7705 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7706
88d506de
AJ
77072012-08-18 Andreas Jaeger <aj@suse.de>
7708
7709 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7710
493387d2
MF
77112012-08-18 Mike Frysinger <vapier@gentoo.org>
7712
7713 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7714 * include/unistd.h (__have_sock_cloexec): Likewise.
7715 (__have_pipe2): Likewise.
7716 (__have_dup3): Likewise.
7717
a277af22
MF
77182012-08-18 Mike Frysinger <vapier@gentoo.org>
7719
7720 [BZ #9685]
7721 * include/unistd.h (__have_pipe2): Change define into an extern int.
7722 (__have_dup3): Likewise.
7723 * socket/have_sock_cloexec.c: Include fcntl.h.
7724 (__have_pipe2): New variable.
7725 (__have_dup3): Likewise.
7726
fdab8fd3
MF
77272012-08-17 Mike Frysinger <vapier@gentoo.org>
7728
7729 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7730
31035e80
MP
77312012-08-17 Marek Polacek <polacek@redhat.com>
7732
7733 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7734 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7735
3bd9e993
RM
77362012-08-17 Roland McGrath <roland@hack.frob.com>
7737
c91c505f
RM
7738 * configure.in: Add AC_SUBST for sysheaders.
7739 * configure: Regenerated.
7740 * config.make.in (sysheaders): New substituted variable.
7741
7c6f9d53
RM
7742 * sysdeps/unix/mkfifo.c: Moved ...
7743 * sysdeps/posix/mkfifo.c: ... here.
7744 * sysdeps/unix/mkfifoat.c: Moved ...
7745 * sysdeps/posix/mkfifoat.c: ... here.
7746
7747 * sysdeps/unix/utime.c: Moved ...
7748 * sysdeps/posix/utime.c: ... here.
7749
7750 * sysdeps/unix/time.c: Moved ...
7751 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7752 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7753 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7754
7755 * sysdeps/unix/nice.c: Moved ...
7756 * sysdeps/posix/nice.c: ... here.
7757
7758 * sysdeps/unix/alarm.c: Moved ...
7759 * sysdeps/posix/alarm.c: ... here.
7760
3bd9e993
RM
7761 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7762
d1f09384
JL
77632012-08-17 Jeff Law <law@redhat.com>
7764
7765 * intl/Makefile (codeset_mo): New variable.
7766 ($(codeset_mo)): New target.
7767 (tst-codeset.out): Depend on that. Remove explicit rule.
7768 (tst-gettext3.out, tst-gettext5.out): Likewise.
7769 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7770 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7771 * intl/tst-codeset.sh: Remove.
7772 * intl/tst-gettext3.sh: Likewise.
7773 * intl/tst-gettext5.sh: Likewise.
7774
2ae1ae5c
RM
77752012-08-17 Roland McGrath <roland@hack.frob.com>
7776
c31fdb83
RM
7777 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7778 * sysdeps/unix/syscalls.list: ... here.
7779
a0844057
RM
7780 * sysdeps/posix/getaddrinfo.c
7781 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7782 (gaiconf_init, gaiconf_reload): Use them.
7783 [!_STATBUF_ST_NSEC]
7784 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7785 Define using time_t rather than struct timespec.
7786
750c1f2a
RM
7787 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7788 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7789 Macros removed.
7790 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7791 [!NO_THREADS].
7792 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7793 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7794 Likewise.
7795
2ae1ae5c
RM
7796 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7797 __libc_cleanup_push argument.
7798
e66a42f5
RM
7799 * bits/param.h: New file.
7800 * misc/sys/param.h: New file.
7801 * include/sys/param.h: New file.
7802 * misc/Makefile (headers): Add bits/param.h.
7803 * sysdeps/generic/sys/param.h: File removed.
7804 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7805 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7806 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7807 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7808
b7c08a66
RM
7809 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7810 last change.
7811
b2e1c562
RM
7812 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7813 [_IO_MTSAFE_IO].
7814 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7815 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7816 New macros.
7817
c75ccd4c
RM
7818 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7819 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7820 rather than -D_IO_MTSAFE_IO conditionally.
7821 * stdio-common/Makefile (CPPFLAGS): Likewise.
7822 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7823 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7824 Use $(libio-mtsafe).
7825 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7826 of -D_IO_MTSAFE_IO.
7827 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7828 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7829 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7830 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7831 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7832 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7833 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7834 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7835 (CFLAGS-fread_u_chk.c): Likewise.
7836 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7837 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7838 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7839 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7840 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7841 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7842 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7843 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7844 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7845
7846 * libio/Makefile: Test [$(libc-reentrant) = yes]
7847 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7848
7849 * Makeconfig
7850 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7851 * sysdeps/pthread/configure: File removed.
7852 * sysdeps/pthread/Makeconfig: New file.
7853 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7854 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7855
d9195db8
GB
78562012-08-16 Gary Benson <gbenson@redhat.com>
7857
7858 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7859 unmapping the first object in a namespace.
7860
86466cd9
RM
78612012-08-16 Roland McGrath <roland@hack.frob.com>
7862
7863 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7864 (__internal_setnetgrent): ... this. Add internal_function to
7865 definition. Add libc_hidden_def.
7866 (setnetgrent): Update caller.
7867 (internal_endnetgrent): Renamed to ...
7868 (__internal_endnetgrent): ... this. Add internal_function to
7869 definition. Add libc_hidden_def.
7870 (endnetgrent): Update caller.
7871 (internal_getnetgrent_r): Renamed to ...
7872 (__internal_getnetgrent_r): ... this. Add internal_function to
7873 definition. Add libc_hidden_def.
7874 (__getnetgrent_r): Update caller.
7875 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7876
c3c8283c
JM
78772012-08-16 Joseph Myers <joseph@codesourcery.com>
7878
7879 * stdlib/longlong.h: Update from GCC.
7880
db1ee0a8
RM
78812012-08-16 Roland McGrath <roland@hack.frob.com>
7882
7883 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7884 on _QL, which is set by umul_ppmm but never used.
7885 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7886 variables, which are set by GMP macros but never used.
7887 * stdio-common/_itowa.c (_itowa): Likewise.
7888 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7889 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7890
30f69637
CD
78912012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7892
7893 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7894 struct La_sh_regs is not constant.
7895 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7896 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7897 and struct La_sparc64_regs are not constant.
7898
93a78ac4
JM
78992012-08-16 Joseph Myers <joseph@codesourcery.com>
7900
7901 * sysdeps/unix/sysv/linux/kernel-features.h
7902 (__ASSUME_POSIX_TIMERS): Remove.
7903 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7904 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7905 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7906 Make code unconditional.
7907 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7908 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7909 Make code unconditional.
7910 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7911 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7912 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7913 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7914 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7915 Make code unconditional.
7916 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7917 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7918 (__libc_missing_posix_timers): Remove.
7919
dd924cd7
RM
79202012-08-15 Roland McGrath <roland@hack.frob.com>
7921
4b4f2771
RM
7922 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7923 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7924
601c888b
RM
7925 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7926
176790a7
RM
7927 * elf/dl-sym.c: Include <stdlib.h>.
7928
329bc018
RM
7929 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7930 constants, which avoids warnings in 32-bit builds.
7931
e04e272d
RM
7932 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7933 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7934
952bf94a
RM
7935 * misc/lseek.c: File moved to ...
7936 * io/lseek.c: ... here.
7937
7c99b50a
RM
7938 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7939
dd924cd7
RM
7940 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7941 shifting LEN more than 31 bits at once.
7942
b3f479a8
LD
79432012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7944
7945 [BZ #14195]
8c4ae0d4
RM
7946 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7947 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7948 * string/test-strncasecmp.c (check1): Renamed to...
7949 (bz12205): ...this.
7950 (bz14195): Add new testcase for two empty input strings and N > 0.
7951 (test_main): Call new testcase, adapt for renamed function.
7952
9c55864e
AJ
79532012-08-15 Andreas Jaeger <aj@suse.de>
7954
7955 [BZ #14090]
7956 * crypt/md5test2.c: New test, based on test supplied by Serge
7957 Belyshev <belyshev@depni.sinp.msu.ru>.
7958 * crypt/Makefile (xtests): Add md5test-giant..
7959 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7960
02dcb6c5
PE
79612012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7962
7963 [BZ #14090]
7964 * crypt/md5.c (md5_process_block): Don't assume the buffer
7965 length is less than 2**32.
7966 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7967 length is less than 2**64.
7968
a3f95dcc
RM
79692012-08-15 Roland McGrath <roland@hack.frob.com>
7970
be75d758
RM
7971 * string/str-two-way.h: Include <sys/param.h>.
7972 (MAX): Macro removed.
7973
7312ca90
RM
7974 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7975 Move #define and #undef of memmove to just before and after
7976 including <string.h>.
7977
9a0a5486
RM
7978 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7979 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7980 and after including <string.h>. Move declarations of
7981 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7982 to before #include "string/memmove.c".
7983
67cc348d
RM
7984 * include/dirent.h: Declare __getdirentries.
7985
a3f95dcc
RM
7986 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7987 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7988
ca98e171
MF
79892012-08-14 Mike Frysinger <vapier@gentoo.org>
7990
7991 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7992 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7993 * sysdeps/i386/configure: Regenerated.
7994 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7995 STABS_CURRENT_FILE, and STABS_FUN.
7996 (END): Remove call to STABS_FUN_END.
7997 (STABS_CURRENT_FILE1): Delete.
7998 (STABS_CURRENT_FILE): Likewise.
7999 (STABS_FUN): Likewise.
8000 (STABS_FUN_END): Likewise.
8001 (STABS_FUN2): Likewise.
8002 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8003 * sysdeps/x86_64/configure: Regenerated.
8004
5908bf46
RM
80052012-08-14 Roland McGrath <roland@hack.frob.com>
8006
8007 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 8008 * elf/dl-lookup.c: Likewise.
5908bf46 8009
f2c05b9e
JM
80102012-08-14 Joseph Myers <joseph@codesourcery.com>
8011
8012 * sysdeps/unix/sysv/linux/kernel-features.h
8013 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8014 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8015 unconditionally.
8016 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8017 unconditionally.
8018 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8019 condition on __ASSUME_CLONE_THREAD_FLAGS.
8020
e11f5155
AJ
80212012-08-14 Andreas Jaeger <aj@suse.de>
8022
8023 * sysdeps/i386/fpu/libm-test-ulps: Update.
8024
51a9ba86
MK
80252012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8026
2fdd4f78
AJ
8027 * include/atomic.h (atomic_exchange_and_add): Split into ...
8028 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8029 New atomic macros.
51a9ba86 8030
ba6cba9e
MT
80312012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8032
8033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8034
42443a47
JL
80352012-08-13 Jeff Law <law@redhat.com>
8036
8037 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8038 null byte in the output string.
8039
121dce05
JM
80402012-08-10 Joseph Myers <joseph@codesourcery.com>
8041
8042 * sysdeps/unix/sysv/linux/kernel-features.h
8043 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8044 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8045 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8046 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8047 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8048 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8049 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8050
bf51f568
JL
80512012-08-09 Jeff Law <law@redhat.com>
8052
8053 [BZ #13939]
8054 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8055 When avoid_arena is set, don't retry in the that arena. Pick the
8056 next one, whatever it might be.
8057 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8058 (arena_lock): Pass in new parameter to arena_get2.
8059 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8060 arena_get2.
8061 (__libc_malloc): Unify retrying after main arena failure with
8062 __libc_memalign version.
8063 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8064
f85fa270
L
80652012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8066
8067 [BZ #14166]
8068 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8069 to __redirect_strstr.
8070 (__strstr_sse42): Use typeof __redirect_strstr.
8071 (__strstr_ia32): Likewise.
8072 (__libc_strstr): New prototype.
8073 (strstr): Renamed to ...
8074 (__libc_strstr): This.
8075 (strstr): New strong alias of __libc_strstr.
8076 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8077 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8078 __redirect_time.
8079 Include <time.h>.
8080 (__libc_time): New prototype.
8081 (time_ifunc): Replace time with __libc_time.
8082 (time): New strong alias and hidden definition of __libc_time.
8083 (__GI_time): Remove strong alias.
8084 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8085 Include <stddef.h>.
8086 (memmove): Redefined to __redirect_memmove.
8087 (__memmove_sse2): Use typeof __redirect_memmove.
8088 (__memmove_ssse3): Likewise.
8089 (__memmove_ssse3_back): Likewise.
8090 (__libc_memmove): New prototype.
8091 (memmove): Renamed to ...
8092 (__libc_memmove): This.
8093 (memmove): New strong alias of __libc_memmove.
8094
33b4a91e
MS
80952012-08-08 Mark Salter <msalter@redhat.com>
8096
8097 * elf/elf.h
8098 (R_MN10300_TLS_GD): Define.
8099 (R_MN10300_TLS_LD): Likewise.
8100 (R_MN10300_TLS_LDO): Likewise.
8101 (R_MN10300_TLS_GOTIE): Likewise.
8102 (R_MN10300_TLS_IE): Likewise.
8103 (R_MN10300_TLS_LE): Likewise.
8104 (R_MN10300_TLS_DTPMOD): Likewise.
8105 (R_MN10300_TLS_DTPOFF): Likewise.
8106 (R_MN10300_TLS_TPOFF): Likewise.
8107 (R_MN10300_SYM_DIFF): Likewise.
8108 (R_MN10300_ALIGN): Likewise.
8109 (R_MN10300_NUM): Update.
8110
b36137f1
JM
81112012-08-08 Joseph Myers <joseph@codesourcery.com>
8112
8113 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8114 Remove.
8115
cdd915fd
RM
81162012-08-08 Roland McGrath <roland@hack.frob.com>
8117
a2433aac
RM
8118 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8119
cdd915fd
RM
8120 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8121 sysdeps/unix -> sysdeps/posix move.
8122 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8123
bf9b740a
AM
81242012-08-07 Allan McRae <allan@archlinux.org>
8125
8126 [BZ #14303]
8127 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8128 (SUNOS_CPP): Likewise.
8129 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8130 not found.
8131 (open_input): Call CPP using execvp.
8132
93df14ee
JM
81332012-08-07 Joseph Myers <joseph@codesourcery.com>
8134
8135 * sysdeps/unix/sysv/linux/kernel-features.h
8136 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8137 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8138 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8139 (__ASSUME_WAITID_SYSCALL): Likewise.
8140 * sysdeps/unix/sysv/linux/dl-execstack.c
8141 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8142 code unconditional.
8143 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8144 conditional code.
8145 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8146 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8147 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8148 code.
8149 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8150 unconditional.
8151 [__ASSUME_WAITID_SYSCALL]: Likewise.
8152 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8153
d34689de
RM
81542012-08-07 Roland McGrath <roland@hack.frob.com>
8155
a281decc
RM
8156 * sysdeps/unix/closedir.c: Renamed to ...
8157 * sysdeps/posix/closedir.c: ... here.
8158 * sysdeps/unix/dirfd.c: Renamed to ...
8159 * sysdeps/posix/dirfd.c: ... here.
8160 * sysdeps/unix/dirstream.h: Renamed to ...
8161 * sysdeps/posix/dirstream.h: ... here.
8162 * sysdeps/unix/fdopendir.c: Renamed to ...
8163 * sysdeps/posix/fdopendir.c: ... here.
8164 * sysdeps/unix/opendir.c: Renamed to ...
8165 * sysdeps/posix/opendir.c: ... here.
8166 * sysdeps/unix/readdir.c: Renamed to ...
8167 * sysdeps/posix/readdir.c: ... here.
8168 * sysdeps/unix/readdir_r.c: Renamed to ...
8169 * sysdeps/posix/readdir_r.c: ... here.
8170 * sysdeps/unix/rewinddir.c: Renamed to ...
8171 * sysdeps/posix/rewinddir.c: ... here.
8172 * sysdeps/unix/seekdir.c: Renamed to ...
8173 * sysdeps/posix/seekdir.c: ... here.
8174 * sysdeps/unix/telldir.c: Renamed to ...
8175 * sysdeps/posix/telldir.c: ... here.
8176 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8177 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8178 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8179 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8180
22895b47
RM
8181 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8182 * bits/fcntl.h: ... here.
8183
707a53b6
RM
8184 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8185 not 0.
8186 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8187 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8188 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8189 (struct flock): Move l_start, l_len to the beginning.
8190 Use __pid_t for l_pid.
8191 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8192 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8193 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8194 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8195 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8196 [__USE_LARGEFILE64] (struct flock64): New type.
8197 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8198
f0bd3e25
RM
8199 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8200 * bits/dirent.h: ... here.
8201
d34689de
RM
8202 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8203 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8204
6dad2c06
JM
82052012-08-07 Joseph Myers <joseph@codesourcery.com>
8206
8207 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8208 Change from 2.6.0 to 2.6.16.
8209 * sysdeps/unix/sysv/linux/configure: Regenerated.
8210 * sysdeps/unix/sysv/linux/kernel-features.h
8211 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8212 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8213 version.
8214 (__ASSUME_UTIMES): Likewise.
8215 (__ASSUME_CLONE_STOPPED): Remove.
8216 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8217 architectures, not kernel version.
8218 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8219 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8220 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8221 (__ASSUME_WAITID_SYSCALL): Likewise.
8222 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8223 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8224 * README: State 2.6.16 as minimum Linux kernel version. Do not
8225 refer to older versions.
8226
03af9520
RM
82272012-08-06 Roland McGrath <roland@hack.frob.com>
8228
8e49df1d
RM
8229 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8230 Define alphasort64 as an alias.
8231 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8232 Define versionsort64 as an alias.
8233 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8234 Define scandir64 as an alias.
8235 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8236 Define scandirat64 as an alias.
8237 * dirent/alphasort64.c (alphasort64):
8238 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8239 * dirent/versionsort64.c: Likewise.
8240 * dirent/scandir64.c: Likewise.
8241 * dirent/scandirat64.c: Likewise.
8242 * sysdeps/wordsize-64/alphasort.c: File removed.
8243 * sysdeps/wordsize-64/alphasort64.c: File removed.
8244 * sysdeps/wordsize-64/scandir.c: File removed.
8245 * sysdeps/wordsize-64/scandir64.c: File removed.
8246 * sysdeps/wordsize-64/scandirat.c: File removed.
8247 * sysdeps/wordsize-64/scandirat64.c: File removed.
8248 * sysdeps/wordsize-64/versionsort.c: File removed.
8249 * sysdeps/wordsize-64/versionsort64.c: File removed.
8250 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8251 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8252 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8253 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8254 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8255 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8256 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8257 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8258
8259 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8261 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8263 [defined __arch64__ || defined __sparcv9]
8264 (__INO_T_MATCHES_INO64_T): New macro.
8265 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8266 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8267 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8268 * sysdeps/unix/sysv/linux/bits/dirent.h
8269 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8270 (_DIRENT_MATCHES_DIRENT64): New macro.
8271
03af9520
RM
8272 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8273 Define lockf64 as an alias.
8274 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8275 Define fseeko64 as an alias.
8276 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8277 Define ftello64 as an alias.
8278 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8279 Define _IO_fgetpos64 and fgetpos64 as aliases.
8280 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8281 Define _IO_fsetpos64 and fsetpos64 as aliases.
8282 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8283 Conditionalize body on this.
8284 * libio/fseeko64.c: Likewise.
8285 * libio/ftello64.c: Likewise.
8286 * libio/iofgetpos64.c: Likewise.
8287 * libio/iofsetpos64.c: Likewise.
8288 * sysdeps/wordsize-64/lockf.c: File removed.
8289 * sysdeps/wordsize-64/lockf64.c: File removed.
8290 * sysdeps/wordsize-64/fseeko.c: File removed.
8291 * sysdeps/wordsize-64/fseeko64.c: File removed.
8292 * sysdeps/wordsize-64/ftello.c: File removed.
8293 * sysdeps/wordsize-64/ftello64.c: File removed.
8294 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8295 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8296 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8297 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8298 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8299 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8300 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8301 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8302 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8303 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8304 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8305 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8306 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8307 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8308
8309 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8310 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8311 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8312 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8313 [defined __arch64__ || defined __sparcv9]
8314 (__OFF_T_MATCHES_OFF64_T): New macro.
8315 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8316 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8317 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8318 (__OFF_T_MATCHES_OFF64_T): New macro.
8319
c5757acd
L
83202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8321
8322 * stdlib/secure-getenv.c (__secure_getenv): Replace
8323 GLIBC_2_16 with GLIBC_2_17.
8324
3a31811e
L
83252012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8326
8327 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8328 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8329
faa2bccb
DM
83302012-08-03 David S. Miller <davem@davemloft.net>
8331
8332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8333
85fe1997
JM
83342012-08-03 Joseph Myers <joseph@codesourcery.com>
8335
8336 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8337 Remove.
8338 (__ASSUME_CORRECT_SI_PID): Likewise.
8339 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8340 (__ASSUME_TMPFS_NAME): Likewise.
8341 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8342 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8343 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8344 (HAVE_AUX_SECURE): Make definition unconditional.
8345 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8346 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8347
4f75b7a0
RM
83482012-08-03 Roland McGrath <roland@hack.frob.com>
8349
8350 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8351 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8352 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8353 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8354 __eloop_threshold instead of SYMLOOP_MAX.
8355
8356 * sysdeps/generic/eloop-threshold.h: New file.
8357 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8358 of MAXSYMLINKS.
8359 * elf/chroot_canon.c (chroot_canon): Likewise.
8360
7aab07e4
JM
83612012-08-03 Joseph Myers <joseph@codesourcery.com>
8362
8363 [BZ #13717]
8364 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8365 Change to 2.6.0 everywhere.
8366 * sysdeps/unix/sysv/linux/configure: Regenerated.
8367 * sysdeps/unix/sysv/linux/kernel-features.h
8368 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8369 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8370 kernel versions.
8371 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8372 (__ASSUME_FUTEX_REQUEUE): Remove.
8373 (__ASSUME_STATFS64): Define unconditionally.
8374 (__ASSUME_AT_SECURE): Likewise.
8375 (__ASSUME_CORRECT_SI_PID): Likewise.
8376 (__ASSUME_TGKILL): Define without depending on kernel version for
8377 i386.
8378 (__ASSUME_UTIMES): Likewise.
8379 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8380 kernel version.
8381 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8382 (__ASSUME_TMPFS_NAME): Likewise.
8383 * README: Update reference to Linux kernel versions.
8384
b67e9372
MP
83852012-08-02 Marek Polacek <polacek@redhat.com>
8386
1f529f7d 8387 [BZ# 14150]
b67e9372
MP
8388 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8389 libc_cv_asm_type_prefix with %.
8390 * configure: Regenerated.
d2441631
RM
8391 * include/libc-symbols.h: Remove comment about
8392 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
8393 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8394 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8395 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8396 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8397 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8398 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8399 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8400 * elf/tst-unique2mod1.c: Likewise.
8401 * elf/tst-unique1mod2.c: Likewise.
8402 * elf/tst-unique1mod1.c: Likewise.
8403 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8404 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8405 Replace ASM_TYPE_DIRECTIVE with .type.
8406 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8407 * sysdeps/i386/sysdep.h: Likewise.
8408 * sysdeps/x86_64/sysdep.h: Likewise.
8409 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
8410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8411 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 8412 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
8413 * sysdeps/powerpc/powerpc32/sysdep.h:
8414 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
8415 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8416 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8417 * sysdeps/i386/fpu/e_powf.S: Likewise.
8418 * sysdeps/i386/fpu/e_expl.S: Likewise.
8419 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8420 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8421 * sysdeps/i386/fpu/e_pow.S: Likewise.
8422 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8423 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8424 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8425 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8426 * sysdeps/i386/fpu/e_log2.S: Likewise.
8427 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8428 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8429 * sysdeps/i386/fpu/e_powl.S: Likewise.
8430 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8431 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8432 * sysdeps/i386/fpu/e_logl.S: Likewise.
8433 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8434 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8435 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8436 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8437 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8438 * sysdeps/i386/fpu/e_log.S: Likewise.
8439 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8440 * sysdeps/i386/fpu/e_logf.S: Likewise.
8441 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8442 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8443 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8444 * sysdeps/i386/fpu/e_log10.S: Likewise.
8445 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8446 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8447 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8448 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8449 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8450 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8451 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8452 * sysdeps/i386/i686/strtok.S: Likewise.
8453 * sysdeps/i386/i386-mcount.S: Likewise.
8454 * sysdeps/i386/strtok.S: Likewise.
8455 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8456 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8457 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8458 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8459 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8460 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8461 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8462 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8463 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8464 * sysdeps/x86_64/_mcount.S: Likewise.
8465 * sysdeps/x86_64/strtok.S: Likewise.
8466 * sysdeps/sh/_mcount.S: Likewise.
8467
2747bf9a
RM
84682012-08-01 Roland McGrath <roland@hack.frob.com>
8469
8470 * libio/iofopen.c: Include <fcntl.h>.
8471 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8472 (_IO_fopen64, fopen64): Define as aliases.
8473 * libio/iofopen64.c: Include <fcntl.h>.
8474 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8475 Conditionalize body on this.
8476 * sysdeps/wordsize-64/iofopen.c: File removed.
8477 * sysdeps/wordsize-64/iofopen64.c: File removed.
8478
3fb791b8
MP
84792012-08-01 Marek Polacek <polacek@redhat.com>
8480
8481 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8482 Use dlfcn directly instead of a variable.
8483 (binfmt-subdir): Do not define.
8484 (dlfcn): Likewise.
8485
a9f1039f
JM
84862012-08-01 Joseph Myers <joseph@codesourcery.com>
8487
23bddc06
JM
8488 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8489 Remove all definitions.
8490 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8491 <kernel-features.h>.
8492 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8493 (miss_F_GETOWN_EX): Remove all definitions.
8494 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8495 macro definition.
8496 [!__ASSUME_FCNTL64]: Remove conditional code.
8497 [__ASSUME_FCNTL64]: Make code unconditional.
8498 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8499 <kernel-features.h>.
8500 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8501 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8502 (lockf64) [__NR_fcntl64]: Make code unconditional.
8503 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8504
a9f1039f
JM
8505 * sysdeps/unix/sysv/linux/kernel-features.h
8506 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8507 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8508 Make code unconditional.
8509 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8510 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8512 [__NR_vfork]: Make code unconditional.
8513 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8514 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8516 [__NR_vfork]: Make code unconditional.
8517 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8518 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8519
09c0ee5f
RM
85202012-08-01 Roland McGrath <roland@hack.frob.com>
8521
48aec5b9
RM
8522 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8523 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8524
cd97c966
RM
8525 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8526 Define mkstemp64 as an alias.
3f55550c
RM
8527 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8528 Define mkstemps64 as an alias.
cd97c966
RM
8529 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8530 Define mkostemp64 as an alias.
b8625cfc
RM
8531 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8532 Define mkostemps64 as an alias.
cd97c966
RM
8533 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8534 Conditionalize body on this.
8535 * misc/mkostemp64.c: Likewise.
b8625cfc 8536 * misc/mkostemps64.c: Likewise.
3f55550c 8537 * misc/mkstemps64.c: Likewise.
cd97c966
RM
8538 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8539 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8540 * sysdeps/wordsize-64/mkostemp.c: File removed.
8541 * sysdeps/wordsize-64/mkstemp.c: File removed.
8542 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8543 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8544 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8545 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8546
09c0ee5f
RM
8547 [BZ #14138]
8548 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8549 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8550 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8551 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8552
8553 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8554 compat_symbol macros from <shlib-compat.h> rather than the underlying
8555 default_symbol_version and symbol_version macros, so that DEFAULT
8556 lines in shlib-versions are respected.
8557 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8558
7e66ee51
FW
85592012-08-01 Florian Weimer <fweimer@redhat.com>
8560
8561 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8562 Declare with warn_unused_result.
8563 (setgid, setregid, setegid, setresgid): Likewise.
8564 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8565 Likewise.
8566 * WUR-REPORT: Remove set*id functions.
8567
d2a54255
PT
85682012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8569
8570 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8571
7ecdb005
RM
85722012-07-31 Roland McGrath <roland@hack.frob.com>
8573
789bd351
RM
8574 * include/sys/socket.h (__libc_accept, __libc_accept4):
8575 Add attribute_hidden.
8576 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8577
40ce302d
RM
8578 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8579 use of PTR_MANGLE.
8580 * inet/getnetgrent_r.c (setup): Likewise.
8581
7ecdb005
RM
8582 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8583
e2eabb2c
DM
85842012-07-31 David S. Miller <davem@davemloft.net>
8585
8586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8587
d0419dbf
JM
85882012-07-31 Joseph Myers <joseph@codesourcery.com>
8589
8590 [BZ #13629]
8591 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8592 value between 1.0 and 2.0 and smaller part has absolute value less
8593 than 1.0.
8594 * math/s_clog10.c (__clog10): Likewise.
8595 * math/s_clog10f.c (__clog10f): Likewise.
8596 * math/s_clog10l.c (__clog10l): Likewise.
8597 * math/s_clogf.c (__clogf): Likewise.
8598 * math/s_clogl.c (__clogl): Likewise.
8599 * math/libm-test.inc (clog_test): Add more tests.
8600 (clog10_test): Likewise.
8601 * sysdeps/i386/fpu/libm-test-ulps: Update.
8602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8603
2bc13872
FW
86042012-07-31 Florian Weimer <fweimer@redhat.com>
8605
8606 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8607 Exit with zero in case no suitable GID is found, and write a
8608 message to standard error.
8609
bea9b193
RM
86102012-07-30 Roland McGrath <roland@hack.frob.com>
8611
8612 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8613 rather than to 1.
8614 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8615 (MAXPATHLEN): Removed.
8616 (NOGROUP, NODEV): New macros.
8617 (setbit, clrbit, isset, isclr): New macros.
8618 (howmany, roundup, powerof2): New macros.
8619 (DEV_BSIZE): New macro.
8620
8621 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8622 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8623
8624 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8625 definition on [!__NO_LONG_DOUBLE_MATH].
8626
8627 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8628 PTR_MANGLE and PTR_DEMANGLE.
8629
8630 * socket/accept4.c (accept4): Rename to __libc_accept4.
8631 Define accept4 as a weak alias.
8632
8633 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8634 on [_DIRENT_HAVE_D_TYPE].
8635 * io/ftw.c (ftw_dir): Likewise.
8636
8637 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8638
8639 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8640
8641 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8642 Use the BSD numbers rather than the arbitrary ones we had.
8643 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8644 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8645 (SIGXCPU, SIGXFSZ): New macros.
8646 (_NSIG): Now 32.
8647
8648 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8649 initializer on [_LIBC_REENTRANT].
8650
8651 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8652 definitions inside [_POSIX_MAPPED_FILES].
8653
8654 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8655
8656 * dirent/opendir.c: Include <fcntl.h>.
8657
8658 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8659 (__libc_getspecific): Likewise.
8660 (__libc_key_create): Likewise.
8661
8662 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8663 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8664 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8665 (tmpfile64): Define as alias.
8666 * sysdeps/wordsize-64/tmpfile.c: File removed.
8667 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8668 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8669 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8670
8671 * stdio-common/vfscanf.c: Include <stdbool.h>.
8672 * nss/makedb.c: Likewise.
8673 * stdio-common/_i18n_number.h: Likewise.
8674 * argp/argp-help.c: Likewise.
8675 * posix/wordexp.c: Likewise.
8676 * sysdeps/posix/spawni.c: Likewise.
8677 * nss/nss_files/files-initgroups.c: Likewise.
8678 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8679 * nss/nss_files/files-initgroups.c: Likewise.
8680 * nss/nss_db/db-netgrp.c: Likewise.
8681 * nss/nss_db/db-initgroups.c: Likewise.
8682 * io/fchmodat.c: Include <sys/stat.h>.
8683
8684 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8685 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8686
8687 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8688 [HAVE_MMAP].
8689
8690 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8691 Add multiple inclusion protection.
8692
e5abc686
DM
86932012-07-27 David S. Miller <davem@davemloft.net>
8694
8695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8696
815e6fa3
GB
86972012-07-27 Gary Benson <gbenson@redhat.com>
8698
8699 [BZ #14298]
8700 * elf/rtld.c: Include <stap-probe.h>.
8701 (dl_main): Added static probes "init_start" and "init_complete".
8702 * elf/dl-load.c: Include <stap-probe.h>.
8703 (lose): Take new parameter "nsid".
8704 Added static probe "map_failed".
8705 (_dl_map_object_from_fd): Pass namespace id to lose.
8706 Added static probe "map_start".
8707 (open_verify): Pass namespace id to lose.
8708 * elf/dl-open.c: Include <stap-probe.h>.
8709 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8710 and "reloc_complete".
8711 * elf/dl-close.c: Include <stap-probe.h>.
8712 (_dl_close_worker): Added static probes "unmap_start" and
8713 "unmap_complete".
8714 * elf/rtld-debugger-interface.txt: New file documenting the above.
8715
9f98c16c
RM
87162012-07-26 Roland McGrath <roland@hack.frob.com>
8717
8718 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8719 rather than a string variable.
8720 * sunrpc/rpc_main.c (h_output): Likewise.
8721 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8722
f3c22df3
PT
87232012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8724
8725 * inet/check_native.c: New file.
8726
3129cfc6
JM
87272012-07-26 Joseph Myers <joseph@codesourcery.com>
8728
da865e95
JM
8729 [BZ #13629]
8730 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8731 if larger part has absolute value 1.0.
8732 * math/s_clog10.c (__clog10): Likewise.
8733 * math/s_clog10f.c (__clog10f): Likewise.
8734 * math/s_clog10l.c (__clog10l): Likewise.
8735 * math/s_clogf.c (__clogf): Likewise.
8736 * math/s_clogl.c (__clogl): Likewise.
8737 * math/libm-test.inc (clog_test): Add more tests.
8738 (clog10_test): Likewise.
8739 * sysdeps/i386/fpu/libm-test-ulps: Update.
8740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8741
3129cfc6
JM
8742 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8743 (pltexit): Likewise.
8744 (La_regs): Likewise.
8745 (La_retval): Likewise.
8746 (int_retval): Likewise.
8747 Update #error for removed macros to refer only to definitions in
8748 tst-audit.h.
8749 * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.c (pltenter): Remove all definitions of
8762 macro.
8763 (pltexit): Likewise.
8764 (La_regs): Likewise.
8765 (La_retval): Likewise.
8766 (int_retval): Likewise.
8767 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8768 macro.
8769 (pltexit): Likewise.
8770 (La_regs): Likewise.
8771 (La_retval): Likewise.
8772 (int_retval): Likewise.
8773 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8774 macro.
8775 (pltexit): Likewise.
8776 (La_regs): Likewise.
8777 (La_retval): Likewise.
8778 (int_retval): Likewise.
8779 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8780 macro.
8781 (pltexit): Likewise.
8782 (La_regs): Likewise.
8783 (La_retval): Likewise.
8784 (int_retval): Likewise.
8785 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8786 macro definitions in tst-audit.h.
8787 * sysdeps/i386/tst-audit.h: New file.
8788 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8789 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8790 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8791 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8792 * sysdeps/sh/tst-audit.h: Likewise.
8793 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8794 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8795 * sysdeps/x86_64/tst-audit.h: Likewise.
8796
bfc07087
AJ
87972012-07-26 Andreas Jaeger <aj@suse.de>
8798
b1b2aaf8
AJ
8799 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8800 ptrace.
8801
8802 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8803 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8804 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8805 PTRACE_O_MASK.
8806 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8807 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8808 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8809
bfc07087
AJ
8810 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8811 value.
8812
8813 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8814 _sigsys.
8815 (si_call_addr, si_syscall, si_arch): Define new macro.
8816 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8817 _sigsys.
8818 (si_call_addr, si_syscall, si_arch): Define new marcro.
8819 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8820 _sigsys.
8821 (si_call_addr, si_syscall, si_arch): Define new macro.
8822 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8823 _sigsys.
8824 (si_call_addr, si_syscall, si_arch): Define new macro.
8825
89b4b02f
JM
88262012-07-25 Joseph Myers <joseph@codesourcery.com>
8827
8828 [BZ #13717]
8829 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8830 Change to 2.4.21 where previously 2.4.1.
8831 * sysdeps/unix/sysv/linux/configure: Regenerated.
8832 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8833 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8834 Linux kernel version.
8835 (__ASSUME_STD_AUXV): Remove.
8836 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8837 kernel version.
8838 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8839 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8840 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8841 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8842 (__ASSUME_NETLINK_SUPPORT): Likewise.
8843 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8844 (__no_netlink_support): Remove conditional definition.
8845 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8846 Remove.
8847 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8848 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8849 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8850 (if_nameindex_ioctl): Remove.
8851 (if_nameindex_netlink): Do not handle __no_netlink_support.
8852 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8853 code.
8854 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8855 Remove conditional code.
8856 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8857 code.
8858 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8859 unconditional.
8860 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8861 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8862 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8863 Remove.
8864 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8865 [!__ASSUME_STD_AUXV]: Remove conditional code.
8866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8867 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8868 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8870 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8871 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8872 code.
8873 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8875 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8876 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8877 conditional code.
8878 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8880 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8881 code.
8882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8883 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8884 conditional code.
8885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8886 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8887 code unconditional.
8888 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8889 conditional code.
8890 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8891 unconditional.
8892 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8893 conditional code.
8894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8895 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8896 unconditional.
8897 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8898 conditional code.
8899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8900 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8901 code unconditional.
8902 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8903 conditional code.
8904 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8905 unconditional.
8906 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8907 conditional code.
8908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8909 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8910 code unconditional.
8911 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8912 conditional code.
8913 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8914 unconditional.
8915 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8916 conditional code.
8917
842a39cd
AS
89182012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8919
8920 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8921 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8922 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8923 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8924 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8925 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8926 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8927 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8928 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8929 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8930 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8931 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8932 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8933 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8934 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8935 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8936 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8937 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8938 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8939 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8940 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8941 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8942 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8943
84b3fd84
FW
89442012-07-25 Florian Weimer <fweimer@redhat.com>
8945
8946 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8947 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8948 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8949 Introduce __libc_secure_getenv.
0c7936d5
FW
8950 * stdlib/Versions (2.17): Add secure_getenv
8951 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8952 * stdlib/secure-getenv.c: Rename __secure_getenv to
8953 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8954 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8955 * stdlib/tst-secure-getenv.c: New.
8956 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8957 * manual/startup.texi (Environment Access): Document
8958 secure_getenv.
84b3fd84
FW
8959 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8960 __libc_secure_getenv.
8961 * inet/ruserpass.c (ruserpass): Likewise.
8962 * malloc/mtrace.c (mtrace): Likewise.
8963 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8964 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8965 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8966 * sysdeps/posix/tempname.c: Likewise. Evaluate
8967 HAVE_SECURE_GETENV.
8968 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8969 __secure_getenv to __libc_secure_getenv.
84b3fd84 8970 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8972 Likewise.
8973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8974 Likewise.
8975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8977 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 8982
56e49b71
JM
89832012-07-25 Joseph Myers <joseph@codesourcery.com>
8984
8985 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8986 (struct La_i86_retval): Likewise.
8987 (struct La_x86_64_regs): Likewise.
8988 (struct La_x86_64_retval): Likewise.
8989 (struct La_x32_regs): Likewise.
8990 (struct La_x32_retval): Likewise.
8991 (struct La_ppc32_regs): Likewise.
8992 (struct La_ppc32_retval): Likewise.
8993 (struct La_ppc64_regs): Likewise.
8994 (struct La_ppc64_retval): Likewise.
8995 (struct La_sh_regs): Likewise.
8996 (struct La_sh_retval): Likewise.
8997 (struct La_s390_32_regs): Likewise.
8998 (struct La_s390_32_retval): Likewise.
8999 (struct La_s390_64_regs): Likewise.
9000 (struct La_s390_64_retval): Likewise.
9001 (struct La_sparc32_regs): Likewise.
9002 (struct La_sparc32_retval): Likewise.
9003 (struct La_sparc64_regs): Likewise.
9004 (struct La_sparc64_retval): Likewise.
9005 (struct audit_ifaces): Remove architecture-specific pltenter and
9006 pltexit members.
9007 * sysdeps/i386/ldsodefs.h: New file.
9008 * sysdeps/powerpc/ldsodefs.h: Likewise.
9009 * sysdeps/s390/ldsodefs.h: Likewise.
9010 * sysdeps/sh/ldsodefs.h: Likewise.
9011 * sysdeps/sparc/ldsodefs.h: Likewise.
9012 * sysdeps/x86_64/ldsodefs.h: Likewise.
9013
354691b7
MP
90142012-07-25 Marek Polacek <polacek@redhat.com>
9015
9016 [BZ #6808]
9017 * math/libm-test.inc (yn_test): Add another test.
9018 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9019 to ERANGE when the result is +-Inf.
9020 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9021 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9022 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9023 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9024
bf9e2071
JM
90252012-07-24 Joseph Myers <joseph@codesourcery.com>
9026
9027 * conform/data/time.h-data (NULL): Use macro-constant. Require
9028 equal to 0.
9029 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9030 clock_t.
9031 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9032
57633811
TS
90332012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9034
9035 * configure.in <sysdeps resolving>: Correct printing
9036 Implies_before.
9037 * configure: Regenerate.
9038
c23c33b0
TS
90392012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9040
9041 * math/w_ilogb.c: Include <limits.h>.
9042 * math/w_ilogbl.c: Likewise.
9043
b5982523
JM
90442012-07-20 Joseph Myers <joseph@codesourcery.com>
9045
9046 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9047 va_copy. Document allowing for unavailable va_copy only as
9048 pre-C99 compatibility.
9049 * manual/string.texi (Copying and Concatenation): Use va_copy
9050 instead of __va_copy in concat example.
9051
ac4ea442
PT
90522012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9053
9054 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9055 (__sendto): Use create_address_port. Initialize APORT and deallocate
9056 it if not null.
9057
f98eafbd
PT
9058 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9059 with O_NOLINK passed to __file_name_lookup.
9060
898c7aab
PT
9061 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9062 with O_NOLINK passed to __file_name_lookup.
9063
0ced335a
PT
9064 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9065 negative N or less than NGIDS.
9066
b3404dbd
PT
9067 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9068 type to string_t. Set ERANGE as errno and return it if NAME is not big
9069 enough. Use memcpy instead of strncpy.
9070
0f48659e
JM
90712012-07-20 Joseph Myers <joseph@codesourcery.com>
9072
9073 * elf/Makefile (check-data): Remove.
9074 (localplt.data): New vpath directive.
9075 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9076 instead of $(check-data).
9077 * scripts/data/localplt-generic.data: Move to ...
9078 * sysdeps/generic/localplt.data: ... here.
9079 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9080 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9081 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9083 ... here.
9084 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9086 ... here.
9087 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9089 ... here.
9090 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9092 ... here.
9093 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9095 ... here.
9096 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9098 ... here.
9099
d37cbdaa
AZ
91002012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9101
9102 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9103 PPC32 and PPC64 files.
9104 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9105 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9106
46f85fc2
AK
91072012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9108
9109 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9110 __makecontext_ret to ...
9111 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9112 ... here and call exit if uc_link is NULL. New file.
9113 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9114 __makecontext_ret.S.
9115 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9116 __makecontext_ret to ...
9117 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9118 ... here and call exit if uc_link is NULL. New file.
9119 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9120 __makecontext_ret.S.
9121
08f43f9b
AK
91222012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9123
9124 * elf/elf.h (R_390_IRELATIVE): New definition.
9125 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9126 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9127 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9128 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9129 (elf_machine_lazy_rel): Likewise.
9130 * sysdeps/s390/dl-irel.h: New file.
9131 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9132 * sysdeps/s390/s390-64/memset.S: New asm code.
9133 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9134 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9135 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9136 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9137 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9138 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9139 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9140 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9141 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9142 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9143 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9144 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9145 * sysdeps/s390/s390-32/memset.S: New asm code.
9146 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9147
3b05db33
MP
91482012-07-17 Marek Polacek <polacek@redhat.com>
9149
9150 [BZ #14349]
9151 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9152 * sysdeps/s390/s390-64/configure.in: Likewise.
9153 * sysdeps/sparc/configure.in: Likewise.
9154 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9155 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9156 * sysdeps/i386/configure.in: Likewise.
9157 * sysdeps/x86_64/configure.in: Likewise.
9158 * sysdeps/sh/configure.in: Likewise.
9159 * sysdeps/s390/s390-32/configure: Regenerated.
9160 * sysdeps/s390/s390-64/configure: Likewise.
9161 * sysdeps/x86_64/configure: Likewise.
9162 * sysdeps/sh/configure: Likewise.
9163 * sysdeps/powerpc/powerpc64/configure: Likewise.
9164 * sysdeps/powerpc/powerpc32/configure: Likewise.
9165 * sysdeps/sparc/configure: Likwise.
9166 * sysdeps/i386/configure: Likewise.
9167
a66877c6
MP
9168 * elf/dl-open.c: Comment fixes.
9169
cfc82fd8
JM
91702012-07-17 Joseph Myers <joseph@codesourcery.com>
9171
bd29910a
JM
9172 * Makefile [CXX] (check-data): Remove.
9173 [CXX] (c++-types.data): New vpath directive.
9174 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9175 vpath. Do not allow for C++ type data being missing.
9176 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9177 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9178 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9179 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9180 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9181 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9182 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9184 ... here.
9185 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9187 ... here.
9188 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9190 ... here.
9191 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9193 ... here.
9194 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9196 ... here.
9197 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9199 ... here.
9200 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9202 ... here.
9203 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9205
cfc82fd8
JM
9206 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9207 definitions to architecture-specific files.
9208 (TLS_IE): Likewise.
9209 (TLS_LD): Likewise.
9210 (TLS_GD): Likewise.
9211 * sysdeps/i386/tls-macros.h: New file.
9212 * sysdeps/powerpc/tls-macros.h: Likewise.
9213 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9214 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9215 * sysdeps/sh/tls-macros.h: Likewise.
9216 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9217 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9218 * sysdeps/x86_64/tls-macros.h: Likewise.
9219
f7db3170
TS
92202012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9221
07cbfc23
TS
9222 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9223 zero value for regular exit case.
9224
f7db3170
TS
9225 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9226 (__start_context): Preserve zero value for regular exit case.
9227
dc97c227
TS
92282012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9229 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9230
9231 * manual/setjmp.texi (setcontext): Clarify normal process
9232 termination when uc_link is the null pointer.
9233 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9234 exit call.
9235
d0cd7d02
AS
92362012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9237
9238 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9239 preprocessor. Test for each exception mask separately.
9240
dd318934
AJ
92412012-07-16 Andreas Jaeger <aj@suse.de>
9242
9243 * po/ru.po: Update from translation team.
9244
8048311a
JM
92452012-07-15 Joseph Myers <joseph@codesourcery.com>
9246
9247 * conform/data/string.h-data (NULL): Use macro-constant. Require
9248 equal to 0.
9249 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9250 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9251 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9252 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9253 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9254
b637d46e
AJ
92552012-07-13 Andreas Jaeger <aj@suse.de>
9256
9257 * po/fr.po: Update from translation team.
9258
541428fe
MP
92592012-07-12 Marek Polacek <polacek@redhat.com>
9260
9261 [BZ #14173]
9262 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9263 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9264 loop condition.
9265
ec332e94
JM
92662012-07-12 Joseph Myers <joseph@codesourcery.com>
9267
9268 [BZ #13717]
9269 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9270 Change to 2.4.1 where previously 2.4.0.
9271 * sysdeps/unix/sysv/linux/configure: Regenerated.
9272 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9273 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9274 version.
9275 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9276 (__ASSUME_AT_CLKTCK): Remove.
9277 (__ASSUME_AT_PAGESIZE): Likewise.
9278 (__ASSUME_AT_XID): Likewise.
9279 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9280 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9281 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9282 unconditionally.
9283 (HAVE_AUX_PAGESIZE): Likewise.
9284 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9285 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9286 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9287
7b6e99be
JB
92882012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9289
9290 [BZ #14307]
9291 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9292 the temporary buffer used to invoke __gethostbyname2_r,
9293 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9294 host_data / struct gaih_addrtuple.
9295 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9296 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9297 header file nss/nsswitch.h.
9298 * nss/nsswitch.h (global scope): Add definition of implementation
9299 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9300 resolv/nss_dns/dns-host.c).
9301
608404eb
AJ
93022012-07-11 Andreas Jaeger <aj@suse.de>
9303
9304 * po/fr.po: Update from translation team.
9305
71220aca
AJ
9306 * po/sv.po: Update from translation team
9307 * po/fr.po: Another update from translation team.
9308
28cfe843
AZ
93092012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9310
9311 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9312 for subnormals or multiply small sinh result by itself.
9313 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9315
6b90f981
DM
93162012-07-11 David S. Miller <davem@davemloft.net>
9317
9318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9319
c6825772
AS
93202012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9321
9322 [BZ #14347]
9323 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9324 (INTERNAL_MARK): Shift it here.
9325
7b8e0d49
MP
93262012-07-10 Marek Polacek <polacek@redhat.com>
9327
9328 [BZ #14151]
9329 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9330 libc_cv_asm_global_directive with .globl.
9331 * configure: Regenerated.
9332 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9333 with .globl.
9334 * sysdeps/i386/configure: Regenerated.
9335 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9336 with .globl.
9337 * sysdeps/x86_64/configure: Regenerated.
9338 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9339 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9340 * elf/tst-unique2mod2.c: Likewise.
9341 * elf/tst-unique2mod1.c: Likewise.
9342 * elf/tst-unique1mod2.c: Likewise.
9343 * elf/tst-unique1mod1.c: Likewise.
9344 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9345 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9346 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9347 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9348 * sysdeps/mach/sysdep.h: Likewise.
9349 * sysdeps/i386/sysdep.h: Likewise.
9350 * sysdeps/i386/i386-mcount.S: Likewise.
9351 * sysdeps/x86_64/_mcount.S: Likewise.
9352 * sysdeps/x86_64/sysdep.h: Likewise.
9353 * sysdeps/sh/_mcount.S: Likewise.
9354 * sysdeps/sh/sysdep.h: Likewise.
9355 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9356 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9357 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9358 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9359 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9360 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9361 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9362 * locale/localeinfo.h: Likewise.
9363 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9364 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9365
6c55cda3
RM
93662012-07-09 Roland McGrath <roland@hack.frob.com>
9367
9368 [BZ #14336]
9369 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9370 system".
9371 * manual/message.texi (The Uniforum approach): Likewise.
9372 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9373 (glibc iconv Implementation): Likewise.
9374
638a572e
JM
93752012-07-09 Joseph Myers <joseph@codesourcery.com>
9376
9377 [BZ #14337]
9378 * math/s_clog.c (__clog): Avoid scaling a value down where that
9379 could result in underflow.
9380 * math/s_clog10.c (__clog10): Likewise.
9381 * math/s_clog10f.c (__clog10f): Likewise.
9382 * math/s_clog10l.c (__clog10l): Likewise.
9383 * math/s_clogf.c (__clogf): Likewise.
9384 * math/s_clogl.c (__clogl): Likewise.
9385 * math/libm-test.inc (clog_test): Add more tests.
9386 (clog10_test): Likewise.
9387 * sysdeps/i386/fpu/libm-test-ulps: Update.
9388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9389
261f4859
AS
93902012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9391
0abaf3e4
AS
9392 [BZ #14283]
9393 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9394 by 7 not 8 to examine high bit of fractional part.
9395
261f4859
AS
9396 [BZ #14042]
9397 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9398 for call to __mcount_internal.
9399 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9400 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9401 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9402
f17ac40d
JM
94032012-07-06 Joseph Myers <joseph@codesourcery.com>
9404
9ad63c23
JM
9405 [BZ #14154]
9406 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9407 approximation for values within 0x1p-13f of an odd multiple of
9408 pi/4.
9409 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9410 exception. Add more tests.
9411 * sysdeps/i386/fpu/libm-test-ulps: Update.
9412
f17ac40d
JM
9413 [BZ #6778]
9414 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9415 inputs and return -1 for them. Do not check for +Inf in case not
9416 reachable for +Inf.
9417 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9418 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9419 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9420 and return -1 for them. Do not check for +Inf in case not
9421 reachable for +Inf.
9422 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9423 define.
9424 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9425 and return -1 for them. Do not check for +Inf in case not
9426 reachable for +Inf.
9427 * math/libm-test.inc (expm1_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
fb21f89b
MF
94322012-07-06 Mike Frysinger <vapier@gentoo.org>
9433
9434 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9435
cdfe2c5e
JM
94362012-07-05 Joseph Myers <joseph@codesourcery.com>
9437
9438 [BZ #14157]
9439 [BZ #14331]
9440 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9441 could result in spurious underflow. Scale down values above
9442 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9443 * math/s_csqrtf.c (__csqrtf): Likewise.
9444 * math/s_csqrtl.c (__csqrtl): Likewise.
9445 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9446 spurious underflow.
9447 * sysdeps/i386/fpu/libm-test-ulps: Update.
9448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9449
70d35b67
AS
94502012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9451
704bc459
AS
9452 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9453 xopen-msg.sed.
9454 * catgets/xopen-msg.awk: New file.
9455 * catgets/xopen-msg.sed: Removed.
9456
70d35b67
AS
9457 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9458 po2text.sed.
9459 * intl/po2test.awk: New file.
9460 * intl/po2test.sed: Removed.
9461
ca61cf32
JM
94622012-07-04 Joseph Myers <joseph@codesourcery.com>
9463
9464 [BZ #14328]
9465 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9466 or multiply small sinh result by itself.
9467 * math/s_ctanf.c (__ctanf): Likewise.
9468 * math/s_ctanh.c (__ctanh): Likewise.
9469 * math/s_ctanhf.c (__ctanhf): Likewise.
9470 * math/s_ctanhl.c (__ctanhl): Likewise.
9471 * math/s_ctanl.c (__ctanl): Likewise.
9472 * math/libm-test.inc (ctan_test_tonearest): New function.
9473 (ctan_test_towardzero): Likewise.
9474 (ctan_test_downward): Likewise.
9475 (ctan_test_upward): Likewise.
9476 (ctanh_test_tonearest): Likewise.
9477 (ctanh_test_towardzero): Likewise.
9478 (ctanh_test_downward): Likewise.
9479 (ctanh_test_upward): Likewise.
9480 (main): Call these new functions.
9481 * sysdeps/i386/fpu/libm-test-ulps: Update.
9482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9483
ca48a46a
MF
94842012-07-03 Mike Frysinger <vapier@gentoo.org>
9485
9486 * .gitignore: Delete /ports entry.
9487
9d63d37d
AJ
94882012-07-03 Andreas Jaeger <aj@suse.de>
9489
9490 * po/bg.po: Update from translation team.
9491 * po/cs.po: Likewise.
9492 * po/de.po: Likewise.
9493 * po/hr.po: Likewise.
9494 * po/nl.pl: Likewise.
9495 * po/pl.po: Likewise.
9496 * po/vi.po: Likewise.
9497
370ca3d2
JM
94982012-07-03 Joseph Myers <joseph@codesourcery.com>
9499
95f5a9a8
JM
9500 * Makeconfig [!+link] (+link-before-libc): New variable.
9501 [!+link] (+link-after-libc): Likewise.
9502 [!+link] (+link-tests): Likewise.
9503 [!+link] (+link): Define in terms of $(+link-before-libc) and
9504 $(+link-after-libc).
9505 [!+link-static] (+link-static-before-libc): New variable.
9506 [!+link-static] (+link-static-after-libc): Likewise.
9507 [!+link-static] (+link-static-tests): Likewise.
9508 [!+link-static] (+link-static): Define in terms of
9509 $(+link-static-before-libc) and $(+link-static-after-libc).
9510 [build-shared] (link-libc-before-gnulib): New variable.
9511 [build-shared] (link-libc-tests): Likewise.
9512 [build-shared] (link-libc): Define in terms of
9513 $(link-libc-before-gnulib).
9514 [!build-shared] (link-libc-tests): New variable.
9515 (link-libc-static-tests): New variable.
9516 [!gnulib] (gnulib-arch): New variable.
9517 [!gnulib] (gnulib-tests): Likewise.
9518 [!gnulib] (static-gnulib-arch): Likewise.
9519 [!gnulib] (static-gnulib-tests): Likewise.
9520 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9521 Define with "=" instead of ":=".
9522 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9523 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9524 * Rules (binaries-all-notests): New variable.
9525 (binaries-all-tests): Likewise.
9526 (binaries-static-notests): Likewise.
9527 (binaries-static-tests): Likewise.
9528 (binaries-all): Define using $(binaries-all-notests) and
9529 $(binaries-all-tests).
9530 (binaries-static): Define using $(binaries-static-notests) and
9531 $(binaries-static-tests).
9532 (binaries-shared-tests): New variable.
9533 (binaries-shared-notests): Likewise.
9534 (binaries-shared): Remove variable.
9535 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9536 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9537 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9538 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9539 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9540 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9541 * elf/Makefile (sln-modules): New variable.
9542 (extra-objs): Add $(sln-modules:=.o).
9543 (ldconfig-modules): Add static-stubs.
9544 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9545 * elf/static-stubs.c: New file.
9546
7a845b2c
JM
9547 [BZ #14283]
9548 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9549 by 7 not 8 to examine high bit of fractional part. Use volatile
9550 variables when splitting into final array of floats if
9551 __FLT_EVAL_METHOD__ != 0.
9552 * math/libm-test.inc (cos_test): Add another test.
9553 (sin_test): Likewise.
9554 * sysdeps/i386/fpu/libm-test-ulps: Update.
9555
e2283f38
JM
9556 [BZ #14273]
9557 * math/libm-test.inc (cosh_test): Add more tests.
9558
370ca3d2
JM
9559 * version.h (RELEASE): Set to "development".
9560 (VERSION): Set to "2.16.90".
9561
ee9247c3
CD
95622012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9563
9564 * NEWS: Update copyright. Remove last-updated date.
9565 Mention math library bug fixes and timezone data changes.
9566 * README: Mention GNU/Hurd, x32, and HPPA support status.
9567
4648c381
TS
95682012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9569
9570 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9571
aac78a43
AJ
95722012-06-27 Andreas Jaeger <aj@suse.de>
9573
9574 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9575
ed3dbfad
AJ
95762012-06-25 Andreas Jaeger <aj@suse.de>
9577
9578 * sysdeps/s390/fpu/libm-test-ulps: Update.
9579
4d0ee855
AS
95802012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9581 Thomas Schwinge <thomas@codesourcery.com>
9582
9583 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9584 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9585 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9586 fanotify_mark.
9587
af1bce34
TS
95882012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9589
a9fa33ba
TS
9590 * sysdeps/mach/start.c: Remove file.
9591 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9592 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9593 * sysdeps/sh/init-first.c: Likewise.
9594
58f902b8
TS
9595 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9596 registers for frame unwinding purposes, add CFI directives.
9597 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9598 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9599 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9600 Likewise.
9601
1518f58b
TS
9602 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9603 __fortify_fail returning.
9604 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9605
db9b5059
TS
9606 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9607 sysdeps/sh/____longjmp_chk.S.
9608 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9609 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9610 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9611 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9612
967705fe
TS
9613 * sysdeps/sh/abort-instr.h: New file.
9614 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9615 process in case exit returns.
9616
a9def8c4
TS
9617 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9618 initialize the GOT register before use.
9619
2a649725
TS
9620 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9621 calculation of ARGC > 4.
9622
af1bce34
TS
9623 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9624 meaningful names to some local labels.
9625
d230f50a
KK
96262012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9627 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9628
9629 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9630 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9631 (__arch_compare_and_exchange_val_16_acq): Likewise.
9632 (__arch_compare_and_exchange_val_32_acq): Likewise.
9633 (atomic_exchange_and_add): Fix gUSA sequence.
9634 (atomic_add): Likewise.
9635 (atomic_add_negative): Likewise.
9636 (atomic_add_zero): Likewise.
9637 (atomic_bit_test_set): Likewise.
9638
0479b305
AS
96392012-06-22 Andreas Schwab <schwab@redhat.com>
9640
9641 [BZ #13579]
9642 * include/link.h (struct link_map): Add l_free_initfini.
9643 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9644 l_initfini.
9645 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9646 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9647 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9648 set.
9649
0e3933b9
CD
96502012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9651
9652 * configure.in: Use AC_LANG_SOURCE.
9653 * configure: Regenerate.
9654
4248b1b1
RM
96552012-06-22 Roland McGrath <roland@hack.frob.com>
9656
9657 * configure.in (libc_cv_localstatedir): New substituted variable.
9658 * configure: Regenerated.
9659 * config.make.in (localstatedir): New variable, substituted from
9660 libc_cv_localstatedir.
9661 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9662 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9663 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9664 * sysdeps/gnu/configure: Regenerated.
9665
006dd861
JL
96662012-06-21 Jeff Law <law@redhat.com>
9667
9668 [BZ #14277]
9669 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9670 free. Simplify list management for _LIBC case.
9671
79662d42
JM
96722012-06-21 Joseph Myers <joseph@codesourcery.com>
9673
b7abb4bf
JM
9674 [BZ #14273]
9675 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9676 Clear sign bit of 64-bit integer value before comparing against
9677 overflow value.
9678
79662d42
JM
9679 * sysdeps/mach/configure: Regenerated.
9680
1f150908
L
96812012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9682
9683 [BZ #14278]
9684 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9685
28363bbf
JL
96862012-06-21 Jeff Law <law@redhat.com>
9687
9688 [BZ #13882]
9689 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9690 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9691 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9692 * elf/dl-open.c (dl_open_worker): Likewise.
9693
09615db4
CD
96942012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9695
9696 * scripts/list-sources.sh: Scan PORTS for translations.
9697 * po/libc.pot: Regenerated.
9698
2174c6dd
AJ
96992012-06-21 Andreas Jaeger <aj@suse.de>
9700
9701 [BZ #12194]
9702 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9703 warning.
9704 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9705 * bits/byteswap-16.h (__bswap_16): Likewise.
9706 * bits/byteswap.h (__bswap_constant_16): Likewise.
9707
3ee947b1
L
97082012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9709
9710 [BZ #14117]
a2f34833
L
9711 * sysdeps/i386/fpu_control.h: Removed.
9712 * sysdeps/x86_64/fpu_control.h: Moved to ...
9713 * sysdeps/x86/fpu_control.h: Here.
9714
3ee947b1
L
9715 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9716 (_FPU_SETCW): Likewise.
9717
ed1825f8
L
97182012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9719
25f1282a
L
9720 [BZ #14117]
9721 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9722 * sysdeps/x86/fpu/bits/mathinline.h: This.
9723 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9724
ed1825f8
L
9725 [BZ #14050]
9726 [BZ #14117]
9727 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9728 functions if __x86_64__ is defined.
9729
36d54b74
CLT
97302012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9731
9732 * string/endian.h: Add !__ASSEMBLER__ condition for including
9733 conversion interfaces.
9734
10285c21
JM
97352012-06-15 Joseph Myers <joseph@codesourcery.com>
9736
9737 [BZ #14241]
9738 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9739 of ABS(x) in calculating zero to negative powers other than odd
9740 integers.
9741 * math/libm-test.inc (pow_test): Add more tests.
9742
06c5abbd
AJ
97432012-06-15 Andreas Jaeger <aj@suse.de>
9744
9745 * manual/contrib.texi (Contributors): Update entry of Liubov
9746 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9747 Machado Filho.
9748
a3aeac40
CH
97492012-06-15 Cyril Hrubis <metan@ucw.cz>
9750
9751 * string/string.h: Add __wur to GNU version of strerror_r.
9752
49bdf4c1
L
97532012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9754
9755 [BZ #14229]
9756 * string/Makefile (tests): Add tst-strtok_r.
9757 * string/tst-strtok_r.c: New file.
9758 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9759 RAX_LP/RDX_LP on SAVE_PTR.
9760
834f9b8d
RM
97612012-06-14 Roland McGrath <roland@hack.frob.com>
9762
9763 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9764
75fa1921
JM
97652012-06-14 Joseph Myers <joseph@codesourcery.com>
9766
9767 * libm_test.inc (csqrt_test): Allow more spurious underflow
9768 exceptions.
9769 (j0_test): Likewise.
9770 (j1_test): Likewise.
9771 (y0_test): Likewise.
9772 (y1_test): Likewise.
9773
771766df
CD
97742012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9775
9776 * po/Makefile (libc.pot): Use UTF-8 charset.
9777
ceb9e56b
PP
97782012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9779
9780 [BZ #14210]
9781 Suppress sign-conversion warning from FD_SET.
9782 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9783 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9784 not unsigned long int.
9785 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9786
ddb28975
L
97872012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9788
9789 [BZ #14050]
9790 [BZ #14117]
9791 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9792 __extern_always_inline instead of __extern_inline.
9793 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9794 (__signbit): Likewise.
9795 (__signbitl): Support C++ namespace.
9796 (lrintf): New inline function.
9797 (lrint): Likewise.
9798 (llrintf): Likewise.
9799 (llrint): Likewise.
9800 (fmaxf): Likewise.
9801 (fmax): Likewise.
9802 (fminf): Likewise.
9803 (fmin): Likewise.
9804 (rint): Likewise.
9805 (rintf): Likewise.
9806 (ceil): Likewise.
9807 (ceilf): Likewise.
9808 (floor): Likewise.
9809 (floorf): Likewise.
9810 (nearbyint): Likewise.
9811 (nearbyintf): Likewise.
9812
d7b4fb26
TS
98132012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9814
9815 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9816 non-default versions.
9817
eb55f5c2
RM
98182012-06-11 Roland McGrath <roland@hack.frob.com>
9819
9820 [BZ #14218]
9821 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9822
366af02c
TS
98232012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9824
99ff6e5c
TS
9825 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9826 (FE_UPWARD, FE_DOWNWARD): Don't define.
9827 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9828 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9829
366af02c
TS
9830 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9831 reading it.
9832 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9833 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9834
793ea851
KK
98352012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9836
9837 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9838 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9839 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9840 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9841
a728a38f
L
98422012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9843
9844 [BZ #14117]
c08010c7
L
9845 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9846 * sysdeps/i386/fpu/Implies: New file.
9847 * sysdeps/x86_64/fpu/Implies: Likewise.
9848 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9849 * sysdeps/x86/fpu/bits/fenv.h: This.
9850
a728a38f
L
9851 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9852 __SSE_MATH__.
9853
6e230d11
SP
98542012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9855
9856 [BZ #14134]
9857 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9858 character 0xffff that matches the last element of the
9859 conversion table.
9860
1b671feb
AZ
98612012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9862
9863 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9864 fmodl commit.
9865
6043738b
AZ
98662012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9867
9868 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9869 values higher than 25.6283.
9870
34ae0b32
AZ
98712012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9872
9873 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9874 subnormal exponent extraction and add some __builtin_expect.
9875 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9876 Fix for subnormal mantissa calculation.
9877
1214ec8f
MF
98782012-06-04 Mike Frysinger <vapier@gentoo.org>
9879
9880 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9881 cpu2 is -1 and errno is not ENOSYS.
9882
f3d1f93c
L
98832012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9884
9885 [BZ #14117]
0e4a3cd7
L
9886 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9887 * sysdeps/x86/bits/string.h: This.
9888 * sysdeps/x86_64/bits/string.h: Removed.
9889
6704c645
L
9890 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9891 if not compiling for x86-64, but compiling for >= i486.
9892
48495318
L
9893 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9894 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9895
14adcbfc
L
9896 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9897 New macro from Linux kernel 3.4.0.
9898 (FP_XSTATE_MAGIC2): Likewise.
9899 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9900 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9901 (struct _fpx_sw_bytes): New struct.
9902 (struct _xsave_hdr): Likewise.
9903 (struct _ymmh_state): Likewise.
9904 (struct _xstate): Likewise.
9905
68e408ab
L
9906 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9907 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9908 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9909 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9910 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9911 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9912
f3d1f93c
L
9913 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9914 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9915 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9916 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9917 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9918 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9919
d9dc34cd
TMQMF
99202012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9921
9922 [BZ #13743]
9923 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9924 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9925 (sysdep_headers): Include sys/platform/ppc.h.
9926 * sysdeps/powerpc/test-gettimebase.c: Test for
9927 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9928 * manual/Makefile (appendices): Include platform.texi.
9929 * manual/contrib.texi (Contributors): Update @node pointers.
9930 * manual/maint.texi (Maintenance): Likewise.
9931 (Platform): New node.
9932 * manual/platform.texi: New file. Document the new features.
9933
4af3879c
SP
99342012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9935 Jakub Jelinek <jakub@redhat.com>
9936
9937 [BZ #14188]
9938 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9939 where __builtin_expect is unavailable.
9940
2fd6ff13
DM
99412012-06-03 David S. Miller <davem@davemloft.net>
9942
9943 * stdlib/longlong.h: Updated from GCC.
9944
173f7220
AS
99452012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9946
9947 [BZ #14042]
9948 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9949 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9950 __mcount_internal.
9951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9952 (GLIBC_2.16): Likewise.
9953
f34a1c6f
L
99542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9955
9956 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9957
88a4576f
JM
99582012-06-01 Joseph Myers <joseph@codesourcery.com>
9959
ea32bcdd
JM
9960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9961 (default-abi): New variable.
9962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9963 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9964 variable.
9965 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9966 Likewise.
9967 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9968 Likewise.
9969 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9970 Likewise.
9971
88a4576f
JM
9972 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9973 definition. Document in comment.
9974
402fe938
DM
99752012-06-01 David S. Miller <davem@davemloft.net>
9976
9977 * stdlib/longlong.h: Updated from GCC.
9978
3553723f
L
99792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9980
9981 [BZ #14117]
3bd872c4
L
9982 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9983 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9984 sys/debugreg.h sys/io.h here.
9985 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9986 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9987 sys/io.h.
9988 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9989 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9990 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9991 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9992 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9993 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9994
3553723f
L
9995 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9996 Define only if __x86_64__ is defined.
9997
4842e4fe
JM
99982012-06-01 Joseph Myers <joseph@codesourcery.com>
9999
c5bfe3d5
JM
10000 [BZ #14048]
10001 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10002 Use int64_t for variable i.
10003 * math/libm-test.inc (fmod_test): Add more tests.
10004
4842e4fe
JM
10005 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10006 z computation is not scheduled after fetestexcept.
10007 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10008 Use math_force_eval instead of asm to ensure calculation scheduled
10009 before exception test.
10010 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10011 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10012
efb73488
AJ
100132012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10014
10015 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10016 computation is not scheduled after fetestexcept.
10017
29bcce7c
L
100182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10019
10020 [BZ #14117]
10021 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10022 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10023
73a68f94
AZ
100242012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10025
10026 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10027 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10028
67b6df78
L
100292012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10030
edf2933a 10031 [BZ #14117]
ebc64a18
L
10032 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10033 <bits/wordsize.h>.
10034 (__WCHAR_MIN): Support __WORDSIZE == 64.
10035 (__WCHAR_MAX): Likewise.
10036
edf2933a
L
10037 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10038 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10039
57c6cf40
L
10040 [BZ #14183]
10041 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10042 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10043
67b6df78 10044 [BZ #14117]
8eb6281e
L
10045 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10046 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10047
aac639f4
L
10048 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10049 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10050
67b6df78
L
10051 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10052 Defined to 1 if __x86_64__ isn't defined.
10053 (_STAT_VER_LINUX_OLD): New.
10054 (st_atime): Remove duplicate.
10055 (st_mtime): Likewise.
10056 (st_ctime): Likewise.
10057
1c2cfe81
DM
100582012-05-31 David S. Miller <davem@davemloft.net>
10059
10060 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10061 entries.
10062
5be8418c
AS
100632012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10064
e7725326
AS
10065 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10066 gen-libm-test.pl.
10067
5be8418c
AS
10068 [BZ #14132]
10069 * elf/dl-reloc.c: Include <_itoa.h>.
10070 (_dl_reloc_bad_type): Remove use of INTUSE.
10071 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10072 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10073 * stdio-common/psiginfo.c (psiginfo): Likewise.
10074 * stdio-common/psignal.c (psignal): Likewise.
10075 * string/strsignal.c (strsignal): Likewise.
10076 * include/signal.h (_sys_siglist): Declare hidden proto.
10077 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10078 INTVARDEF with libc_hidden_data_def.
10079 * stdio-common/itoa-udigits.c: Likewise.
10080 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10081 (_itoa_lower_digits_internal): Remove declaration.
10082 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10083 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10084 (_sys_sigabbrev_internal): Remove aliases.
10085 (_sys_siglist): Define hidden alias.
10086
507352f1
MT
100872012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10088
10089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10090 bits/sysctl.h.
10091
42bbb1c3
L
100922012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10093
10094 [BZ #14117]
6bd784b6
L
10095 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10096 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10097
8bca20f0
L
10098 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10099 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10100 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10101 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10102 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10103 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10104
f9e890a9
L
10105 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10106 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10107 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10108
471101a1
L
10109 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10110 with __addr.
10111 (insw): Likewise.
10112 (insl): Likewise.
10113 (outsb): Likewise.
10114 (outsw): Likewise.
10115 (outsl): Likewise.
10116
6451c862
L
10117 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10118 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10119 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10120
a254b8c9
L
10121 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10122 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10123 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10124 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10125 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10126 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10127
b8dfdd92
L
10128 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10129 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10130
578cd270
L
10131 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10132 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10133
de662f5f
L
10134 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10135 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10136 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10137
25653439
L
10138 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10139 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10140 to ...
10141 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10142
6bad24a0
L
10143 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10144 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10145 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10146
42bbb1c3
L
10147 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10148 for x86-64.
10149 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10150
2d10d547
JM
101512012-05-31 Joseph Myers <joseph@codesourcery.com>
10152
10153 * math/math.h (M_El): Use two more decimal places.
10154 (M_LOG2El): Likewise.
10155 (M_LOG10El): Likewise.
10156 (M_LN2l): Likewise.
10157 (M_LN10l): Likewise.
10158 (M_PIl): Likewise.
10159 (M_PI_2l): Likewise.
10160 (M_PI_4l): Likewise.
10161 (M_1_PIl): Likewise.
10162 (M_2_PIl): Likewise.
10163 (M_2_SQRTPIl): Likewise.
10164 (M_SQRT2l): Likewise.
10165 (M_SQRT1_2l): Likewise.
10166
f230c29b
DM
101672012-05-31 David S. Miller <davem@davemloft.net>
10168
10169 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10170 values between float registers.
10171 * sysdeps/sparc/sparc64/memset.S: Likewise.
10172 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10173
fed806c3
MF
101742012-05-31 Mike Frysinger <vapier@gentoo.org>
10175
10176 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10177 -D_FORTIFY_SOURCE=1.
10178 (CPPFLAGS-tst-longjmp_chk.c): Define.
10179 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10180 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10181 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10182 CFLAGS-tst-wchar-h.c.
10183
30917259
MP
101842012-05-31 Marek Polacek <polacek@redhat.com>
10185
10186 [BZ #14132]
10187 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10188 __endmntent_internal): Remove declaration.
10189 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10190 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10191 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10192
1c58d5dc
DM
101932012-05-30 David S. Miller <davem@davemloft.net>
10194
10195 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10196 (___Q_simulate_exceptions): Use real FP ops rather than writing
10197 into the %fsr.
10198 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10199 Likewise.
10200
7dc00e0d
L
102012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10202
10203 [BZ #14117]
0bd53985
L
10204 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10205 * sysdeps/x86/bits/xtitypes.h: This.
10206
3a257e66
L
10207 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10208 * sysdeps/x86/bits/wordsize.h: This.
10209
62f62904
L
10210 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10211 * sysdeps/x86/bits/huge_vall.h: This.
10212
404fe9d9
L
10213 * sysdeps/i386/bits/select.h: Removed.
10214 * sysdeps/x86_64/bits/select.h: Renamed to ...
10215 * sysdeps/x86/bits/select.h: This.
10216
d48d0446
L
10217 * sysdeps/i386/bits/setjmp.h: Removed.
10218 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10219 * sysdeps/x86/bits/setjmp.h: This.
10220
7dc00e0d
L
10221 * sysdeps/i386/bits/mathdef.h: Removed.
10222 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10223 * sysdeps/x86/bits/mathdef.h: This.
10224
03277f8f
AS
102252012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10226
10227 [BZ #14132]
10228 * include/sys/socket.h (__connect_internal)
10229 (__libc_sa_len_internal): Remove declaration.
10230 (__connect, __libc_sa_len): Declare hidden_proto.
10231 (SA_LEN): Remove use of INTUSE.
10232 * socket/connect.c: Add libc_hidden_def.
10233 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10234 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10235 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10236 alias.
10237 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10238 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10239 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10240 of adding _internal alias.
10241
13764867
L
102422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10243
10244 [BZ #14117]
6bd97696
L
10245 * sysdeps/i386/bits/link.h: Removed.
10246 * sysdeps/i386/bits/linkmap.h: Likewise.
10247 * sysdeps/x86_64/bits/link.h: Renamed to ...
10248 * sysdeps/x86/bits/link.h: This.
10249 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10250 * sysdeps/x86/bits/linkmap.h: This.
10251
f726f0bb
L
10252 * sysdeps/i386/bits/endian.h: Removed.
10253 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10254 * sysdeps/x86/bits/endian.h: This.
10255
13764867
L
10256 * sysdeps/i386/bits/byteswap.h: Removed.
10257 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10258 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10259 * sysdeps/x86/bits/byteswap.h: This.
10260 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10261 * sysdeps/x86/bits/byteswap-16.h: This.
10262 * sysdeps/i386/Implies: Add x86.
10263 * sysdeps/x86_64/Implies: Likewise.
10264
ae251b0b
DM
102652012-05-30 David S. Miller <davem@davemloft.net>
10266
10267 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10268 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10269 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10270 (FP_TRAPPING_EXCEPTIONS): Define.
10271 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10272 (FP_TRAPPING_EXCEPTIONS): Define.
10273 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10274 subnormals only when inexact has been signalled or underflow
10275 exceptions are enabled.
10276 (_FP_PACK_CANONICAL): Likewise.
10277
d5c90867
L
102782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10279
10280 [BZ #14183]
10281 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10282 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10283
63f1549e
RH
102842012-05-30 Richard Henderson <rth@twiddle.net>
10285
8d8f2279
RH
10286 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10287 with #ifndef NOT_IN_libc.
10288
63f1549e
RH
10289 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10290 marked to avoid plt entry.
10291
0ab0291b
L
102922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10293
10294 [BZ #14112]
10295 * Makeconfig (default-abi): New macro.
10296 (abi-includes): Likewise.
10297 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10298 $(abi-$(default-abi)-lib-soname) for soname if defined.
10299 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10300 abi-variants.
10301 * Makefile (installed-stubs): Likewise.
10302 * include/stubs-biarch.h: Removed.
10303 * scripts/lib-names.awk: Only handle one library at a time.
10304 * scripts/soversions.awk: Remove WORDSIZE support.
10305 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10306 entries.
10307 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10308 Removed.
10309 (syscall-list-default-condition): Likewise.
10310 (syscall-list-default-condition): Likewise.
10311 (syscall-list-includes): Likewise.
10312 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10313 syscall-list-* with abi-*. Handle undefined abi-variants.
10314 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10315 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10316 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10317 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10318 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10319 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10320 Removed.
10321 (syscall-list-32-options): Likewise.
10322 (syscall-list-32-condition): Likewise.
10323 (syscall-list-64-options): Likewise.
10324 (syscall-list-64-condition): Likewise.
10325 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10326 macro.
10327 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10328 Renamed to ...
10329 (abi-*): This.
10330 (abi-64-ld-soname): New macro.
10331 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10332 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10333 Renamed to ...
10334 (abi-*): This.
10335 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10336 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10337
4da0431d
JM
103382012-05-30 Joseph Myers <joseph@codesourcery.com>
10339
3a85279c
JM
10340 * sysdeps/unix/sysv/linux/kernel-features.h
10341 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10342 * sysdeps/unix/sysv/linux/ftruncate64.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 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10349 include <kernel-features.h>.
10350 [!__NR_ftruncate64]: Remove conditional code.
10351 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10352 [__NR_ftruncate64]: Make code unconditional.
10353 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10355 include <kernel-features.h>.
10356 [!__NR_ftruncate64]: Remove conditional code.
10357 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10358 [__NR_ftruncate64]: Make code unconditional.
10359 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10361 include <kernel-features.h>.
10362 [!__NR_ftruncate64]: Remove conditional code.
10363 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10364 [__NR_ftruncate64]: Make code unconditional.
10365 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10366
4da0431d
JM
10367 * configure.in (libc_cv_fpie): Weaken to a compile test using
10368 LIBC_TRY_CC_OPTION.
10369 * configure: Regenerated.
10370
11ef492c
AK
103712012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10372
10373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10377 Refreshed.
10378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10384 Refreshed.
10385
d66ef399
DM
103862012-05-27 David S. Miller <davem@davemloft.net>
10387
10388 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10389 (___Q_zero): New.
10390 (__Q_simulate_exceptions): Return void. Change to simulate
10391 exceptions by writing into the %fsr.
10392 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10393 (__Qp_handle_exceptions): Likewise.
10394 (numbers): Delete.
10395 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10396 __Qp_handle_exceptions.
10397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10398 __Qp_handle_exceptions.
10399 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10400 as unused and give dummy FP_RND_NEAREST initializer.
10401 (FP_INHIBIT_RESULTS): Define.
10402 (___Q_simulate_exceptions): Update declaration.
10403 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10404 formatting.
10405 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10406 as unused and give dummy FP_RND_NEAREST initializer.
10407 (__Qp_handle_exceptions): Update declaration.
10408 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10409 formatting.
10410
04fb54b5
TS
104112012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10412
10413 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10414 the temporary FPU control word.
10415 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10416 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10417 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10418 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10419 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10420 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10421 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10422 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10423 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10424 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10425 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10426
3f99608f
KK
104272012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10428
10429 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10430 fields.
10431
65a4de4e
CLT
104322012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10433
10434 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10435 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10436 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10437 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10438 Likewise.
10439 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10440 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10441 Likewise.
10442
15749d40
UD
104432012-05-27 Ulrich Drepper <drepper@gmail.com>
10444
10445 * po/h.po: Update from translation team.
10446
25dbcb27
AS
104472012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10448
3d3f8e55
AS
10449 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10450
25dbcb27
AS
10451 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10452 handling of denormals.
10453 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10454 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10455 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10456 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10457 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10460 Likewise.
10461
7ad47a80 104622012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
10463
10464 [BZ #14152]
10465 * math/libm-test.inc (fma_test): Don't always expect underflow
10466 exception.
10467
9c6ea9fa
SP
104682012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10469
10470 [BZ #12416]
10471 * elf/tst-execstack.c: Include stackinfo.h.
10472 (do_test): Adjust test case to ensure that pthread_getattr_np
10473 behaviour remains the same after marking stack executable.
10474
a8239222
JM
104752012-05-25 Joseph Myers <joseph@codesourcery.com>
10476
10477 * sysdeps/unix/sysv/linux/kernel-features.h
10478 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10479 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10480 kernel-features.h.
10481 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10482 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10483 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10484 kernel-features.h.
10485 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10486 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10487
918b5606
L
104882012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10489
10490 * configure.in: Define the default includes to being none.
10491 * configure: Regenerated.
10492
3a097cc7
RM
104932012-05-25 Roland McGrath <roland@hack.frob.com>
10494
8422c9a5
RM
10495 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10496 * sysdeps/x86_64/setjmp.S: Likewise.
10497 * sysdeps/i386/bsd-setjmp.S: Likewise.
10498 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10499 * sysdeps/i386/setjmp.S: Likewise.
10500 * sysdeps/i386/__longjmp.S: Likewise.
10501 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10502 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10503
3a097cc7
RM
10504 * include/stap-probe.h: New file.
10505 * configure.in: Handle --enable-systemtap.
10506 * configure: Regenerated.
10507 * config.h.in (USE_STAP_PROBE): New #undef.
10508 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10509 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10510 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10511
21708942
JM
105122012-05-25 Joseph Myers <joseph@codesourcery.com>
10513
10514 [BZ #13717]
10515 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10516 to 2.4.0 where earlier.
10517 * sysdeps/unix/sysv/linux/configure: Regenerated.
10518 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10519 <kernel-features.h>.
10520 [__ASSUME_32BITUIDS]: Make code unconditional.
10521 [!__ASSUME_32BITUIDS]: Remove conditional code.
10522 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10523 <kernel-features.h>.
10524 [__ASSUME_32BITUIDS]: Make code unconditional.
10525 [!__ASSUME_32BITUIDS]: Remove conditional code.
10526 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10527 [__ASSUME_32BITUIDS]: Make code unconditional.
10528 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10529 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10530 <kernel-features.h>.
10531 [__ASSUME_32BITUIDS]: Make code unconditional.
10532 [!__ASSUME_32BITUIDS]: Remove conditional code.
10533 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10534 <kernel-features.h>.
10535 [__ASSUME_32BITUIDS]: Make code unconditional.
10536 [!__ASSUME_32BITUIDS]: Remove conditional code.
10537 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10538 <kernel-features.h>.
10539 [__ASSUME_32BITUIDS]: Make code unconditional.
10540 [!__ASSUME_32BITUIDS]: Remove conditional code.
10541 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10542 <kernel-features.h>.
10543 [__ASSUME_32BITUIDS]: Make code unconditional.
10544 [!__ASSUME_32BITUIDS]: Remove conditional code.
10545 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10546 <kernel-features.h>.
10547 [__ASSUME_32BITUIDS]: Make code unconditional.
10548 [!__ASSUME_32BITUIDS]: Remove conditional code.
10549 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10550 <kernel-features.h>.
10551 [__ASSUME_32BITUIDS]: Make code unconditional.
10552 [!__ASSUME_32BITUIDS]: Remove conditional code.
10553 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10554 <kernel-features.h>.
10555 [__ASSUME_32BITUIDS]: Make code unconditional.
10556 [!__ASSUME_32BITUIDS]: Remove conditional code.
10557 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10558 <kernel-features.h>.
10559 [__ASSUME_32BITUIDS]: Make code unconditional.
10560 [!__ASSUME_32BITUIDS]: Remove conditional code.
10561 * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
10570 <kernel-features.h>.
10571 [__NR_setresgid] (__setresgid): Do not declare.
10572 [__ASSUME_32BITUIDS]: Make code unconditional.
10573 [!__ASSUME_32BITUIDS]: Remove conditional code.
10574 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10575 <kernel-features.h>.
10576 [__NR_setresuid] (__setresuid): Do not declare.
10577 [__ASSUME_32BITUIDS]: Make code unconditional.
10578 [!__ASSUME_32BITUIDS]: Remove conditional code.
10579 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10580 <kernel-features.h>.
10581 [__ASSUME_32BITUIDS]: Make code unconditional.
10582 [!__ASSUME_32BITUIDS]: Remove conditional code.
10583 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10584 <kernel-features.h>.
10585 [__ASSUME_32BITUIDS]: Make code unconditional.
10586 [!__ASSUME_32BITUIDS]: Remove conditional code.
10587 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10588 <kernel-features.h>.
10589 [__ASSUME_32BITUIDS]: Make code unconditional.
10590 [!__ASSUME_32BITUIDS]: Remove conditional code.
10591 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10592 <kernel-features.h>.
10593 [__ASSUME_32BITUIDS]: Make code unconditional.
10594 [!__ASSUME_32BITUIDS]: Remove conditional code.
10595 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10596 <kernel-features.h>.
10597 [__ASSUME_32BITUIDS]: Make code unconditional.
10598 [!__ASSUME_32BITUIDS]: Remove conditional code.
10599 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10600 <kernel-features.h>.
10601 [__ASSUME_32BITUIDS]: Make code unconditional.
10602 [!__ASSUME_32BITUIDS]: Remove conditional code.
10603 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10604 <kernel-features.h>.
10605 [__ASSUME_32BITUIDS]: Make code unconditional.
10606 [!__ASSUME_32BITUIDS]: Remove conditional code.
10607 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10608 <kernel-features.h>.
10609 [__ASSUME_32BITUIDS]: Make code unconditional.
10610 [!__ASSUME_32BITUIDS]: Remove conditional code.
10611 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10612 <kernel-features.h>.
10613 [__ASSUME_32BITUIDS]: Make code unconditional.
10614 [!__ASSUME_32BITUIDS]: Remove conditional code.
10615 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10616 <kernel-features.h>.
10617 [__ASSUME_32BITUIDS]: Make code unconditional.
10618 [!__ASSUME_32BITUIDS]: Remove conditional code.
10619 * sysdeps/unix/sysv/linux/kernel-features.h
10620 (__ASSUME_SETRESUID_SYSCALL): Remove.
10621 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10622 (__ASSUME_32BITUIDS): Likewise.
10623 (__ASSUME_LDT_WORKS): Likewise.
10624 (__ASSUME_O_DIRECTORY): Likewise.
10625 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10626 architecture but not kernel version.
10627 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10628 (__ASSUME_MMAP2_SYSCALL): Likewise.
10629 (__ASSUME_STAT64_SYSCALL): Likewise.
10630 (__ASSUME_IPC64): Likewise.
10631 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10632 <kernel-features.h>.
10633 [__ASSUME_32BITUIDS]: Make code unconditional.
10634 [!__ASSUME_32BITUIDS]: Remove conditional code.
10635 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10636 <kernel-features.h>.
10637 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10638 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10639 132096]: Remove conditional code.
10640 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10641 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10642 <kernel-features.h>.
10643 [__ASSUME_32BITUIDS]: Make code unconditional.
10644 [!__ASSUME_32BITUIDS]: Remove conditional code.
10645 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
10650 <kernel-features.h>.
10651 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10652 unconditional.
10653 (__setresgid): Do not declare.
10654 [__ASSUME_32BITUIDS]: Make code unconditional.
10655 [!__ASSUME_32BITUIDS]: Remove conditional code.
10656 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10657 <kernel-features.h>.
10658 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10659 unconditional.
10660 (__setresuid): Do not declare.
10661 [__ASSUME_32BITUIDS]: Make code unconditional.
10662 [!__ASSUME_32BITUIDS]: Remove conditional code.
10663 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10664 <kernel-features.h>.
10665 [__ASSUME_32BITUIDS]: Make code unconditional.
10666 [!__ASSUME_32BITUIDS]: Remove conditional code.
10667 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10668 <kernel-features.h>.
10669 [__ASSUME_32BITUIDS]: Make code unconditional.
10670 [!__ASSUME_32BITUIDS]: Remove conditional code.
10671
a386f1cc
RH
106722012-05-25 Richard Henderson <rth@twiddle.net>
10673
10674 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10675 dl_hwcap to ifunc resolver.
10676 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10677 elf_ifunc_invoke.
10678 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10679 dl_hwcap to ifunc resolver.
10680 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10681
b6550497
JM
106822012-05-24 Joseph Myers <joseph@codesourcery.com>
10683
10684 [BZ #14153]
10685 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10686 for |x| <= 2**-26, not 2**-57.
10687 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10688 exception.
10689
b0bc23a1
JL
106902012-05-24 Jeff Law <law@redhat.com>
10691
10692 * stdio-common/Makefile (tests): Add bug25.
10693 * stdio-common/bug25.c: New test.
10694
347c92e9
L
106952012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10696
10697 [BZ #13576]
10698 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10699 multiple of MALLOC_ALIGNMENT in size.
10700 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10701
6bcc8b3f
JM
107022012-05-24 Joseph Myers <joseph@codesourcery.com>
10703
10704 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10705 Require >= 256.
10706 (FILENAME_MAX): Use macro-int-constant.
10707 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10708 (_IOFBF): Use macro-int-constant.
10709 (_IOLBF): Likewise.
10710 (_IONBF): Likewise.
10711 (SEEK_CUR): Likewise.
10712 (SEEK_END): Likewise.
10713 (SEEK_SET): Likewise.
10714 (TMP_MAX): Likewise.
10715 (EOF): Use macro-int-constant. Require < 0.
10716 (NULL): Use macro-constant. Require == 0.
10717 (stdin): Require type to be FILE *.
10718 (stdout): Likewise.
10719 (stderr): Likewise.
10720 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10721 macro-int-constant.
10722 (EXIT_SUCCESS): Likewise.
10723 (NULL): Use macro-constant. Require == 0.
10724 (RAND_MAX): Use macro-int-constant.
10725 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10726 [C99-based standards] (strtof): Require function.
10727 [C99-based standards] (strtold): Likewise.
10728 [C99-based standards] (strtoll): Likewise.
10729 [C99-based standards] (strtoull): Likewise.
10730 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10731 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10732 [ISO || ISO99 || ISO11] (math.h): Likewise.
10733 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10734 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10735 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10736
d18ea0c5
AS
107372012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10738
10739 [BZ #14132]
56d25bb8
AS
10740 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10741 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10742 * intl/dgettext.c (DCGETTEXT): Likewise.
10743 * intl/gettext.c (DCGETTEXT): Likewise.
10744 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10745 * posix/regex_internal.h (gettext): Likewise.
10746 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10747 Remove declaration.
10748 * include/argz.h (__argz_count_internal)
10749 (__argz_stringify_internal): Remove declaration.
10750 (__argz_count, __argz_stringify): Declare hidden proto.
10751 * intl/dcgettext.c: Remove use of INTDEF.
10752 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10753 * string/argz-stringify.c: Likewise.
10754 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10755 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10756 Declare hidden proto.
d18ea0c5
AS
10757 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10758 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10759 Declare hidden proto.
10760 * include/stdio.h (__asprintf_internal): Don't declare.
10761 (__asprintf): Don't define as macro. Declare hidden proto.
10762 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10763 (__fsetlocking): Declare hidden proto.
10764 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10765 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10766 hidden proto.
10767 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10768 (_IO_setlinebuf): Remove use of INTUSE.
10769 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10770 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10771 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10772 Remove declaration.
10773 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10774 (_IO_do_flush): Remove use of INTUSE.
10775 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10776 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10777 (_IO_adjust_column, _IO_least_wmarker)
10778 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10779 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10780 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10781 (_IO_default_doallocate, _IO_wdefault_doallocate)
10782 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10783 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10784 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10785 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10786 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10787 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10788 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10789 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10790 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10791 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10792 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10793 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10794 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10795 proto.
10796 (_IO_flush_all_internal, _IO_adjust_column_internal)
10797 (_IO_default_uflow_internal, _IO_default_finish_internal)
10798 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10799 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10800 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10801 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10802 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10803 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10804 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10805 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10806 (_IO_file_close_internal, _IO_file_close_it_internal)
10807 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10808 (_IO_file_init_internal, _IO_file_attach_internal)
10809 (_IO_file_fopen_internal, _IO_file_read_internal)
10810 (_IO_file_sync_internal, _IO_file_seek_internal)
10811 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10812 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10813 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10814 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10815 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10816 (_IO_list_all_internal, _IO_link_in_internal)
10817 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10818 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10819 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10820 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10821 (_IO_do_write_internal, _IO_padn_internal)
10822 (_IO_getline_info_internal, _IO_getline_internal)
10823 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10824 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10825 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10826 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10827 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10828 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10829 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10830 with libc_hidden_ver, remove use of INTUSE.
10831 * libio/genops.c: Likewise.
10832 * libio/freopen.c: Likewise.
10833 * libio/freopen64.c: Likewise.
10834 * libio/iofclose.c: Likewise.
10835 * libio/iofdopen.c: Likewise.
10836 * libio/iofflush.c: Likewise.
10837 * libio/iofflush_u.c: Likewise.
10838 * libio/iofgets.c: Likewise.
10839 * libio/iofgets_u.c: Likewise.
10840 * libio/iofopen.c: Likewise.
10841 * libio/iofopncook.c: Likewise.
10842 * libio/iofread.c: Likewise.
10843 * libio/iofread_u.c: Likewise.
10844 * libio/ioftell.c: Likewise.
10845 * libio/iofwrite.c: Likewise.
10846 * libio/iogetline.c: Likewise.
10847 * libio/iogets.c: Likewise.
10848 * libio/iogetwline.c: Likewise.
10849 * libio/iopadn.c: Likewise.
10850 * libio/iopopen.c: Likewise.
10851 * libio/ioseekoff.c: Likewise.
10852 * libio/ioseekpos.c: Likewise.
10853 * libio/iosetbuffer.c: Likewise.
10854 * libio/iosetvbuf.c: Likewise.
10855 * libio/ioungetc.c: Likewise.
10856 * libio/ioungetwc.c: Likewise.
10857 * libio/iovdprintf.c: Likewise.
10858 * libio/iovsprintf.c: Likewise.
10859 * libio/iovsscanf.c: Likewise.
10860 * libio/memstream.c: Likewise.
10861 * libio/obprintf.c: Likewise.
10862 * libio/oldfileops.c: Likewise.
10863 * libio/oldiofclose.c: Likewise.
10864 * libio/oldiofdopen.c: Likewise.
10865 * libio/oldiofopen.c: Likewise.
10866 * libio/oldiopopen.c: Likewise.
10867 * libio/oldstdfiles.c: Likewise.
10868 * libio/putc.c: Likewise.
10869 * libio/setbuf.c: Likewise.
10870 * libio/setlinebuf.c: Likewise.
10871 * libio/stdfiles.c: Likewise.
10872 * libio/strops.c: Likewise.
10873 * libio/vasprintf.c: Likewise.
10874 * libio/vscanf.c: Likewise.
10875 * libio/vsnprintf.c: Likewise.
10876 * libio/vswprintf.c: Likewise.
10877 * libio/wfiledoalloc.c: Likewise.
10878 * libio/wfileops.c: Likewise.
10879 * libio/wgenops.c: Likewise.
10880 * libio/wmemstream.c: Likewise.
10881 * libio/wstrops.c: Likewise.
10882 * libio/__fpurge.c: Likewise.
10883 * libio/__fsetlocking.c: Likewise.
10884 * assert/assert.c: Likewise.
10885 * debug/fgets_chk.c: Likewise.
10886 * debug/fgets_u_chk.c: Likewise.
10887 * debug/fread_chk.c: Likewise.
10888 * debug/fread_u_chk.c: Likewise.
10889 * debug/gets_chk.c: Likewise.
10890 * debug/obprintf_chk.c: Likewise.
10891 * debug/vasprintf_chk.c: Likewise.
10892 * debug/vdprintf_chk.c: Likewise.
10893 * debug/vsnprintf_chk.c: Likewise.
10894 * debug/vsprintf_chk.c: Likewise.
10895 * malloc/mtrace.c: Likewise.
10896 * misc/error.c: Likewise.
10897 * misc/syslog.c: Likewise.
10898 * stdio-common/asprintf.c: Likewise.
10899 * stdio-common/fxprintf.c: Likewise.
10900 * stdio-common/getw.c: Likewise.
10901 * stdio-common/isoc99_fscanf.c: Likewise.
10902 * stdio-common/isoc99_scanf.c: Likewise.
10903 * stdio-common/isoc99_vfscanf.c: Likewise.
10904 * stdio-common/isoc99_vscanf.c: Likewise.
10905 * stdio-common/isoc99_vsscanf.c: Likewise.
10906 * stdio-common/printf-prs.c: Likewise.
10907 * stdio-common/printf_fp.c: Likewise.
10908 * stdio-common/printf_fphex.c: Likewise.
10909 * stdio-common/printf_size.c: Likewise.
10910 * stdio-common/putw.c: Likewise.
10911 * stdio-common/scanf.c: Likewise.
10912 * stdio-common/sprintf.c: Likewise.
10913 * stdio-common/tmpfile.c: Likewise.
10914 * stdio-common/vfprintf.c: Likewise.
10915 * stdio-common/vfscanf.c: Likewise.
10916 * stdlib/strfmon_l.c: Likewise.
10917 * sunrpc/openchild.c: Likewise.
10918 * sunrpc/xdr_stdio.c: Likewise.
10919 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10920 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10921
d6c33fda
RM
109222012-05-24 Roland McGrath <roland@hack.frob.com>
10923
c1487492
RM
10924 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10925
10926 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10927 in the third column, to generate for the shared library an IFUNC
10928 that uses _dl_vdso_vsym.
10929 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10930 * Makeconfig (object-suffixes-noshared): New variable.
10931
10932 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10933 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10934 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10935 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10936
d6c33fda
RM
10937 [BZ #14132]
10938 * include/sys/time.h (__gettimeofday): Remove macro.
10939 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10940 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10941 Remove INTDEF.
10942 (__gettimeofday): Add libc_hidden_def.
10943 (gettimeofday): Add libc_hidden_weak.
10944 * sysdeps/mach/gettimeofday.c: Likewise.
10945 * sysdeps/posix/gettimeofday.c: Likewise.
10946 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10947 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10948 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10949 (__gettimeofday_internal): Remove strong_alias.
10950 (__gettimeofday): Add libc_hidden_def.
10951 (gettimeofday): Add libc_hidden_weak.
10952 * sysdeps/unix/syscalls.list (gettimeofday):
10953 Remove __gettimeofday_internal alias.
10954
b5a2bbe6
L
109552012-05-24 Daniel Jacobowitz <drow@false.org>
10956 H.J. Lu <hongjiu.lu@intel.com>
10957
10958 [BZ #12495]
10959 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10960 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10961 (largebin_index_32_big): New.
10962 (largebin_index): Use it for 16-byte alignment.
10963 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10964 correction with front_misalign.
10965
cfba4fda
L
109662012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10967
7f907421
L
10968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10970 Likewise.
10971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10972 Likewise.
10973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10974 Likewise.
10975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10976 Likewise.
10977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10978 Likewise.
10979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10980 Likewise.
10981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10982 Likewise.
10983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10984 Likewise.
10985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10986 Likewise.
10987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10988 Likewise.
10989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10990 Likewise.
10991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10992 Likewise.
10993
cfba4fda
L
10994 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10995 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10996
80bad0cc
JM
109972012-05-24 Joseph Myers <joseph@codesourcery.com>
10998
7a25eb06
JM
10999 [BZ #10846]
11000 [BZ #14036]
11001 * math/libm-test.inc (exp_test): Add test from bug 14036.
11002 (pow_test): Add test from bug 10846.
11003
795405f9
JM
11004 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11005 and other flags.
11006 (special_function): Do not include flags in test name.
11007 (parse_args): Likewise.
11008 * sysdeps/i386/fpu/libm-test-ulps: Update.
11009 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11010 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11011 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11013
80bad0cc
JM
11014 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11015 exceptions.
11016 * math/libm-test.inc ("Philosophy"): Update comment about
11017 exception testing.
11018 (UNDERFLOW_EXCEPTION): New macro.
11019 (UNDERFLOW_EXCEPTION_OK): Likewise.
11020 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11021 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11022 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11023 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11024 (INVALID_EXCEPTION_OK): Update value.
11025 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11026 (OVERFLOW_EXCEPTION_OK): Likewise.
11027 (IGNORE_ZERO_INF_SIGN): Likewise.
11028 (test_exceptions): Handle underflow exceptions.
11029 (acos_test): Update for underflow exception expectations.
11030 (cexp_test): Likewise.
11031 (clog_test): Likewise.
11032 (clog10_test): Likewise.
11033 (csqrt_test): Likewise.
11034 (ctan_test): Likewise.
11035 (ctanh_test): Likewise.
11036 (exp_test): Likewise.
11037 (exp10_test): Likewise.
11038 (exp2_test): Likewise.
11039 (expm1_test): Likewise.
11040 (fma_test): Likewise.
11041 (j0_test): Likewise.
11042 (jn_test): Likewise.
11043 (nexttoward_test): Likewise.
11044 (pow_test): Likewise.
11045 (scalbn_test): Likewise.
11046 (scalbln_test): Likewise.
11047 (tan_test): Likewise.
11048 (y1_test): Likewise.
11049 * sysdeps/i386/fpu/libm-test-ulps: Update.
11050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11051
9e0e3d0b
DM
110522012-05-23 David S. Miller <davem@davemloft.net>
11053
11054 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11055 (__libc_sigaction): Remove unused local variables.
11056
ccd0a08f
L
110572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11058
11059 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11060
62bdf9a6
PE
110612012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11062
f8591f80
PE
11063 mktime: avoid signed integer overflow
11064 * time/mktime.c (__mktime_internal): Do not mishandle the case
11065 where diff == INT_MIN.
11066
94c7d826
PE
11067 mktime: simplify computation of average
11068 * time/mktime.c (ranged_convert): Use new time_t_avg function
11069 instead of rolling our own (probably-slower) code.
11070
ce73d683
PE
11071 mktime: do not assume signed right shift propagates sign bit
11072 * time/mktime.c (isdst_differ): New static function.
11073 (__mktime_internal): No need to normalize tm_isdst now.
11074 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11075 tm_isdst values.
11076
72a22e59
PE
11077 mktime: merge another wrapv change from gnulib
11078 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11079 from some compilers.
11080
68605433
PE
11081 mktime: remove incorrect attempt at unusual arithmetics
11082 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11083 The code didn't really work on such machines anyway.
11084 (TYPE_MINIMUM): Assume two's complement.
11085 (twos_complement_arithmetic): Verify that long_int and time_t
11086 are two's complement (or unsigned, in the latter case).
11087
03cf7fe3
PE
11088 mktime: check signed shifts on long_int and time_t, too
11089 * time/mktime.c (SHR): Check that shifts work as desired
11090 on the types long_int and time_t too, as SHR is used on
11091 such types.
11092
f04dfbc2
PE
11093 mktime: do not assume 'long' is wide enough
11094 * time/mktime.c (verify): Move decl up.
11095 (long_int): New type.
11096 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11097 to remove assumption in the code that 'long' is wide enough to
11098 store year values. This assumption is not true on x32 and on
11099 some non-glibc platforms.
11100
62bdf9a6
PE
11101 mktime: merge wrapv change from gnulib
11102 * time/mktime.c (WRAPV): New macro.
11103 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11104 (guess_time_tm, __mktime_internal): Do not assume that signed
11105 integer overflow wraps around; modern compilers generate code
11106 where this assumption is no longer valid.
11107
5e292e4f
L
111082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11109
11110 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11111 Replace "jmp L(pseudo_end)" with "ret".
11112 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11113 Likewise.
11114
8caf8c87
AJ
111152012-05-23 Andreas Jaeger <aj@suse.de>
11116
11117 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11118 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11119
1a09dc56
AJ
111202012-05-23 Andreas Jaeger <aj@suse.de>
11121 Maximilian Attems <max@stro.at>
11122
11123 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11124 New macros.
11125
1c87aba0
L
111262012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11127
11128 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11129 code so that pseudo_end is just ret and the stack pointer is
11130 correct also for static library in error case.
11131
40e45bd5
JM
111322012-05-23 Joseph Myers <joseph@codesourcery.com>
11133
c2670533
JM
11134 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11135 move to syscalls.list.
11136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11140
40e45bd5
JM
11141 * manual/install.texi (Running make install): Do not mention Linux
11142 kernel version for which pt_chown is not needed.
11143 (Linux): Do not mention problems with nscd with 2.0 kernels.
11144 * INSTALL: Regenerated.
11145
be08eda5
AJ
111462012-05-23 Andreas Jaeger <aj@suse.de>
11147
11148 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11149 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11150 macro.
11151 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11152 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11153 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11154 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11155 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11156 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11157 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11158 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11159 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11160 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11161 * sysdeps/unix/sysv/linux/bits/in.h
11162 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11163
a6a056bb
RM
111642012-05-22 Roland McGrath <roland@hack.frob.com>
11165
11166 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11167 (PREPARE_VERSION): Just use assert instead, it will be elided
11168 under [NDEBUG] anyway.
11169
c9009328
L
111702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11171
11172 * sysdeps/unix/sysv/linux/Makefile: Include
11173 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11174 (sysdep_routines): Remove sysctl.
c9009328
L
11175 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11176 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11177 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11178 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11179 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11180
73338355
AJ
111812012-05-22 Andreas Jaeger <aj@suse.de>
11182
11183 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11184 that pseudo_end is just ret and the stack pointer is correct also
11185 for static library in error case.
11186
d44638b0
PP
111872012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11188
11189 [BZ #14122]
11190 * nss/nsswitch.c (defconfig_entries): New variable.
11191 (__nss_database_lookup): Don't leak defconfig entries.
11192 (nss_parse_service_list): Don't leak on error paths.
11193 (free_database_entries): New function.
11194 (free_defconfig): New function.
11195 (free_mem): Move common code to free_database_entries.
11196
31a39bd8
L
111972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11198
da0331a8
L
11199 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11200 Add arch_prctl.
11201 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11202
31a39bd8
L
11203 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11204 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11206 New macro.
11207 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11208 (INTERNAL_SYSCALL_TYPES): Likewise.
11209 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11210 (LOAD_REGS_TYPES_[1-6]): Likewise.
11211 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11212 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11213
45470df3
AZ
112142012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11215
11216 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11217 copysignl for GLIBC_2_0.
11218 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11219 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11220 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11221 logbl for GLIBC_2_0.
11222 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11223 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11224
98a61bcb
L
112252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11226
a4f6e481
L
11227 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11228 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11229
f63d5db6
L
11230 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11231 Use "neg %eax".
11232
98a61bcb
L
11233 * time/mktime.c: Update copyright years.
11234
95770f14
PE
112352012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11236
6226efbd
PE
11237 mktime: merge comment-quoting-style change from gnulib
11238 * time/mktime.c: Quote 'like this' in comments.
11239 The GNU coding standards suggest that we no longer quote `like this',
11240 as "`" and "'" are typically rendered asymmetrically nowadays.
11241 The typical gnulib style is to quote 'like this' when quoting
11242 code, and "like this" when quoting English.
11243
b99e4f78
PE
11244 * time/mktime.c (compile-command): Add "-I.".
11245
643e01e6
PE
11246 mktime: merge mktime-internal.h change from gnulib
11247 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11248
2554247d
PE
11249 mktime: merge time_r change from gnulib
11250 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11251
826dd0ab
PE
11252 mktime: merge DEBUG change from gnulib
11253 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11254 case system <time.h> has a #define.
11255
bd83aabe
PE
11256 mktime: merge <sys/types.h> change from gnulib
11257 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11258 since <time.t> is now guaranteed to define time_t.
11259
95770f14
PE
11260 mktime: merge HAVE_CONFIG_H change from gnulib
11261 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11262
5e1a27a9
L
112632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11264
0e44a77e
L
11265 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11266 Use "neg %eax".
11267
5e1a27a9
L
11268 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11269 __rlim_t cast.
11270 (struct rusage): Use anonymous union to pad each field to
11271 __syscall_slong_t.
11272
46259bec
DM
112732012-05-21 David S. Miller <davem@davemloft.net>
11274
11275 * Makefules (o-iterator): Remove .s cases.
11276 (compile-command.s): Delete.
11277 (COMPILE.s): Delete.
11278 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11279
59f0c22e
JM
112802012-05-21 Joseph Myers <joseph@codesourcery.com>
11281
11282 * configure.in (libc_cv_predef_stack_protector): Only consider
11283 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11284 * configure: Regenerated.
11285
20c07380
L
112862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11287
bbb3154b
L
11288 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11289 New macro. Use R*LP on int and pointer.
11290 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11291 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11292 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11293 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11294
20c07380
L
11295 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11296 [__WORDSIZE_TIME64_COMPAT32] instead of
11297 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11298 (struct utmp): Likewise.
11299 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11300 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11301 Renamed to ...
11302 (__WORDSIZE_TIME64_COMPAT32): This.
11303 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11304 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11305 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11306 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11307 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11308 (__WORDSIZE_TIME64_COMPAT32): New macro.
11309
d8d1017e
AJ
113102012-05-21 Andreas Jaeger <aj@suse.de>
11311
11312 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11313 only if [SHARED]. Add prototype for __wcschr_ia32.
11314
6c7fb145
RM
113152012-05-21 Roland McGrath <roland@hack.frob.com>
11316
11317 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11318 of %rbp unmolested in the jmp_buf while mangling the low bits.
11319 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11320 unmolested high bits of %rbp while demangling the low bits.
11321 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11322
66274218
AJ
113232012-05-21 Andreas Jaeger <aj@suse.de>
11324
07c58f8f
AJ
11325 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11326 * sunrpc/svc_simple.c: Use it for registerrpc.
11327 * sunrpc/xcrypt.c: Use it for passwd2des.
11328
66274218
AJ
11329 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11330
61f65140
L
113312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11332
11333 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11334 Don't define if [__SYSCALL_WORDSIZE != 32].
11335 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11336 New macro.
11337
5fefb436
AJ
113382012-05-21 Bruno Haible <bruno@clisp.org>
11339 Andreas Jaeger <aj@suse.de>
11340
11341 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11342 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11343 inptr and inend for must_buffer_ch.
11344 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11345 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11346 * stdio-common/Makefile (tests): Remove bug15.
11347 (bug15-ENV): Remove macro.
11348 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11349 anymore.
11350
d8e272ab
AJ
113512012-05-19 Andreas Jaeger <aj@suse.de>
11352 Roland McGrath <roland@hack.frob.com>
11353
11354 * manual/contrib.texi: Completely rewritten. It contains now an
11355 alphabetical list of contributors and their contributions.
11356
4a56a162
RH
113572012-05-21 Richard Henderson <rth@twiddle.net>
11358
11359 * misc/getauxval.c (__getauxval): Use unsigned long int.
11360 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11361 (getauxval): Use unsigned long int.
11362
d024d23c
L
113632012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11364
11365 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11366
cbc00a03
RM
113672012-05-21 Roland McGrath <roland@hack.frob.com>
11368
11369 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11370 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11371 __alignof__ (long double).
11372
478143fa
AZ
113732012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11374
11375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11376
c7683a6d
RH
113772012-05-20 Richard Henderson <rth@twiddle.net>
11378
11379 * misc/getauxval.c: New file.
11380 * misc/sys/auxv.h: New file.
11381 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11382 (routines): Add getauxval.
11383 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11384 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11385 * elf/dl-sysdep.c (_dl_auxv): Remove.
11386 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11387 * elf/dl-support.c (_dl_auxv): New variable.
11388 (_dl_aux_init): Initialize it.
11389 * manual/startup.texi (Auxiliary Vector): New node.
11390 * sysdeps/generic/bits/hwcap.h: New file.
11391 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11392 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11393 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11394 * sysdeps/sparc/sysdep.h: ... here. Include it.
11395 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11396 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
11397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11398 Update.
c7683a6d
RH
11399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11402 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11407
a6f1845d
AZ
114082012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11409
11410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11411
cbcbe830
DM
114122012-05-19 David S. Miller <davem@davemloft.net>
11413
11414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11415
e0b16cc2
JM
114162012-05-19 Joseph Myers <joseph@codesourcery.com>
11417
11418 [BZ #14123]
11419 * math/s_ccosh.c: Include <float.h>
11420 (__ccosh): Avoid internal overflow calculating sinh and cosh
11421 values before multiplying by sin and cos values.
11422 * math/s_ccoshf.c: Likewise.
11423 * math/s_ccoshl.c: Likewise.
11424 * math/s_csin.c: Likewise.
11425 * math/s_csinf.c: Likewise.
11426 * math/s_csinl.c: Likewise.
11427 * math/s_csinh.c: Likewise.
11428 * math/s_csinhf.c: Likewise.
11429 * math/s_csinhl.c: Likewise.
11430 * math/libm-test.inc (ccos_test): Add more tests.
11431 (ccosh_test): Likewise.
11432 (csin_test): Likewise.
11433 (csinh_test): Likewise.
11434 * sysdeps/i386/fpu/libm-test-ulps: Update.
11435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11436
6ad13e08
L
114372012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11438
f66f0ce8
L
11439 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11440 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11441
6ad13e08
L
11442 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11443
b1d072a7
JM
114442012-05-19 Joseph Myers <joseph@codesourcery.com>
11445
11446 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11447 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11448 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11449 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11450 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11451 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11452 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11453 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11454 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11455 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11456 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11457 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11458 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11459 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11460 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11461 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11462 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11463 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11464 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11465 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11466 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11467 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11468 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11469 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11470 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11471 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11472 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11473 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11474 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11475 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11476 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11477
9eae47cb
AJ
114782012-05-18 Andreas Jaeger <aj@suse.de>
11479
11480 * csu/.gitignore: Delete.
11481
bb07f69f
L
114822012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11483
11484 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11485 (timex): Use __syscall_slong_t.
11486
e6bdb741
AJ
114872012-05-18 Andreas Jaeger <aj@suse.de>
11488 Carlos O'Donell <carlos_odonell@mentor.com>
11489
11490 * manual/install.texi (Configuring and compiling): Update
11491 description about files modified in the source directory.
d6c33fda 11492 * INSTALL: Regenerated.
e6bdb741 11493
1b74487e
L
114942012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11495
11496 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11497 value. Use "or" to set return value to -1.
11498 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11499 negate return value.
11500
a88b64b9
TMQMF
115012012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11502
11503 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11504 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11505 failure if the compiler has Graphite support disabled.
11506 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11507 Likewise.
11508 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11509 CFLAGS-memmove.c): Likewise.
11510 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11511 Likewise.
11512
3707636e
L
115132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11514
610b8622
L
11515 * sysdeps/x86_64/x32/_itoa.h: New file.
11516
7cd195df
L
11517 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11518 getdents system call only if kernel and user dirents have the
11519 same d_ino and d_off.
11520
94b07d20
L
11521 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11522 LLONG_MAX != LONG_MAX.
11523 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11524 (_fitoa_word): Likewise.
11525
18298070
L
11526 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11527 years.
11528 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11529 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11530 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11531
553c7ea4
L
11532 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11533 include <bits/wordsize.h>. Check __x86_64__ instead of
11534 __WORDSIZE.
11535 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11536 if __x86_64__ is defined. Use anonymous union on fpstate.
11537
3707636e
L
11538 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11539 anonymous union.
11540
b53ef01a
AS
115412012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11542
37fb1dc0
AS
11543 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11544 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11545 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11546 Refer to _rtld_local_ro instead of _rtld_global_ro.
11547 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11548 Likewise.
11549 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11550 Likewise.
11551 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11552 Likewise.
11553 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11554 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11555 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11556
b53ef01a
AS
11557 * sysdeps/powerpc/powerpc32/dl-machine.c
11558 (__elf_machine_runtime_setup) [PROF]: Don't reference
11559 _dl_prof_resolve.
11560
7a185db2
AJ
115612012-05-18 Andreas Jaeger <aj@suse.de>
11562
11563 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11564 function only available for GCCs before 3.4 since GCC 3.4
11565 introduced a builtin.
11566 (lrint): Likewise.
11567 (llrintf): Likewise.
11568 (llrint): Likewise.
11569 (fmaxf): Likewise.
11570 (fmax): Likewise.
11571 (fminf): Likewise.
11572 (fmin): Likewise.
11573 (rint): Likewise.
11574 (rintf): Likewise.
11575 (nearbyint): Likewise.
11576 (nearbyintf): Likewise.
11577 (ceil): Likewise.
11578 (ceilf): Likewise.
11579 (floor): Likewise.
11580 (floorf): Likewise.
11581
3e5aef87
L
115822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11583
428bd707
L
11584 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11585 on both fields and cast pointer to __syscall_ulong_t.
11586
3e5aef87
L
11587 * bits/types.h (__fsword_t): New type.
11588 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11589 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11590 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11591 (__FSWORD_T_TYPE): Likewise.
11592 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11593 (__FSWORD_T_TYPE): Likewise.
11594 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11595 (__FSWORD_T_TYPE): Likewise.
11596 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11597 (__FSWORD_T_TYPE): Likewise.
11598 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11599 __SWORD_TYPE with __fsword_t.
11600 (statfs64): Likewise.
11601
1ba7c3dc
DM
116022012-05-17 David S. Miller <davem@davemloft.net>
11603
11604 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11605
59910343
AJ
116062012-05-17 Andreas Jaeger <aj@suse.de>
11607
11608 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11609 warning.
11610
2e4c1e9e
L
116112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11612
11613 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11614
de7f5ce7
AJ
116152012-05-17 Andreas Jaeger <aj@suse.de>
11616
11617 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11618 when it is used.
11619
286abc3d
CM
116202012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11621
11622 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11623
477cc68e
L
116242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11625
11626 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11627 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11628
1a0994f5
CD
116292012-05-17 Andreas Jaeger <aj@suse.de>
11630 Carlos O'Donell <carlos_odonell@mentor.com>
11631
11632 [BZ #14059]
11633 * sysdeps/x86_64/multiarch/init-arch.h
11634 (bit_YMM_Usable): Rename to...
11635 (bit_AVX_Usable): ... this.
11636 (bit_FMA4_Usable): New macro.
11637 (bit_XMM_state): New macro.
11638 (bit_YMM_state): New macro.
11639 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11640 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11641 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11642 (CPUID_OSXSAVE): New macro.
11643 (CPUID_AVX): New macro.
11644 (CPUID_FMA4): New macro.
11645 (index_YMM_Usable): Rename to...
11646 (index_AVX_Usable): ... this.
11647 (HAS_AVX): Use HAS_ARCH_FEATURE.
11648 (HAS_FMA4): Likewise.
11649 (HAS_YMM_USABLE): Remove.
11650 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11651 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11652 are present.
11653 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11654 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11655 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11656 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11657 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11658
0af797de
CM
116592012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11660
11661 * math/libm-test.c: Support platforms without multiple rounding modes.
11662 * math/bug-nextafter.c: Support platforms without FP exceptions.
11663 * math/bug-nexttoward.c: Likewise.
11664 * math/test-fenv.c: Likewise.
11665 * math/test-misc.c: Likewise.
11666 * stdlib/bug-getcontext.c: Likewise.
11667
e39745ff
AJ
116682012-05-17 Andreas Jaeger <aj@suse.de>
11669
11670 * manual/examples/search.c (critter_cmp): Change signature to
11671 avoid warnings.
11672 * manual/string.texi (Collation Functions): Likewise.
11673
48970aba
L
116742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11675
11676 * bits/types.h: Fold copyright years.
11677 * bits/typesizes.h: Likewise.
11678 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11679 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11680 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11681 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11682 * time/time.h: Likewise.
11683
bedee953
PP
116842012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11685
11686 [BZ #208]
11687 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11688 in instead of returning them. Return void.
11689 (__libc_mallinfo): Accumulate over all arenas.
11690 (__malloc_stats): Adjust for change in int_mallinfo interface.
11691
61653dfb
RM
116922012-05-16 Roland McGrath <roland@hack.frob.com>
11693
30b99d79
RM
11694 [BZ #10375]
11695 * configure.in (NM): Add AC_CHECK_TOOL for it.
11696 (libc_extra_cflags): New substituted variable.
11697 Check for -fstack-protector being used implicitly.
11698 * configure: Regenerated.
11699 * config.make.in (config-extra-cflags): New variable,
11700 gets @libc_extra_cflags@.
11701 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11702
61653dfb
RM
11703 [BZ #10375]
11704 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11705 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11706 * configure: Regenerated.
11707 * config.make.in (CPPUNDEFS): New substituted variable.
11708 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11709 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11710 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11711
661768bb
L
117122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11713
11714 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11715 (mq_attr): Use __syscall_slong_t.
11716
d4261567
L
117172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11718
11719 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11720 Check __x86_64__ instead of __WORDSIZE.
11721 (_STAT_VER_LINUX): Likewise.
11722 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11723 __syscall_ulong_t and __syscall_slong_t.
11724 (stat64): Likewise.
11725
cf3ff365
L
117262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11727
11728 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11729
76cf3e4d
L
117302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11731
11732 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11733
a637753a
L
117342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11735
11736 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11737 __syscall_ulong_t.
11738
d5e05119
L
11739 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11740 include <bits/wordsize.h>. Check __x86_64__ instead of
11741 __WORDSIZE.
11742 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11743 defined.
11744 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11745
f62ee380
L
11746 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11747 include <bits/wordsize.h>. Check __x86_64__ instead of
11748 __WORDSIZE.
11749 (user_regs_struct): Use "__extension__ unsigned long long"
11750 instead of "unsigned long" if __x86_64__ is defined.
11751 (user): Likewise. Pad after pointer field if __ILP32__ is
11752 defined.
11753
4e124ced
JM
117542012-05-16 Joseph Myers <joseph@codesourcery.com>
11755
6a3951a0
JM
11756 * configure.in (makeinfo): Require version 4.5 or later. Allow
11757 versions 5 to 9.
11758 * configure: Regenerated.
11759 * manual/install.texi (texinfo): Increase version requirement to
11760 4.5 or later.
11761 * INSTALL: Regenerated.
11762
4e124ced
JM
11763 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11764
953ca31a
L
117652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11766
11767 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11768
617aca05
L
11769 * sysdeps/x86_64/x32/ffs.c: New file.
11770
5762f7ae
L
11771 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11772 __syscall_ulong_t.
11773 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11774 defined. Use __syscall_ulong_t.
11775 (shminfo): Use __syscall_ulong_t.
11776 (shm_info): Likewise.
11777
a26b6856
L
11778 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11779 __syscall_ulong_t.
11780
cb2b9ef7
L
11781 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11782 <bits/wordsize.h>.
11783 (msgqnum_t): Use __syscall_ulong_t.
11784 (msglen_t): Likewise.
11785 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11786 __syscall_ulong_t.
11787
34683bb0
L
11788 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11789 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11790
84a68786
L
11791 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11792
48baa5f1
L
11793 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11794 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11795
180be88b
L
11796 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11797 __syscall_slong_t.
11798
5e90c8ad
L
11799 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11800 include <bits/wordsize.h>. Check __x86_64__ instead of
11801 __WORDSIZE.
11802
23dfb58b
L
11803 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11804 "unsigned long long int" if __x86_64__ is defined.
11805 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11806
ce5d54b0
L
11807 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11808 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11809 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11810
13dc9eac
L
11811 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11812 <stdint.h>.
11813 (GET_PC): Cast to uintptr_t first.
11814 (GET_FRAME): Likewise.
11815 (GET_STACK): Likewise.
11816
a7895d15
L
11817 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11818 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11819 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11820 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11821 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11822 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11823 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11824 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11825 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11826 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11827 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11828 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11829 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11830 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11831 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11832 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11833 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11834 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11835 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11836 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11837 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11838 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11839 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11840 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11841 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11842 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11843 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11844 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11845 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11846
656416c9
AS
118472012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11848
5bd66283
AS
11849 * Makerules (+depfiles): Also collect depfiles from .oS in
11850 $(extra-objs).
11851 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11852 .oS, $(libnldbl-routines)).
11853
656416c9
AS
11854 * Makerules (native-compile-mkdep-flags): Define.
11855 * sunrpc/Makefile (extra-objs): Add $(addprefix
11856 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11857 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11858 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11859 calling $(make-target-directory).
11860
a46f2169
L
118612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11862
11863 * bits/types.h (__snseconds_t): Removed.
11864 * time/time.h (struct timespec): Replace __snseconds_t with
11865 __syscall_slong_t.
11866 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11867 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11868 Likewise.
11869 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11870 (__SNSECONDS_T_TYPE): Likewise.
11871 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11872 (__SNSECONDS_T_TYPE): Likewise.
11873 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11874 (__SNSECONDS_T_TYPE): Likewise.
11875
6af6528b
L
118762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11877
11878 * sysdeps/mach/hurd/bits/typesizes.h
11879 (__SYSCALL_SLONG_TYPE): New macro.
11880 (__SYSCALL_ULONG_TYPE): Likewise.
11881
de986b56
L
118822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11883
11884 * bits/types.h (__syscall_slong_t): New type.
11885 (__syscall_ulong_t): Likewise.
11886
11887 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11888 (__SYSCALL_ULONG_TYPE): Likewise.
11889 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11890 (__SYSCALL_SLONG_TYPE): Likewise.
11891 (__SYSCALL_ULONG_TYPE): Likewise.
11892 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11893 (__SYSCALL_SLONG_TYPE): Likewise.
11894 (__SYSCALL_ULONG_TYPE): Likewise.
11895 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11896 (__SYSCALL_SLONG_TYPE): Likewise.
11897 (__SYSCALL_ULONG_TYPE): Likewise.
11898
85736dc7
L
118992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11900
11901 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11902 Add sigaltstack-offsets.sym.
11903 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11904 <sigaltstack-offsets.h>.
11905 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11906 longjmp_msg pointer.
11907 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11908 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11909 signal stack.
11910 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11911
cc03b296
JM
119122012-05-15 Joseph Myers <joseph@codesourcery.com>
11913
a9538892
JM
11914 * elf/stackguard-macros.h: Remove file.
11915 * sysdeps/generic/stackguard-macros.h: New file.
11916 * sysdeps/i386/stackguard-macros.h: Likewise.
11917 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11918 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11919 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11920 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11921 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11922 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11923 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11924 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11925 <elf/stackguard-macros.h>.
11926
cc03b296
JM
11927 [BZ #14109]
11928 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11929 __aligned__ in attribute.
11930 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11931 (gregset_t): Likewise.
11932
93171016
L
119332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11934
11935 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11936 * sysdeps/x86_64/64/Implies-after: Here. New file.
11937 * sysdeps/x86_64/x32/Implies-after: New file.
11938
d86813a0
L
119392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11940
11941 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11942 and access return value for _dl_profile_fixup. Use R10_LP to
11943 load frame size.
11944
2953ec75
L
119452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11946
11947 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11948
3b550e9e
L
119492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11950
11951 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11952 * sysdeps/x86_64/x32/sysdep.h: New file.
11953
eda41706
L
119542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11955
11956 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11957 * sysdeps/x86_64/setjmp.S: Likewise.
11958
9ea01d93
AZ
119592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11960
11961 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11962 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11963 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11964 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11965 remove unused global constant.
11966
02a91938
CM
119672012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11968
11969 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11970 include of <not-cancel.h>.
11971
6540185f
RM
119722012-05-15 Roland McGrath <roland@hack.frob.com>
11973
11974 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11975
509072a0
AJ
119762012-05-15 Jeff Law <law@redhat.com>
11977 Andreas Jaeger <aj@suse.de>
11978
11979 [BZ #13594]
11980 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11981 out from...
11982 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11983 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11984 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11985 code changing __hst_map_handle.map.
11986
ba75122d
RM
119872012-05-15 Roland McGrath <roland@hack.frob.com>
11988
11989 * configure.in (sysnames): Look for Implies-before and Implies-after
11990 files.
11991 * configure: Regenerated.
11992
890d8bd8
L
119932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11994
11995 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11996 8-byte data alignment with LP_SIZE alignment.
11997
f6ee6623
L
119982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11999
12000 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12001 into R10_LP.
12002
ea2626f6
L
120032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12004
12005 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12006
085f715e
L
120072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12008
12009 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12010 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12011 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12012 Likewise.
12013 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12014
be8498fc
L
120152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12016
12017 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12018 (stackinfo_sub_sp): Likewise.
12019
70bc83b9
L
120202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12021
12022 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12023 RAX_LP.
12024
9bc0b730
L
120252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12026
12027 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12028 into R*_LP.
12029
6d2850e7
L
120302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12031
12032 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12033 sizes into R*_LP.
12034
3cb84561
L
120352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12036
12037 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12038
54e2ed81
L
120392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12040
12041 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12042 into R11_LP and load __x86_64_shared_cache_size_half into
12043 R8_LP.
12044
8a17f349
L
120452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12046
12047 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12048 R8_LP.
12049
777b1eea
AZ
120502012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12051
12052 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12053 logb for POWER7.
12054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12055 logbf for POWER7.
12056 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12057 logbl for POWER7.
12058 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12059 powerpc32/power7/fpu/s_logb.c via #include.
12060 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12061 powerpc32/power7/fpu/s_logbf.c via #include.
12062 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12063 powerpc32/power7/fpu/s_logbl.c via #include.
12064
d20d4ac2
JM
120652012-05-15 Joseph Myers <joseph@codesourcery.com>
12066
12067 * README.libm: Remove file.
12068
6cdef1ab
L
120692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12070
12071 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12072 count for x32. Use R*_LP and omit operand-size suffix.
12073
0b254d8f
L
120742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12075
12076 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12077 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12078 * sysdeps/x86_64/x32/shlib-versions: New file.
12079
ceb809dc
RM
120802012-05-14 Roland McGrath <roland@hack.frob.com>
12081
12082 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12083 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12084 Use _dl_fatal_printf instead.
12085
37f1abd4
JM
120862012-05-14 Joseph Myers <joseph@codesourcery.com>
12087
12088 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12089 set if not set by the user. Do not allow for being unset.
12090 * sysdeps/unix/sysv/linux/configure: Regenerated.
12091
11de3a33
L
120922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12093
12094 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12095 the `q' suffix from lea and replace .quad with ASM_ADDR.
12096
e02f153a
L
120972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12098
12099 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12100 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12101 instead of $17.
12102 (PTR_DEMANGLE): Likewise.
12103
520ae0fd
L
121042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12105
12106 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12107 (LP_OP): Likewise.
12108 (ASM_ADDR): Likewise.
12109 (RAX_LP): Likewise.
12110 (RBP_LP): Likewise.
12111 (RBX_LP): Likewise.
12112 (RCX_LP): Likewise.
12113 (RDI_LP): Likewise.
12114 (RSI_LP): Likewise.
12115 (RSP_LP): Likewise.
12116 (R8_LP): Likewise.
12117 (R9_LP): Likewise.
12118 (R10_LP): Likewise.
12119 (R10_LP): Likewise.
12120 (R11_LP): Likewise.
12121 (R12_LP): Likewise.
12122 (R13_LP): Likewise.
12123 (R14_LP): Likewise.
12124 (R15_LP): Likewise.
12125
b985be81
L
121262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12127
12128 * sysdeps/x86_64/x32/dl-machine.h: New file.
12129
6a4888ff
AJ
121302012-05-14 Andreas Jaeger <aj@suse.de>
12131
12132 * manual/Makefile (subdir): Remove export of subdir.
12133 (all): Remove target.
12134 (.PHONY): Remove all from list.
12135 (mkinstalldirs): Remove.
12136 (.PHONY): Remove installdirs from list.
12137 ($(inst_infodir)/libc.info): Use make-target-directory.
12138 (installdirs): Remove.
12139 (subdir_%): Remove.
12140 (glibc-targets): Remove.
12141 (lib): Remove.
12142 (stubs): Remove.
12143 ($(objpfx)stubs ../po/manual.pot): Remove.
12144 ($(objpfx)stamp%): Remove.
12145 (make-target-directory): Remove.
12146 (subdir_install): Remove.
12147 (routines): Remove.
12148 (aux): Remove.
12149 (sources): Remove.
12150 (objects): Remove.
12151 (headers): Remove.
12152
12153 [BZ #13750]
12154 * manual/.gitignore: Remove, it's not needed anymore.
12155 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12156 all files in it.
12157 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12158 directory.
12159 (texis): Renamed to $(objpfx)texis.
12160 (texis-path): New, contains path to generated files.
12161 (chapters.%): Use texis-path for complete path, add extra argument
12162 libc-texinfo.sh.
12163 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12164 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12165 (summary,texi, stamp-summary): Use complete path of
12166 files. Generate files in build dir.
12167 (dir-add.texi): Build in build dir.
12168 (libm-err.texi,stamp-libm-err): Likewise.
12169 (version.texi, stamp-version): Likewise.
12170 (.%c.texi): Likewise.
12171 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12172 (mostlyclean): Remove target.
12173 (realclean): Remove target.
12174 (generated): Add new variable with contents from mostlyclean and
12175 realclean, remove entries duplicated in common-mostlyclean, add
12176 stamp-libm-err and stamp-version.
12177 (generated-dirs): Add libc directory.
12178 ($(inst_infodir)/libc.info): Install files from build dir.
12179
12180 * manual/install.texi (Configuring and compiling): Adjust since
12181 the info files are not part of the tar ball anymore.
12182
7ac77294
AJ
121832012-05-14 Andreas Jaeger <aj@suse.de>
12184
12185 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12186 variable.
12187
ffb7875d
JM
121882012-05-14 Joseph Myers <joseph@codesourcery.com>
12189
12190 [BZ #13717]
12191 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12192 to 2.2.0 where earlier.
12193 * sysdeps/unix/sysv/linux/configure: Regenerated.
12194 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12195 Remove conditional code.
12196 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12197 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12198 Remove conditional code.
12199 [!__NR_lchown]: Likewise.
12200 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12201 [__NR_lchown]: Likewise.
12202 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12203 comment referencing __ASSUME_LCHOWN_SYSCALL.
12204 * sysdeps/unix/sysv/linux/i386/sigaction.c
12205 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12206 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12207 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12208 Remove conditional code.
12209 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12210 (__protocol_available): Remove #if 0 code.
12211 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12212 conditional code.
12213 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12214 * sysdeps/unix/sysv/linux/kernel-features.h
12215 (__ASSUME_GETCWD_SYSCALL): Don't define.
12216 (__ASSUME_REALTIME_SIGNALS): Likewise.
12217 (__ASSUME_PREAD_SYSCALL): Likewise.
12218 (__ASSUME_PWRITE_SYSCALL): Likewise.
12219 (__ASSUME_POLL_SYSCALL): Likewise.
12220 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12221 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12222 non-SPARC.
12223 (__ASSUME_SIOCGIFNAME): Don't define.
12224 (__ASSUME_MSG_NOSIGNAL): Likewise.
12225 (__ASSUME_SENDFILE): Define unconditionally.
12226 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12227 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12228 conditional code.
12229 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12230 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12231 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12232 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12233 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12234 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12235 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12237 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12238 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12240 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12241 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12243 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12244 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12246 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12247 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12249 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12250 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12252 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12253 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12255 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12256 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12258 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12259 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12260 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12261 Remove conditional code.
12262 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12263 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12264 Remove conditional code.
12265 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12266 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12267 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12268 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12269 Remove conditional code.
12270 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12271 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12272 Remove conditional code.
12273 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12274 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12275 Remove conditional code.
12276 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12277 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12278 Remove conditional code.
12279 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12280 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12281 Remove conditional code.
12282 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12283 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12284 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12285 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12286 * sysdeps/unix/sysv/linux/sigaction.c
12287 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12288 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12289 * sysdeps/unix/sysv/linux/sigpending.c
12290 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12291 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12292 * sysdeps/unix/sysv/linux/sigprocmask.c
12293 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12294 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12295 * sysdeps/unix/sysv/linux/sigsuspend.c
12296 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12297 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12298 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12299 (__libc_missing_rt_sigs): Remove.
12300 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12301 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12302 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12303 Remove conditional code.
12304 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12305 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12306 return 1.
12307 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12308 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12309 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12310 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12311
1bfb7291
AJ
123122012-05-14 Andreas Jaeger <aj@suse.de>
12313
caae5a81
AJ
12314 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12315 it's not used in glibc.
12316 (__coshm1): Likewise.
12317 (__acosh1p): Likewise.
12318 (__sgn): Likewise.
12319
1bfb7291
AJ
12320 * manual/string.texi (Copying and Concatenation): Add missing
12321 variable in concat example.
12322 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12323
c044d724
L
123242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12325
144c5467 12326 [BZ #14103]
c044d724
L
12327 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12328 __builtin_clzl with __builtin_clzll.
12329
2523c62b
L
123302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12331
12332 [BZ #14104]
12333 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12334 libc_freeres_ptr.
12335
d7bb4c42
LD
123362012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12337
12338 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12339 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12340 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12341 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12342
9dc4e1fb
MF
123432012-05-14 Mike Frysinger <vapier@gentoo.org>
12344
12345 * NEWS: Update ia64 info.
12346
c7df0112
AS
123472012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12348
12349 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12350 used as bcopy.
12351
dc70356c
TS
123522012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12353
12354 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12355 * sysdeps/unix/syscalls.list (dup3): Likewise.
12356 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12357 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12358
9fb1a21f
L
123592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12360
12361 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12362 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12363
4822a2a5
L
123642012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12365
12366 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12367 thread pointer.
12368 (TLS_IE): Use mov/add instead of movq/addq to load thread
12369 pointer.
12370 (TLS_GD_PREFIX): New.
12371 (TLS_GD): Use it.
12372
842b81d6
DM
123732012-05-11 David S. Miller <davem@davemloft.net>
12374
12375 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12376 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12377 (_FPU_SETCW): Likewise.
12378
1cf463cd
L
123792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12380
12381 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12382 is 32-byte aligned.
12383
60cc4a18
AS
123842012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12385
12386 [BZ #11837]
12387 * iconvdata/gb18030.c: Update tables.
12388 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12389 characters specially.
12390 (BODY for TO_LOOP): Add encoding of missing ranges.
12391
febb44a4
TS
123922012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12393
12394 [BZ #13673]
12395 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12396 * sysdeps/mach/hurd/dup3.c: Likewise.
12397 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12398 * sysdeps/powerpc/memmove.c:: Likewise.
12399
0a10fb9e
L
124002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12401
12402 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12403 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12404
df8a552f
L
124052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12406
12407 * elf/elf.h (R_X86_64_RELATIVE64): New.
12408 (R_X86_64_NUM): Updated.
12409 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12410 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12411 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12412 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12413 tst-quad1pie tst-quad2pie
12414 (modules-names): Add tst-quadmod1 tst-quadmod2.
12415 ($(objpfx)tst-quad1): New dependency.
12416 ($(objpfx)tst-quad2): Likewise.
12417 ($(objpfx)tst-quad1pie): Likewise.
12418 ($(objpfx)tst-quad2pie): Likewise.
12419 * sysdeps/x86_64/tst-quad1.c: New file.
12420 * sysdeps/x86_64/tst-quad1pie.c: New file.
12421 * sysdeps/x86_64/tst-quad2.c: Likewise.
12422 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12423 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12424 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12425 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12426 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12427
f34d6f84
ST
124282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12429
f42d41d1
ST
12430 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12431 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12432 * streams/stropts.h (t_scalar_t): Define type.
12433
3c3571fc
ST
12434 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12435 (_PATH_PRESERVE): Set to "/var/lib".
12436 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12437
61f06bd3
ST
12438 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12439 instead of int.
12440
918d4d71
ST
12441 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12442 if __dir_mkfile succeeded.
12443
f34d6f84
ST
12444 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12445 checking for _hurd_dtablesize. Unlock it right after having
12446 finished _hurd_dtable allocation.
12447
10589b4a
TS
124482012-05-10 Thomas Schwinge <thomas@schwinge.name>
12449
674cdbc7
TS
12450 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12451 * sysdeps/mach/hurd/configure: Regenerated.
12452 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12453 special-casing to...
12454 * sysdeps/gnu/configure.in: ... this new file.
12455 * sysdeps/unix/sysv/linux/configure: Regenerated.
12456 * sysdeps/gnu/configure: New generated file.
12457
8e41b99f
TS
12458 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12459 for Linux: use nsec instead of usec, as well as:
12460 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12461 members of type struct timespec.
12462 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12463 New macros.
12464 (struct stat64): Likewise.
12465 (_STATBUF_ST_NSEC): New macro.
12466 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12467
10589b4a
TS
12468 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12469 __strtoul_internal rather than strtoul.
12470
63643c85
PT
124712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12472
12473 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12474 and reject them.
12475
3faebe6a
ST
124762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12477
12478 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12479 which preserves existing values.
12480 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12481
c6474b07
PT
124822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12483
12484 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12485 TIMEOUT values. Return EINVAL for NFDS values either negative or
12486 greater than FD_SETSIZE.
12487
1043890b
ST
124882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12489
12490 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12491 allocated, call __vm_protect to finish enabling the existing space, and
12492 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12493 allocate the remainder.
12494
37ed8b9b
PT
124952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12496
12497 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12498 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12499
db653660
ST
125002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12501
37ed8b9b
PT
12502 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12503 sysdeps/mach/hurd/readlink.c.
b29d4053 12504
db653660
ST
12505 * posix/tst-sysconf.c (posix_options): Only use
12506 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12507 _POSIX_SYNCHRONIZED_IO when they are defined
12508 * sysdeps/mach/hurd/bits/posix_opt.h:
12509 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12510 (_XOPEN_REALTIME): Undefine macro.
12511 (_XOPEN_REALTIME_THREADS): Undefine macro.
12512 (_XOPEN_SHM): Undefine macro.
12513 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12514 macro to -1.
12515 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12516 macro to -1.
12517 (_POSIX_ASYNC_IO): Undefine macro.
12518 (_POSIX_PRIORITIZED_IO): Undefine macro.
12519 (_POSIX_SPIN_LOCKS): Define macro to -1.
12520
ee16e894
ST
12521 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12522 SA_NODEFER, SA_RESETHAND.
12523 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12524 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12525 F_DUPFD_CLOEXEC.
12526
6103ae3b
TS
125272012-05-10 Thomas Schwinge <thomas@schwinge.name>
12528
12529 * elf/Makefile (pldd-modules): Define unconditionally.
12530
80b4e5f3
TS
125312012-05-10 Thomas Schwinge <thomas@schwinge.name>
12532
12533 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12534
edadcbd6
ST
125352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12536
12537 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12538 Return ENOENT when name is empty.
12539 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12540
80694780
TS
125412012-05-10 Thomas Schwinge <thomas@schwinge.name>
12542
1792c087
TS
12543 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12544
80694780
TS
12545 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12546
6b645f0d
ST
125472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12548
80694780
TS
12549 Fix mlock in all cases except non-readable pages.
12550 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12551 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 12552
6b645f0d
ST
12553 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12554 (__mkdir): When path is `/', just fail with EEXIST.
12555 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12556
e468f8a3
TS
125572012-05-10 Thomas Schwinge <thomas@schwinge.name>
12558
12559 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12560 <sys/uio.h> (for writev).
12561 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12562 and <sys/param.h> (for MIN).
12563
a4186cff
PT
125642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12565
12566 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12567 REQUESTED_TIME. Properly set the remaining time and return EINTR
12568 if interrupted.
12569
510bbf14
TS
125702012-05-10 Thomas Schwinge <thomas@schwinge.name>
12571
12572 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12573 Depend on against $(link-rpcuserlibs).
12574
5d5722e8
ST
125752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12576
a4186cff
PT
12577 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12578 (__libc_stack_end): Do not use attribute_relro.
12579 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12580 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 12581 to libthread-provided value.
a4186cff
PT
12582 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12583 attribute_relro.
5d5722e8 12584
37233df9
TS
125852012-05-10 Thomas Schwinge <thomas@schwinge.name>
12586
be971a2b
TS
12587 [BZ #3748]
12588 * bits/libc-lock.h (__libc_once_get): New macro.
12589 * sysdeps/mach/bits/libc-lock.h: Likewise.
12590 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12591 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12592 instead of using implementation details.
12593
37233df9
TS
12594 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12595 * libio/freopen.c: Likewise.
12596 * libio/freopen64.c: Likewise.
12597 * misc/syslog.c: Likewise.
12598 * nscd/connections.c: Likewise.
12599 * nscd/netgroupcache.c: Likewise.
12600 * sysdeps/posix/getcwd.c: Likewise.
12601
38de94a5
RM
126022012-05-10 Roland McGrath <roland@hack.frob.com>
12603
12604 * math/w_ilogbf.c: Add #include <limits.h>.
12605
67530489
ST
126062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12607
a4186cff 12608 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
12609 path instead of returning without unlocking.
12610
67530489
ST
12611 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12612 immediate-write ioctls.
12613 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12614
5aa3a74a
TS
126152012-05-10 Thomas Schwinge <thomas@schwinge.name>
12616
18bad2ae
TS
12617 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12618 __builtin_frame_address instead of making assumptions about the
12619 location of the return address relative to DATA. Force early load of
12620 the return address.
12621 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12622 __builtin_frame_address.
12623
5aa3a74a
TS
12624 dup3 for GNU Hurd.
12625 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12626 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12627 implement dup3 and do some further code clean-ups.
12628 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12629 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12630
ecd0de9a
ST
126312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12632
cd9fa985
ST
12633 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12634
a4186cff
PT
12635 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12636 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12637 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12638 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12639 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12640 d->port.lock.
802ca5a5 12641
a4186cff
PT
12642 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12643 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12644 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 12645
bcf55240
TS
126462012-05-10 Thomas Schwinge <thomas@schwinge.name>
12647
6960eb42
TS
12648 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12649 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12650 definitions.
12651
eb43375f
TS
12652 accept4 for GNU Hurd.
12653 * include/sys/socket.h (__libc_accept4): New prototype.
12654 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12655 to implement __libc_accept4.
12656 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12657 __libc_accept4.
12658 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12659
bcf55240
TS
12660 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12661 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12662 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12663 signal-defines.sym.
12664
6178c55b
ST
126652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12666
a4186cff 12667 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 12668
6f080c2f
TS
126692012-05-10 Thomas Schwinge <thomas@schwinge.name>
12670
12671 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12672 assertion on O_CLOEXEC flag.
12673 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12674 * hurd/intern-fd.c: Likewise.
12675 * hurd/port2fd.c: Likewise.
12676
bcfe3a54
ST
126772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12678
12679 [BZ #3906]
12680 * bits/in.h (IPV6_PKTINFO): Define new macro.
12681 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12682
89c9aa49
AZ
126832012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12684
12685 [BZ #13954]
12686 [BZ #13955]
12687 [BZ #13956]
12688 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12689 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12690 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12691 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12692 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12693 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12694 * math/libm-test.inc (logb_test) : Additional logb tests.
12695
021db4be
AJ
126962012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12697 Andreas Jaeger <aj@suse.de>
12698
12699 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12700 * configure: Regenerated.
12701 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12702 * config.make.in (link-obsolete-rpc): New substituted variable.
12703 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12704 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12705 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12706 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12707 so that libc.a contains the symbols.
12708 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12709 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12710 * sunrpc/auth_none.c: Likewise.
12711 * sunrpc/auth_unix.c: Likewise.
12712 * sunrpc/authdes_prot.c: Likewise.
12713 * sunrpc/authuxprot.c: Likewise.
12714 * sunrpc/clnt_gen.c: Likewise.
12715 * sunrpc/clnt_perr.c: Likewise.
12716 * sunrpc/clnt_raw.c: Likewise.
12717 * sunrpc/clnt_simp.c: Likewise.
12718 * sunrpc/clnt_tcp.c: Likewise.
12719 * sunrpc/clnt_udp.c: Likewise.
12720 * sunrpc/clnt_unix.c: Likewise.
12721 * sunrpc/des_crypt.c: Likewise.
12722 * sunrpc/des_soft.c: Likewise.
12723 * sunrpc/get_myaddr.c: Likewise.
12724 * sunrpc/key_call.c: Likewise.
12725 * sunrpc/key_prot.c: Likewise.
12726 * sunrpc/netname.c: Likewise.
12727 * sunrpc/pm_getmaps.c: Likewise.
12728 * sunrpc/pm_getport.c: Likewise.
12729 * sunrpc/pmap_clnt.c: Likewise.
12730 * sunrpc/pmap_prot.c: Likewise.
12731 * sunrpc/pmap_prot2.c: Likewise.
12732 * sunrpc/pmap_rmt.c: Likewise.
12733 * sunrpc/publickey.c: Likewise.
12734 * sunrpc/rpc_cmsg.c: Likewise.
12735 * sunrpc/rpc_common.c: Likewise.
12736 * sunrpc/rpc_dtable.c: Likewise.
12737 * sunrpc/rpc_prot.c: Likewise.
12738 * sunrpc/rpc_thread.c: Likewise.
12739 * sunrpc/rtime.c: Likewise.
12740 * sunrpc/svc.c: Likewise.
12741 * sunrpc/svc_auth.c: Likewise.
12742 * sunrpc/svc_raw.c: Likewise.
12743 * sunrpc/svc_run.c: Likewise.
12744 * sunrpc/svc_tcp.c: Likewise.
12745 * sunrpc/svc_udp.c: Likewise.
12746 * sunrpc/svc_unix.c: Likewise.
12747 * sunrpc/svcauth_des.c: Likewise.
12748 * sunrpc/xcrypt.c: Likewise.
12749 * sunrpc/xdr.c: Likewise.
12750 * sunrpc/xdr_array.c: Likewise.
12751 * sunrpc/xdr_float.c: Likewise.
12752 * sunrpc/xdr_intXX_t.c: Likewise.
12753 * sunrpc/xdr_mem.c: Likewise.
12754 * sunrpc/xdr_rec.c: Likewise.
12755 * sunrpc/xdr_ref.c: Likewise.
12756 * sunrpc/xdr_sizeof.c: Likewise.
12757 * sunrpc/xdr_stdio.c: Likewise.
12758
b5c086a2
RM
127592012-05-10 Roland McGrath <roland@hack.frob.com>
12760
12761 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12762 change. Update copyright years.
12763
6d74dd09
JM
127642012-05-10 Joseph Myers <joseph@codesourcery.com>
12765
12766 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12767
28e72501
MK
127682012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12769 Joseph Myers <joseph@codesourcery.com>
12770 Paul Pluzhnikov <ppluzhnikov@google.com>
12771
12772 [BZ #14012]
12773 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12774 requiring rpcgen.
12775 [cross-compiling] (extra-libs): Likewise.
12776 [cross-compiling] (extra-libs-others): Likewise.
12777 [cross-compiling] (librpcsvc-routines): Likewise.
12778 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12779 [cross-compiling] (omit-deps): Likewise.
12780 (sunrpc-CPPFLAGS): New variable.
12781 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12782 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12783 (cross-rpcgen-objs): New variable.
12784 (extra-objs): Append $(cross-rpcgen-objs).
12785 ($(cross-rpcgen-objs)): New rule.
12786 ($(objpfx)cross-rpcgen): Likewise.
12787 (rpcgen-cmd): Define to use $(built-program-file). Expand
12788 comment.
12789 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12790 ($(objpfx)x%.stmp): Likewise.
12791 * sunrpc/proto.h [IS_IN_build] (_): Define.
12792 [IS_IN_build] (_libc_intl_domainname): Likewise.
12793
c8c59454
L
127942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12795
12796 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12797 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12798 and R_X86_64_TPOFF64.
12799
6f27cd16
JM
128002012-05-10 Joseph Myers <joseph@codesourcery.com>
12801
12802 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12803 sysdeps/unix/sysv/syscalls.list.
12804 (stime): Likewise.
12805 (utime): Likewise.
12806 * sysdeps/unix/sysv/syscalls.list: Remove file.
12807
02467e1c
PE
128082012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12809
12810 [BZ #3440]
12811 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12812 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12813 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12814 (__LC_IDENTIFICATION): Make these macros useful in #if
12815 expressions, as required by C99.
12816
da392631
AS
128172012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12818
12819 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12820 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12821 after this.
12822
8115f29b
L
128232012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12824
12825 * stdlib/longlong.h: Updated from GCC.
12826
bdd74070
AJ
128272012-05-09 Andreas Jaeger <aj@suse.de>
12828
edfe0dbe
AJ
12829 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12830 default is first entry.
12831 (run_mode): Set type.
12832 (main): Remove informal message about syslog.
12833 (options): Fix typo.
12834
bcfe3a54
ST
12835 [BZ #14053]
12836 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12837 to asm.
bcfe3a54
ST
12838 (lrint): Likewise.
12839 (llrintf): Likewise.
12840 (llrint): Likewise.
12841 (rint): Likewise.
12842 (rintf): Likewise.
12843 (nearbyint): Likewise.
12844 (nearbyintf): Likewise.
bdd74070 12845
91d8d69e
AJ
128462012-05-09 Andreas Jaeger <aj@suse.de>
12847 Pedro Alves <palves@redhat.com>
12848
12849 * nscd/nscd.c (run_mode): Use enum.
12850 (main): Cleanup coding style issue.
12851
bb90b80b
AJ
128522012-05-09 Alexandre Oliva <aoliva@redhat.com>
12853 Andreas Jaeger <aj@suse.de>
12854
bcfe3a54
ST
12855 * nscd/nscd.c (go_background): Replaced with...
12856 (run_mode): ... this.
bb90b80b 12857 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12858 (options): Add -F --foreground.
12859 (main): Implement it.
12860 (parse_opt): Parse it.
bb90b80b 12861
1a4b75a1
AJ
128622012-05-09 Andreas Jaeger <aj@suse.de>
12863
12864 [BZ #14083]
12865 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12866 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12867 -Wconversion warning.
12868 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12869 Likewise.
12870
b1cc2472
JM
128712012-05-09 Joseph Myers <joseph@codesourcery.com>
12872
12873 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12874 == 0.
12875 (LC_ALL): Use macro-int-constant.
12876 (LC_COLLATE): Likewise.
12877 (LC_CTYPE): Likewise.
12878 (LC_MESSAGES): Likewise.
12879 (LC_MONETARY): Likewise.
12880 (LC_NUMERIC): Likewise.
12881 (LC_TIME): Likewise.
12882 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12883 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12884 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12885 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12886 Specify type.
12887 [C99-based standards] (float_t): Expect type.
12888 [C99-based standards] (double_t): Expect type.
12889 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12890 type.
12891 [C99-based standards] (HUGE_VALL): Likewise.
12892 [C99-based standards] (INFINITY): Likewise.
12893 [C99-based standards] (NAN): Likewise.
12894 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12895 [C99-based standards] (FP_NAN): Likewise.
12896 [C99-based standards] (FP_NORMAL): Likewise.
12897 [C99-based standards] (FP_SUBNORMAL): Likewise.
12898 [C99-based standards] (FP_ZERO): Likewise.
12899 [C99-based standards] (FP_FAST_FMA): Use
12900 optional-macro-int-constant. Specify type. Require == 1.
12901 [C99-based standards] (FP_FAST_FMAF): Likewise.
12902 [C99-based standards] (FP_FAST_FMAL): Likewise.
12903 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12904 [C99-based standards] (FP_ILOGBNAN): Likewise.
12905 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12906 Specify type.
12907 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12908 [C99-based standards] (math_errhandling): Specify type.
12909 [ISO99 || ISO11] (signgam): Do not allow.
12910 [non-C99-based standards] (copysignf): Do not allow.
12911 [non-C99-based standards] (exp2f): Likewise.
12912 [non-C99-based standards] (log2f): Likewise.
12913 [non-C99-based standards] (modff): Allow.
12914 [non-C99-based standards] (erff): Do not allow.
12915 [non-C99-based standards] (erfcf): Likewise.
12916 [non-C99-based standards] (gammaf): Likewise.
12917 [non-C99-based standards] (hypotf): Likewise.
12918 [non-C99-based standards] (j0f): Likewise.
12919 [non-C99-based standards] (j1f): Likewise.
12920 [non-C99-based standards] (jnf): Likewise.
12921 [non-C99-based standards] (lgammaf): Likewise.
12922 [non-C99-based standards] (tgammaf): Likewise.
12923 [non-C99-based standards] (y0f): Likewise.
12924 [non-C99-based standards] (y1f): Likewise.
12925 [non-C99-based standards] (ynf): Likewise.
12926 [non-C99-based standards] (isnanf): Likewise.
12927 [non-C99-based standards] (acoshf): Likewise.
12928 [non-C99-based standards] (asinhf): Likewise.
12929 [non-C99-based standards] (atanhf): Likewise.
12930 [non-C99-based standards] (cbrtf): Likewise.
12931 [non-C99-based standards] (expm1f): Likewise.
12932 [non-C99-based standards] (ilogbf): Likewise.
12933 [non-C99-based standards] (log1pf): Likewise.
12934 [non-C99-based standards] (logbf): Likewise.
12935 [non-C99-based standards] (nextafterf): Likewise.
12936 [non-C99-based standards] (remainderf): Likewise.
12937 [non-C99-based standards] (rintf): Likewise.
12938 [non-C99-based standards] (scalbf): Likewise.
12939 [non-C99-based standards] (copysignl): Likewise.
12940 [non-C99-based standards] (exp2l): Likewise.
12941 [non-C99-based standards] (log2l): Likewise.
12942 [non-C99-based standards] (modfl): Allow.
12943 [non-C99-based standards] (erfl): Do not allow.
12944 [non-C99-based standards] (erfcl): Likewise.
12945 [non-C99-based standards] (gammal): Likewise.
12946 [non-C99-based standards] (hypotl): Likewise.
12947 [non-C99-based standards] (j0l): Likewise.
12948 [non-C99-based standards] (j1l): Likewise.
12949 [non-C99-based standards] (jnl): Likewise.
12950 [non-C99-based standards] (lgammal): Likewise.
12951 [non-C99-based standards] (tgammal): Likewise.
12952 [non-C99-based standards] (y0l): Likewise.
12953 [non-C99-based standards] (y1l): Likewise.
12954 [non-C99-based standards] (ynl): Likewise.
12955 [non-C99-based standards] (isnanl): Likewise.
12956 [non-C99-based standards] (acoshl): Likewise.
12957 [non-C99-based standards] (asinhl): Likewise.
12958 [non-C99-based standards] (atanhl): Likewise.
12959 [non-C99-based standards] (cbrtl): Likewise.
12960 [non-C99-based standards] (expm1l): Likewise.
12961 [non-C99-based standards] (ilogbl): Likewise.
12962 [non-C99-based standards] (log1pl): Likewise.
12963 [non-C99-based standards] (logbl): Likewise.
12964 [non-C99-based standards] (nextafterl): Likewise.
12965 [non-C99-based standards] (remainderl): Likewise.
12966 [non-C99-based standards] (rintl): Likewise.
12967 [non-C99-based standards] (scalbl): Likewise.
12968 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12969 [non-C99-based standards] (FP_*): Do not allow.
12970 [C99-based standards] (FP_*): Change to
12971 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12972 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12973 allow.
12974 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12975 (SIG_ERR): Likewise.
12976 [X/Open-based standards] (SIG_HOLD): Likewise.
12977 (SIG_IGN): Likewise.
12978 (SIGABRT): Use macro-int-constant. Specify type. Require
12979 positive value.
12980 (SIGFPE): Likewise.
12981 (SIGILL): Likewise.
12982 (SIGINT): Likewise.
12983 (SIGSEGV): Likewise.
12984 (SIGTER): Likewise.
12985 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12986 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12987 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12988 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12989 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12990 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12991 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12992 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12993 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12994 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12995 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12996 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12997 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12998 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12999 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13000 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13001 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13002 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13003 [X/Open-based standards] (SIGTRAP): Likewise.
13004 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13005 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13006 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13007 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13008 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13009 allow.
13010
b9f1922d
IW
130112012-05-08 Ian Wienand <ianw@vmware.com>
13012
13013 [BZ #14080]
13014 * time/tzset.c (__tzset_parse_tz): Update default rules for
13015 daylight time changes in the Energy Policy Act of 2005.
13016
1db86e88
AJ
130172012-05-09 Andreas Jaeger <aj@suse.de>
13018
13019 [BZ #13983]
13020 * elf/ldconfig.c (parse_conf): Change string to make clear that
13021 ldconfig only issued a warning if ld.so.conf does not exist.
13022
dee4a4e3
DM
130232012-05-08 David S. Miller <davem@davemloft.net>
13024
ee0db190
DM
13025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13026 movxtod instead of popping the value on the stack.
13027
dee4a4e3
DM
13028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13029
6a43ec98
CD
130302012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13031
13032 * config.h.in: Add HAVE_ARM_PCS_VFP.
13033
05c2c961
RMG
130342012-05-08 Roland Mc Grath <roland@hack.frob.com>
13035
bcfe3a54
ST
13036 [BZ #13979]
13037 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13038 checking but the checks are disabled for any reason.
05c2c961 13039
4b30f61a
L
130402012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13041
13042 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13043 and ELF64_R_TYPE with ELFW(R_TYPE).
13044
eee2bc67
JM
130452012-05-08 Joseph Myers <joseph@codesourcery.com>
13046
7ea5391a
JM
13047 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13048 (ulimit): Likewise.
13049
eee2bc67
JM
13050 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13051 (settimeofday): Likewise.
13052
abb66a67
MF
130532012-05-08 Mike Frysinger <vapier@gentoo.org>
13054
13055 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13056 a struct th_u2 inside the union, and move tu_block/tu_code into
13057 a new th_u3 union of tu_block/tu_code inside of that. Move
13058 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13059 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13060 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13061 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13062 (th_stuff): Change to th_u1.tu_stuff.
13063 (th_data): Define.
13064 (th_msg): Change to th_u1.th_u2.tu_data.
13065
7f18b530
DM
130662012-05-07 David S. Miller <davem@davemloft.net>
13067
05760585
DM
13068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13069
7f18b530
DM
13070 [BZ #14074]
13071 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13072 (SETUP_PIC_REG): Use it.
13073 (SETUP_PIC_REG_LEAF): Use it.
13074
495fd99f
JM
130752012-05-07 Joseph Myers <joseph@codesourcery.com>
13076
13077 [BZ #13885]
13078 [BZ #13923]
13079 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13080 USE_AS_EXPM1L.
13081 (EXPL_FINITE): Likewise.
13082 (FLDLOG): Likewise.
13083 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13084 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13085 e_expl.S.
13086 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13087 USE_AS_EXPM1L.
13088 (EXPL_FINITE): Likewise.
13089 (FLDLOG): Likewise.
13090 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13091 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13092 e_expl.S.
13093 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13094 test of -max_value argument for long double.
13095 * sysdeps/i386/fpu/libm-test-ulps: Update.
13096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13097
6693d694
DM
130982012-05-06 David S. Miller <davem@davemloft.net>
13099
13100 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13101 quad soft-float symbols whose references which are compiler
13102 generated.
13103 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13104
6c23e11c
JM
131052012-05-06 Joseph Myers <joseph@codesourcery.com>
13106
d8b82cad
JM
13107 [BZ #13884]
13108 [BZ #13914]
13109 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13110 USE_AS_EXP10L.
13111 (EXPL_FINITE): Likewise.
13112 (FLDLOG): Likewise.
13113 (c0): Likewise.
13114 (c1): Likewise.
13115 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13116 Adjust comments for base varying.
13117 (__expl_finite): Change alias to EXPL_FINITE.
13118 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13119 e_expl.S.
13120 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13121 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13122 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13123 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13124 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13125 USE_AS_EXP10L.
13126 (EXPL_FINITE): Likewise.
13127 (FLDLOG): Likewise.
13128 (c0): Likewise.
13129 (c1): Likewise.
13130 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13131 Adjust comments for base varying.
13132 (__expl_finite): Change alias to EXPL_FINITE.
13133 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13134 tests for bugs.
13135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13136
6c23e11c
JM
13137 [BZ #14064]
13138 * math/libm-test.inc (check_float_internal): Correct ulp
13139 calculation for subnormal expected results.
13140
29ba805c
AJ
131412012-05-06 Andreas Jaeger <aj@suse.de>
13142
13143 * Makeconfig (+math-flags): New, set to -frounding-math.
13144 (+cflags): Add +math-flags so that all of glibc gets compiled with
13145 it.
13146
13147 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13148
7b17aeda
JM
131492012-05-05 Joseph Myers <joseph@codesourcery.com>
13150
5779f134
JM
13151 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13152 Disable one test.
13153
41498f4d
JM
13154 [BZ #13787]
13155 [BZ #13922]
13156 [BZ #14036]
13157 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13158 (__ieee754_expl): Allow for and saturate large arguments.
13159 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13160 (u_threshold): Likewise.
13161 (__exp): Call __ieee754_exp before checking for overflow and
13162 underflow.
13163 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13164 (u_threshold): Likewise.
13165 (__expf): Call __ieee754_expf before checking for overflow and
13166 underflow.
13167 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13168 (u_threshold): Likewise.
13169 (__expl): Call __ieee754_expl before checking for overflow and
13170 underflow.
13171 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13172 (__ieee754_expl): Allow for and saturate large arguments.
13173 * math/libm-test.inc (exp_test): Add another test. Do not allow
13174 missing overflow exception on overflow.
13175 (expm1_test): Do not allow missing overflow exception on overflow.
13176
6698b8bf
JM
13177 * sysdeps/i386/fpu/e_expl.c: Move to ...
13178 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13179 rather than using inline asm.
13180 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13181 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13182 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13183
7b17aeda
JM
13184 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13185 (nice): Likewise.
13186 (poll): Likewise.
13187 (signal): Likewise.
13188 (time): Likewise.
13189 (times): Likewise.
13190
f7c85819
JM
131912012-05-04 Joseph Myers <joseph@codesourcery.com>
13192
13193 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13194 sysdeps/unix/common/syscalls.list.
13195 (fchmod): Likewise.
13196 (fchown): Likewise.
13197 (ftruncate): Likewise.
13198 (getrusage): Likewise.
13199 (gettimeofday): Likewise.
13200 (setpgid): Likewise.
13201 (setregid): Likewise.
13202 (setreuid): Likewise.
13203 (sigaction): Likewise.
13204 (truncate): Likewise.
13205 (vhangup): Likewise.
13206 * sysdeps/unix/common/syscalls.list: Remove file.
13207 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13208 * sysdeps/unix/sysv/linux/Implies: Likewise.
13209
336270d0
L
132102012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13211
13212 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13214 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13215 Moved to ...
13216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13217 Here.
13218 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13219 to ...
13220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13221 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13222 to ...
13223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13224 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13225 to ...
13226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13227 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13228 to ...
13229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13230 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13231 to ...
13232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13233 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13234 to ...
13235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13236 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13237 to ...
13238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13239 Here.
13240 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13241 to ...
13242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13243 Here.
13244 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13245 to ...
13246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13247 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13248 Moved to ...
13249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13250 Here.
13251 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13252 to ...
13253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13254
d128e450
JM
132552012-05-04 Joseph Myers <joseph@codesourcery.com>
13256
fa8ee516
JM
13257 * sysdeps/unix/common/bits/dirent.h: Remove file.
13258 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13259
d128e450
JM
13260 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13261 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13262 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13263 * sysdeps/unix/bsd/isatty.c: Likewise.
13264 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13265 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13266 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13267
ff8faaf0 132682012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13269
62881be4 13270 [BZ #13563]
31dc8730
AZ
13271 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13272 long double comparison inaccuracies.
13273 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13275
6fef930c
AS
132762012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13277
13278 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13279 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13280
8f203e6c
JM
132812012-05-04 Joseph Myers <joseph@codesourcery.com>
13282
13283 [BZ #14049]
13284 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13285 nonzero digits before rounding a hex value.
13286 * stdlib/tst-strtod.c (tests): Add another test.
13287
5197d9c2
AK
132882012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13289
13290 * sysdeps/s390/fpu/libm-test-ulps: Update.
13291
f0c1dedf
AJ
132922012-05-03 Andreas Jaeger <aj@suse.de>
13293
13294 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13295 does not get optimized out.
13296 (malloc_opt_barrier): New.
13297
a65ef2ae 132982012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13299 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13300
2b942cb7 13301 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13302 intermediate file deletion.
2b942cb7 13303 (generated): Add .symlist files.
a65ef2ae 13304
54b71e02
JM
133052012-05-03 Joseph Myers <joseph@codesourcery.com>
13306
13307 [BZ #13775]
13308 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13309 Redirect under this condition.
13310 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13311 [__USE_GNU] (__dprintf_chk): Not under this condition.
13312 [__USE_GNU] (__vdprintf_chk): Likewise.
13313 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13314 under this condition.
13315 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13316 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13317 [__USE_XOPEN2K8] (vdprintf): Likewise.
13318 [__USE_GNU] (__dprintf_chk): Not under this condition.
13319 [__USE_GNU] (__vdprintf_chk): Likewise.
13320 [__USE_GNU] (dprintf): Likewise.
13321 [__USE_GNU] (vdprintf): Likewise.
13322
d3dfcc41
RM
133232012-05-03 Roland McGrath <roland@hack.frob.com>
13324
13325 * elf/Makefile (common-generated): Set this instead of generated for
13326 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13327 $(all-built-dso)-derived lists.
13328
7ac30cc5
AJ
133292012-05-03 Andreas Jaeger <aj@suse.de>
13330
0c51e550
AJ
13331 * sysdeps/i386/fpu/libm-test-ulps: Update.
13332
7ac30cc5
AJ
13333 * FAQ: Removed.
13334 * FAQ.in: Likewise.
13335 * scripts/gen-FAQ.pl: Likewise.
13336 * manual/install.texi (Installation): Point to online location of
13337 FAQ.
13338 * Makefile (files-for-dist): Remove FAQ.
13339 (FAQ): Remove.
13340
d4c2917f
AM
133412012-05-02 Allan McRae <allan@archlinux.org>
13342
13343 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13344 (LDFLAGS-reldepmod5.so): Likewise.
13345 (LDFLAGS-reldep6mod1.so): Likewise.
13346 (LDFLAGS-reldep6mod4.so): Likewise.
13347 (LDFLAGS-reldep8mod3.so): Likewise.
13348 (LDFLAGS-unload4mod1.so): Likewise.
13349 (LDFLAGS-unload4mod2.so): Likewise.
13350 (LDFLAGS-tst-initorder): Likewise.
13351 (LDFLAGS-tst-initordera2.so): Likewise.
13352 (LDFLAGS-tst-initordera3.so): Likewise.
13353 (LDFLAGS-tst-initordera4.so): Likewise.
13354 (LDFLAGS-tst-initorderb2.so): Likewise.
13355 (LDFLAGS-noload): Likewise.
13356 (LDFLAGS-next): Likewise.
13357 (LDFLAGS-order2mod1.so): Likewise.
13358 (LDFLAGS-order2mod2.so): Likewise.
13359 (LDFLAGS-tst-initorder2): Likewise.
13360 (LDFLAGS-tst-initorder2a.so): Likewise.
13361 (LDFLAGS-tst-initorder2b.so): Likewise.
13362 (LDFLAGS-tst-initorder2c.so): Likewise.
13363 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13364
d77f993f
DM
133652012-05-02 David S. Miller <davem@davemloft.net>
13366
13367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13368
171a70b4
PP
133692012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13370
13371 [BZ #14055]
13372 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13373
0be196ad
AJ
133742012-05-02 Andreas Jaeger <aj@suse.de>
13375
13376 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13377 since we manipulate rounding mode.
13378 (CPPFLAGS-test-idouble.c): Likewise.
13379 (CPPFLAGS-test-ifloat.c): Likewise.
13380 (CFLAGS-test-ldouble.c): Likewise.
13381 (CFLAGS-test-double.c): Likewise.
13382 (CFLAGS-test-float.c): Likewise.
13383 (CFLAGS-test-misc.c): Likewise.
13384 (CFLAGS-test-test-fenv.c): Likewise.
13385
4f9d04aa
AZ
133862012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13387
2b942cb7
RM
13388 [BZ #2550]
13389 [BZ #2570]
13390 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13391 comparisons to determine direction to adjust input.
4f9d04aa 13392
82a79e7d
RM
133932012-05-01 Roland McGrath <roland@hack.frob.com>
13394
f5a01ca9
RM
13395 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13396 output to the target.
13397
90fe4186
RM
13398 * scripts/localplt.awk: New file.
13399 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13400 (check-localplt-CFLAGS): Variable removed.
13401 ($(all-built-dso:=.jmprel)): New static pattern rule.
13402 (generated): Add those targets.
13403 (localplt-built-dso): New variable.
13404 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13405
13406 * elf/check-localplt.c: File removed.
13407
82397ed6
RM
13408 * scripts/check-execstack.awk: New file.
13409 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13410 (check-execstack-CFLAGS): Variable removed.
13411 ($(objpfx)check-execstack.h): Target removed.
13412 ($(objpfx)execstack-default): New target.
13413 (generated): Add that instead of check-execstack.h.
13414 ($(all-built-dso:=.phdr)): New static pattern rule.
13415 (generated): Add those targets.
13416 * elf/check-execstack.c: File removed.
13417
82a79e7d
RM
13418 * scripts/check-textrel.awk: New file.
13419 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13420 (check-textrel-CFLAGS): Variable removed.
13421 (all-built-dso): Use := to define.o
13422 ($(all-built-dso:=.dyn)): New static pattern rule.
13423 (generated): Add those targets.
13424 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13425 * config.make.in (READELF): New substituted variable.
13426 * elf/check-textrel.c: File removed.
13427
62fde54f 134282012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 13429
615605c9
JM
13430 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13431 allow.
13432 * conform/data/ctype.h-data [C99-based standards] (isblank):
13433 Expect function.
13434 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13435 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13436 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13437 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13438 Specify type. Require positive value.
13439 (EILSEQ): Likewise.
13440 (ERANGE): Likewise.
13441 [ISO || POSIX] (EILSEQ): Do not expect.
13442 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13443 Specify type. Require positive value.
13444 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13445 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13446 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13447 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13448 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13449 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13450 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13451 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13452 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13453 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13454 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13455 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13456 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13457 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13458 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13459 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13460 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13461 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13462 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13463 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13464 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13465 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13466 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13467 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13468 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13469 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13470 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13471 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13472 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13473 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13474 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13475 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13476 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13477 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13478 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13479 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13480 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13481 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13482 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13483 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13484 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13485 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13486 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13487 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13488 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13489 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13490 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13491 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13492 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13493 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13494 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13495 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13496 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13497 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13498 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13499 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13500 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13501 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13502 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13503 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13504 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13505 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13506 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13507 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13508 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13509 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13510 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13511 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13512 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13513 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13514 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13515 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13516 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13517 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13518 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13519 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13520 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13521 Require >= 2.
13522 (FLT_ROUNDS): Expect as macro, not constant.
13523 (FLT_MANT_DIG): Use macro-int-constant.
13524 (DBL_MANT_DIG): Likewise.
13525 (LDBL_MANT_DIG): Likewise.
13526 (FLT_DIG): Likewise.
13527 (DBL_DIG): Likewise.
13528 (LDBL_DIG): Likewise.
13529 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13530 (DBL_MIN_EXP): Likewise.
13531 (LDBL_MIN_EXP): Likewise.
13532 (FLT_MAX_EXP): Use macro-int-constant.
13533 (DBL_MAX_EXP): Likewise.
13534 (LDBL_MAX_EXP): Likewise.
13535 (FLT_MAX_10_EXP): Likewise.
13536 (DBL_MAX_10_EXP): Likewise.
13537 (LDBL_MAX_10_EXP): Likewise.
13538 (FLT_MAX): Use macro-constant.
13539 (DBL_MAX): Likewise.
13540 (LDBL_MAX): Likewise.
13541 (FLT_EPSILON): Use macro-constant. Give upper bound.
13542 (DBL_EPSILON): Likewise.
13543 (LDBL_EPSILON): Likewise.
13544 (FLT_MIN): Likewise.
13545 (DBL_MIN): Likewise.
13546 (LDBL_MIN): Likewise.
13547 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13548 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13549 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13550 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13551 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13552 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13553 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13554 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13555 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13556 [ISO11] (FLT_TRUE_MIN): Likewise.
13557 [ISO11] (LDBL_TRUE_MIN): Likewise.
13558 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13559 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13560 (SCHAR_MIN): Use macro-int-constant. Specify type.
13561 (SCHAR_MAX): Likewise.
13562 (UCHAR_MAX): Likewise.
13563 (CHAR_MIN): Likewise.
13564 (CHAR_MAX): Likewise.
13565 (MB_LEN_MAX): Use macro-int-constant.
13566 (SHRT_MIN): Use macro-int-constant. Specify type.
13567 (SHRT_MAX): Likewise.
13568 (USHRT_MAX): Likewise.
13569 (INT_MAX): Likewise.
13570 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13571 bound negative.
13572 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13573 bound with "U".
13574 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13575 bound with "L".
13576 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13577 bound negative. Suffix upper bound with "L".
13578 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13579 bound with "UL".
13580 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13581 Specify type.
13582 [C99-based standards] (LLONG_MAX): Likewise.
13583 [C99-based standards] (ULLONG_MAX): Likewise.
13584 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13585 == 0.
13586 [ISO11] (max_align_t): Require type.
13587 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13588
c9140a62
JM
13589 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13590 from $CFLAGS, without defining away __attribute__ calls.
13591 (checknamespace): Use $CFLAGS_namespace.
13592
9af0bf29
JM
13593 * conform/conformtest.pl (@keywords): Only include C99 keywords
13594 for standards based on C99 or C11.
13595
343222a2
JM
13596 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13597 Disable tests.
13598 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13599 UNIX98]: Likewise.
13600
661f8cf0
JM
13601 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13602 usability of symbols in #if.
13603
ee74b9cb
JM
13604 * conform/conformtest.pl: If macro or constant types start
13605 "promoted:", expect the symbol to be of the following type
13606 promoted by the integer promotions.
62fde54f 13607
aafc49b3
JM
13608 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13609 in one place. Also handle "macro-constant".
13610
fefdf574
JM
13611 * conform/conformtest.pl: Only accept expected macro values with
13612 "==". Parse all "macro" lines in one place.
13613 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13614
f2d922fe
JM
13615 * conform/conformtest.pl: Handle braced types on "constant" lines
13616 instead of handling "typed-constant".
13617 * conform/data/signal.h-data: Use "constant" instead of
13618 "typed-constant".
13619
d22956c9
JM
13620 * conform/conformtest.pl: Handle "optional-" at start of lines in
13621 one place rather than duplicating several cases. Handle each
13622 format of "macro" line with initial "optional-".
13623
028e2e38
JM
13624 * conform/conformtest.pl: Only accept expected constant or
13625 optional-constant values with "==". Parse all "constant" lines in
13626 one place. Parse all "optional-constant" lines in one place.
13627 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13628 * conform/data/fmtmsg.h-data: Likewise.
13629 * conform/data/netinet/in.h-data: Likewise.
13630 * conform/data/tar.h-data: Likewise.
13631 * conform/data/limits.h-data: Use "==" form on "constant" and
13632 "optional-constant" lines.
13633
1b8f2850
JM
13634 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13635 Use -std=c99 for XOPEN2K.
13636 (@knownproblems): Remove.
13637 (newtoken): Don't check %isknown.
13638
a05a144b
JM
13639 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13640 Do not expect macro.
13641 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13642 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13643 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13644 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13645 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13646 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13647 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13648 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13649 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13650 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13651 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13652 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13653 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13654 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13655 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13656 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13657 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13658 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13659 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13660 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13661 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13662 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13663 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13664 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13665 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13666 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13667 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13668 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13669 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13670 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13671 [XPG3] (acosh): Likewise.
13672 [XPG3] (asinh): Likewise.
13673 [XPG3] (atanh): Likewise.
13674 [XPG3] (cbrt): Likewise.
13675 [XPG3] (expm1): Likewise.
13676 [XPG3] (ilogb): Likewise.
13677 [XPG3] (log1p): Likewise.
13678 [XPG3] (logb): Likewise.
13679 [XPG3] (nextafter): Likewise.
13680 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13681 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13682 [XPG3] (remainder): Likewise.
13683 [XPG3] (rint): Likewise.
13684 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13685 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13686 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13687 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13688 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13689 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13690 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13691 [UNIX98 || XOPEN2K] (scalb): Expect.
13692 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13693 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13694 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13695 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13696 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13697 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13698 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13699 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13700 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13701 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13702 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13703 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13704 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13705 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13706 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13707 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13708 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13709 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13710 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13711 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13713 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13714 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13715 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13716 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13717 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13718 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13719 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13720 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13721 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13722 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13723 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13724 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13725 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13726 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13727 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13728 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13729 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13730 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13731 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13732 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13733 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13734 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13735 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13736 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13737 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13738 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13739 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13740 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13741 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13742 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13743 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13744 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13745 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13746 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13747 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13748 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13749 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13750 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13751 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13752 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13753 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13754 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13755 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13756 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13757 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13758 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13759 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13760 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13761 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13762 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13763 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13764 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13765 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13766 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13767 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13768 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13769 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13770 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13771 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13772 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13773 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13774 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13775 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13776 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13777 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13778 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13779 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13780 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13781 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13782 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13783 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13784 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13785 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13786 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13787 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13788 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13789 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13790 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13791 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13792 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13793 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13794 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13795 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13796 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13797 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13798 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13799 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13800 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13801 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13802 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13803 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13804 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13805 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13806 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13807 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13808 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13809 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13810 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13811 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13812 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13813 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13814 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13815 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13816 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13817 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13818 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13819 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13820 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13821 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13822 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13823 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13824 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13825 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13826 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13827 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13828 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13829
73c5ebe3
JM
13830 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13831 _XOPEN_SOURCE_EXTENDED for XPG4.
13832
39c33b6c
JM
13833 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13834
62fde54f
JM
13835 * Makeconfig (localtime): Remove variable.
13836 (inst_localtime-file): Likewise.
13837
0741d64c
AS
138382012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13839
13840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13841 Update.
13842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13843 Update.
13844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13845 Update.
13846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13847 Update.
13848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13849 Update.
13850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13851 Update.
13852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13853 Update.
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13855 Update.
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13857 Update.
13858
7cb029ee
JM
138592012-05-01 Joseph Myers <joseph@codesourcery.com>
13860
13861 [BZ #2550]
13862 [BZ #2570]
13863 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13864 comparisons to determine direction to adjust input.
13865 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13866 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13867 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13868 Likewise.
13869 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13870 Likewise.
13871 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13872 Likewise.
13873 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13874 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13875 Likewise.
13876 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13877 Likewise.
13878 * math/libm-test.inc (nexttoward_test): Add more tests.
13879
412bd966
AS
138802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13881
13882 [BZ #14040]
13883 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13884 in version GLIBC_2.1, not GLIBC_2.0.
13885 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13886 Likewise.
13887
9568c0c2
JM
138882012-04-30 Joseph Myers <joseph@codesourcery.com>
13889
adfbc8ac
JM
13890 [BZ #13942]
13891 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13892 (1 - x) * (1 + x).
13893 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13894 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13895 * math/libm-test.inc (acos_test): Add more tests.
13896 (asin_test): Likewise.
13897 * sysdeps/i386/fpu/libm-test-ulps: Update.
13898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13899
5ba3cc69
JM
13900 [BZ #14034]
13901 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13902 of square root.
13903 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13904 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13905 * math/libm-test.inc (acos_test_tonearest): New function.
13906 (acos_test_towardzero): Likewise.
13907 (acos_test_downward): Likewise.
13908 (acos_test_upward): Likewise.
13909 (asin_test_tonearest): Likewise.
13910 (asin_test_towardzero): Likewise.
13911 (asin_test_downward): Likewise.
13912 (asin_test_upward): Likewise.
13913 (main): Call the new functions.
13914 * sysdeps/i386/fpu/libm-test-ulps: Update.
13915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13916
9568c0c2
JM
13917 [BZ #13884]
13918 [BZ #13924]
13919 * math/e_exp10.c: Include <float.h>.
13920 (__ieee754_exp10): Handle underflow here rather than multiplying
13921 large negative argument by M_LN10.
13922 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13923 of __ieee754_expf.
13924 * math/e_exp10l.c: Include <float.h>.
13925 (__ieee754_exp10l): Handle underflow here rather than multiplying
13926 large negative argument by M_LN10l.
13927 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13928 spurious overflow exception on underflow.
13929
5ac3ea17
MP
139302012-04-29 Marek Polacek <polacek@redhat.com>
13931
13932 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13933 (__fortify_function): New macro.
13934 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13935 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13936 __extern_always_inline.
13937 * libio/bits/stdio2.h: Likewise.
13938 * libio/bits/stdio.h: Likewise.
13939 * string/string.h: Likewise.
13940 * string/bits/string3.h: Likewise.
13941 * include/stdio.h: Likewise.
13942 * stdlib/bits/stdlib.h: Likewise.
13943 * stdlib/stdlib.h: Likewise.
13944 * rt/bits/mqueue2.h: Likewise.
13945 * rt/mqueue.h: Likewise.
13946 * posix/bits/unistd.h: Likewise.
13947 * posix/unistd.h: Likewise.
13948 * io/bits/poll2.h: Likewise.
13949 * io/bits/fcntl2.h: Likewise.
13950 * io/fcntl.h: Likewise.
13951 * io/sys/poll.h: Likewise.
13952 * misc/bits/syslog.h: Likewise.
13953 * misc/bits/syslog-ldbl.h: Likewise.
13954 * misc/sys/syslog.h: Likewise.
13955 * socket/bits/socket2.h: Likewise.
13956 * socket/sys/socket.h: Likewise.
13957 * debug/tst-chk1.c: Likewise.
13958 * wcsmbs/bits/wchar2.h: Likewise.
13959 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13960 * wcsmbs/wchar.h: Likewise.
13961
ecf0ebfb
AJ
139622012-04-29 Andreas Jaeger <aj@suse.de>
13963
13964 * Makerules (tests): Remove enable-check-abi protection.
13965 (check-abi-warn): Remove.
13966 (check-abi-%): Remove check-abi-warn usage.
13967
13968 * configure.in: Remove check-abi configure option.
13969 * configure: Regenerated.
13970 * config.make.in (enable-check-abi): Remove.
13971
6d5c57fa
AS
139722012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13973
24c5d07e 13974 [BZ #14033]
ded5180a
AS
13975 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13976 double functions to double *_finite functions.
13977
7e0d315d
AS
13978 [BZ #13941]
13979 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13980 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13981 LDBL_MIN_EXP.
13982 * stdio-common/Makefile (tests): Add tst-sprintf3.
13983 * stdio-common/tst-sprintf3.c: New file.
13984
6d5c57fa
AS
13985 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13986 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13987
0749ff8b
JM
139882012-04-28 Joseph Myers <joseph@codesourcery.com>
13989
13990 * conform/conformtest.pl: Remove duplicate typed-constant
13991 handling.
13992
8dbd5d7b
DM
139932012-04-28 David S. Miller <davem@davemloft.net>
13994
13995 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13996 (check-abi-%): Remove AWK script prerequisite and explicit
13997 abilist directory.
13998 (check-abi): Rewrite to just diff the symlist with the abilist.
13999 (config-tls, config-abi-config): Delete, no longer used.
14000 (update-abi-%): Remove AWK script and explicit abilist directory.
14001 (update-abi): Rewrite to simply compare and conditionally copy the
14002 symlist and the sysdep abilist file. Remove update-abi-config
14003 checks.
14004 * abilist/ld.abilist: Remove.
14005 * abilist/libBrokenLocale.abilist: Remove.
14006 * abilist/libanl.abilist: Remove.
14007 * abilist/libcrypt.abilist: Remove.
14008 * abilist/libdl.abilist: Remove.
14009 * abilist/librt.abilist: Remove.
14010 * abilist/libthread_db.abilist: Remove.
14011 * abilist/libutil.abilist: Remove.
14012 * scripts/extract-abilist.awk: Remove.
14013 * scripts/merge-abilist.awk: Remove.
14014 * sysdeps/generic/libcidn.abilist: New file.
14015 * sysdeps/generic/libnss_compat.abilist: New file.
14016 * sysdeps/generic/libnss_db.abilist: New file.
14017 * sysdeps/generic/libnss_dns.abilist: New file.
14018 * sysdeps/generic/libnss_files.abilist: New file.
14019 * sysdeps/generic/libnss_hesiod.abilist: New file.
14020 * sysdeps/generic/libnss_nis.abilist: New file.
14021 * sysdeps/generic/libnss_nisplus.abilist: New file.
14022 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14023 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14024 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14025 file.
14026 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14027 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14028 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14029 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14030 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14031 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14032 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14033 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14034 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14035 file.
14036 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14037 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14038 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14039 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14040 file.
14041 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14042 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14043 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14044 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14045 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14046 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14047 file.
14048 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14049 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14050 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14051 file.
14052 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14054 New file.
14055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14056 New file.
14057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14058 New file.
14059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14060 New file.
14061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14062 New file.
14063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14064 New file.
14065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14066 New file.
14067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14068 New file.
14069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14070 New file.
14071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14072 New file.
14073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14074 New file.
14075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14076 New file.
14077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14078 New file.
14079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14080 file.
14081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14082 New file.
14083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14084 New file.
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14086 file.
14087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14088 New file.
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14090 New file.
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14092 file.
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14094 New file.
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14096 New file.
14097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14098 New file.
14099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14100 New file.
14101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14102 New file.
14103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14104 New file.
14105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14107 file.
14108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14109 New file.
14110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14111 file.
14112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14113 file.
14114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14115 file.
14116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14117 file.
14118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14119 file.
14120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14121 New file.
14122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14123 file.
14124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14125 file.
14126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14127 New file.
14128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14129 file.
14130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14132 file.
14133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14134 New file.
14135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14136 file.
14137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14138 file.
14139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14140 file.
14141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14142 file.
14143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14144 file.
14145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14146 New file.
14147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14148 file.
14149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14150 file.
14151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14152 New file.
14153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14154 file.
14155 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14156 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14157 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14158 file.
14159 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14160 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14161 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14162 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14163 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14164 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14165 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14166 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14167 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14168 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14171 file.
14172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14173 New file.
14174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14175 file.
14176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14177 file.
14178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14179 file.
14180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14181 file.
14182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14183 file.
14184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14185 New file.
14186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14187 New file.
14188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14189 file.
14190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14191 New file.
14192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14193 file.
14194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14196 file.
14197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14198 New file.
14199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14200 file.
14201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14202 file.
14203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14204 file.
14205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14206 file.
14207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14208 file.
14209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14210 New file.
14211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14212 New file.
14213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14214 file.
14215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14216 New file.
14217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14218 file.
14219
41d73a1b
JM
142202012-04-28 Joseph Myers <joseph@codesourcery.com>
14221
14222 * conform/conformtest.pl: Fix typo in handling typed-constant from
14223 allow-header.
14224
28aeeda4
JM
142252012-04-27 Joseph Myers <joseph@codesourcery.com>
14226
adae8f5e
JM
14227 * README: Cut down references to pre-2.6 Linux kernels and
14228 Linuxthreads. Update lists of configurations in libc and ports
14229 and sort alphabetically. Say "or newer" with Linux kernel version
14230 requirements.
14231
28aeeda4
JM
14232 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14233
a462cb63
RA
142342012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14235
14236 [BZ #887]
14237 * math/libm-test.inc (logb_test_downward): New test to expose
14238 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14239 rounding mode.
14240
6ad3493e
JM
142412012-04-27 Joseph Myers <joseph@codesourcery.com>
14242
14243 [BZ #14027]
14244 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14245 to be done.
14246 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14247 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14248
2ce4f015
JM
142492012-04-26 Joseph Myers <joseph@codesourcery.com>
14250
5aeb141a
JM
14251 * sysdeps/unix/i386/brk.S: Remove file.
14252 * sysdeps/unix/i386/dl-brk.S: Likewise.
14253 * sysdeps/unix/i386/pipe.S: Likewise.
14254 * sysdeps/unix/i386/sigreturn.S: Likewise.
14255 * sysdeps/unix/i386/syscall.S: Likewise.
14256 * sysdeps/unix/i386/vfork.S: Likewise.
14257 * sysdeps/unix/i386/wait.S: Likewise.
14258
7143acae
JM
14259 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14260 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14261
2ce4f015
JM
14262 * configure.in (arm*-none*): Do not allow without
14263 --enable-hacker-mode.
14264 (netbsd*): Remove case setting base_os.
14265 (386bsd*): Likewise.
14266 (freebsd*): Likewise.
14267 (bsdi*): Likewise.
14268 (osf*): Likewise.
14269 (sunos*): Likewise.
14270 (ultrix*): Likewise.
14271 (newsos*): Likewise.
14272 (dynix*): Likewise.
14273 (*bsd*): Likewise.
14274 (sysv*): Likewise.
14275 (isc*): Likewise.
14276 (esix*): Likewise.
14277 (sco*): Likewise.
14278 (minix*): Likewise.
14279 (irix4*): Likewise.
14280 (irix6*): Likewise.
14281 (solaris[2-9]*): Likewise.
14282 (none): Likewise.
14283 * configure: Regenerated.
14284
0ac229c8
AZ
142852012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14286
14287 [BZ #11521]
14288 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14289 overflow or cancellation in calculating denominator.
14290 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14291 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14292 down expression to avoid unexpected rounding in newer GCCs.
14293 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14294
33f244f4
DM
142952012-04-26 David S. Miller <davem@davemloft.net>
14296
14297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14298 long-double compat symbols.
14299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14312
cfa1f3e8
DM
143132012-04-25 David S. Miller <davem@davemloft.net>
14314
14315 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14316 HWCAP_* values only after the memory barriers have been defined.
14317 (atomic_full_barrier): Define.
14318 (atomic_read_barrier): Define.
14319 (atomic_write_barrier): Define.
14320
6e236b92
SP
143212012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14322
14323 * shlib-versions: Add libgcc_s version information.
14324 * sysdeps/generic/libgcc_s.h: Remove.
14325 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14326 libgcc_s.h.
14327 * sysdeps/gnu/unwind-resume.c: Likewise.
14328 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14329
aab39a09
DM
143302012-04-25 David S. Miller <davem@davemloft.net>
14331
14332 * sysdeps/unix/sparc/brk.S: Delete.
14333 * sysdeps/unix/sparc/dl-brk.S: Delete.
14334 * sysdeps/unix/sparc/pipe.S: Delete.
14335 * sysdeps/unix/sparc/sysdep.S: Delete.
14336 * sysdeps/unix/sparc/sysdep.h: Delete.
14337 * sysdeps/unix/sparc/vfork.S: Delete.
14338 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14339 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14340 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14341 ret_ERRVAL, r0, r1, MOVE): Define.
14342 (JUMPTARGET): Remove.
14343 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14344 sysdeps/unix/sparc/sysdep.h
14345 (ENTRY, END): Remove.
14346 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14347
a3cc4f48
JM
143482012-04-25 Joseph Myers <joseph@codesourcery.com>
14349
2ed8cda2
JM
14350 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14351 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14352 -DIS_IN_build.
14353
35d76d59
JM
14354 * timezone/README: Update upstream location and email address for
14355 tzcode and tzdata.
14356 * timezone/zdump.c: Update from tzcode 2012b.
14357 * timezone/zic.c: Likewise.
14358
a3cc4f48
JM
14359 * configure.in (libc_cv_as_needed): Remove test.
14360 * configure: Regenerated.
14361 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14362 conditional definition.
14363 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14364 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14365 * config.make.in (have-as-needed): Remove variable.
14366
ceab42c3
SP
143672012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14368 Paul Pluzhnikov <ppluzhnikov@google.com>
14369
14370 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14371 strings correctly.
14372
3ce2865f
CLT
143732012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14374
14375 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14376 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14377 * sysdeps/sh/strlen.S: Likewise.
14378
f37e0d68
JM
143792012-04-24 Joseph Myers <joseph@codesourcery.com>
14380
ae186e9a
JM
14381 * sysdeps/unix/fork.S: Remove file.
14382 * sysdeps/unix/i386/fork.S: Likewise.
14383 * sysdeps/unix/sparc/fork.S: Likewise.
14384
b96914af
JM
14385 * sysdeps/unix/system.c: Remove file.
14386 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14387
f37e0d68
JM
14388 * sysdeps/unix/getegid.S: Remove file.
14389 * sysdeps/unix/geteuid.S: Likewise.
14390
87ef29ca
RM
143912012-04-24 Roland McGrath <roland@hack.frob.com>
14392
83bcd236
RM
14393 * scripts/check-localplt.awk: New file.
14394 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14395 of diff.
14396 * scripts/data/localplt-generic.data: Add a comment.
14397
87ef29ca
RM
14398 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14399 NODE when __dir_mkfile failed.
14400 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14401 Reported by Ludovic Courtès <ludo@gnu.org>.
14402
e5a6e567
AJ
144032012-04-24 Andreas Jaeger <aj@suse.de>
14404
14405 * Makerules (common-clean): Also remove gen-as-const-headers
14406 files.
14407
c1820385
JM
144082012-04-24 Joseph Myers <joseph@codesourcery.com>
14409
14410 * Makerules (native-compile): Do not change working directory for
14411 build. Use $(OUTPUT_OPTION) in command.
14412 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14413
94e02fc4
AZ
144142012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14415
14416 [BZ #13886]
14417 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14418 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14419 * math/libm-test.inc (floor_test): Add more tests.
14420 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14421
3a533ca3
JM
144222012-04-24 Joseph Myers <joseph@codesourcery.com>
14423
940ab4b3
JM
14424 * sysdeps/unix/getdents.c: Remove file.
14425 * sysdeps/unix/sysv/getdents.c: Likewise.
14426 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14427
90e037bd
JM
14428 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14429 sysdeps/unix/mman/syscalls.list.
14430 (mmap): Likewise.
14431 (mprotect): Likewise.
14432 (msync): Likewise.
14433 (munmap): Likewise.
14434 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14435 * sysdeps/unix/mman/syscalls.list: Remove.
14436 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14437
3a533ca3
JM
14438 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14439 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14440 * configure: Regenerated.
14441 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14442 $(libgcc_s_suffix).
14443 * config.make.in (libgcc_s_suffix): Remove variable.
14444
1ad743de
JM
144452012-04-23 Joseph Myers <joseph@codesourcery.com>
14446
4ad451e2
JM
14447 * sysdeps/unix/sysv/gethostname.c: Move to ...
14448 * sysdeps/posix/gethostname.c: ... here.
14449
5e37ce39
JM
14450 * sysdeps/unix/execve.S: Remove file.
14451
1ad743de
JM
14452 * sysdeps/unix/_exit.S: Remove file.
14453
4e681b5b
AJ
144542012-04-23 Andreas Jaeger <aj@suse.de>
14455
14456 [BZ #13739]
14457 * manual/Makefile: Remove make dist support, there's no
14458 need for a stand-alone documentation tar ball.
14459 (TEXI2DVI): Define always, it's not in Makeconfig.
14460 (dist): Removed.
14461 (tar-it): Removed.
14462 (edition): Removed.
14463 (glibc-doc-$(edition).tar): Removed
14464 (%.Z): Removed.
14465 (%.gz): Removed.
14466 (%.uu): Removed.
14467 (ETAGS): Remove, it's in Makeconfig.
14468 (move-if-change): Remove, it's in Makeconfig.
14469
38686a03 144702012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
14471
14472 [BZ #13970]
14473 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14474 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14475 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14476 (strtod_l, strtof_l, strtold_l): Remove __wur.
14477 It is not necessarily an error to ignore strtol's return value.
14478 One can reliably look at the stored endptr to decide whether
14479 the number had valid syntax.
14480
7c0616fa
AJ
144812012-04-21 Andreas Jaeger <aj@suse.de>
14482
803cb6b7 14483 [BZ #13739]
7c0616fa
AJ
14484 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14485
b0fe253f
JM
144862012-04-21 Joseph Myers <joseph@codesourcery.com>
14487
14488 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14489 * sysdeps/unix/sysv/Versions: Remove file.
14490
8280f22d
MT
144912012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14492
14493 [BZ #13927]
14494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14495
75ce411f 144962012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
14497
14498 [BZ #7064]
14499 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14500 version from __vm86.
14501
097d59fa
JM
145022012-04-20 Joseph Myers <joseph@codesourcery.com>
14503
a90f3bcb
JM
14504 * sysdeps/unix/common/lxstat.c: Remove file.
14505 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14506
edc7ea78
JM
14507 * sysdeps/unix/sysv/Makefile: Remove file.
14508
cb78c221
JM
14509 * sysdeps/unix/sysv/direct.h: Remove file.
14510
efa6a45f
JM
14511 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14512 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14513 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14514 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14515 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14516 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14517 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14518
9c9f2d0c
JM
14519 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14520
4541c83b
JM
14521 * sysdeps/unix/xmknod.c: Remove file.
14522 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14523
f5d153a0
JM
14524 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14525
aa746595
JM
14526 * sysdeps/unix/sysv/i386/time.S: Remove file.
14527
cce5905e
JM
14528 * sysdeps/unix/fxstat.c: Remove file.
14529 * sysdeps/unix/xstat.c: Likewise.
14530 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14531
37fa3841
JM
14532 * sysdeps/unix/sysv/sigaction.c: Remove file.
14533
ff1962a3
JM
14534 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14535 (sysdep_headers): Remove variable.
14536 [termio.h not in sysdep_headers] (generated): Likewise.
14537 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14538 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14539 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14540 * sysdeps/unix/sysv/tcflow.c: Likewise.
14541 * sysdeps/unix/sysv/tcflush.c: Likewise.
14542 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14543 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14544 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14545 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14546 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14547
e7740d31
JM
14548 * sysdeps/unix/siglist.c: Remove file.
14549
ee06f18b
JM
14550 * sysdeps/unix/getppid.S: Remove file.
14551
097d59fa
JM
14552 * sysdeps/unix/mkdir.c: Remove file.
14553 * sysdeps/unix/rmdir.c: Likewise.
14554
ff3d51ec
AS
145552012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14556
14557 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14558 ERR_MAX value.
14559 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14560 errlist-compat value.
14561
50f81fd7
DM
145622012-04-18 David S. Miller <davem@davemloft.net>
14563
14564 * sysdeps/generic/memcopy.h (reg_char): Delete.
14565 * debug/strcat_chk.c: Use char, not reg_char.
14566 * debug/strcpy_chk.c: Likewise.
14567 * debug/strncat_chk.c: Likewise.
14568 * debug/strncpy_chk.c: Likewise.
14569 * string/memchr.c: Likewise.
14570 * string/memrchr.c: Likewise.
14571 * string/rawmemchr.c: Likewise.
14572 * string/strcat.c: Likewise.
14573 * string/strchr.c: Likewise.
14574 * string/strchrnul.c: Likewise.
14575 * string/strcmp.c: Likewise.
14576 * string/strcpy.c: Likewise.
14577 * string/strncat.c: Likewise.
14578 * string/strncmp.c: Likewise.
14579 * string/strncpy.c: Likewise.
14580
8ff41c46
WS
145812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14582
14583 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14584 __builtin_memcopy is called when src and dest ranges are known to not
14585 overlap.
14586
6b652f46
WS
145872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14588
14589 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14590 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14591 fwd_align_merge macro call.
14592 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14593 bwd_align_merge macro call.
14594 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14595
b282631e
WS
145962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14597
14598 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14599 bwd_align_merge macros.
14600 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14601 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14602 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14603
95aa737c
DM
146042012-04-18 David S. Miller <davem@davemloft.net>
14605
14606 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14607
7a99a614
AJ
146082012-04-18 Andreas Jaeger <aj@suse.de>
14609
14610 [BZ# 6794]
14611 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14612 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14613 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14614
14615 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14616 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14617 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14618
14619 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14620 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14621 Adjust for changed ldbl-128 files.
14622
14623 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14624 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14625 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14626
e5270c23
DM
146272012-04-17 David S. Miller <davem@davemloft.net>
14628
14629 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14630
fb5e92c9
AS
146312012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14632
14633 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14634 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14635 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14636 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14637 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14638 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14639
76da7265
AZ
146402012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14641
14642 [BZ #6794]
14643 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14644 * math/libm-test.inc: Add ilogb errno and exception tests.
14645 * math/w_ilogb.c: New file: ilogb wrapper.
14646 * math/w_ilogbf.c: New file: ilogbf wrapper.
14647 * math/w_ilogbl.c: New file: ilogbl wrapper.
14648 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14649 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14650 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14651 exception being thrown with 0.0 as argument.
14652 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14653 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14654 exception being thrown with 0.0 as argument.
14655 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14656 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14657 exception being thrown with 0.0 as argument.
14658 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14659 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14660 exception being thrown with 0.0 as argument.
14661 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14662 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 14663 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
14664 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14665 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14666 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14667 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14668 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14669 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14670
0396e69d
PB
146712012-04-17 Petr Baudis <pasky@ucw.cz>
14672
14673 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14674 with altivec.
14675
750b5926
MP
146762012-04-16 Marek Polacek <polacek@redhat.com>
14677
14678 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14679
751728a1
MP
146802012-04-16 Marek Polacek <polacek@redhat.com>
14681
14682 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14683 operands of fdivp instruction.
14684
34a27407
L
146852012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14686
14687 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14688 * elf/tst-auditmod3b.c: Likewise.
14689 * elf/tst-auditmod4b.c: Likewise.
14690 * elf/tst-auditmod5b.c: Likewise.
14691 * elf/tst-auditmod6b.c: Likewise.
14692 * elf/tst-auditmod6c.c: Likewise.
14693 * elf/tst-auditmod7b.c: Likewise.
14694 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14695 * sysdeps/x86_64/preconfigure.in: Likewise.
14696 * sysdeps/x86_64/preconfigure: Regenerated.
14697
7e73e17d
L
146982012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14699
14700 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14701 __ILP32__.
14702
c7a6ab72
AB
147032012-04-13 Antoine Balestrat <merkil33@gmail.com>
14704
14705 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14706 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14707
a9e8e0e0
CL
147082012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14709
14710 [BZ #13973]
14711 * locale/iso-639.def: Fix gl language name. Spotted by
14712 Yaron Shahrabani.
14713
ec98af7d
RM
147142012-04-12 Roland McGrath <roland@hack.frob.com>
14715
14716 [BZ #2074]
14717 * libio/libio.h (__io_write_fn): Update comment.
14718
247c3ede
PB
147192012-04-12 Petr Baudis <pasky@ucw.cz>
14720
14721 [BZ #2074]
14722 * stdio.texi (Hook Functions): The user provided writer function
14723 is not allowed to return -1.
14724
55939d6d
DM
147252012-04-11 David S. Miller <davem@davemloft.net>
14726
14727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14728
90020f5a
MF
147292012-04-11 Mike Frysinger <vapier@gentoo.org>
14730
14731 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14732 Add a leading slash to rtkaio.
14733
288f9098
JM
147342012-04-11 Jim Meyering <meyering@redhat.com>
14735
90020f5a
MF
14736 [BZ #11959]
14737 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14738 It is not necessarily an error to ignore fwrite's return
14739 value. One can reliably use ferror to test for errors after
14740 the fact.
288f9098 14741
4be2b570
L
147422012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14743
14744 * bits/types.h (__snseconds_t): New type.
14745 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14746
14747 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14748 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14749 (__SNSECONDS_T_TYPE): Likewise.
14750 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14751 (__SNSECONDS_T_TYPE): Likewise.
14752 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14753 (__SNSECONDS_T_TYPE): Likewise.
14754
288f9098 147552012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14756
14757 [BZ #2636]
14758 * manual/time.texi (Processor Time): Return type of times is
14759 elapsed real time since an arbitrary point in the past.
14760 (CPU Time): Move CLK_TCK from here...
14761 (Processor Time): ...to here. Correct description.
14762 * manual/conf.texi (Constants for Sysconf): Correct description of
14763 _SC_CLK_TCK.
14764
d7dd4413
DM
147652012-04-10 David S. Miller <davem@davemloft.net>
14766
14767 [BZ #13967]
14768 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14769 where the is a gap between DT_REL(A) and DT_JMPREL.
14770
b46068fc
L
147712012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14772
14773 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14774 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14775 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14776
73d65cc3
SP
147772012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14778
14779 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14780 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14781 (dl_main): Handle --inhibit-cache.
14782 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14783 _dl_inhibit_cache.
14784 * elf/dl-load.c (_dl_map_object): Use it.
14785 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14786
bcc8d661
JM
147872012-04-09 Joseph Myers <joseph@codesourcery.com>
14788
8f9a2fae
JM
14789 [BZ #13872]
14790 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14791 (__ieee754_powl): Saturate large exponents rather than testing for
14792 overflow of y*log2(x).
14793 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14794 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14795 exceptions.
14796
bcc8d661
JM
14797 [BZ #11521]
14798 * math/s_ctan.c: Include <float.h>.
14799 (__ctan): Avoid internal overflow or cancellation in calculating
14800 denominator.
14801 * math/s_ctanf.c: Likewise.
14802 * math/s_ctanl.c: Likewise.
14803 * math/s_ctanh.c: Likewise.
14804 * math/s_ctanhf.c: Likewise.
14805 * math/s_ctanhl.c: Likewise.
14806 * math/libm-test.inc (ctan_test): Add more tests.
14807 (ctanh_test): Likewise.
14808 * sysdeps/i386/fpu/libm-test-ulps: Update.
14809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14810
823fbbb4
AJ
148112012-04-09 Andreas Jaeger <aj@suse.de>
14812
03879793
AJ
14813 [BZ #6894]
14814 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14815 is an optional BSD extension.
14816
823fbbb4
AJ
14817 [BZ #10254]
14818 * manual/stdio.texi (Opening Streams): Document additional fopen
14819 parameters.
14820
8de131cb
RM
148212012-04-09 Roland McGrath <roland@hack.frob.com>
14822
14823 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14824 %eax without telling the compiler.
14825
c0ed9d7d
CD
148262012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14827
14828 [BZ # 13963]
14829 * manual/install.texi: Use sourceware.org.
14830
c483f6b4
JM
148312012-04-09 Joseph Myers <joseph@codesourcery.com>
14832
d7dd9453
JM
14833 [BZ #13873]
14834 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14835 (__ieee754_pow): Generate overflow and underflow using huge*huge
14836 and tiny*tiny rather than just returning constant infinity or zero
14837 for large exponents.
14838 * math/libm-test.inc (pow_test): Require overflow exceptions for
14839 applicable cases of large exponents.
14840
c483f6b4
JM
14841 [BZ #706]
14842 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14843 (__ieee754_pow): Use iterative multiplication algorithm only for
14844 integer exponents with absolute value below 1024. Check for odd
14845 integer exponents when using algorithm for real exponents.
14846 * math/libm-test.inc (pow_test): Add more tests.
14847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14848
d2de7579
JM
148492012-04-08 Joseph Myers <joseph@codesourcery.com>
14850
14851 [BZ #13705]
14852 * math/libm-test.inc (exp_test): Do not allow overflow exception
14853 on underflow test.
14854
f77f1232
AJ
148552012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14856
14857 [BZ #13705]
14858 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14859 instead of __kernel_standard_f.
14860
3884932b
MF
148612012-04-08 Mike Frysinger <vapier@gentoo.org>
14862
14863 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14864 * sysdeps/x86_64/memset_chk.S: Likewise.
14865
54472e9c
AJ
148662012-04-08 Andreas Jaeger <aj@suse.de>
14867
6ab0fbfc
AJ
14868 [BZ #10153]
14869 * manual/startup.texi (Environment Access): Describe return value
14870 for putenv and setenv.
14871
61efba8c
AJ
14872 [BZ #6895]
14873 * manual/filesys.texi (Directory Entries): Add description for
14874 DT_LNK.
14875
95c3f29a
AJ
14876 [BZ #6890]
14877 * manual/filesys.texi (Directory Entries): Clarify that it's file
14878 system not operating system in the description of DT_UNKNOWN.
14879
54472e9c
AJ
14880 [BZ #6578]
14881 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14882
624254b1
SC
148832012-04-08 Stephen Compall <s11@member.fsf.org>
14884
14885 [BZ #6649]
14886 * manual/llio.texi (Opening and Closing Files): Add cross
14887 reference to explain mode argument.
14888
1e4920e0
MF
148892012-04-07 Mike Frysinger <vapier@gentoo.org>
14890
14891 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14892 * sysdeps/x86_64/memset_chk.S: Likewise.
14893
5ed848f3
DM
148942012-04-07 David S. Miller <davem@davemloft.net>
14895
14896 * elf/elf.h (R_SPARC_WDISP10): Define.
14897 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14898 R_SPARC_SIZE32.
14899 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14900 R_SPARC_SIZE64 and R_SPARC_H34.
14901
96154cd8
CD
149022012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14903
14904 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14905 conditions and remove no longer applicable assertion.
14906
9904dc47
L
149072012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14908
14909 * bits/byteswap.h: Include <features.h>.
14910 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14911 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14912
f8887d0a
L
149132012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14914
14915 * bits/byteswap.h (__bswap_16): Removed.
14916 Include <bits/byteswap-16.h> to get __bswap_16.
14917 * sysdeps/i386/bits/byteswap.h: Likewise.
14918 * sysdeps/s390/bits/byteswap.h: Likewise.
14919 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14920 * bits/byteswap-16.h: New file.
14921 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14922 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14923 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14924 * string/Makefile (headers): Add bits/byteswap-16.h.
14925
62470f60
PP
149262012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14927
14928 [BZ #13895]
14929 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14930 extra indirection.
14931 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14932 * nss/tst-nss-static.c: New.
14933
4dad7bab
RM
149342012-04-06 Robert Millan <rmh@gnu.org>
14935
14936 [BZ #6486]
14937 * manual/llio.texi (File Position Primitive): lseek
14938 refers to WHENCE when it really means OFFSET.
14939
e9142a17
AJ
149402012-04-06 Andreas Jaeger <aj@suse.de>
14941
2c040eff
AJ
14942 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14943 strncmp declarations.
14944
e9142a17
AJ
14945 * abilist/libc.abilist: Add __poll and __ppoll.
14946
ff9f1c5f
DM
149472012-04-05 David S. Miller <davem@davemloft.net>
14948
dcd2ae90
DM
14949 * scripts/check-local-headers.sh: Accept a host triplet in the
14950 path matched by the exclude regexp.
14951
993eb054
DM
14952 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14953 definition.
14954 * sysdeps/powerpc/powerpc32/dl-machine.h
14955 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14956 * sysdeps/s390/s390-32/dl-machine.h
14957 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14958 * sysdeps/sparc/sparc32/dl-machine.h
14959 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14960 * sysdeps/sparc/sparc64/dl-machine.h
14961 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14962
ff9f1c5f
DM
14963 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14964 lazy binding.
48e2e132 14965 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14966 undefined symbol errors.
14967
48e2e132 14968 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14969 DT_NEEDED entries.
14970
e80d6f94
MM
149712012-04-05 Michael Matz <matz@suse.de>
14972
14973 [BZ #13592]
14974 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14975
349fa79f
AJ
149762012-04-05 Andreas Jaeger <aj@suse.de>
14977
14978 [BZ #13908]
14979 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14980 comment.
14981
f402708f
KK
149822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14983
14984 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14985 which ROUND is no valid rounding mode.
14986
2ecccfc9
KK
149872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14988
14989 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14990 read again.
14991 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14992
8a53f50f
KK
149932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14994
14995 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14996 an exception using FPU order intentionally.
14997
149982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14999
15000 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15001 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15002 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15003 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15004
d653abb7
SJ
150052012-04-05 Simon Josefsson <simon@josefsson.org>
15006
15007 [BZ #12340]
15008 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15009 EINVAL when BUFLEN is too smal.
15010
c3b1bf7d
TS
150112012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15012
15013 [BZ #13553]
15014 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15015 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15016
b1aa60f3
AJ
150172012-04-03 Andreas Jaeger <aj@suse.de>
15018
c3b1bf7d 15019 [BZ #13938]
67f60a26
AJ
15020 * manual/setjmp.texi (System V contexts): Fix sentence.
15021
b1aa60f3
AJ
15022 [BZ #13926]
15023 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15024 New macro for this case.
15025 [!__GNUC__] (__bswap_64): New inline function for this case.
15026 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15027 * bits/byteswap.h: Likewise.
15028 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15029 ull, guard with __GLIBC_HAVE_LONG_LONG.
15030
15031 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15032 __GLIBC_HAVE_LONG_LONG.
15033
15034 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15035 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15036
39c59c35
TMQMF
150372012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15038
15039 [BZ #13691]
15040 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15041 inptr and inend, rather than using last_ch.
15042
135ffda8
DM
150432012-04-02 David S. Miller <davem@davemloft.net>
15044
15045 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15046 * stdio-common/printf-parse.h (read_int): Change return type to
15047 'int', return -1 on INT_MAX overflow.
15048 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15049 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15050 overflows INT_MAX. Check for overflow of in-format-string precision
15051 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15052 SIZE_MAX not INT_MAX for integer overflow test.
15053 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15054 skip the construct in the format string but do not record anything.
15055 * stdio-common/bug22.c: Adjust to test both width/prevision
15056 INT_MAX overflow as well as total length INT_MAX overflow. Check
15057 explicitly for proper errno values.
15058
228c019e
TS
150592012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15060
302cadd3
TS
15061 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15062 CHAR_MAX.
15063 * string/test-strcmp.c [! WIDE]: Likewise.
15064 * time/tst-mktime2.c: Likewise for INT_MAX.
15065 * string/test-string.h: #include <sys/param.h> for MIN.
15066
228c019e
TS
15067 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15068 * sysdeps/i386/init-first.c (init): Likewise.
15069 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15070 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15071 * sysdeps/sh/init-first.c (init): Likewise.
15072
cfa633f5
UD
150732012-04-01 Ulrich Drepper <drepper@gmail.com>
15074
15075 * po/ru.po: Update from translation team.
d1635ef8 15076 * po/vi.po: Likewise.
cfa633f5 15077
6cd0a5ea
SP
150782012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15079
15080 * resolv/nss_dns/dns-host.c: Merge copyright years.
15081
4b43400f
LD
150822012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15083
15084 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15085 Optimize memcpy with prefetch if
15086 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15087 src, dst pointers have unequal 16 byte alignments.
15088
48c41d04
SP
150892012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15090
15091 [BZ #13928]
15092 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15093 from a CNAME entry and return the minimum ttl for the query.
15094 (gaih_getanswer_slice): Likewise.
15095
b8dc394d
JL
150962012-03-30 Jeff Law <law@redhat.com>
15097
15098 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15099 due to long keys.
15100 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15101 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15102
2f5a5ed0
JL
15103 * resolv/nss_dns/dns-host.c: Update copyright year.
15104
1d39e359
UD
151052012-03-30 Ulrich Drepper <drepper@gmail.com>
15106
c030f70c 15107 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15108 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15109
1d39e359
UD
15110 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15111 comments for sendmmsg.
15112
151132012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15114
15115 [BZ #13691]
15116 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15117 with only 1 character between 0x0041 and 0x01b0.
15118 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15119 * wcsmbs/tst-mbsnrtowcs.c: New file.
15120
20fde227
DM
151212012-03-29 David S. Miller <davem@davemloft.net>
15122
15123 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15124 small copies by hand.
15125
984a4237
JL
151262012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15127
15128 [BZ #13761]
15129 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15130 _nss_compat_initgroups_dyn): Fall back to malloc/free
15131 for large group memberships.
15132
18c9d62b
DM
151332012-03-28 David S. Miller <davem@davemloft.net>
15134
88d85d4f
DM
15135 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15136 that branches into memcpy.
15137 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15138 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15139 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15140 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15141 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15142 bits.
15143 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15144 implementation too.
15145 * sysdeps/sparc/mempcpy.S: New file.
15146
e5aa83e1
DM
15147 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15148 the IFUNC routine in the libc case.
15149 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15150
88570753
DM
15151 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15152 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15153 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15154 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15155 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15156 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15157 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15158 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15159
249d7567
DM
15160 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15161 loop to 256 bytes instead of 64 bytes and fix test signedness.
15162
18c9d62b
DM
15163 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15164 * sysdeps/sparc/sparc32/Makefile: rather than here...
15165 * sysdeps/sparc/sparc64/Makefile: and here.
15166
05f3d1f6
UD
151672012-03-28 Ulrich Drepper <drepper@gmail.com>
15168
15169 * malloc/mallocbug.c: Avoid warnings about unused variables.
15170
86ae07a8
JL
151712012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15172
15173 [BZ #13760]
15174 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15175 in the right place. Discard and retry query if response is
15176 larger than input buffer size.
15177
41bf21a1
JM
151782012-03-28 Joseph Myers <joseph@codesourcery.com>
15179
d6270972
JM
15180 [BZ #369]
15181 [BZ #2678]
15182 [BZ #3866]
15183 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15184 x for large integer exponent.
15185 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15186 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15187 sign of result as needed afterwards.
15188 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15189 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15190 result for underflowing pow the same as for overflow.
15191 (__kernel_standard_l): Handle powl overflow and underflow here
15192 rather than calling __kernel_standard.
15193 * math/libm-test.inc (pow_test): Add more tests.
15194
414fca03 15195 [BZ #3868]
41bf21a1
JM
15196 [BZ #13879]
15197 [BZ #13910]
15198 [BZ #13911]
15199 [BZ #13912]
15200 [BZ #13913]
15201 [BZ #13915]
15202 [BZ #13916]
15203 [BZ #13917]
15204 [BZ #13918]
15205 [BZ #13919]
15206 [BZ #13920]
15207 [BZ #13921]
15208 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15209 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15210 (__kernel_standard_l): New function.
15211 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15212 __kernel_standard.
15213 * math/w_acosl.c (__acosl): Likewise.
15214 * math/w_asinl.c (__asinl): Likewise.
15215 * math/w_atan2l.c (__atan2l): Likewise.
15216 * math/w_atanhl.c (__atanhl): Likewise.
15217 * math/w_coshl.c (__coshl): Likewise.
15218 * math/w_exp10l.c (__exp10l): Likewise.
15219 * math/w_exp2l.c (__exp2l): Likewise.
15220 * math/w_fmodl.c (__fmodl): Likewise.
15221 * math/w_hypotl.c (__hypotl): Likewise.
15222 * math/w_j0l.c (__j0l, __y0l): Likewise.
15223 * math/w_j1l.c (__j1l, __y1l): Likewise.
15224 * math/w_jnl.c (__jnl, __ynl): Likewise.
15225 * math/w_lgammal.c (__lgammal): Likewise.
15226 * math/w_log10l.c (__log10l): Likewise.
15227 * math/w_log2l.c (__log2l): Likewise.
15228 * math/w_logl.c (__logl): Likewise.
15229 * math/w_powl.c (__powl): Likewise.
15230 * math/w_remainderl.c (__remainderl): Likewise.
15231 * math/w_scalbl.c (sysv_scalbl): Likewise.
15232 * math/w_sinhl.c (__sinhl): Likewise.
15233 * math/w_sqrtl.c (__sqrtl): Likewise.
15234 * math/w_tgammal.c (__tgammal): Likewise.
15235 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15236 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15237 * math/libm-test.inc (acos_test): Add more tests.
15238 (acosh_test): Likewise.
15239 (asin_test): Likewise.
15240 (atanh_test): Likewise.
15241 (exp_test): Likewise.
15242 (exp10_test): Likewise.
15243 (exp2_test): Likewise.
15244 (expm1_test): Likewise.
15245 (lgamma_test): Likewise.
15246 (log_test): Likewise.
15247 (log10_test): Likewise.
15248 (log1p_test): Likewise.
15249 (log2_test): Likewise.
15250 (pow_test): Do not allow some spurious overflow exceptions.
15251 (sqrt_test): Add more tests.
15252 (tgamma_test): Likewise.
15253 (y0_test): Likewise.
15254 (y1_test): Likewise.
15255 (yn_test): Likewise.
15256
dd62fda6
AB
152572012-03-27 Anton Blanchard <anton@samba.org>
15258
15259 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15260 MAP_HUGETLB.
15261 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15262 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15263 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15264
1e3cdfda
AJ
152652012-03-27 David S. Miller <davem@davemloft.net>
15266
b855ab85
DM
15267 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15268
1e3cdfda
AJ
15269 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15270 have-as-vis3 check.
15271
152722012-03-27 Andreas Jaeger <aj@suse.de>
15273
15274 * sysdeps/x86_64/elf/configure.in: Moved to ...
15275 * sysdeps/x86_64/configure.in: ... here.
15276 * sysdeps/x86_64/elf/start.S: Moved to ...
15277 * sysdeps/x86_64/start.S: ... here.
15278 * sysdeps/x86_64/elf/configure: Delete.
15279
15280 * sysdeps/x86_64/configure.in: Merge contents from
15281 sysdeps/i386/configure.in (without i686 check).
15282
15283 * sysdeps/i386/elf/Versions: Merge into ...
15284 * sysdeps/i386/Versions: ... this.
15285 * sysdeps/i386/elf/Versions: Delete file.
15286 * sysdeps/i386/elf/start.S: Moved to ...
15287 * sysdeps/i386/start.S: ...here.
15288 * sysdeps/i386/elf/configure.in: Merge into...
15289 * sysdeps/i386/configure.in: ...here.
15290 * sysdeps/i386/elf/configure.in: Delete file.
15291 * sysdeps/i386/elf/configure: Delete file.
15292
15293 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15294 * debug/backtracesyms.c: ... here.
15295 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15296 * debug/backtracesymsfd.c: ... here.
15297 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15298 * sysdeps/generic/ifunc-sel.h: ... here.
15299
15300 * sysdeps/unix/i386/start.c: Delete file.
15301 * sysdeps/unix/sparc/start.c: Delete file.
15302 * sysdeps/unix/start.c: Delete file.
15303
15304 * sysdeps/sh/elf/configure.in: Moved to ...
15305 * sysdeps/sh/configure.in: ... here.
15306 * sysdeps/sh/elf/start.S: Moved to ...
15307 * sysdeps/sh/start.S: ... here.
15308 * sysdeps/sh/elf/configure: Delete file.
15309
15310 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15311 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15312 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15313 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15314 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15315 * sysdeps/powerpc/powerpc64/start.S: here.
15316 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15317 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15318 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15319 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15320 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15321
15322 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15323 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15324 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15325 * sysdeps/powerpc/powerpc32/start.S: ... here.
15326 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15327 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15328 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15329
15330 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15331 * sysdeps/powerpc/ifunc-sel.h: ... here.
15332 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15333 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15334
15335 * sysdeps/sparc/elf/configure.in: Moved to ...
15336 * sysdeps/sparc/configure.in: ... here.
15337 * sysdeps/sparc/elf/configure: Delete file.
15338 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15339 * sysdeps/sparc/sparc32/start.S: ... here.
15340 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15341 * sysdeps/sparc/sparc64/start.S: ... here.
15342 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15343 * sysdeps/sparc/sparc32/Makefile: ... this.
15344 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15345 * sysdeps/sparc/sparc64/Makefile: ... this.
15346
15347 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15348 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15349 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15350 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15351 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15352 * sysdeps/s390/s390-32/setjmp.S: ... here.
15353 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15354 * sysdeps/s390/s390-32/configure.in: ... here.
15355 * sysdeps/s390/s390-32/elf/configure: Delete file.
15356 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15357 * sysdeps/s390/s390-32/start.S: ... here.
15358
15359 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15360 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15361 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15362 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15363 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15364 * sysdeps/s390/s390-64/setjmp.S: ... here.
15365 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15366 * sysdeps/s390/s390-64/configure.in: ... here
15367 * sysdeps/s390/s390-64/elf/configure: Delete file.
15368 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15369 * sysdeps/s390/s390-64/start.S: ... here.
15370 * sysdeps/s390/s390-64/elf/configure: Delete.
15371
15372 * configure.in: Remove support for elf directories in sysdeps.
15373
15374 * configure: Regenerated.
15375 * sysdeps/i386/configure: Regenerated.
15376 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15377 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15378 * sysdeps/s390/s390-32/configure: Regenerated.
15379 * sysdeps/s390/s390-64/configure: Regenerated.
15380 * sysdeps/sh/configure: Regenerated.
15381 * sysdeps/sparc/configure: Regenerated.
15382 * sysdeps/x86_64/configure: Regenerated.
15383
a3f61311
AS
153842012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15385
c876e002
AS
15386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15387
a3f61311
AS
15388 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15389 denormal result into account.
15390
ac4c54f0
RM
153912012-03-25 Roland McGrath <roland@hack.frob.com>
15392
15393 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15394 Reported by Allan McRae <allan@archlinux.org>.
15395
6a9b9c02
JL
153962012-03-23 Jeff Law <law@redhat.com>
15397
15398 * nss/getnssent.c (__nss_getent): Fix typo.
15399
4c42a0c1
DM
154002012-03-23 David S. Miller <davem@davemloft.net>
15401
15402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15403
1532c7ac
L
154042012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15405
15406 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15407 to pad to uint64_t for each field.
15408 (dl_tls_index): Replace unsigned long with uint64_t.
15409
3ff42526
PP
154102012-03-23 Daniel Jacobowitz <dmj@google.com>
15411 Paul Pluzhnikov <ppluzhnikov@google.com>
15412
15413 [BZ #6528]
15414 * grp/Makefile (otherlibs): Don't set it.
15415 * inet/Makefile (otherlibs): Likewise.
15416 * login/Makefile (otherlibs): Likewise.
15417 * nscd/Makefile (otherlibs): Likewise.
15418 * posix/Makefile (otherlibs): Likewise.
15419 * pwd/Makefile (otherlibs): Likewise.
15420 * rt/Makefile (otherlibs): Likewise.
15421 * sunrpc/Makefile (otherlibs): Likewise.
15422 * nss/Makefile (otherlibs): Likewise.
15423 Add libnss_files to routines and static-only-routines.
15424 ($(objpfx)getent): Remove rule.
15425 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15426 static-only-routines.
15427
7c69cd14
JM
154282012-03-22 Joseph Myers <joseph@codesourcery.com>
15429
15430 [BZ #13892]
15431 * math/s_cexp.c: Include <float.h>.
15432 (__cexp): Handle exp result overflowing not necessarily
15433 overflowing both real and imaginary parts of result.
15434 * math/s_cexpf.c: Likewise.
15435 * math/s_cexpl.c: Likewise.
15436 * math/libm-test.inc (cexp_test): Add more tests.
15437 * sysdeps/i386/fpu/libm-test-ulps: Update.
15438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15439
81b035fe
L
154402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15441
15442 * include/link.h (ELFW): New macro.
15443 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15444 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15445
1da7940c
L
154462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15447
15448 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15449 with uint64_t.
15450
b749dbb9
L
154512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15452
15453 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15454 declaration.
15455 (struct La_x32_retval): Likewise.
15456
2ff87f3f
L
154572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15458
15459 * sysdeps/x86_64/preconfigure.in: New file.
15460 * sysdeps/x86_64/preconfigure: New generated file.
15461
c0df8e69
JM
154622012-03-22 Joseph Myers <joseph@codesourcery.com>
15463
48e44791
JM
15464 [BZ #13824]
15465 * math/e_exp2l.c: Include <float.h>.
15466 (__ieee754_exp2l): Handle overflow and underflow cases
15467 separately. Only pass fractional part of argument to
15468 __ieee754_expl.
15469 * math/libm-test.inc (exp2_test): Add more tests.
15470
c0df8e69
JM
15471 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15472 negating x to take absolute value.
15473 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15474 Likewise.
15475 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15476 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15477 Likewise.
15478 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15479 computing low part if x was negated.
15480 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15481
c8e43ba7
L
154822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15483
15484 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15485 la_x32_gnu_pltexit.
15486 (pltexit): Cast int_retval to ptrdiff_t.
15487 * elf/tst-auditmod3b.c: Likewise.
15488 * elf/tst-auditmod4b.c: Likewise.
15489 * elf/tst-auditmod5b.c: Likewise.
15490 * elf/tst-auditmod6b.c: Likewise.
15491 * elf/tst-auditmod6c.c: Likewise.
15492 * elf/tst-auditmod7b.c: Likewise.
15493
15494 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15495 and x32_gnu_pltexit.
15496
15497 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15498 __ELF_NATIVE_CLASS.
15499 (La_x32_regs): New macro.
15500 (La_x32_retval): Likewise.
15501 (la_x32_gnu_pltenter): New function prototype.
15502 (la_x32_gnu_pltexit): Likewise.
15503
7998fa78
AS
155042012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15505
dcb33988
AS
15506 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15507 exponent.
15508
233fc563
AS
15509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15510
7998fa78
AS
15511 * configure.in (libc_cv_cc_nofma): Check for option to disable
15512 generation of FMA instructions.
15513 * configure: Regenerate.
15514 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15515 * sysdeps/ieee754/dbl-64/Makefile: New file.
15516 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15517 Remove brandred-fma4.
15518 (CFLAGS-brandred-fma4.c): Remove.
15519 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15520 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15521 define.
15522 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15523 define.
15524
8e95c99a
L
155252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15526
15527 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15528 LLONG_MAX != LONG_MAX.
15529 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15530 (_fitoa_word): Likewise.
15531 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15532 LLONG_MAX != LONG_MAX.
15533 * stdio-common/_itowa.h: Include <_itoa.h>.
15534 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15535 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15536 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15537 only if not defined.
15538 (_ITOA_WORD_TYPE): Likewise.
15539 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15540 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15541
6f4db457
DM
155422012-03-21 David S. Miller <davem@davemloft.net>
15543
15544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15545
7785fe5a
L
155462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15547
15548 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15549 of x86_64 when setting libc_cv_slibdir, libdir and
15550 libc_cv_localedir.
15551 * sysdeps/unix/sysv/linux/configure: Regenerated.
15552
4535cd55
JM
155532012-03-21 Joseph Myers <joseph@codesourcery.com>
15554
15555 * manual/lang.texi (Old Varargs): Remove section.
15556 (How Variadic): Update menu.
15557 (va_start): Do not mention varargs.h.
15558
17228132
TS
155592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15560 Joseph Myers <joseph@codesourcery.com>
15561
15562 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15563 link test.
15564 * configure: Regenerated.
15565
8149f976
TS
155662012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15567
05f3d1f6
UD
15568 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15569 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15570 conformtest.pl
8149f976 15571
1a4ac776
JM
155722012-03-21 Joseph Myers <joseph@codesourcery.com>
15573
be22ce65
JM
15574 * NOTES: Remove.
15575 * Makefile (files-for-dist): Remove NOTES.
15576 (NOTES): Remove rule.
15577 * README: Don't refer to NOTES.
15578 * manual/creature.texi: Don't include macros.texi.
15579 * manual/intro.texi (creature.texi): Remove comment referring to
15580 NOTES.
15581
40b601fb
JM
15582 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15583 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15584 * configure: Regenerated.
15585 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15586 LIBC_TRY_CC_OPTION.
15587 (libc_cv_as_i686): Likewise.
15588 (libc_cv_cc_avx): Likewise.
15589 (libc_cv_cc_sse2avx): Likewise.
15590 (libc_cv_cc_fma4): Likewise.
15591 (libc_cv_cc_novzeroupper): Likewise.
15592 * sysdeps/i386/configure: Regenerated.
15593
1a4ac776
JM
15594 [BZ #13883]
15595 * sysdeps/i386/fpu/s_cexp.S: Remove.
15596 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15597 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15598 * math/libm-test.inc (cexp_test): Add more tests.
15599 * sysdeps/i386/fpu/libm-test-ulps: Update.
15600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15601
a458e7fe
AM
156022012-03-21 Allan McRae <allan@archlinux.org>
15603
15604 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15605
0cb7efc5
JM
156062012-03-21 Joseph Myers <joseph@codesourcery.com>
15607
15608 [BZ #13871]
15609 * math/w_exp2.c: Do not include <float.h>.
15610 (o_threshold, u_threshold): Remove.
15611 (__exp2): Calculate result before checking finiteness and calling
15612 __kernel_standard.
15613 * math/w_exp2f.c: Likewise.
15614 * math/w_exp2l.c: Likewise.
15615 * math/libm-test.inc (exp2_test): Require overflow exception for
15616 1e6 input.
2460d3aa
JM
15617
15618 [BZ #3866]
15619 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15620 range of signed 64-bit integers before using fistpll. Remove
15621 checks for whether integers fit in mantissa bits.
15622 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15623 the range of signed 32-bit integers before using fistpl. Remove
15624 checks for whether integers fit in mantissa bits.
15625 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15626 (__ieee754_powl): Test for y outside the range of signed 64-bit
15627 integers before using fistpll. Reduce 64-bit values to 63-bit
15628 ones as needed.
15629 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15630 divide-by-zero is raised for zero to large negative powers.
15631 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15632 (__ieee754_powl): Test for y outside the range of signed 64-bit
15633 integers before using fistpll. Reduce 64-bit values to 63-bit
15634 ones as needed.
15635 * math/libm-test.inc (pow_test): Add more tests.
15636
eb96ffb0
L
156372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15638
15639 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15640 <stdio-common/_itoa.h>.
15641 * debug/segfault.c: Likewise.
15642 * elf/dl-cache.c: Likewise.
15643 * elf/dl-minimal.c: Likewise.
15644 * elf/dl-misc.c: Likewise.
15645 * elf/dl-sysdep.c: Likewise.
15646 * elf/dl-version.c: Likewise.
15647 * elf/rtld.c: Likewise.
15648 * hurd/hurdsock.c: Likewise.
15649 * hurd/lookup-retry.c: Likewise.
15650 * malloc/malloc.c: Likewise.
15651 * malloc/mtrace.c: Likewise.
15652 * nscd/nscd_getgr_r.c: Likewise.
15653 * nscd/nscd_getpw_r.c: Likewise.
15654 * nscd/nscd_getserv_r.c: Likewise.
15655 * posix/getopt_init.c: Likewise.
15656 * posix/wordexp.c: Likewise.
15657 * stdio-common/_itoa.c: Likewise.
15658 * stdio-common/printf_fphex.c: Likewise.
15659 * stdio-common/vfprintf.c: Likewise.
15660 * string/_strerror.c: Likewise.
15661 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15662 * sysdeps/i386/i686/hp-timing.h: Likewise.
15663 * sysdeps/mach/_strerror.c: Likewise.
15664 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15665 * sysdeps/mach/hurd/sethostid.c: Likewise.
15666 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15667 * sysdeps/mach/xpg-strerror.c: Likewise.
15668 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15669 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15670 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15671 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15672 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15673 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15674 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15675 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15676 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15677 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15678 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15679 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15680 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15681 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15682 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15683 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15684 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15685 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15686 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15687 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15688 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15689
15690 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15691
15692 * stdio-common/_itoa.h: Moved to ...
15693 * sysdeps/generic/_itoa.h: Here.
15694
15695 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15696
15697 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15698 instead of "_itoa.h" and "_itowa.h".
15699 * stdio-common/vfprintf.: Likewise.
15700
d1af992d
L
157012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15702
15703 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15704 <bits/wordsize.h>.
15705 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15706 (__signbit): Likwise.
15707 (llrintf): Likwise.
15708 (llrint): Likwise.
15709
114883e0
L
157102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15711
15712 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15713 __WORDSIZE != 64.
15714
c135cc1b
JM
157152012-03-20 Joseph Myers <joseph@codesourcery.com>
15716
15717 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15718 OVERFLOW_EXCEPTION_OK.
15719 * math/libm-test.inc ("Philosophy"): Update comment about
15720 exception testing.
15721 (OVERFLOW_EXCEPTION): Define.
15722 (OVERFLOW_EXCEPTION_OK): Likewise.
15723 (INVALID_EXCEPTION_OK): Renumber.
15724 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15725 (IGNORE_ZERO_INF_SIGN): Likewise.
15726 (test_exceptions): Handle FE_OVERFLOW.
15727 (exp10_test): Expect overflow exceptions.
15728 (exp2_test): Likewise.
15729 (expm1_test): Likewise.
15730 (nextafter_test): Likewise.
15731 (pow_test): Likewise.
15732 (scalbn_test): Likewise.
15733 (scalbln_test): Likewise.
15734
95443d88
L
157352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15736
15737 * sysdeps/x86_64/bits/atomic.h
15738 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15739 64bit integer.
15740 (atomic_exchange_acq): Likewise.
15741 (__arch_exchange_and_add_body): Likewise.
15742 (__arch_add_body): Likewise.
15743 (atomic_add_negative): Likewise.
15744 (atomic_add_zero): Likewise.
15745
490df6c4
L
157462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15747
c2722551 15748 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15749 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15750
5e52b189
L
157512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15752
15753 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15754 Check __x86_64__ instead of __WORDSIZE.
15755
a9879d4c
L
157562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15757
15758 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15759
5df98260
DM
157602012-03-19 David S. Miller <davem@davemloft.net>
15761
e1497744
DM
15762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15763
5df98260
DM
15764 * sysdeps/sparc/fpu/fenv_private.h: New file.
15765 * sysdeps/sparc/fpu/math_private.h: Use it.
15766 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15767 Remove.
15768 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15769 (libc_feholdexcept_setroundl): Remove.
15770 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15771 Remove.
15772 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15773 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15774
b4c35121
L
157752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15776
15777 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15778 int64_t instead of long int.
15779 (INSERT_WORDS64): Likwise.
15780
56965fd7
L
157812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15782
15783 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15784 _Unwind_GetCFA return to _Unwind_Ptr first.
15785
83d1aec8
JM
157862012-03-19 Joseph Myers <joseph@codesourcery.com>
15787
1897ad44
JM
15788 [BZ #13629]
15789 * math/s_clog.c: Include <float.h>.
15790 (__clog): Scale large or subnormal inputs.
15791 * math/s_clogf.c: Likewise.
15792 * math/s_clogl.c: Likewise.
15793 * math/s_clog10.c: Include <float.h>.
15794 (M_LOG10_2): Define.
15795 (__clog10): Scale large or subnormal inputs.
15796 * math/s_clog10f.c: Likewise.
15797 * math/s_clog10l.c: Likewise.
15798 * math/libm-test.inc (clog_test): Add more tests.
15799 (clog10_test): Likewise.
15800 * sysdeps/i386/fpu/libm-test-ulps: Update.
15801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15802
7726d6a9
JM
15803 [BZ #11451]
15804 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15805 x and y.
15806 * math/libm-test.inc (atan2_test): Add another test.
15807
83d1aec8
JM
15808 * Makerules (common-objdir-compile): Remove.
15809 * sysdeps/unix/Makefile (config-generated): Do not add
15810 $(unix-generated) to variable.
15811 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15812 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15813 Remove rule.
15814 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15815 Likewise.
15816 [generic bits/local_lim.h] (before-compile): Do not append to
15817 variable.
15818 [generic bits/local_lim.h] (common-generated): Likewise.
15819 [generic sys/param.h] (before-compile): Do not append to variable.
15820 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15821 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15822 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15823 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15824 include.
15825 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15826 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15827 [generic sys/param.h] ($(addprefix
15828 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15829 [generic sys/param.h] (common-generated): Do not append to
15830 variable.
15831 [generic sys/param.h] (sysdep_headers): Likewise.
15832 [generic bits/errno.h] (before-compile): Do not append to
15833 variable.
15834 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15835 rule.
15836 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15837 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15838 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15839 [generic bits/errno.h] (common-generated): Do not append to
15840 variable.
15841 [generic bits/ioctls.h] (before-compile): Do not append to
15842 variable.
15843 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15844 rule.
15845 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15846 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15847 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15848 rule.
15849 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15850 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15851 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15852 [generic bits/ioctls.h] (common-generated): Do not append to
15853 variable.
15854 [generic sys/syscall.h] (syscall.h): Remove variable.
15855 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15856 rule.
15857 [generic sys/syscall.h] (before-compile): Do not append to
15858 variable.
15859 [generic sys/syscall.h] (common-generated): Likewise.
15860 * sysdeps/unix/errnos-tmpl.c: Remove file.
15861 * sysdeps/unix/errnos.awk: Likewise.
15862 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15863 * sysdeps/unix/ioctls.awk: Likewise.
15864 * sysdeps/unix/mk-local_lim.c: Likewise.
15865 * sysdeps/unix/snarf-ioctls: Likewise.
15866
4851a949
RH
158672012-03-19 Richard Henderson <rth@twiddle.net>
15868
bd37f2ee
RH
15869 * sysdeps/i386/fpu/fenv_private.h: New file.
15870 * sysdeps/i386/fpu/math_private.h: Use it.
15871 (math_opt_barrier, math_force_eval): Remove.
15872 (libc_feholdexcept_setround_53bit): Remove.
15873 (libc_feupdateenv_53bit): Remove.
15874 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15875 (math_opt_barrier, math_force_eval): Remove.
15876 (libc_feholdexcept): Remove.
15877 (libc_feholdexcept_setround): Remove.
15878 (libc_fetestexcept, libc_fesetenv): Remove.
15879 (libc_feupdateenv_test): Remove.
15880 (libc_feupdateenv, libc_feholdsetround): Remove.
15881 (libc_feresetround): Remove.
15882
d0adc922
RH
15883 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15884 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15885
0fe0f1f8
RH
15886 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15887 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15888 (libc_feupdateenv_testl): New.
15889 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15890 (libc_feupdateenv_testf): New.
15891 (libc_feupdateenv): Use libc_feupdateenv_test.
15892 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15893 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15894
eb92c487
RH
15895 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15896 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15897 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15898 (libc_feresetround_noex): New.
15899 (libc_feresetround_noexf): New.
15900 (libc_feresetround_noexl): New.
15901 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15902 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15903 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15904 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15905 SET_RESTORE_ROUND.
15906 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15907 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15908 (__cos): Likewise.
15909 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15910 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15911 SET_RESTORE_ROUND_NOEX.
15912 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15913 SET_RESTORE_ROUND_NOEXF.
15914 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15915 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15916 (libc_feholdsetroundf): New.
15917 (libc_feresetround, libc_feresetroundf): New.
15918
7d2e8012
RH
15919 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15920 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15921 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15922
b4dabbb4
RH
15923 * sysdeps/generic/math_private.h: Include <fenv.h>.
15924 (default_libc_feholdexcept): New.
15925 (default_libc_feholdexcept_setround): New.
15926 (default_libc_fesetenv, default_libc_feupdateenv): New.
15927 (libc_feholdexcept): Only define if undefined.
15928 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15929 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15930 (libc_feholdexcept_setroundl): Likewise.
15931 (libc_feholdexcept_setround_53bit): Likewise.
15932 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15933 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15934 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15935 (libc_feupdateenv_53bit): Likewise.
15936 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15937 (libc_feholdexcept): Convert from macro to inline function.
15938 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15939 (libc_fesetenv, libc_feupdateenv): Likewise.
15940
4851a949
RH
15941 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15942 not previously defined.
15943 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15944 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15945 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15946 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15947 * sysdeps/ieee754/flt-32/math_private.h: New file.
15948 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15949 math_private.h below SET_FLOAT_WORD.
15950 (__isnan, __isinf_ns, __finite): Remove.
15951 (__isnanf, __isinf_nsf, __finitef): Remove.
15952
e79d442e
AS
159532012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15954
15955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15956
90b80344
DM
159572012-03-17 David S. Miller <davem@davemloft.net>
15958
15959 [BZ #6471]
15960 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15961 for 2.16.
15962
edc21804
DM
159632012-03-16 David S. Miller <davem@davemloft.net>
15964
77e927af
DM
15965 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15966 warnings.
15967
374976dd
DM
15968 [BZ #6471]
15969 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15970 properly.
15971 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15972 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15973 sysdep_routines when subdir is sysvipc.
15974 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15975 __getshmlba helper.
15976
edc21804
DM
15977 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15978
473c3ef3
L
159792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15980
15981 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15982 [__LP64__].
15983
eb0f39b6
L
159842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15985
15986 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15987 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15988 (__lround): Renamed to ...
15989 (__llround): This. Replace long int with long long int.
15990 Define lround functions as aliases of llround functions.
15991 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15992
6b6cd74b
L
159932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15994
15995 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15996 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15997 adresses to uintptr_t. Replace "long int" and "unsigned long
15998 int" with "greg_t" on va_arg.
15999
f1a77b01
L
160002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16001
16002 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16003 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16004
16005 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16006 Move e_machine check before EI_CLASS check. Handle x32
16007 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16008 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16009 SKIP_EM_IA_64 and include
16010 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16011
16012 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16013 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16014 (add_system_dir): New macro.
16015
16016 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16017 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16018
11b90b9f
JM
160192012-03-16 Joseph Myers <joseph@codesourcery.com>
16020
c36e1d23
JM
16021 [BZ #2551]
16022 [BZ #2552]
16023 [BZ #2553]
16024 [BZ #2554]
16025 [BZ #2562]
16026 [BZ #2563]
16027 [BZ #2565]
16028 [BZ #2566]
16029 [BZ #2576]
16030 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16031 (y0): Likewise.
16032 * math/w_j0f.c (j0f): Likewise.
16033 (y0f): Likewise.
16034 * math/w_j0l.c (__j0l): Likewise.
16035 (__y0l): Likewise.
16036 * math/w_j1.c (j1): Likewise.
16037 (y1): Likewise.
16038 * math/w_j1f.c (j1f): Likewise.
16039 (y1f): Likewise.
16040 * math/w_j1l.c (__j1l): Likewise.
16041 (__y1l): Likewise.
16042 * math/w_jn.c (jn): Likewise.
16043 (yn): Likewise.
16044 * math/w_jnf.c (jnf): Likewise.
16045 (ynf): Likewise.
16046 * math/w_jnl.c (__jnl): Likewise.
16047 (__ynl): Likewise.
16048 * math/libm-test.inc (j0_test): Add more tests.
16049 (j1_test): Likewise.
16050 (jn_test): Likewise. Add trailing semicolon to existing test.
16051 (y0_test): Likewise.
16052 (y1_test): Likewise.
16053 * sysdeps/i386/fpu/libm-test-ulps: Update.
16054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16055
11b90b9f
JM
16056 [BZ #13851]
16057 [BZ #13854]
16058 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16059 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16060 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16061 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16062 (__tanl): Set errno for infinite argument.
16063 * sysdeps/i386/fpu/mptan.c: Remove.
16064 * sysdeps/i386/fpu/s_tan.S: Likewise.
16065 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16066 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16067 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16068 * math/libm-test.inc (tan_test): Add more tests and enable more
16069 tests for double and long double.
16070 * sysdeps/i386/fpu/libm-test-ulps: Update.
16071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16072
6a1bd2a1
JK
160732012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16074
16075 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16076 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16077
10a803e0
RM
160782012-03-16 Roland McGrath <roland@hack.frob.com>
16079
16080 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16081 * configure.in: Use it for both main tree and add-ons.
16082 * configure: Regenerated.
16083
f196c7f7
L
160842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16085
16086 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16087
8848d99d
JM
160882012-03-16 Joseph Myers <joseph@codesourcery.com>
16089
96cbe7f4
JM
16090 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16091 in comment.
16092
8848d99d
JM
16093 [BZ #13851]
16094 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16095 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16096 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16097 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16098 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16099 infinite argument.
16100 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16101 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16102 != 0 for prec == 2.
16103 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16104 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16105 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16106 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16107 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16108 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16109 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16110 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16111 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16112 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16113 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16114 * math/libm-test.inc (cos_test): Add more tests and enable more
16115 tests for long double.
16116 (sin_test): Likewise.
16117 (sincos_test): Likewise.
16118 * sysdeps/i386/fpu/libm-test-ulps: Update.
16119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16120
dd7f4703
DM
161212012-03-16 David S. Miller <davem@davemloft.net>
16122
16123 * sysdeps/sparc/fpu/math_private.h: New file.
16124
006f1daa
DM
161252012-03-15 David S. Miller <davem@davemloft.net>
16126
c0c83bc8
DM
16127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16128 file.
e6a62e18 16129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16131 file.
e6a62e18
DM
16132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16137 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16138 sysdep routines.
16139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16140
88cb87d9
DM
16141 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16142 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16143
006f1daa 16144 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16146 sparc-ifunc.h
006f1daa 16147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16149 Likewise.
16150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16151 Likewise.
006f1daa
DM
16152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16156 Likewise.
006f1daa
DM
16157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16162 Likewise.
16163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16164 Likewise.
006f1daa
DM
16165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16169 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16171 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16172 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16183 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16184 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16185 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16186 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16187 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16188 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16189
11e0098e
AS
161902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16191
16192 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16193 scaling.
16194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16195
e85b09d0
AJ
161962012-03-15 Andreas Jaeger <aj@suse.de>
16197
16198 [BZ #13852]
16199 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16200 ieee754/flt-32 implementation for sin, cos and sincos.
16201 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16202 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16203 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16204 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16205 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16206 ieee754/flt-32 implementation for tan.
16207
16208 * math/libm-test.inc (cos_test): Enable some large input tests for
16209 float as well
16210 (sin_test): Likewise.
16211 (sincos_test): Likewise.
16212 (tan_test): Add tests for large input.
16213
16214 * sysdeps/i386/fpu/libm-test-ulps: Update.
16215
81c64153
AJ
162162012-03-15 Andreas Jaeger <aj@suse.de>
16217
16218 [BZ #13658]
16219 * math/libm-test.inc (cos_test): Add more test cases.
16220 (sin_test): Likewise.
16221 (sincos_test): Likewise.
16222
7bbfa5c6
AJ
162232012-03-15 Andreas Jaeger <aj@suse.de>
16224
16225 [BZ #13837]
16226 * math/libm-test.inc (cos_test): Add a test case for large input
16227 value.
16228 (sin_test): Likewise.
16229 (sincos_test): Likewise.
16230
162312012-03-15 Andreas Jaeger <aj@suse.de>,
16232 Joseph Myers <joseph@codesourcery.com>
16233
16234 [BZ #13658]
0671f479 16235 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16236 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16237 * sysdeps/i386/fpu/branred.c: Likewise.
16238 * sysdeps/i386/fpu/dosincos.c: Likewise.
16239 * sysdeps/i386/fpu/mpa.c: Likewise.
16240 * sysdeps/i386/fpu/s_cos.S: Likewise.
16241 * sysdeps/i386/fpu/s_sin.S: Likewise.
16242 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16243 * sysdeps/i386/fpu/sincos32.c: Likewise.
16244
16245 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16246 Define.
16247 (libc_feupdateenv_53bit): Define.
16248 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16249 Define.
16250 (libc_feupdateenv_53bit): Define.
16251
16252 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16253 53 bit (without extend i386 double precision).
16254
16255 * math/libm-test.inc (sincos_test): Add tests for large input.
16256 (sin): Likewise.
16257 (cos): Likewise.
16258
16259 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16260
9cad04ea
AS
162612012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16262
16263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16264
f7062b9a
DM
162652012-03-15 David S. Miller <davem@davemloft.net>
16266
16267 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16268 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16269 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16270 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16283 file.
f7062b9a 16284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16286 file.
f7062b9a 16287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16289 file.
f7062b9a 16290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16292 file.
f7062b9a
DM
16293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16294 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16295 fmin/fmax sysdep routines.
16296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16297
7bd951ff
DM
162982012-03-14 David S. Miller <davem@davemloft.net>
16299
559398ab
DM
16300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16302 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16303 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16304 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16305 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16306 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16307 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16320 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16321 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16322 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16323 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16324 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16325 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16329 routines.
16330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16331 file.
559398ab 16332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
16333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16334 file.
559398ab 16335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
16336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16337 file.
559398ab 16338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
16339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16340 file.
559398ab 16341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
16342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16343 file.
559398ab 16344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
16345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16346 file.
16347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16348 file.
16349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16350 file.
16351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16352 file.
16353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16354 New file.
16355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16356 file.
16357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16358 file.
559398ab 16359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
16360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16361 file.
559398ab 16362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16364 file.
559398ab 16365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
16366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16367 file.
559398ab 16368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
16369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16370 VIS3 routines.
559398ab
DM
16371
16372 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16373 New file.
16374
5a1c1e32
DM
16375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16376
eae47a36
DM
16377 * sysdeps/sparc/configure.in: New file.
16378 * sysdeps/sparc/configure: Generate.
16379 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16380 * configure: Regenerate.
16381 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16382 * config.make.in (have-as-vis3): New.
16383 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16384 available use -Av9d instead of -Av9a.
16385 * sysdeps/sparc/sparc64/Makefile: Likewise.
16386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
16387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16388 New file.
16389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16390 file.
16391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16392 New file.
16393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16394 file.
eae47a36
DM
16395 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16396 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16398 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16399 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16400
c0c83bc8
DM
16401 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16402 fzeros/fnegs to load 0x80000000 into a float register instead of
16403 using the stack.
7bd951ff
DM
16404 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16405
bd951ccb
JM
164062012-03-14 Joseph Myers <joseph@codesourcery.com>
16407
16408 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16409 bits/syscall.h.
16410 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16411 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16412 ($(inst_includedir)/bits/syscall.h): Remove rule.
16413 ($(objpfx)bits/syscall.d): Include instead of
16414 $(objpfx)syscall-list.d.
16415 (generated): Change syscall-list.h and syscall-list.d to
16416 bits/syscall.h and bits/syscall.d.
16417
bb4e6db2
RM
164182012-03-14 Roland McGrath <roland@hack.frob.com>
16419
16420 [BZ #13846]
16421 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16422
aa4a2ae1
JM
164232012-03-14 Joseph Myers <joseph@codesourcery.com>
16424
e456826d
JM
16425 [BZ #13841]
16426 * math/s_csqrt.c: Include <float.h>.
16427 (__csqrt): Scale large or subnormal inputs.
16428 * math/s_csqrtf.c: Likewise.
16429 * math/s_csqrtl.c: Likewise.
16430 * math/libm-test.inc (csqrt_test): Add more tests.
16431 * sysdeps/i386/fpu/libm-test-ulps: Update.
16432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16433
aa4a2ae1
JM
16434 [BZ #13840]
16435 * math/libm-test.inc (hypot_test): Add more tests.
16436
7c10fd35
DM
164372012-03-13 David S. Miller <davem@davemloft.net>
16438
16439 [BZ #13840]
16440 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16441 double-precision for the calculation instead of scaling.
16442
f453b98b
JM
164432012-03-13 Joseph Myers <joseph@codesourcery.com>
16444
16445 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16446 manipulate bits before adding and subtracting TWO52[sx].
16447 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16448 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16449 Likewise.
16450 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16451
09a3453f
DM
164522012-03-13 David S. Miller <davem@davemloft.net>
16453
8e59da90
DM
16454 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16455 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16456 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16457 rtld-global-offsets.h
16458 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16459
2a8ab7f2
DM
16460 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16461 large parameters.
16462
10f62770
DM
16463 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16464
5f0bdb18
DM
16465 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16466 'err' in the ifdef scope in which it is actually used.
16467
09a3453f
DM
16468 * nss/nss_db/db-init.c: Include string.h
16469
b4b2eb5e
DM
164702012-03-12 David S. Miller <davem@davemloft.net>
16471
98bb2f1c
DM
16472 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16473 masking out of the most significant byte of random value used.
16474 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16475 Fix coding style in previous change.
16476
b4b2eb5e
DM
16477 * sysdeps/unix/sysv/linux/kernel-features.h
16478 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16479 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16480 expression.
16481 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16482 later.
16483
6e226b09
DM
164842012-03-11 David S. Miller <davem@davemloft.net>
16485
a1bcbd40
DM
16486 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16487 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16488 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16489 for 'resultvar' otherwise things get truncated on 64-bit.
16490
cb9d6174
DM
16491 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16492 Fix masking out of the most significant byte of random value used.
16493
6e226b09
DM
16494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16495
058c132d
AS
164962012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16497
16498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16499
2d2cd515
DM
165002012-03-09 David S. Miller <davem@davemloft.net>
16501
16502 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16503 variables with appropriate CPP guards.
16504 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16505 frame pointer, not the stack pointer. Correct layout comments. Fix test
16506 on resulting framesize and the management of the outregs buffer for pltexit.
16507 Preserve floating point return values across _dl_call_pltexit call.
16508 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16509 framesize and the management of the outregs buffer for pltexit.
16510 Preserve floating point return values across _dl_call_pltexit
16511 call.
16512 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16513 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16514 (print_exit): Fix format string for return register value.
16515
9a07f9d0
JM
165162012-03-10 Joseph Myers <joseph@codesourcery.com>
16517
16518 * sunrpc/Makefile (others): Add rpcgen.
16519 ($(objpfx)rpcgen): Remove special build rule and dependency on
16520 libc.
16521 * sunrpc/rpcgen.c: New file.
16522
547b5e30
PE
165232012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16524
c524201a
PE
16525 [BZ #13673]
16526 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16527 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16528 * sysdeps/i386/crti.S: Likewise.
16529 * sysdeps/i386/crtn.S: Likewise.
16530 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16531 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16532 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16533 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16534 * sysdeps/sh/crti.S: Likewise.
16535 * sysdeps/sh/crtn.S: Likewise.
16536 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16537
7b6235f2
PE
16538 [BZ #13673]
16539 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16540 with URL.
16541 * locale/programs/locfile-kw.gperf: Likewise.
16542 * locale/programs/charmap-kw.h: Regenerated.
16543 * locale/programs/locfile-kw.h: Likewise.
16544
547b5e30
PE
16545 [BZ #13673]
16546 * intl/plural.y: Replace FSF snail mail address with URL.
16547 * intl/plural.c: Regenerated.
16548
5f0a5dae
RH
165492012-03-09 Richard Henderson <rth@twiddle.net>
16550
16551 * include/math_private.h: Remove file.
16552 * math/math_private.h: Move file ...
16553 * sysdeps/generic/math_private.h: ... here.
16554
b8c03620
RH
16555 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16556 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16557 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16558
4e234f5d 16559 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
16560 and <math_private.h>.
16561 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16562 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16563 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16564 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16565 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16566 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16567 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16568 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16569 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16570 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16573 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16574 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16579 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16580 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16585 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16589 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16590 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16591 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16592 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16593 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16594 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16595 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16596 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16597 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16598 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16605 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16606 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16607 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16608 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16609 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16610 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16611 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16612 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16613 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16614 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16615 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16616 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16617 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16619 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16620 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16621 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16622 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16624 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16634 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16635 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16640 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16645 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16647 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16648 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16649 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16650 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16651 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16652 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16653 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16654 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16655 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16656 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16657 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16658 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16659 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16660 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16661 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16662 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16663 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16664 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16665 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16666 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16667 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16668 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16669 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16670 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16671 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16672 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16673 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16674 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16675 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16676 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16677 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16678 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16679 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16680 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16681 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16682 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16683 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16684 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16685 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16686 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16687 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16688 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16689 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16690 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16691 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16692 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16693 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16694 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16695 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16696 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16697 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16698 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16699 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16700 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16701 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16702 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16703 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16704 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16705 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16706 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16707 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16708 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16709 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16710 * sysdeps/ieee754/k_standard.c: Likewise.
16711 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16712 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16713 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16714 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16715 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16716 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16717 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16767 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16768 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16771 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16776 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16778 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16782 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16783 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16784 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16785 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16786 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16787 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16788 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16789 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16790 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16791 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16793 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16794 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16795 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16796 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16797 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16798 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16799 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16800 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16801 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16802 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16803 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16804 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16805 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16806 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16807 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16808 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16809 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16810 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16811 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16812 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16813 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16814 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16815 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16816 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16817 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16818 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16819 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16820 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16821 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16822 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16823 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16824 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16825 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16826 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16827 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16828 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16829 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16830 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16831 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16832 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16833 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16834 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16835 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16836 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16837 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16838 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16839 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16840 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16841 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16842 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16843 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16844 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16845 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16846 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16847 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16848 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16849 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16850 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16851 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16852 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16853 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16854 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16855 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16856 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16857 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16858 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16859 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16860 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16861 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16862 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16863 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16864 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16865 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16866 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16867 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16868 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16869 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16870 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16871 * sysdeps/ieee754/s_lib_version.c: Likewise.
16872 * sysdeps/ieee754/s_matherr.c: Likewise.
16873 * sysdeps/ieee754/s_signgam.c: Likewise.
16874 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16875 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16876 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16877 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16878 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16879 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16880 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16881 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16882 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16883 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16884 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16885 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16886 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16887 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16888 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16889 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16890 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16891 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16892 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16893 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16894 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16895
1991fa03
JM
168962012-03-09 Joseph Myers <joseph@codesourcery.com>
16897
16898 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16899 * sunrpc/rpc_main.c: Likewise.
16900 * sunrpc/rpc_svcout.c: Likewise.
16901
60d6f5a6
DM
169022012-03-09 David S. Miller <davem@davemloft.net>
16903
16904 * include/math_private.h: New file.
16905
4962050e
JM
169062012-03-09 Joseph Myers <joseph@codesourcery.com>
16907
02a6f887
JM
16908 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16909 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16910 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16911 from <bits/socket_type.h>.
16912 (enum __socket_type): Don't define here.
16913 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16914 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16915 bits/socket_type.h.
16916
c6e013c1
JM
16917 [BZ #13566]
16918 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16919 checking __USE_GNU.
16920
4962050e
JM
16921 * Makerules ($(inst_includedir)/%.h): New rule.
16922 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16923 (install-others): Remove variable setting.
16924 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16925
38842f45
RH
169262012-03-08 Richard Henderson <rth@twiddle.net>
16927
67bb6da6
RH
16928 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16929 from macro to inline function; merge with the
16930 !__LIBC_INTERNAL_MATH_INLINES version.
16931 (__ieee754_sqrtf): Likewise.
16932
15194b4b
RH
16933 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16934 to inline function.
16935 (__rintf, __floor, __floorf): Likewise.
16936
64e21ede
RH
16937 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16938 macro to inline function.
16939 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16940
38842f45
RH
16941 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16942 not <math/math_private.h>.
16943
c64bf5fe
DM
169442012-03-08 David S. Miller <davem@davemloft.net>
16945
16946 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16947 copyright year.
16948 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16949
82d86f28
TS
169502012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16951
16952 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16953 normalization.
16954 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16955 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16956
aea5d727
UD
169572012-03-08 Ulrich Drepper <drepper@gmail.com>
16958
16959 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16960 be defined individually, they must be defined as a block. Define
16961 S for printing a string instead of hidint the different by using a
16962 macro for adding the 'l'.
16963 * stdio-common/tst-fphex-wide.c: Adjust.
16964
70bca0a3
MP
169652012-03-07 Marek Polacek <polacek@redhat.com>
16966
16967 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16968
65b81130
MP
169692012-03-08 Marek Polacek <polacek@redhat.com>
16970
16971 [BZ #13806]
16972 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16973 * stdio-common/tst-fphex.c: Define a few macros to make the
16974 test reusable. Use them.
16975 * stdio-common/tst-fphex-wide.c: New file.
16976
07037eeb
JM
169772012-03-08 Joseph Myers <joseph@codesourcery.com>
16978
a7a93d50
JM
16979 [BZ #6911]
16980 * manual/macros.texi (gnusystems): New macro.
16981 (nongnusystems): Likewise.
16982 (gnulinuxhurdsystems): Likewise.
16983 (gnuhurdsystems): Likewise..
16984 (gnulinuxsystems): Likewise.
16985 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16986 variants of the GNU system, not "GNU system".
16987 * manual/conf.texi: Likewise.
16988 * manual/errno.texi: Likewise. Update example of errno macro
16989 expansion.
16990 * manual/filesys.texi: Likewise.
16991 (getumask): Document as specific to GNU/Hurd.
16992 * manual/install.texi: Likewise. Reword some references to
16993 GNU/Linux.
16994 * manual/intro.texi: Likewise.
16995 * manual/io.texi: Likewise.
16996 (File Name Portability): Detail which constraints are inapplicable
16997 to all GNU systems and which are only inapplicable to GNU/Hurd.
16998 * manual/job.texi: Likewise.
16999 * manual/llio.texi: Likewise.
17000 (O_NOCTTY): Document as present on GNU/Linux.
17001 * manual/maint.texi: Likewise.
17002 * manual/memory.texi: Likewise.
17003 * manual/pattern.texi: Likewise.
17004 * manual/pipe.texi: Likewise.
17005 * manual/process.texi: Likewise.
17006 * manual/resource.texi: Likewise.
17007 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17008 child on GNU/Hurd.
17009 * manual/setjmp.texi: Likewise.
17010 * manual/signal.texi: Likewise.
17011 * manual/startup.texi: Likewise.
17012 * manual/stdio.texi: Likewise.
17013 * manual/terminal.texi: Likewise.
17014 (ONLCR): Document as POSIX.
17015 (OXTABS): Document availability on GNU/Linux as XTABS.
17016 (ONOEOT): Document availability separately from other bits.
17017 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17018 * manual/time.texi: Likewise.
17019 * manual/users.texi: Likewise.
17020 * INSTALL: Regenerated.
17021 * sysdeps/gnu/errlist.c: Regenerated.
17022
07037eeb
JM
17023 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17024 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17025 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17026 puts.
17027 * configure: Regenerated.
17028
d1d3431a
JM
170292012-03-07 Joseph Myers <joseph@codesourcery.com>
17030
af6a1e37
JM
17031 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17032 default includes instead of AC_HEADER_CHECK.
17033 * sysdeps/i386/configure: Regenerated.
17034
d1d3431a
JM
17035 [BZ #10716]
17036 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17037 * math/s_cacoshf.c (__cacoshf): Likewise.
17038 * math/s_cacoshl.c (__cacoshl): Likewise.
17039 * math/s_casinh.c (__casinh): Set signs of result from argument.
17040 * math/s_casinhf.c (__casinhf): Likewise.
17041 * math/s_casinhl.c (__casinhl): Likewise.
17042 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17043 (casinh_test): Add more tests.
17044 * sysdeps/i386/fpu/libm-test-ulps: Update.
17045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17046
482ff4da
UD
170472012-03-07 Ulrich Drepper <drepper@gmail.com>
17048
872fda05
UD
17049 * po/zh_TW.po: Update from translation team.
17050
a4300c7a
UD
17051 * login/Makefile (distribute): Remove variable.
17052 * catgets/Makefile: Likewise.
17053 * mach/Makefile: Likewise.
17054 * malloc/Makefile: Likewise.
17055 * misc/Makefile: Likewise.
17056 * iconv/Makefile: Likewise.
17057 * nscd/Makefile: Likewise.
17058 * hurd/Makefile: Likewise.
17059 * manual/Makefile: Likewise.
17060 * locale/Makefile: Likewise.
17061 * intl/Makefile: Likewise.
17062 * conform/Makefile: Likewise.
17063 * nss/Makefile: Likewise.
17064 * time/Makefile: Likewise.
17065 * soft-fp/Makefile: Likewise.
17066 * dirent/Makefile: Likewise.
17067 * gmon/Makefile: Likewise.
17068 * po/Makefile: Likewise.
17069 * rt/Makefile: Likewise.
17070 * socket/Makefile: Likewise.
17071 * math/Makefile: Likewise.
17072 * signal/Makefile: Likewise.
17073 * debug/Makefile: Likewise.
17074 * elf/Makefile: Likewise.
17075 * timezone/Makefile: Likewise.
17076 * stdlib/Makefile: Likewise.
17077 * iconvdata/Makefile: Likewise.
17078 * sunrpc/Makefile: Likewise.
17079 * io/Makefile: Likewise.
17080 * argp/Makefile: Likewise.
17081 * inet/Makefile: Likewise.
17082 * hesiod/Makefile: Likewise.
17083 * grp/Makefile: Likewise.
17084 * csu/Makefile: Likewise.
17085 * wctype/Makefile: Likewise.
17086 * crypt/Makefile: Likewise.
17087 * libio/Makefile: Likewise.
17088 * string/Makefile: Likewise.
17089 * nis/Makefile: Likewise.
17090 * resolv/Makefile: Likewise.
17091 * stdio-common/Makefile: Likewise.
17092 * wcsmbs/Makefile: Likewise.
17093 * dlfcn/Makefile: Likewise.
17094 * posix/Makefile: Likewise.
17095
3b7c4e74 17096 [BZ #6959]
482ff4da
UD
17097 * timezone/Makefile: Don't install timezone files, just the programs
17098 and scripts.
17099
f72ed77d
UD
171002012-03-06 Ulrich Drepper <drepper@gmail.com>
17101
a000466f
UD
17102 * nss/databases.def: Add missing gshadow entry.
17103
f72ed77d
UD
17104 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17105
a53b7a4e
MP
171062012-03-06 Marek Polacek <polacek@redhat.com>
17107
17108 [BZ #13726]
17109 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17110 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17111 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17112 * stdio-common/tst-long-dbl-fphex.c: New file.
17113
e9258400
DM
171142012-03-06 David S. Miller <davem@davemloft.net>
17115
17116 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17117 (set_obp_int): New function.
17118 (get_obp_int): New function.
17119 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17120 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17121 Avoid unused variable warnings on 'val' and use builtin_expect.
17122 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17123 __builtin_expect.
e9258400
DM
17124 (INLINE_CLONE_SYSCALL): Likewise.
17125
3bd2c723
DM
171262012-03-05 David S. Miller <davem@davemloft.net>
17127
17128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17129
bbb78d03
AS
171302012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17131
884c5db4
AS
17132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17133
bbb78d03
AS
17134 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17135 only for |x| >= 40.
17136 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17137
1c9f702a 171382012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17139
17140 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17141 Replace gettimeofday with __vdso_gettimeofday.
17142
7be16f82
RM
17143 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17144 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17145 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17146
17147 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17148 time with __vdso_time.
17149
ed58a00f
JM
171502012-03-05 Joseph Myers <joseph@codesourcery.com>
17151
17152 * manual/lang.texi (size_t): Note types to which size_t may be
17153 equivalent with the GNU C Library, but do not describe when
17154 differences between them are significant.
17155
30ee4ced
AJ
171562012-03-05 Andreas Jaeger <aj@suse.de>
17157
17158 * sysdeps/i386/fpu/libm-test-ulps: Update.
17159
b7cd39e8
JM
171602012-03-05 Joseph Myers <joseph@codesourcery.com>
17161
17162 [BZ #3976]
17163 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17164 (__ieee754_pow): Save and restore rounding mode and use
17165 round-to-nearest for main computations.
17166 * math/libm-test.inc (pow_test_tonearest): New function.
17167 (pow_test_towardzero): Likewise.
17168 (pow_test_downward): Likewise.
17169 (pow_test_upward): Likewise.
17170 (main): Call the new functions.
17171 * sysdeps/i386/fpu/libm-test-ulps: Update.
17172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
17173
17174 [BZ #3976]
17175 * math/libm-test.inc (cosh_test_tonearest): New function.
17176 (cosh_test_towardzero): Likewise.
17177 (cosh_test_downward): Likewise.
17178 (cosh_test_upward): Likewise.
17179 (sinh_test_tonearest): Likewise.
17180 (sinh_test_towardzero): Likewise.
17181 (sinh_test_downward): Likewise.
17182 (sinh_test_upward): Likewise.
17183 (main): Call the new functions.
17184 * sysdeps/i386/fpu/libm-test-ulps: Update.
17185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17186
6c6a98c9
TV
171872012-03-05 Tom de Vries <tom@codesourcery.com>
17188
17189 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17190 default stack guard is set in last bytes.
17191 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17192
21bb2d2e 171932012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17194
21bb2d2e 17195 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17196
21bb2d2e
AJ
17197 [BZ #13656]
17198 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17199 possibly allocate from heap instead of stack.
17200 * stdio-common/bug-vfprintf-nargs.c: New file.
17201 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17202
c6922934
AS
172032012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17204
17205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17206
bc957d53
MP
172072012-03-03 Marek Polacek <polacek@redhat.com>
17208
17209 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17210 * math/math_private.h: Likewise.
17211 * stdlib/tst-strtod.c: Likewise.
17212 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17213 * sysdeps/x86_64/bits/atomic.h: Likewise.
17214
6358490d
DM
172152012-03-02 David S. Miller <davem@davemloft.net>
17216
17217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17221 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17222 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17223 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17224 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17225
01ae168d
RM
172262012-03-02 Roland McGrath <roland@hack.frob.com>
17227
d9a17c07
RM
17228 [BZ #13792]
17229 * manual/examples/README: New file, says the example source files
17230 can be used under GPL>=2.
17231 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17232 line containing just "*/".
17233 * manual/examples/add.c: Add copyright header (GPL>=2).
17234 * manual/examples/argp-ex1.c: Likewise.
17235 * manual/examples/argp-ex2.c: Likewise.
17236 * manual/examples/argp-ex3.c: Likewise.
17237 * manual/examples/argp-ex4.c: Likewise.
17238 * manual/examples/atexit.c: Likewise.
17239 * manual/examples/db.c: Likewise.
17240 * manual/examples/dir.c: Likewise.
17241 * manual/examples/dir2.c: Likewise.
17242 * manual/examples/execinfo.c: Likewise.
17243 * manual/examples/filecli.c: Likewise.
17244 * manual/examples/filesrv.c: Likewise.
17245 * manual/examples/fmtmsgexpl.c: Likewise.
17246 * manual/examples/genpass.c: Likewise.
17247 * manual/examples/inetcli.c: Likewise.
17248 * manual/examples/inetsrv.c: Likewise.
17249 * manual/examples/isockad.c: Likewise.
17250 * manual/examples/longopt.c: Likewise.
17251 * manual/examples/memopen.c: Likewise.
17252 * manual/examples/memstrm.c: Likewise.
17253 * manual/examples/mkfsock.c: Likewise.
17254 * manual/examples/mkisock.c: Likewise.
17255 * manual/examples/mygetpass.c: Likewise.
17256 * manual/examples/pipe.c: Likewise.
17257 * manual/examples/popen.c: Likewise.
17258 * manual/examples/rprintf.c: Likewise.
17259 * manual/examples/search.c: Likewise.
17260 * manual/examples/select.c: Likewise.
17261 * manual/examples/setjmp.c: Likewise.
17262 * manual/examples/sigh1.c: Likewise.
17263 * manual/examples/sigusr.c: Likewise.
17264 * manual/examples/stpcpy.c: Likewise.
17265 * manual/examples/strdupa.c: Likewise.
17266 * manual/examples/strftim.c: Likewise.
17267 * manual/examples/strncat.c: Likewise.
17268 * manual/examples/subopt.c: Likewise.
17269 * manual/examples/swapcontext.c: Likewise.
17270 * manual/examples/termios.c: Likewise.
17271 * manual/examples/testopt.c: Likewise.
17272 * manual/examples/testpass.c: Likewise.
17273 * manual/examples/timeval_subtract.c: Likewise.
17274
01ae168d
RM
17275 [BZ #13792]
17276 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17277 function to ...
17278 * manual/timeval_subtract.c.texi: ... here, new file.
17279
49efa33d
DM
172802012-03-02 David S. Miller <davem@davemloft.net>
17281
17282 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17283
28afd92d
JM
172842012-03-02 Joseph Myers <joseph@codesourcery.com>
17285
804360ed
JM
17286 [BZ #3976]
17287 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17288 (__sin): Save and restore rounding mode and use round-to-nearest
17289 for all computations.
17290 (__cos): Save and restore rounding mode and use round-to-nearest
17291 for all computations.
17292 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17293 <fenv.h>.
17294 (tan): Save and restore rounding mode and use round-to-nearest for
17295 all computations.
17296 * math/libm-test.inc (cos_test_tonearest): New function.
17297 (cos_test_towardzero): Likewise.
17298 (cos_test_downward): Likewise.
17299 (cos_test_upward): Likewise.
17300 (sin_test_tonearest): Likewise.
17301 (sin_test_towardzero): Likewise.
17302 (sin_test_downward): Likewise.
17303 (sin_test_upward): Likewise.
17304 (tan_test_tonearest): Likewise.
17305 (tan_test_towardzero): Likewise.
17306 (tan_test_downward): Likewise.
17307 (tan_test_upward): Likewise.
17308 (main): Call the new functions.
17309 * sysdeps/i386/fpu/libm-test-ulps: Update.
17310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17311
a6d06d7b
JM
17312 [BZ #10135]
17313 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17314 small n, then large n, before computing and testing k+n.
17315 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17317 Likewise.
17318 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17319 Likewise.
17320 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17321 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17322 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17323 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17324 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17325 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17326 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17327 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17328 * math/libm-test.inc (scalbn_test): Add more tests.
17329 (scalbln_test): Likewise.
17330
07e12bb3
JM
17331 * manual/filesys.texi (mode_t): Describe constraints on size and
17332 signedness, not exact equivalence to a particular type.
17333 (ino_t): Likewise.
17334 (ino64_t): Likewise.
17335 (dev_t): Likewise.
17336 (nlink_t): Likewise.
17337 (blkcnt_t): Likewise.
17338 (blkcnt64_t): Likewise.
17339 * manual/llio.texi (off_t): Likewise.
17340
28afd92d
JM
17341 [BZ #3976]
17342 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17343 (__ieee754_exp): Save and restore rounding mode and use
17344 round-to-nearest for all computations.
17345 * math/libm-test.inc (exp_test_tonearest): New function.
17346 (exp_test_towardzero): Likewise.
17347 (exp_test_downward): Likewise.
17348 (exp_test_upward): Likewise.
17349 (main): Call the new functions.
17350 * sysdeps/i386/fpu/libm-test-ulps: Update.
17351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17352
b1eeb65d
CD
173532012-03-01 Chris Demetriou <cgd@google.com>
17354
17355 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17356 have predictable order.
17357
53362a4b
DM
173582012-03-01 David S. Miller <davem@davemloft.net>
17359
3c969083
DM
17360 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17361
759707de
DM
17362 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17363 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17364 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17365 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17366
dfdb8ff2
DM
17367 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17368 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17369 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17371 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17372 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17373 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17374 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17375 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17376
ead89f96
DM
17377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17378
7f66bd07
DM
17379 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17380 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17381 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17382
53362a4b
DM
17383 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17384 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17385 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17386 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17387 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17388 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17389 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17390 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17391 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17392 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17393 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17394 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17395 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17396 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17397 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17398 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17399 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17400 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17401 * sysdeps/sparc/elf/configure: Regenerated.
17402
7b1902cb
JM
174032012-03-01 Joseph Myers <joseph@codesourcery.com>
17404
bec039bc
JM
17405 * configure.in (AS, LD): Require binutils 2.20 or later.
17406 * configure: Regenerated.
17407 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17408 as required minimum version.
17409 * INSTALL: Regenerated.
17410
7b1902cb
JM
17411 [BZ #2541]
17412 [BZ #4108]
17413 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17414 before squaring exponent.
17415 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17416 bottom long double and 27 bits of top long double before squaring
17417 exponent.
17418 * math/libm-test.inc (erfc_test): Add more tests.
17419 * sysdeps/i386/fpu/libm-test-ulps: Update.
17420 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17422
f775c276
KT
174232012-03-01 Kai Tietz <ktietz@redhat.com>
17424
17425 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17426 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17427 containing bit-fields.
17428 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17429 * soft-fp/single.h (_FP_UNION_S): Likewise.
17430 * soft-fp/double.h (_FP_UNION_D): Likewise.
17431
5b8a4d4a
JM
174322012-02-29 Joseph Myers <joseph@codesourcery.com>
17433
0bab47b6
JM
17434 [BZ #13786]
17435 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17436 not include ../strcmp.S.
17437 [USE_AS_STRNCASECMP_L]: Likewise.
17438 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17439 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17440 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17441 (__strncasecmp_l_ia32): Define as alias to
17442 __strncasecmp_l_nonascii.
17443
0fcad3e2
JM
17444 [BZ #5794]
17445 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17446 * sysdeps/i386/fpu/libm-test-ulps: Update.
17447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17448
5b8a4d4a
JM
17449 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17451
8fdceb2e
JL
174522012-02-29 Jeff Law <law@redhat.com>
17453
17454 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17455 out of bounds read.
17456
1f393a11
MP
174572012-02-29 Marek Polacek <polacek@redhat.com>
17458
17459 [BZ #13706]
17460 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17461 * elf/Makefile: Add rules to run tst-unused-dep.out.
17462
8847f037
DM
174632012-02-28 David S. Miller <davem@davemloft.net>
17464
17465 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17466 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17467 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17468 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17469 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17470 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17471
169d7f11
JM
174722012-02-29 Joseph Myers <joseph@codesourcery.com>
17473
17474 * math/libm-test.inc (llround_test): Move one test from
17475 lround_test. Use TEST_f_L in moved test.
17476 (lround_test): Move misplaced test to llround_test. Add testcase
17477 from bug 2561.
17478
39adf059
UD
174792012-02-28 Ulrich Drepper <drepper@gmail.com>
17480
17481 * sysdeps/x86_64/fpu/e_expf.S: New file.
17482 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17483
71b5d1c5
SB
174842012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17485
17486 [BZ #13637]
17487 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17488 of remain_len that may cause incomplete multi-byte character and
17489 false match.
17490 * posix/bug-regex33.c: New file.
17491 * posix/Makefile (tests): Add bug-regex33.
17492
1f77f049
JM
174932012-02-28 Joseph Myers <joseph@codesourcery.com>
17494
17495 * manual/macros.texi: New file.
17496 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17497 * manual/libc.texinfo: Include macros.texi.
17498 * manual/creatute.texi: Likewise.
17499 * manual/install.texi: Likewise.
17500 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17501 @glibcadj{} in references to the GNU C Library.
17502 * manual/charset.texi: Likewise.
17503 * manual/conf.texi: Likewise.
17504 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17505 when not using those macros.
17506 * manual/creature.texi: Likewise.
17507 * manual/crypt.texi: Likewise.
17508 * manual/errno.texi: Likewise.
17509 * manual/filesys.texi: Likewise.
17510 * manual/header.texi: Likewise.
17511 * manual/install.texi: Likewise.
17512 * manual/intro.texi: Likewise.
17513 * manual/io.texi: Likewise.
17514 * manual/job.texi: Likewise.
17515 * manual/lang.texi: Likewise.
17516 * manual/libc.texiinfo: Likewise.
17517 * manual/llio.texi: Likewise.
17518 * manual/locale.texi: Likewise.
17519 * manual/maint.texi: Likewise.
17520 * manual/math.texi: Likewise.
17521 * manual/memory.texi: Likewise.
17522 * manual/message.texi: Likewise.
17523 * manual/nss.texi: Likewise.
17524 * manual/pattern.texi: Likewise.
17525 * manual/process.texi: Likewise.
17526 * manual/resource.texi: Likewise.
17527 * manual/search.texi: Likewise.
17528 * manual/setjmp.texi: Likewise.
17529 * manual/signal.texi: Likewise.
17530 * manual/socket.texi: Likewise.
17531 * manual/startup.texi: Likewise.
17532 * manual/stdio.texi: Likewise.
17533 * manual/string.texi: Likewise.
17534 * manual/sysinfo.texi: Likewise.
17535 * manual/syslog.texi: Likewise.
17536 * manual/terminal.texi: Likewise.
17537 * manual/time.texi: Likewise.
17538 * manual/users.texi: Likewise.
17539 * INSTALL: Regenerated.
17540 * NOTES: Regenerated.
d40c5d54 17541 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 17542
450bf206
AS
175432012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17544
17545 * include/dirent.h: Include <dirstream.h> before
17546 <dirent/dirent.h>.
17547
741a235b
DM
175482012-02-28 David S. Miller <davem@davemloft.net>
17549
17550 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17551 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17552 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17553 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17554
d6b5aa58
DM
175552012-02-27 David S. Miller <davem@davemloft.net>
17556
1aff59a3
DM
17557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17559 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17560 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17561
d6b5aa58
DM
17562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17563 frame pointer instead of stack pointer relative arg slot.
17564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17565 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17566 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17567
433f48bf
CD
175682012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17569
17570 [BZ #3992]
17571 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17572
d674b76d
DM
175732012-02-27 David S. Miller <davem@davemloft.net>
17574
17575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17579 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17580 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17581 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17582 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17583
0e7727f7
JM
175842012-02-27 Joseph Myers <joseph@codesourcery.com>
17585
17586 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17587 later. Allow versions 5-9.
43be4ca2 17588 * configure: Regenerated.
0e7727f7
JM
17589 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17590 required minimum version and 4.6 as recommended version. Do not
17591 mention bugs in GCC 2.7 and 2.8.
43be4ca2 17592 * INSTALL: Regenerated.
0e7727f7 17593
a78bc654
DM
175942012-02-27 David S. Miller <davem@davemloft.net>
17595
428d5830
DM
17596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17600 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17601 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17602 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17603 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17604
a78bc654
DM
17605 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17606 manipulate bits before adding and subtracting TWO112[sx].
17607 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17608
4579f81c
RM
176092012-02-27 Roland McGrath <roland@hack.frob.com>
17610
36c8acb4
RM
17611 [BZ #13775]
17612 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17613 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17614 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17615 being in POSIX, because they are in 1003.1-2008.
17616
84ad622b
RM
17617 * rt/tst-aio.c: Include <fcntl.h>.
17618 * rt/tst-aio7.c: Likewise.
17619 * rt/tst-aio64.c: Likewise.
17620
4579f81c
RM
17621 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17622
abd923db
JM
176232012-02-27 Joseph Myers <joseph@codesourcery.com>
17624
17625 * manual/install.texi (--with-headers): Describe headers as
17626 interface headers, not private headers.
17627 (Specific advice for GNU/Linux systems): Describe use of headers
17628 from "make headers_install", not private headers from older
17629 kernels.
43be4ca2 17630 * INSTALL: Regenerated.
abd923db
JM
17631 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17632 Change to 2.6.19.
17633 * sysdeps/unix/sysv/linux/configure: Regenerated.
17634
6664049b
JM
17635 * manual/llio.texi (fclean): Remove documentation.
17636
bb8b6697
JM
17637 * manual/Makefile (libc-texi-generated): New variable. Include
17638 version.texi.
17639 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17640 $(libc-texi-generated), not duplicated list of files.
17641 (version.texi, stamp-version): New rules.
17642 (realclean): Remove $(libc-texi-generated), not individual files
17643 from that list. Do not remove dir-add.texinfo.
17644 * manual/libc.texinfo: Comment out uses of edition numbers and
17645 references to printed manual. Remove last-updated dates.
17646 (EDITION): Comment out.
17647 (ISBN): Likewise.
17648 (VERSION, UPDATED): Remove.
17649 (version.texi): Include.
17650
12e5c3b9
AS
176512012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17652
17653 * sysdeps/posix/spawni.c: Include <signal.h>.
17654 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17655 * sysdeps/pthread/aio_fsync.c: Likewise.
17656
4efeffc1 176572012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 17658
ba63ba08
UD
17659 * conform/Makefile (tests): Run only when not cross-compiling and
17660 when fast-check is not defined.
17661
d94a4670
UD
17662 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17663 * conform/data/limits.h-data: Fixes for POSIX2008.
17664 * conform/run-conformtest.sh: Run all tests.
17665 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17666 headers.
17667 * include/bits/dlfcn.h: Likewise.
17668 * include/langinfo.h: Likewise.
17669 * include/monetary.h: Likewise.
17670 * include/sys/poll.h: Likewise.
17671
17672 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17673 for __USE_GNU.
17674 * posix/spawn.h: Define __need_sigset_t.
17675 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17676 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17677 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17678 to get sigevent_t only.
17679 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17680 only for __USE_GNU.
17681 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17682 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17683 process_vm_writev only for __USE_GNU.
17684 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17685
17686 * conform/Makefile: For now ignore errors from run-conformtest.
17687 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17688 POSIX to avoid namespace pollution. Don't prepend headers.
17689 * conform/data/aio.h-data: Fixes for POSIX testing.
17690 * conform/data/fcntl.h-data: Likewise.
17691 * conform/data/glob.h-data: Likewise.
17692 * conform/data/grp.h-data: Likewise.
17693 * conform/data/pthread.h-data: Likewise.
17694 * conform/data/pwd.h-data: Likewise.
17695 * conform/data/signal.h-data: Likewise.
17696 * conform/data/spawn.h-data: Likewise.
17697 * conform/data/stdio.h-data: Likewise.
17698 * conform/data/stdlib.h-data: Likewise.
17699 * conform/data/stropts.h-data: Likewise.
17700 * conform/data/sys/mman.h-data: Likewise.
17701 * conform/data/sys/stat.h-data: Likewise.
17702 * conform/data/sys/types.h-data: Likewise.
17703 * conform/data/sys/wait.h-data: Likewise.
17704 * conform/data/time.h-data: Likewise.
17705 * conform/data/unistd.h-data: Likewise.
17706 * conform/data/utime.h-data: Likewise.
17707
17708 * io/sys/stat.h: fchmod was always in POSIX.
17709 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17710 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17711 * rt/aio.h: Define __need_timespec before including <time.h>.
17712 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17713 struct. Add forward declaration of pthread_attr_t and use it in
17714 sigevent.
17715 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17716 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17717 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17718 always remove CLK_TCK definition.
17719
c20105c3
AS
177202012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17721
17722 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17723
7a270350
UD
177242012-02-25 Ulrich Drepper <drepper@gmail.com>
17725
31341567
UD
17726 * conform/run-conformtest.sh: New file.
17727 * conform/Makefile: Run run-conformtest for tests.
17728 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17729 support.
17730
17731 * conform/data/uchar.h-data: New file.
17732 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17733 * conform/data/arpa/inet.h-data: Likewise.
17734 * conform/data/assert.h-data: Likewise.
17735 * conform/data/complex.h-data: Likewise.
17736 * conform/data/cpio.h-data: Likewise.
17737 * conform/data/ctype.h-data: Likewise.
17738 * conform/data/dirent.h-data: Likewise.
17739 * conform/data/dlfcn.h-data: Likewise.
17740 * conform/data/errno.h-data: Likewise.
17741 * conform/data/fcntl.h-data: Likewise.
17742 * conform/data/float.h-data: Likewise.
17743 * conform/data/fmtmsg.h-data: Likewise.
17744 * conform/data/fnmatch.h-data: Likewise.
17745 * conform/data/ftw.h-data: Likewise.
17746 * conform/data/glob.h-data: Likewise.
17747 * conform/data/grp.h-data: Likewise.
17748 * conform/data/iconv.h-data: Likewise.
17749 * conform/data/inttypes.h-data: Likewise.
17750 * conform/data/langinfo.h-data: Likewise.
17751 * conform/data/libgen.h-data: Likewise.
17752 * conform/data/limits.h-data: Likewise.
17753 * conform/data/locale.h-data: Likewise.
17754 * conform/data/math.h-data: Likewise.
17755 * conform/data/monetary.h-data: Likewise.
17756 * conform/data/mqueue.h-data: Likewise.
17757 * conform/data/ndbm.h-data: Likewise.
17758 * conform/data/net/if.h-data: Likewise.
17759 * conform/data/netdb.h-data: Likewise.
17760 * conform/data/netinet/in.h-data: Likewise.
17761 * conform/data/nl_types.h-data: Likewise.
17762 * conform/data/poll.h-data: Likewise.
17763 * conform/data/pthread.h-data: Likewise.
17764 * conform/data/pwd.h-data: Likewise.
17765 * conform/data/regex.h-data: Likewise.
17766 * conform/data/sched.h-data: Likewise.
17767 * conform/data/search.h-data: Likewise.
17768 * conform/data/semaphore.h-data: Likewise.
17769 * conform/data/setjmp.h-data: Likewise.
17770 * conform/data/signal.h-data: Likewise.
17771 * conform/data/spawn.h-data: Likewise.
17772 * conform/data/stdarg.h-data: Likewise.
17773 * conform/data/stdio.h-data: Likewise.
17774 * conform/data/stdlib.h-data: Likewise.
17775 * conform/data/string.h-data: Likewise.
17776 * conform/data/strings.h-data: Likewise.
17777 * conform/data/stropts.h-data: Likewise.
17778 * conform/data/sys/ipc.h-data: Likewise.
17779 * conform/data/sys/mman.h-data: Likewise.
17780 * conform/data/sys/msg.h-data: Likewise.
17781 * conform/data/sys/resource.h-data: Likewise.
17782 * conform/data/sys/select.h-data: Likewise.
17783 * conform/data/sys/sem.h-data: Likewise.
17784 * conform/data/sys/shm.h-data: Likewise.
17785 * conform/data/sys/socket.h-data: Likewise.
17786 * conform/data/sys/stat.h-data: Likewise.
17787 * conform/data/sys/statvfs.h-data: Likewise.
17788 * conform/data/sys/time.h-data: Likewise.
17789 * conform/data/sys/timeb.h-data: Likewise.
17790 * conform/data/sys/times.h-data: Likewise.
17791 * conform/data/sys/types.h-data: Likewise.
17792 * conform/data/sys/uio.h-data: Likewise.
17793 * conform/data/sys/un.h-data: Likewise.
17794 * conform/data/sys/utsname.h-data: Likewise.
17795 * conform/data/sys/wait.h-data: Likewise.
17796 * conform/data/syslog.h-data: Likewise.
17797 * conform/data/tar.h-data: Likewise.
17798 * conform/data/termios.h-data: Likewise.
17799 * conform/data/utime.h-data: Likewise.
17800 * conform/data/utmpx.h-data: Likewise.
17801 * conform/data/varargs.h-data: Likewise.
17802 * conform/data/wchar.h-data: Likewise.
17803 * conform/data/wctype.h-data: Likewise.
17804 * conform/data/wordexp.h-data: Likewise.
17805
17806 * include/stropts.h: New file.
17807 * include/uchar.h: New file.
17808 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17809 * include/assert.h: Likewise.
17810 * include/ctype.h: Likewise.
17811 * include/dirent.h: Likewise.
17812 * include/dlfcn.h: Likewise.
17813 * include/fcntl.h: Likewise.
17814 * include/fnmatch.h: Likewise.
17815 * include/glob.h: Likewise.
17816 * include/grp.h: Likewise.
17817 * include/libio.h: Likewise.
17818 * include/locale.h: Likewise.
17819 * include/math.h: Likewise.
17820 * include/net/if.h: Likewise.
17821 * include/netdb.h: Likewise.
17822 * include/netinet/in.h: Likewise.
17823 * include/pthread.h: Likewise.
17824 * include/pwd.h: Likewise.
17825 * include/regex.h: Likewise.
17826 * include/sched.h: Likewise.
17827 * include/search.h: Likewise.
17828 * include/setjmp.h: Likewise.
17829 * include/signal.h: Likewise.
17830 * include/stdio.h: Likewise.
17831 * include/stdlib.h: Likewise.
17832 * include/string.h: Likewise.
17833 * include/sys/cdefs.h: Likewise.
17834 * include/sys/mman.h: Likewise.
17835 * include/sys/msg.h: Likewise.
17836 * include/sys/resource.h: Likewise.
17837 * include/sys/select.h: Likewise.
17838 * include/sys/socket.h: Likewise.
17839 * include/sys/stat.h: Likewise.
17840 * include/sys/statvfs.h: Likewise.
17841 * include/sys/time.h: Likewise.
17842 * include/sys/times.h: Likewise.
17843 * include/sys/uio.h: Likewise.
17844 * include/sys/utsname.h: Likewise.
17845 * include/sys/wait.h: Likewise.
17846 * include/termios.h: Likewise.
17847 * include/time.h: Likewise.
17848 * include/ulimit.h: Likewise.
17849 * include/unistd.h: Likewise.
17850 * include/utime.h: Likewise.
17851 * include/wchar.h: Likewise.
17852 * include/wctype.h: Likewise.
17853 * include/wordexp.h: Likewise.
17854
17855 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17856
7a270350
UD
17857 * time/time.h: TIME_UTC must be a macro.
17858 Make timespec_get available for ISO C11 only as well.
17859
7724defc
UD
178602012-02-24 Ulrich Drepper <drepper@gmail.com>
17861
17862 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17863 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17864
6b1d1d46
JM
178652012-02-24 Joseph Myers <joseph@codesourcery.com>
17866
17867 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17868
0f8bbd69
JM
178692012-02-24 Joseph Myers <joseph@codesourcery.com>
17870
17871 * manual/texinfo.tex: Update to version 2012-01-19.16.
17872
66ab80bc
JM
178732012-02-24 Joseph Myers <joseph@codesourcery.com>
17874
17875 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17876
74981cc5
RM
178772012-02-24 Roland McGrath <roland@hack.frob.com>
17878
ee968201
RM
17879 [BZ #13738]
17880 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17881 * manual/fdl-1.3.texi: New file.
17882 * manual/fdl-1.1.texi: File removed.
17883
74981cc5
RM
17884 [BZ #13738]
17885 * manual/libc.texinfo (FDL_VERSION): New @set.
17886 Use it for mention of FDL in cover text.
17887 (Documentation License): Use it in @include file name.
17888
7bb764bc
JM
178892012-02-22 Joseph Myers <joseph@codesourcery.com>
17890 Roland McGrath <roland@hack.frob.com>
17891
17892 [BZ #5461]
17893 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17894 not LONG_LONG_MAX and LONG_LONG_MIN.
17895 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17896 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17897 name.
17898 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17899
6cbeae47
JM
179002012-02-22 Joseph Myers <joseph@codesourcery.com>
17901
17902 [BZ #2547]
17903 [BZ #11365]
17904 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17905 manipulate bits before adding and subtracting TWO23[sx].
17906 * math/libm-test.inc (nearbyint_test): Add more tests.
17907
fe45ce09
JM
179082012-02-22 Joseph Myers <joseph@codesourcery.com>
17909
17910 [BZ #2548]
17911 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17912 bits before adding and subtracting TWO23[sx].
17913 * math/libm-test.inc (rint_test): Add more tests.
17914 (rint_test_tonearest): Likewise.
17915 (rint_test_towardzero): Likewise.
17916 (rint_test_downward): Likewise.
17917 (rint_test_upward: Likewise.
17918
ff3b3d82
JM
179192012-02-22 Joseph Myers <joseph@codesourcery.com>
17920
17921 [BZ #10110]
17922 * include/stdc-predef.h: New file. Extracted from features.h.
17923 * include/features.h: Include stdc-predef.h.
17924 * Makefile (headers): Add stdc-predef.h.
17925 * CONFORMANCE (Compiler limitations): Update.
17926
ef0aab35
JM
179272012-02-22 Joseph Myers <joseph@codesourcery.com>
17928
17929 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17930
58639409
DM
179312012-02-21 David S. Miller <davem@davemloft.net>
17932
17933 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17934 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17935
c0e70b25
DM
179362012-02-20 David S. Miller <davem@davemloft.net>
17937
17938 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17939 using a normal save/restore sequence, rather than allocating a
17940 dummy stack frame just to store a frame pointer and restore.
17941 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17942
fb06851d
JM
179432012-02-21 Joseph Myers <joseph@codesourcery.com>
17944
17945 * manual/install.texi: Fix stray word in line-wrapped comment.
17946
7a8b71c3
DM
179472012-02-20 David S. Miller <davem@davemloft.net>
17948
d510c123
DM
17949 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17950 both binutils and gcc support GOTDATA.
17951
0722d7c2
DM
17952 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17953 "rd %pc" in the PIC register setup sequences.
17954
3d2b3019
DM
17955 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17956 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17957 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17958 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17959 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17960 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17961 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17962 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17963 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17964 (SYSCALL_ERROR_HANDLER): Likewise.
17965 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17966 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17967 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17968 (SYSCALL_ERROR_HANDLER): Likewise.
17969
c80098a9
DM
17970 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17971 (HAVE_GCC_GOTDATA): New.
17972 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17973 relocation support in both binutils and gcc.
17974 * sysdeps/sparc/elf/configure: Regenerate.
17975
3a2545a0
DM
17976 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17977 * sysdeps/sparc/sparc32/elf/configure: Delete.
17978 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17979 * sysdeps/sparc/sparc64/elf/configure: Delete.
17980 * sysdeps/sparc/elf/configure.in: New file.
17981 * sysdeps/sparc/elf/configure: Generate.
17982
7a8b71c3
DM
17983 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17984 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17985 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17986 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17987 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17988
f1e86fca
JM
179892012-02-21 Joseph Myers <joseph@codesourcery.com>
17990
17991 * manual/install.texi: Do not mention specific glibc version
17992 numbers.
17993 * manual/libc.texinfo (VERSION, UPDATED): Update.
17994 (@copying): Use @copyright{} and range of years.
17995
0e7dfaef
JM
179962012-02-21 Joseph Myers <joseph@codesourcery.com>
17997
17998 [BZ #13695]
17999 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18000 [crti.S not in sysdirs] (generated): Do not append.
18001 [crti.S not in sysdirs] (omit-deps): Likewise.
18002 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18003 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18004 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18005 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18006 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18007 Likewise.
18008 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18009 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18010 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18011 * csu/defs.awk: Remove file.
18012 * sysdeps/generic/initfini.c: Likewise.
18013 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18014 variable.
18015 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18016 Likewise.
18017
599af3ca
JM
180182012-02-20 Joseph Myers <joseph@codesourcery.com>
18019
18020 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18021 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18022 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18023 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18024 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18025 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18026 <bits/epoll.h>.
18027 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18028 (__EPOLL_PACKED): Define to empty if not defined by
18029 <bits/epoll.h>.
18030 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18032 bits/epoll.h.
18033
0e499750
JM
180342012-02-20 Joseph Myers <joseph@codesourcery.com>
18035
18036 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18037 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18038 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18039 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18040 <bits/timerfd.h>.
18041 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18042 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18043 bits/timerfd.h.
18044
5ad91f6e
JM
180452012-02-20 Joseph Myers <joseph@codesourcery.com>
18046
18047 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18048 in C locale.
18049 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18050 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18051 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18053
06b99b02
AJ
180542012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18055
18056 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18057 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18058
7638c0fd
AS
180592012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18060
18061 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18062 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18063 defined.
18064 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18065 Likewise.
18066 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18067 entry for 2.16.
18068
92221550
AJ
180692012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18070
18071 * math/w_acos.c: Use non-signaling floating-point comparisons.
18072 * math/w_acosf.c: Likewise.
18073 * math/w_acosh.c: Likewise.
18074 * math/w_acoshf.c: Likewise.
18075 * math/w_acoshl.c: Likewise.
18076 * math/w_acosl.c: Likewise.
18077 * math/w_asin.c: Likewise.
18078 * math/w_asinf.c: Likewise.
18079 * math/w_asinl.c: Likewise.
18080 * math/w_atanh.c: Likewise.
18081 * math/w_atanhf.c: Likewise.
18082 * math/w_atanhl.c: Likewise.
18083 * math/w_exp2.c: Likewise.
18084 * math/w_exp2f.c: Likewise.
18085 * math/w_exp2l.c: Likewise.
18086 * math/w_j0.c: Likewise.
18087 * math/w_j0f.c: Likewise.
18088 * math/w_j0l.c: Likewise.
18089 * math/w_j1.c: Likewise.
18090 * math/w_j1f.c: Likewise.
18091 * math/w_j1l.c: Likewise.
18092 * math/w_jn.c: Likewise.
18093 * math/w_jnf.c: Likewise.
18094 * math/w_log.c: Likewise.
18095 * math/w_log10.c: Likewise.
18096 * math/w_log10f.c: Likewise.
18097 * math/w_log10l.c: Likewise.
18098 * math/w_log2.c: Likewise.
18099 * math/w_log2f.c: Likewise.
18100 * math/w_log2l.c: Likewise.
18101 * math/w_logf.c: Likewise.
18102 * math/w_logl.c: Likewise.
18103 * math/w_sqrt.c: Likewise.
18104 * math/w_sqrtf.c: Likewise.
18105 * math/w_sqrtl.c: Likewise.
18106 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18107 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18108 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18109 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18110 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18111
ebaf36eb
JM
181122012-02-19 Joseph Myers <joseph@codesourcery.com>
18113
18114 [BZ #9739]
18115 * manual/string.texi (strnlen): Use correct parameter name in
18116 equivalent expression.
18117
71c254a6
JM
181182012-02-19 Joseph Myers <joseph@codesourcery.com>
18119
18120 [BZ #11174]
18121 * manual/users.texi (seteuid): Consistently use neweuid for
18122 argument name.
18123
16d2c631
JM
181242012-02-19 Joseph Myers <joseph@codesourcery.com>
18125
18126 [BZ #13704]
18127 * manual/nss.texi (Services in the NSS configuration): Correct
18128 list of services in example configuration file.
18129
cd837b09
NB
181302012-02-19 Nick Bowler <nbowler@draconx.ca>
18131
18132 [BZ #11322]
18133 * manual/arith.texi: Remove statements about negative zero
18134 behaving identically to zero.
18135
02c4bbad
JM
181362012-02-18 Joseph Myers <joseph@codesourcery.com>
18137
18138 [BZ #5993]
18139 * manual/install.texi: Do not document upgrading from libc5.
18140
366842e7
JM
181412012-02-18 Joseph Myers <joseph@codesourcery.com>
18142
18143 [BZ #4596]
18144 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18145
dd54084d
DM
181462012-02-18 David S. Miller <davem@davemloft.net>
18147
18148 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18149 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18150 %o7 across the call.
18151 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18152 instead.
18153 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18154 SETUP_PIC_REG_LEAF.
18155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18156 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18157 * sysdeps/sparc/crtn.S: Likewise.
18158
2bcc53a3
UD
181592012-02-17 Ulrich Drepper <drepper@gmail.com>
18160
18161 * aout/Makefile: Remove.
18162
09c093b5
RK
181632012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18164
18165 [BZ #13058]
18166 * manual/examples/argp-ex1.c (main): Format definition in GNU
18167 style.
18168 * manual/examples/argp-ex2.c (main): Likewise.
18169 * manual/examples/argp-ex3.c (main): Likewise.
18170 * manual/examples/argp-ex4.c (main): Likewise.
18171 * manual/examples/longopt.c (main): Use new-style prototype
18172 definition.
18173 * manual/examples/strncat.c (main): Specify return type and use
18174 (void) for arguments.
18175 * manual/examples/subopt.c (main): Use char **argv argument.
18176
2ee633a2
JM
181772012-02-17 Joseph Myers <joseph@codesourcery.com>
18178
18179 [BZ #5077]
18180 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18181 rounding modes.
18182
0520adde
FB
181832012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18184
18185 [BZ #6907]
18186 * manual/string.texi (strchr): Change when strchrnul is
18187 recommended.
18188
3f4081cd
DGM
181892012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18190
18191 [BZ #174]
18192 * manual/locale.texi (setlocale): Document LOCPATH.
18193
d1b10e78
JM
181942012-02-17 Joseph Myers <joseph@codesourcery.com>
18195
18196 [BZ #10210]
18197 * manual/process.texi (execle): Move @dots{} before last argument.
18198
79c6869c
PB
181992012-02-17 Paul Bolle <pebolle@tiscali.nl>
18200
18201 [BZ #12047]
18202 * manual/charset.texi (Generic Charset Conversion): Fix typo
18203 (LC_TYPE -> LC_CTYPE).
18204
cc6e48bc
NB
182052012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18206
18207 [BZ #5805]
18208 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18209 (scalbnf): Likewise.
18210 (scalbnl): Likewise.
18211 (scalbln): Likewise.
18212 (scalblnf): Likewise.
18213 (scalblnl): Likewise.
18214 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18215 (vwarnx): Likewise.
18216 (verr): Likewise.
18217 (verrx): Likewise.
18218 * manual/filesys.texi (telldir): Use braces around return type.
18219 * manual/llio.texi (mmap): Add space after comma.
18220 (mmap64): Likewise.
18221 * manual/math.texi (jn): Use @var{} on parameter names.
18222 (jnf): Likewise.
18223 (jnl): Likewise.
18224 (yn): Likewise.
18225 (ynf): Likewise.
18226 (ynl): Likewise.
18227 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18228 line.
18229 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18230 "...".
18231 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18232 (sched_get_priority_max): Likewise.
18233 * manual/signal.texi (sigvec): Add space after comma.
18234 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18235 names.
18236 (if_indextoname): Likewise.
18237 (if_freenameindex): Likewise.
18238 (sendto): Use ',' instead of '.' in prototype.
18239 * manual/startup.texi (syscall): Use @dots{} instead of literal
18240 "...".
18241 * manual/stdio.texi (__fpending): Separate initial words of
18242 paragraph from @deftypefun line.
18243 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18244 "...".
18245 (vsyslog): Use @var{} on parameter names.
18246 * manual/terminal.texi (stty): Use @var{} on parameter names.
18247 * manual/users.texi (getutmp): Use @var{} on parameter names.
18248 (getutmpx): Likewise.
18249
5b23062f
JM
182502012-02-17 Joseph Myers <joseph@codesourcery.com>
18251
18252 [BZ #6884]
18253 * manual/stdio.texi (fopen): Fix typos in description of
18254 ",ccs=STRING".
18255
8dee4833
AJ
182562012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18257
18258 [BZ #4026]
18259 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18260 get clock_id definition.
18261
9078ce93
TS
182622012-02-17 Thomas Schwinge <thomas@schwinge.name>
18263
18264 [BZ #4822]
18265 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18266 (madvise): Cast every argument to void on its own.
18267
3835c55f
JM
182682012-02-17 Joseph Myers <joseph@codesourcery.com>
18269
18270 [BZ #9902]
18271 * manual/startup.texi (Exit Status): Fix typo.
18272
35c47e37
JM
182732012-02-17 Joseph Myers <joseph@codesourcery.com>
18274
18275 [BZ #10140]
18276 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18277 * manual/examples/argp-ex2.c: Likewise.
18278 * manual/examples/argp-ex3.c: Likewise.
18279
e3b69ca7
RH
182802012-02-16 Richard Henderson <rth@redhat.com>
18281
18282 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18283 * sysdeps/s390/s390-32/initfini.c: Remove.
18284 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18285 * sysdeps/s390/s390-64/initfini.c: Remove.
18286
df83af67
KK
182872012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18288
18289 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18290 compiler output for sysdeps/generic/initfini.c.
18291 * sysdeps/sh/elf/initfini.c: Remove file.
18292
f63f3380
DM
182932012-02-16 David S. Miller <davem@davemloft.net>
18294
fb59b3a4
DM
18295 [BZ #11494]
18296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18297
f63f3380
DM
18298 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18299 * sysdeps/sparc/crti.S: New file.
18300 * sysdeps/sparc/crtn.S: New file.
18301 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18302 * sysdeps/sparc/sparc64/Makefile: Likewise.
18303
df6a4a4a
MF
183042012-02-15 Mike Frysinger <vapier@gentoo.org>
18305
6dd8f3dc 18306 [BZ #3335]
df6a4a4a
MF
18307 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18308
1cac7236
RM
183092012-02-15 Roland McGrath <roland@hack.frob.com>
18310
d2c736f8
RM
18311 [BZ #4822]
18312 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18313
1cac7236
RM
18314 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18315 (write, read, close): Likewise.
18316 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18317
8e475601
JM
183182012-02-15 Joseph Myers <joseph@codesourcery.com>
18319
18320 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18321 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18322 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18323 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18324 <bits/signalfd.h>.
18325 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18326 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18327 bits/signalfd.h.
18328
ed656b40
MP
183292012-02-14 Marek Polacek <polacek@redhat.com>
18330
18331 * sysdeps/x86_64/crti.S: New file.
18332 * sysdeps/x86_64/crtn.S: New file.
18333 * sysdeps/x86_64/elf/initfini.c: Remove file.
18334
2a979d3a
JM
183352012-02-13 Joseph Myers <joseph@codesourcery.com>
18336
18337 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18338 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18339 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18340 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18341 <bits/inotify.h>.
18342 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18344 bits/inotify.h.
18345
2a418ac3
JM
183462012-02-13 Joseph Myers <joseph@codesourcery.com>
18347
18348 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18349 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18350 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18351 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18352 <bits/eventfd.h>.
18353 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18355 bits/eventfd.h.
18356
fb779be7
TS
183572012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18358
e19e83c5
RM
18359 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18360 __feraiseexcept instead of feraiseexcept.
7c35ffed 18361
fb779be7
TS
18362 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18363 nanosleep invocations.
18364 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18365 strings, and add error checking for a nanosleep invocations.
18366
59ba27a6
PE
183672012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18368
18369 Replace FSF snail mail address with URLs, as per GNU coding standards.
18370 Most of the snail mail addresses were wrong anyway, and omitting
18371 them makes the source code easier to maintain. Almost all of the
18372 changes are to license notices and to locale LC_IDENTIFICATION
18373 addresses, except for this one:
18374 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18375 not its snail mail address.
18376
57b957eb
RH
183772012-02-09 Richard Henderson <rth@twiddle.net>
18378
af850b1c
RH
18379 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18380 of kernel-features.h.
18381
57b957eb
RH
18382 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18383
6b73181a
MP
183842012-02-08 Marek Polacek <polacek@redhat.com>
18385
18386 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18387 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18388 * sysdeps/gnu/_G_config.h: Likewise.
18389 * sysdeps/generic/_G_config.h: Likewise.
18390
26ecc33a
AS
183912012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18392
6c6dbc63
AS
18393 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18394 tests.
18395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18396
e216c012
AS
18397 * sysdeps/powerpc/powerpc32/crti.S: New file.
18398 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18399 * sysdeps/powerpc/powerpc64/crti.S: New file.
18400 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18401
26ecc33a
AS
18402 * Makeconfig (have-initfini): Don't set.
18403 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18404 * configure.in (nopic_initfini): Don't substitute.
18405 * config.h.in (HAVE_INITFINI): Don't #undef.
18406 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18407 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18408
3add8e13
JM
184092012-02-08 Joseph Myers <joseph@codesourcery.com>
18410
18411 Support crti.S and crtn.S provided directly by architectures.
18412 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18413 [crti.S in sysdirs] (omit-deps): Likewise.
18414 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18415 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18416 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18417 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18418 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18419 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18420 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18421 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18422 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18423 compiler output for sysdeps/generic/initfini.c.
18424 * sysdeps/i386/elf/Makefile: Remove file.
18425 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18426
a22f12b4
MP
184272012-02-07 Marek Polacek <polacek@redhat.com>
18428
18429 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18430 * sysdeps/gnu/_G_config.h: Likewise.
18431 * sysdeps/mach/hurd/_G_config.h: Likewise.
18432
148cf100
MP
184332012-02-07 Marek Polacek <polacek@redhat.com>
18434
18435 * math/Makefile (tests): Add tst-CMPLX2.
18436 * math/tst-CMPLX2.c: New file.
18437
cfdc0dd7
AS
184382012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18439
84ba42c4
AS
18440 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18441
cfdc0dd7
AS
18442 * math/libm-test.inc (jn_test): Add missing L suffix.
18443
622c86f4
MP
184442012-02-06 Marek Polacek <polacek@redhat.com>
18445
18446 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18447 * sysdeps/i386/fpu/e_powf.S: Likewise.
18448 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18449 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18450 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18451 * sysdeps/i386/fpu/e_pow.S: Likewise.
18452 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18453 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18454 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18455 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18456 * sysdeps/i386/fpu/e_log2.S: Likewise.
18457 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18458 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18459 * sysdeps/i386/fpu/e_powl.S: Likewise.
18460 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18461 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18462 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18463 * sysdeps/i386/fpu/e_logl.S: Likewise.
18464 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18465 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18466 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18467 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18468 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18469 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18470 * sysdeps/i386/fpu/e_log.S: Likewise.
18471 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18472 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18473 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18474 * sysdeps/i386/fpu/e_logf.S: Likewise.
18475 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18476 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18477 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18478 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18479 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18480 * sysdeps/i386/fpu/e_log10.S: Likewise.
18481 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18482 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18483 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18484 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18485 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18486 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18487 * sysdeps/i386/asm-syntax.h: Likewise.
18488 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18489 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18490 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18491 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18492 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18493 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18494 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18495 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18496 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18497 * sysdeps/powerpc/sysdep.h: Likewise.
18498 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18499 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18500
d4a54ac6
JM
185012012-02-06 Joseph Myers <joseph@codesourcery.com>
18502
18503 [BZ #411]
18504 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18505
314054ea
JM
185062012-02-06 Joseph Myers <joseph@codesourcery.com>
18507
18508 * sysdeps/i386/sysdep.h: Include <features.h>.
18509 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18510 version.
18511
d8e0ca50
JM
185122012-02-05 Joseph Myers <joseph@codesourcery.com>
18513
18514 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18515 Define.
18516 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18517 LOAD_PIC_REG_STR.
18518
b1da7dd9
JM
185192012-02-03 Joseph Myers <joseph@codesourcery.com>
18520
18521 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18522 (SETUP_PIC_REG): Use GET_PC_THUNK.
18523 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18524 macro.
18525
9a1d9254
JM
185262012-02-03 Joseph Myers <joseph@codesourcery.com>
18527
18528 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18529 for non-PIC compilation.
18530 (SETUP_PIC_REG): Add .p2align directive.
18531 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18532 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18533 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18534 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18535 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18536 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18537 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18538 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18539 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18540 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18541 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18542 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18543 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18544 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18545 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18546 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18547 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18548 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18549 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18550 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18551 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18552 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18553 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18554 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18555 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18557 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18558 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18559 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18560 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18561 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18562 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18563 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18564 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18565 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18566 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18567 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18568 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18569 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18570 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18571 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18572
65dc3b75
JM
185732012-02-03 Joseph Myers <joseph@codesourcery.com>
18574
18575 * math/tst-CMPLX.c: Include <stdio.h>.
18576
d55bf177
JM
185772012-01-31 Joseph Myers <joseph@codesourcery.com>
18578
18579 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18580 float.
18581 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18582 * sysdeps/sparc/bits/mathdef.h: Likewise.
18583
69db4f8f
MP
185842012-01-31 Marek Polacek <polacek@redhat.com>
18585
18586 * libio/libio.h: Don't define _PARAMS.
18587 * locale/programs/config.h: Don't define PARAMS.
18588 * stdlib/strtol_l.c: Likewise.
18589 (__strtol_l): Remove PARAMS from the prototype.
18590
41b81892
UD
185912012-01-31 Ulrich Drepper <drepper@gmail.com>
18592
3b49edc0
UD
18593 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18594 names. Just use the correct names. Remove unnecessary wrapper
18595 functions.
18596 * malloc/arena.c: Likewise.
18597 * malloc/hooks.c: Likewise.
18598
41b81892
UD
18599 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18600 ARENA_TEST says not to. Simplify test for creation of a new arena.
18601 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18602
27a25b6e
UD
186032012-01-30 Ulrich Drepper <drepper@gmail.com>
18604
18605 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18606 into tail calls.
18607 (update_get_addr): New function.
18608 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18609 GET_ADDR_MODULE parameter.
18610
c8a89e7d
JM
186112012-01-30 Joseph Myers <joseph@codesourcery.com>
18612
18613 * crypt/cert.c: Remove __STDC__ conditionals.
18614 * crypt/crypt-entry.c: Likewise.
18615 * crypt/crypt_util.c: Likewise.
18616 * libio/filedoalloc.c: Likewise.
18617 * libio/fileops.c: Likewise.
18618 * libio/genops.c: Likewise.
18619 * libio/iofclose.c: Likewise.
18620 * libio/iofdopen.c: Likewise.
18621 * libio/iofopen.c: Likewise.
18622 * libio/iofopen64.c: Likewise.
18623 * libio/iogetdelim.c: Likewise.
18624 * libio/iopopen.c: Likewise.
18625 * libio/obprintf.c: Likewise.
18626 * libio/oldfileops.c: Likewise.
18627 * libio/oldiofclose.c: Likewise.
18628 * libio/oldiofdopen.c: Likewise.
18629 * libio/oldiofopen.c: Likewise.
18630 * libio/oldiopopen.c: Likewise.
18631 * libio/wfiledoalloc.c: Likewise.
18632 * libio/wgenops.c: Likewise.
18633 * locale/programs/xmalloc.c: Likewise.
18634 * misc/syslog.c: Likewise.
18635 * stdio-common/xbug.c: Likewise.
18636 * string/memchr.c: Likewise.
18637 * string/memcmp.c: Likewise.
18638 * string/memrchr.c: Likewise.
18639 * string/rawmemchr.c: Likewise.
18640 * sysdeps/posix/getcwd.c: Likewise.
18641 * time/strftime_l.c: Likewise.
18642
3b100462
JM
186432012-01-30 Joseph Myers <joseph@codesourcery.com>
18644
18645 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
18646 * config.make.in (config-cflags-sse2avx): Define.
18647 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18648 Fix typo.
18649
607998af
CM
186502012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18651
18652 * scripts/config.guess: Update from upstream config git repository.
18653 * scripts/config.sub: Likewise.
18654
3601428f
CM
186552012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18656
3ac8b282
CM
18657 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18658 (EM_NUM): Update.
18659 (R_TILEPRO_*, R_TILEGX_*): New macros.
18660
e034841e
CM
18661 * scripts/firstversions.awk: Fix bug in version range handling.
18662
540d7568
CM
18663 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18664
3601428f
CM
18665 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18666
463de862
CM
18667 * include/sys/epoll.h: New file.
18668 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18669 libc_hidden_def.
18670
73139a76
UD
186712012-01-28 Ulrich Drepper <drepper@gmail.com>
18672
96bc5b45
UD
18673 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18674 Avoid unnecessary __WORDSIZE == 64 test.
18675 (fmaxf): Use VEX format if possible.
18676 (fmax): Likewise.
18677 (fminf): Likewise.
18678 (fmin): Likewise.
18679
56f6f6a2
UD
18680 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18681 * math/math_private.h: Remove libc_fegetround* and
18682 libc_fesetround*.
18683 * sysdeps/i386/configure.in: Check for -msse2avx.
18684 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18685 also if SSE2AVX is defined.
18686 Remove libc_fegetround* and libc_fesetround*.
18687 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18688 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18689 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18690 of HAS_YMM_USABLE.
18691 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18692 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18693 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18694 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18695 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18696
73139a76
UD
18697 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18698
d73f93a4
AZ
186992012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18700
18701 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18702 size is not set.
18703 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18704
6ee65ed6
UD
187052012-01-27 Ulrich Drepper <drepper@gmail.com>
18706
18707 [BZ #13618]
18708 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18709 relocation.
18710 * Makeconfig (libm): Define.
18711 * elf/Makefile: Add rules to build and run tst-relsort1.
18712 * elf/tst-relsort1.c: New file.
18713 * elf/tst-relsort1mod1.c: New file.
18714 * elf/tst-relsort1mod2.c: New file.
18715
8db21882
JM
187162012-01-27 Joseph Myers <joseph@codesourcery.com>
18717
18718 * math/s_ldexp.c: Remove __STDC__ conditionals.
18719 * math/s_ldexpf.c: Likewise.
18720 * math/s_ldexpl.c: Likewise.
18721 * math/s_nextafter.c: Likewise.
18722 * math/s_nexttowardf.c: Likewise.
18723 * math/s_significand.c: Likewise.
18724 * math/s_significandf.c: Likewise.
18725 * math/s_significandl.c: Likewise.
18726 * math/w_jnl.c: Likewise.
18727 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18728 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18729 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18730 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18731 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18732 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18733 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18734 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18735 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18736 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18737 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18738 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18739 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18740 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18741 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18742 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18743 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18744 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18745 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18746 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18747 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18748 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18749 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18750 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18751 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18752 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18753 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18754 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18755 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18756 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18757 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18758 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18759 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18760 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18761 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18762 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18763 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18764 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18765 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18766 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18767 * sysdeps/ieee754/k_standard.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18769 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18772 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18777 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18829 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18832 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18834 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18836 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18840 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18841 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18842 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18843 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18844 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18847 * sysdeps/ieee754/s_matherr.c: Likewise.
18848 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18849 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18850 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18851 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18852
965a54a4
JM
188532012-01-26 Joseph Myers <joseph@codesourcery.com>
18854
18855 * crypt/md5.h: Remove __STDC__ conditionals.
18856 * libio/libioP.h: Likewise.
18857 * locale/programs/config.h: Likewise.
18858 * sysdeps/generic/sysdep.h: Likewise.
18859 * sysdeps/i386/asm-syntax.h: Likewise.
18860 * sysdeps/s390/asm-syntax.h: Likewise.
18861 * sysdeps/unix/sysdep.h: Likewise.
18862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18864
7071ad79
JM
188652012-01-26 Joseph Myers <joseph@codesourcery.com>
18866
18867 * libio/libio.h: Remove __STDC__ conditionals.
18868 * malloc/obstack.h: Likewise.
18869 * math/complex.h: Likewise.
18870 * math/math.h: Likewise.
18871 * sysdeps/generic/_G_config.h: Likewise.
18872 * sysdeps/gnu/_G_config.h: Likewise.
18873 * sysdeps/mach/hurd/_G_config.h: Likewise.
18874 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18875 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18876 * sysdeps/sparc/bits/mathdef.h: Likewise.
18877
afc5ed09
UD
188782012-01-26 Ulrich Drepper <drepper@gmail.com>
18879
18880 [BZ #13583]
18881 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18882 Clean up HAS_* macros.
afc5ed09 18883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18884 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18885 possible.
18886 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18887 HAS_AVX.
18888 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18889 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18890 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18891 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18892 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18893
bdb6de1d
JM
188942012-01-25 Joseph Myers <joseph@codesourcery.com>
18895
18896 * elf/tst-unique3.cc (gets): Remove declaration.
18897 * elf/tst-unique3lib.cc (gets): Likewise.
18898 * elf/tst-unique3lib2.cc (gets): Likewise.
18899 * elf/tst-unique4.cc (gets): Likewise.
18900
b15549e6
UD
189012012-01-24 Ulrich Drepper <drepper@gmail.com>
18902
18903 * include/stdio.h: Add C++ protection. Add gets declarations and
18904 definitions.
18905 * debug/tst-chk1.c: Don't declare gets here.
18906 * stdio-common/tst-gets.c: Likewise.
18907
a037381f
JM
189082012-01-24 Joseph Myers <joseph@codesourcery.com>
18909
18910 * posix/glob: Remove directory.
18911
f1d4aa75
JM
189122012-01-24 Joseph Myers <joseph@codesourcery.com>
18913
18914 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18915
81c0c964
PT
189162012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18917
18918 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18919 of the non-standard EPFNOSUPPORT.
18920
0ea698ae
ST
189212011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18922
18923 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18924 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18925 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18926
d220b117
UD
189272012-01-21 Ulrich Drepper <drepper@gmail.com>
18928
18929 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18930
3e1aa84e
UD
189312012-01-20 Ulrich Drepper <drepper@gmail.com>
18932
18933 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18934 transient errors.
18935 * nscd/grpcache.c (cache_addgr): Likewise.
18936 * nscd/hstcache.c (cache_addhst): Likewise.
18937 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18938 * nscd/pwdcache.c (cache_addpw): Likewise.
18939 * nscd/servicescache.c (cache_addserv): Likewise.
18940
400aa020
UD
189412012-01-16 Ulrich Drepper <drepper@gmail.com>
18942
d77e7869
UD
18943 * malloc/malloc.c: Various cleanups.
18944 * malloc/hooks.c: Likewise.
18945
400aa020
UD
18946 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18947 * stdlib/bug-fmtmsg1.c: New file.
18948
18949 * stdlib/fmtmsg.c (init): Add missing unlock.
18950 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18951
e0a309cf
MP
189522012-01-12 Marek Polacek <polacek@redhat.com>
18953
18954 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18955 and _GNU_SOURCE.
18956
929d11c7
WS
189572012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18958
18959 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18960 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18961 macro to ensure uniqueness of label name.
18962 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18963 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18964
41d0e869
UD
189652012-01-11 Ulrich Drepper <drepper@gmail.com>
18966
0cc5ed3b
UD
18967 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18968
41d0e869
UD
18969 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18970 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18971 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18972 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18973
a47a831a
UD
189742012-01-10 Ulrich Drepper <drepper@gmail.com>
18975
daa891c0
UD
18976 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18977
18978 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18979 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18980 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18981
e58ef0f2
UD
18982 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18983
a47a831a 18984 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
18985 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18986 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 18987 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
18988
18989 * math/bits/math-finite.h: Add ldexp support.
18990
a0bfc9c7
MP
189912012-01-10 Marek Polacek <polacek@redhat.com>
18992
18993 * locale/programs/localedef.h (show_archive_content): Add noreturn
18994 attribute.
18995
d6e97a1d
UD
189962012-01-09 Ulrich Drepper <drepper@gmail.com>
18997
18998 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18999
d5835c26
UD
190002012-01-08 Ulrich Drepper <drepper@gmail.com>
19001
e5f484c6
UD
19002 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19003
d5835c26
UD
19004 * io/Makefile (headers): Add bits/poll2.h.
19005
d1f741e9
WS
190062011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19007
19008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19009 typo #include statement.
19010
ec09c1c4
UD
190112012-01-08 Ulrich Drepper <drepper@gmail.com>
19012
19013 * include/sys/cdefs.h: Define __attribute_alloc_size.
19014 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19015 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19016 * elf/pldd.c: Likewise.
19017 * iconv/iconv_charmap.c: Likewise.
19018 * iconv/iconvconfig.c: Likewise.
19019 * iconv/strtab.c: Likewise.
19020 * locale/programs/locale.c: Likewise.
19021 * locale/programs/localedef.h: Likewise.
19022 * locale/programs/simple-hash.c: Likewise.
19023 * nscd/nscd.h: Likewise.
19024 * nss/makedb.c: Likewise.
19025 * sysdeps/generic/ldconfig.h: Likewise.
19026 * locale/programs/localedef.c: Remove xmalloc prototype.
19027 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19028
20b38e03
PP
190292012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19030
19031 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19032 appropriate.
19033
a0da5fe1
UD
190342012-01-08 Ulrich Drepper <drepper@gmail.com>
19035
1d5a644a 19036 * math/Makefile (tests): Add tst-CMPLX.
669704fd 19037 * math/tst-CMPLX.c: New file.
1d5a644a 19038
8784a6db
UD
19039 * math/complex.h (CMPLXL): Fix typo.
19040
d9a216c0
UD
19041 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19042 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19043 GLIBC_2.16.
19044 * debug/tst-chk1.c: Add poll and ppoll tests.
19045 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19046 * include/sys/poll.h: Add hidden proto for ppoll.
19047 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19048 * sysdeps/mach/hurd/ppoll.c: Likewise.
19049 * io/ppoll.c: Likewise.
19050 * debug/poll_chk.c: New file.
19051 * debug/ppoll_chk.c: New file.
19052 * include/bits/poll2.h: New file.
19053 * io/bits/poll2.h: New file.
19054
ac097f5c
UD
19055 [BZ #1350]
19056 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19057
2119dcfa
UD
19058 * configure.in: static is always set to yes. Remove.
19059 * config.make.in: Don't set build-static.
19060 * Makeconfig: Remove use of build-static.
19061 * dlfcn/Makefile: Likewise.
19062 * elf/Makefile: Likewise.
19063 * math/Makefile: Likewise.
19064 * misc/Makefile: Likewise.
19065 * nptl/Makefile: Likewise.
19066 * sysdeps/mach/hurd/Makefile: Likewise.
19067
121766a9
UD
19068 * configure.in: PWD_P is not used anymore.
19069 * config.make.in: Remove PWD_P entry.
19070
51a1d39c 19071 * configure.in: Remove last remnants of RANLIB.
8720d066 19072 No need to check for signed size_t anymore.
215f4bdc
UD
19073 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19074 and IA-64.
3857022a 19075 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19076 * aclocal.m4: Likewise.
19077
d3ed7225
UD
19078 * wcsmbs/mbrtoc16.c: Implement using towc function.
19079 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19080 * wcsmbs/wcsmbsload.c: Likewise.
19081 * iconv/gconv_simple.c: Likewise.
19082 * iconv/gconv_int.h: Likewise.
19083 * iconv/gconv_builtin.h: Likewise.
19084 * iconv/iconv_prog.c: Remove CHAR16 handling.
19085
19086 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19087
19088 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19089
a0da5fe1
UD
19090 * configure.in: Remove --with-elf and --enable-bounded options.
19091 Dont set base_machine for ia64. More non-ELF conditions removed.
19092 Remove testing and setting of leading underscore information.
19093 * config.make.in (build-bounded): Set to no.
19094 * config.h.in: Remove NO_UNDERSCORES entry.
19095 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19096 them.
19097 * csu/start.c: Remove !NO_UNDERSCORE code.
19098 * locale/localeinfo.h: Likewise.
19099 * sysdeps/generic/machine-gmon.h: Likewise.
19100 * sysdeps/generic/sysdep.h: Likewise.
19101 * sysdeps/i386/sysdep.h: Likewise.
19102 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19103 * sysdeps/mach/sysdep.h: Likewise.
19104 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19105 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19106 * sysdeps/sh/sysdep.h: Likewise.
19107 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19108 * sysdeps/unix/i386/sysdep.S: Likewise.
19109 * sysdeps/unix/sparc/start.c: Likewise.
19110 * sysdeps/unix/sparc/sysdep.S: Likewise.
19111 * sysdeps/unix/sparc/sysdep.h: Likewise.
19112 * sysdeps/unix/start.c: Likewise.
19113 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19114 * sysdeps/x86_64/sysdep.h: Likewise.
19115
df78418a
UD
191162012-01-07 Ulrich Drepper <drepper@gmail.com>
19117
a784e502
UD
19118 [BZ #13553]
19119 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19120 for non-gcc.
19121 * argp/argp-fmtstream.h: Use const instead __const.
19122 * argp/argp.h: Likewise.
19123 * assert/assert.h: Likewise.
19124 * bits/fenv.h: Likewise.
19125 * bits/sched.h: Likewise.
19126 * bits/sigset.h: Likewise.
19127 * bits/sigthread.h: Likewise.
19128 * catgets/nl_types.h: Likewise.
19129 * conform/data/pthread.h-data: Likewise.
19130 * crypt/crypt-private.h: Likewise.
19131 * crypt/crypt.h: Likewise.
19132 * crypt/crypt_util.c: Likewise.
19133 * ctype/ctype.h: Likewise.
19134 * debug/execinfo.h: Likewise.
19135 * debug/mbsnrtowcs_chk.c: Likewise.
19136 * debug/mbsrtowcs_chk.c: Likewise.
19137 * debug/wcsnrtombs_chk.c: Likewise.
19138 * debug/wcsrtombs_chk.c: Likewise.
19139 * debug/wcstombs_chk.c: Likewise.
19140 * dirent/dirent.h: Likewise.
19141 * dlfcn/dlfcn.h: Likewise.
19142 * elf/neededtest4.c: Likewise.
19143 * grp/grp.h: Likewise.
19144 * gshadow/gshadow.h: Likewise.
19145 * iconv/gconv.h: Likewise.
19146 * iconv/gconv_int.h: Likewise.
19147 * iconv/gconv_simple.c: Likewise.
19148 * iconv/iconv.h: Likewise.
19149 * iconv/loop.c: Likewise.
19150 * iconv/skeleton.c: Likewise.
19151 * include/aio.h: Likewise.
19152 * include/aliases.h: Likewise.
19153 * include/argz.h: Likewise.
19154 * include/arpa/inet.h: Likewise.
19155 * include/assert.h: Likewise.
19156 * include/dirent.h: Likewise.
19157 * include/dlfcn.h: Likewise.
19158 * include/execinfo.h: Likewise.
19159 * include/fcntl.h: Likewise.
19160 * include/fenv.h: Likewise.
19161 * include/glob.h: Likewise.
19162 * include/grp.h: Likewise.
19163 * include/libintl.h: Likewise.
19164 * include/mntent.h: Likewise.
19165 * include/netdb.h: Likewise.
19166 * include/pwd.h: Likewise.
19167 * include/rpc/netdb.h: Likewise.
19168 * include/sched.h: Likewise.
19169 * include/search.h: Likewise.
19170 * include/shadow.h: Likewise.
19171 * include/signal.h: Likewise.
19172 * include/stdio.h: Likewise.
19173 * include/stdlib.h: Likewise.
19174 * include/string.h: Likewise.
19175 * include/sys/socket.h: Likewise.
19176 * include/sys/stat.h: Likewise.
19177 * include/sys/statfs.h: Likewise.
19178 * include/sys/statvfs.h: Likewise.
19179 * include/sys/syslog.h: Likewise.
19180 * include/sys/time.h: Likewise.
19181 * include/sys/uio.h: Likewise.
19182 * include/time.h: Likewise.
19183 * include/unistd.h: Likewise.
19184 * include/utmp.h: Likewise.
19185 * include/wchar.h: Likewise.
19186 * include/wctype.h: Likewise.
19187 * inet/aliases.h: Likewise.
19188 * inet/arpa/inet.h: Likewise.
19189 * inet/netinet/ether.h: Likewise.
19190 * inet/netinet/in.h: Likewise.
19191 * intl/libintl.h: Likewise.
19192 * io/bits/fcntl2.h: Likewise.
19193 * io/fcntl.h: Likewise.
19194 * io/ftw.h: Likewise.
19195 * io/sys/poll.h: Likewise.
19196 * io/sys/stat.h: Likewise.
19197 * io/sys/statfs.h: Likewise.
19198 * io/sys/statvfs.h: Likewise.
19199 * io/utime.h: Likewise.
19200 * libio/bits/stdio.h: Likewise.
19201 * libio/bits/stdio2.h: Likewise.
19202 * libio/libio.h: Likewise.
19203 * libio/libioP.h: Likewise.
19204 * libio/stdio.h: Likewise.
19205 * locale/lc-ctype.c: Likewise.
19206 * locale/locale.h: Likewise.
19207 * login/utmp.h: Likewise.
19208 * malloc/arena.c: Likewise.
19209 * malloc/malloc.c: Likewise.
19210 * malloc/malloc.h: Likewise.
19211 * malloc/mcheck.c: Likewise.
19212 * malloc/mtrace.c: Likewise.
19213 * math/bits/mathcalls.h: Likewise.
19214 * math/fenv.h: Likewise.
19215 * math/math_private.h: Likewise.
19216 * misc/bits/error.h: Likewise.
19217 * misc/bits/syslog.h: Likewise.
19218 * misc/err.h: Likewise.
19219 * misc/error.h: Likewise.
19220 * misc/fstab.h: Likewise.
19221 * misc/mntent.h: Likewise.
19222 * misc/regexp.h: Likewise.
19223 * misc/search.h: Likewise.
19224 * misc/sgtty.h: Likewise.
19225 * misc/sys/mman.h: Likewise.
19226 * misc/sys/syslog.h: Likewise.
19227 * misc/sys/uio.h: Likewise.
19228 * misc/sys/xattr.h: Likewise.
19229 * misc/ttyent.h: Likewise.
19230 * nis/rpcsvc/ypclnt.h: Likewise.
19231 * nss/nss.h: Likewise.
19232 * posix/bits/unistd.h: Likewise.
19233 * posix/fnmatch.h: Likewise.
19234 * posix/glob.h: Likewise.
19235 * posix/sched.h: Likewise.
19236 * posix/spawn.h: Likewise.
19237 * posix/sys/wait.h: Likewise.
19238 * posix/unistd.h: Likewise.
19239 * posix/wordexp.h: Likewise.
19240 * pwd/pwd.h: Likewise.
19241 * resolv/netdb.h: Likewise.
19242 * resource/sys/resource.h: Likewise.
19243 * rt/aio.h: Likewise.
19244 * rt/bits/mqueue2.h: Likewise.
19245 * rt/mqueue.h: Likewise.
19246 * shadow/shadow.h: Likewise.
19247 * signal/signal.h: Likewise.
19248 * socket/send.c: Likewise.
19249 * socket/sendto.c: Likewise.
19250 * socket/sys/socket.h: Likewise.
19251 * stdio-common/printf.h: Likewise.
19252 * stdlib/bits/stdlib.h: Likewise.
19253 * stdlib/fmtmsg.h: Likewise.
19254 * stdlib/monetary.h: Likewise.
19255 * stdlib/stdlib.h: Likewise.
19256 * stdlib/ucontext.h: Likewise.
19257 * streams/stropts.h: Likewise.
19258 * string/argz.h: Likewise.
19259 * string/bits/string2.h: Likewise.
19260 * string/string.h: Likewise.
19261 * string/strings.h: Likewise.
19262 * sunrpc/rpc/auth.h: Likewise.
19263 * sunrpc/rpc/auth_des.h: Likewise.
19264 * sunrpc/rpc/clnt.h: Likewise.
19265 * sunrpc/rpc/netdb.h: Likewise.
19266 * sunrpc/rpc/pmap_clnt.h: Likewise.
19267 * sunrpc/rpc/xdr.h: Likewise.
19268 * sysdeps/generic/inttypes.h: Likewise.
19269 * sysdeps/generic/net/if.h: Likewise.
19270 * sysdeps/generic/sys/swap.h: Likewise.
19271 * sysdeps/gnu/net/if.h: Likewise.
19272 * sysdeps/gnu/utmpx.h: Likewise.
19273 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19274 * sysdeps/i386/i486/bits/string.h: Likewise.
19275 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19276 * sysdeps/s390/bits/string.h: Likewise.
19277 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19278 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19279 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19280 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19281 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19282 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19283 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19284 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19285 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19286 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19287 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19288 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19289 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19290 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19291 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19292 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19293 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19294 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19295 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19296 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19297 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19298 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19299 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19300 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19301 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19302 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19303 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19304 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19305 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19306 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19307 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19308 * sysvipc/sys/ipc.h: Likewise.
19309 * sysvipc/sys/msg.h: Likewise.
19310 * sysvipc/sys/sem.h: Likewise.
19311 * sysvipc/sys/shm.h: Likewise.
19312 * termios/termios.h: Likewise.
19313 * time/sys/time.h: Likewise.
19314 * time/time.h: Likewise.
19315 * wcsmbs/bits/wchar2.h: Likewise.
19316 * wcsmbs/uchar.h: Likewise.
19317 * wcsmbs/wchar.h: Likewise.
19318 * wctype/wctype.h: Likewise.
19319
0269750c
UD
19320 [BZ #13551]
19321 * Makeconfig: Remove all but ELF support including AIX support.
19322 * Makerules: Likewise.
19323 * config.h.in: Likewise.
19324 * config.make.in: Likewise.
19325 * configure: Likewise.
19326 * configure.in: Likewise.
19327 * csu/Makefile: Likewise.
19328 * csu/version.c: Likewise.
19329 * debug/Makefile: Likewise.
19330 * dlfcn/Makefile: Likewise.
19331 * elf/Makefile: Likewise.
19332 * extra-lib.mk: Likewise.
19333 * iconv/Makefile: Likewise.
19334 * include/libc-symbols.h: Likewise.
19335 * include/shlib-compat.h: Likewise.
19336 * resolv/Makefile: Likewise.
19337 * resolv/res_libc.c: Likewise.
19338 * rt/Makefile: Likewise.
19339 * sysdeps/i386/asm-syntax.h: Likewise.
19340 * sysdeps/i386/sysdep.h: Likewise.
19341 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19342 * sysdeps/mach/sysdep.h: Likewise.
19343 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19344 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19345 * sysdeps/s390/asm-syntax.h: Likewise.
19346 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19347 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19348 * sysdeps/sh/sysdep.h: Likewise.
19349 * sysdeps/unix/sparc/sysdep.h: Likewise.
19350 * sysdeps/wordsize-32/divdi3.c: Likewise.
19351 * sysdeps/x86_64/sysdep.h: Likewise.
19352
00bbd29b
UD
19353 * argp/Versions: Remove _argp_unlock_xxx.
19354
19355 [BZ #13559]
19356 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19357 * abilist/libBrokenLocale.abilist: Likewise.
19358 * abilist/libanl.abilist: Likewise.
19359 * abilist/libc.abilist: Likewise.
19360 * abilist/libcrypt.abilist: Likewise.
19361 * abilist/libdl.abilist: Likewise.
19362 * abilist/libm.abilist: Likewise.
19363 * abilist/libnsl.abilist: Likewise.
19364 * abilist/libpthread.abilist: Likewise.
19365 * abilist/libresolv.abilist: Likewise.
19366 * abilist/librt.abilist: Likewise.
19367 * abilist/libthread_db.abilist: Likewise.
19368 * abilist/libutil.abilist: Likewise.
19369 * abilist/libnss_db.abilist: New file.
19370
19371 * scripts/abilist.awk: Add support for indirect functions.
19372
a2693a0e
UD
19373 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19374
3f05895f
UD
19375 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19376
ecb6fb48
UD
19377 * shlib-versions: Remove entries for ports architectures.
19378
664f8cb9
UD
19379 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19380 files in ports.
19381 * elf/stackguard-macros.h: Remove support for IA-64.
19382 * elf/tst-auditmod1.c: Likewise.
19383 * sysdeps/generic/ldsodefs.h: Likewise.
19384
7ae81d88
UD
19385 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19386 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19387 configure files.
19388
bdeba135
UD
19389 [BZ #13552]
19390 * configure.in: Remove --enable-omitfp support.
19391 * FAQ.in: Adjust.
19392 * config.make.in: Likewise.
19393 * Makeconfig: Likewise.
19394 * manual/install.texi: Likewise.
19395
d75a0a62
UD
19396 In case anyone cares, the IA-64 architecture could move to ports.
19397 * sysdeps/ia64/*: Removed.
19398 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 19399 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 19400
dcc9756b
UD
19401 [BZ #13555]
19402 * configure.in: Remove entries for unsupported architectures.
19403
d3761ebc 19404 [BZ #13533]
9954432e
UD
19405 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19406 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19407 routines.
19408 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19409 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19410 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19411 fall back to using wcrtomb.
19412 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19413 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19414 renaming.
19415 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19416 * wcsmbs/tst-c16c32-1.c: New file.
19417
19418 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19419 local variable.
19420
c3a87236
UD
19421 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19422
28926a1b
UD
19423 * elf/tst-unique3.cc: Add explicit declaration of gets.
19424 * elf/tst-unique3lib.cc: Likewise.
19425 * elf/tst-unique3lib2.cc: Likewise.
19426 * elf/tst-unique4.cc: Likewise.
19427
df78418a
UD
19428 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19429
8ecd6b2a
JM
194302012-01-06 Joseph Myers <joseph@codesourcery.com>
19431
19432 [BZ #13566]
19433 * assert/assert.h (static_assert): Don't define for C++.
19434 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19435 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19436
9f115170
UD
194372012-01-03 Ulrich Drepper <drepper@gmail.com>
19438
5e0d0300
UD
19439 * iconv/loop.c (single loop): Fix assertion in storing of
19440 remaining bytes.
19441
9f115170
UD
19442 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19443
81fb02b0
UD
194442012-01-01 Ulrich Drepper <drepper@gmail.com>
19445
19446 * posix/getconf.c: Update copyright year.
19447 * nss/getent.c: Likewise.
a316c1f6 19448 * nss/makedb.c: Likewise.
81fb02b0
UD
19449 * iconv/iconvconfig.c: Likewise.
19450 * iconv/iconv_prog.c: Likewise.
19451 * elf/ldconfig.c: Likewise.
a316c1f6
UD
19452 * elf/pldd.c: Likewise.
19453 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
19454 * catgets/gencat.c: Likewise.
19455 * csu/version.c: Likewise.
19456 * elf/ldd.bash.in: Likewise.
19457 * elf/sprof.c (print_version): Likewise.
19458 * locale/programs/locale.c: Likewise.
19459 * locale/programs/localedef.c: Likewise.
a316c1f6 19460 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
19461 * nscd/nscd.c (print_version): Likewise.
19462 * debug/xtrace.sh: Likewise.
19463 * malloc/memusage.sh: Likewise.
19464 * malloc/mtrace.pl: Likewise.
19465 * debug/catchsegv.sh: Likewise.
19466
2ba92745
JJ
194672011-12-30 Jakub Jelinek <jakub@redhat.com>
19468
19469 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19470 pure attribute.
19471
dadebdae
UD
194722011-12-24 Ulrich Drepper <drepper@gmail.com>
19473
d3761ebc 19474 [BZ #13533]
db6af3eb
UD
19475 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19476 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19477 transformations.
19478 * iconv/gconv_int.h: Likewise.
19479 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19480 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19481 from libc for GLIBC_2.16.
19482 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19483 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19484 * wcsmbs/uchar.h: Really define mbstate_t.
19485 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19486 * wcsmbs/c16rtomb.c: New file.
19487 * wcsmbs/mbrtoc16.c: New file.
19488 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19489 for C/POSIX locale.
19490 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19491 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19492
dadebdae
UD
19493 * wcsmbs/wchar.h: Add missing __restrict.
19494
67371b56
UD
194952011-12-23 Ulrich Drepper <drepper@gmail.com>
19496
74033a25
UD
19497 [BZ #13532]
19498 * time/Makefile (routines): Add timespec_get.
19499 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19500 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19501 timespec for ISO C11.
19502 * time/timespec_get.c: New file.
19503 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19504 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19505
380d7e87
UD
19506 [BZ #13531]
19507 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19508 * stdlib/stdlib.h: Declare aligned_alloc.
19509 * Versions.def: Add GLIBC_2.16 for libc.
19510 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19511
4e9e7a35
UD
19512 [BZ 13527]
19513 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19514 ISO C11.
19515
380d7e87 19516 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
19517 code.
19518
03a71829
UD
19519 [BZ #13528]
19520 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19521
839e283e
UD
19522 [BZ #13529]
19523 * assert/assert.h (static_assert): Define.
19524
ce5294e2 19525 * version.h: Update for 2.16 development version.
90fa7312 19526
8d44e150 19527 [BZ #13526]
d7809905
UD
19528 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19529 _ISOC11_SOURCE.
19530
c0da14cd
UD
19531 * version.h (RELEASE): Bump for 2.15 release.
19532 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19533
530a3249
MP
19534 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19535 Patch by Marek Polacek <mpolacek@redhat.com>.
19536
67371b56
UD
19537 * bits/byteswap.h: Protect long long constants with __extension__.
19538 * sysdeps/i386/bits/byteswap.h: Likewise.
19539 * sysdeps/ia64/bits/byteswap.h: Likewise.
19540 * sysdeps/s390/bits/byteswap.h: Likewise.
19541 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19542
15db4de1
LD
195432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19544
19545 [BZ #13540]
bbe315ea
LD
19546 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19547 destination buffer.
15db4de1
LD
19548 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19549
2b2596b1
MP
195502011-12-23 Marek Polacek <polacek@redhat.com>
19551
19552 * elf/dl-addr.c (determine_info): Add inline keyword.
19553 * elf/tst-auditmod4b.c (check_avx): Likewise.
19554 * elf/tst-auditmod6b.c (check_avx): Likewise.
19555 * elf/tst-auditmod6c.c (check_avx): Likewise.
19556 * elf/tst-auditmod7b.c (check_avx): Likewise.
19557
70c6c246
UD
195582011-12-23 Ulrich Drepper <drepper@gmail.com>
19559
19560 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19561 !__SSE_MATH__.
19562
c044cf14
LD
195632011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19564
15db4de1 19565 [BZ #13540]
c044cf14
LD
19566 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19567 processing for last bytes.
19568
6b13d9d9
BH
195692011-08-06 Bruno Haible <bruno@clisp.org>
19570
d455f537
BH
19571 [BZ #13061]
19572 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19573 U+0385, not to U+1FEE.
19574
6b13d9d9
BH
19575 [BZ #13062]
19576 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19577 entry for U+00A5 U+0301.
19578
db910efd
UD
195792011-12-22 Ulrich Drepper <drepper@gmail.com>
19580
27deeafc
UD
19581 [BZ #13166]
19582 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19583 buffer for the output is too small.
19584
aed9d171
UD
19585 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19586 optimization.
19587
db910efd
UD
19588 [BZ #13185]
19589 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19590 SSE flags if possible.
19591
2bd779ae
LD
195922011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19593
e7f9dac3 19594 [BZ #13540]
2bd779ae
LD
19595 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19596 processing for last bytes.
19597
154bfc16
JM
195982011-12-22 Joseph Myers <joseph@codesourcery.com>
19599
19600 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19601 (syscall-list-default-options, syscall-list-default-condition)
19602 (syscall-list-includes): Define.
19603 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19604 list of ABIs and options and #if conditions for each ABI. Do not
19605 handle common syscalls between ABIs specially.
19606 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19607 Remove.
19608 (syscall-list-variants, syscall-list-32bit-options)
19609 (syscall-list-32bit-condition, syscall-list-64bit-options)
19610 (syscall-list-64bit-condition): Define.
19611 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19612 (syscall-list-variants, syscall-list-32bit-options)
19613 (syscall-list-32bit-condition, syscall-list-64bit-options)
19614 (syscall-list-64bit-condition): Define.
19615 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19616 Remove.
19617 (syscall-list-variants, syscall-list-32bit-options)
19618 (syscall-list-32bit-condition, syscall-list-64bit-options)
19619 (syscall-list-64bit-condition): Define.
19620 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19621 Remove.
19622 (syscall-list-variants, syscall-list-32bit-options)
19623 (syscall-list-32bit-condition, syscall-list-64bit-options)
19624 (syscall-list-64bit-condition): Define.
19625
21eaf3a5
UD
196262011-12-22 Ulrich Drepper <drepper@gmail.com>
19627
16c6f992
UD
19628 * locale/iso-639.def: Add brx entry.
19629
41043168
UD
19630 [BZ #13328]
19631 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19632 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19633
21eaf3a5
UD
19634 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19635 __feraiseexcept_renamed.
19636
e3a851a2
UD
196372011-12-21 Ulrich Drepper <drepper@gmail.com>
19638
4920765e
UD
19639 [BZ #13538]
19640 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19641 EPOLLET with unsigned values.
19642 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19643 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19644
e3a851a2
UD
19645 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19646 to large cancellation.
19647 * math/s_cacoshf.c: Likewise.
19648 * math/s_cacoshl.c: Likewise.
19649
b27e24b8
RK
196502011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19651
19652 [BZ #13305]
aebefeee 19653 [BZ #12786]
b27e24b8
RK
19654 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19655 * math/s_cacoshf.c: Likewise.
19656 * math/s_cacoshl.c: Likewise.
19657
ee190f67
UD
196582011-12-21 Ulrich Drepper <drepper@gmail.com>
19659
19660 [BZ #13439]
19661 * iconv/gconv.h: Define __GCONV_SWAP.
19662 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19663 * iconvdata/utf-16.c: Likewise.
19664 * iconvdata/utf-32.c: Likewise.
19665
707f25df
AS
196662011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19667
19668 [BZ #13524]
19669 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19670 numerator after shifting it by one limb.
19671
d2daaa1e
RÁE
196722011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19673
19674 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19675 under [__USE_EXTERN_INLINES].
19676
a4647e72
UD
196772011-12-17 Ulrich Drepper <drepper@gmail.com>
19678
19679 [BZ #13446]
19680 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19681
f0b264f1
AZ
196822011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19683
19684 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19685 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19686 optimized code.
19687 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19688 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19689 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19690 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19691 for strncasecmp/strncasecmp_l compilation.
19692 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19693 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19694
8ef4f244
MP
196952011-12-08 Marek Polacek <mpolacek@redhat.com>
19696
19697 [BZ #13484]
19698 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19699 of __asm__.
19700
97ac2654
UD
197012011-12-17 Ulrich Drepper <drepper@gmail.com>
19702
19703 [BZ #13506]
19704 * time/tzfile.c (__tzfile_read): Check values from file header.
19705
91d2a845
WS
197062011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19707
19708 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19709 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19710 * powerpc/powerpc32/dl-start.S: Likewise.
19711 * powerpc/powerpc32/elf/start.S: Likewise.
19712 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19713 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19714 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19715 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19716 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19717 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19718 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19719 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19720 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19721 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19722 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19723 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19724 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19725 * powerpc/powerpc32/memset.S: Likewise.
19726 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19727 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19728 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19729 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19730 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19731 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19732 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19733 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19734 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19735 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19736 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19737 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19738 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19739
a1267ba1
AZ
197402011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19741
19742 * math/libm-test.inc: Added more nearbyint tests.
19743 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19744 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19745 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19746 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19747
ad8ac1bd
RL
197482011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19749
19750 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19751 FD_CLOEXEC.
19752
1d3e4b61
UD
197532011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19754
19755 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19756 Add wcscpy-ssse3 wcscpy-c.
19757 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19758 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19759 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19760 * sysdeps/x86_64/wcschr.S: New file.
19761 * sysdeps/x86_64/wcsrchr.S: New file.
19762 * string/test-strcmp.c: Remove checking of wcscmp function for
19763 wrong alignments.
19764 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19765 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19766 wcsrchr-sse2 wcsrchr-c.
19767 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19768 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19769 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19770 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19771 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19772 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19773 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19774 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19775 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19776 * wcsmbc/wcschr.c (WCSCHR): New macro.
19777
5b330a2d
UD
197782011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19779
19780 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19781 * wcsmbs/test-wcsrchr.c: New file.
19782 * string/test-strrchr.c: Add wcsrchr support.
19783 (WIDE): New macro.
19784 * wcsmbs/test-wcscpy.c: New file.
19785 * string/test-strcpy.c: Add wcscpy support.
19786 (WIDE): New macro.
26428b7c 19787
f039c043
UD
197882011-12-10 Ulrich Drepper <drepper@gmail.com>
19789
19790 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19791 the inner loop.
19792
850fb039
AS
197932011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19794
19795 [BZ #13472]
19796 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19797
4efbd5cb
UD
197982011-12-04 Ulrich Drepper <drepper@gmail.com>
19799
52ff5dd0 19800 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19801 Minor optimizations.
52ff5dd0 19802
4efbd5cb
UD
19803 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19804 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19805 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19806
8a426e12
UD
198072011-12-03 Ulrich Drepper <drepper@gmail.com>
19808
aff2453d
UD
19809 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19810 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19811 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19812 for gcc to avoid warnings.
19813 * inet/Makefile (tests): Add tst-checks.
19814 * inet/tst-checks.c: New file.
19815
19816 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19817 warning.
19818
19819 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19820 __wmemcmp_sse2.
19821
19822 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19823 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19824
8a426e12
UD
19825 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19826
9bea3473
UD
198272011-12-02 Ulrich Drepper <drepper@gmail.com>
19828
3a965496
UD
19829 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19830 problem.
19831
9bea3473
UD
19832 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19833
f101631b
UD
198342011-11-29 Joseph Myers <joseph@codesourcery.com>
19835
19836 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19837 conditional on GCC version.
19838 (__arch_compare_and_exchange_val_8_acq)
19839 (__arch_compare_and_exchange_val_16_acq)
19840 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19841 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19842 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19843
a98275aa
UD
198442011-12-02 Joseph Myers <joseph@codesourcery.com>
19845
19846 * sysdeps/sh/backtrace.c: New file.
19847
d4cc29a2
AS
198482011-12-02 Andreas Schwab <schwab@redhat.com>
19849
19850 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19851 parenthesis.
19852
6257af2d
AS
198532011-12-01 Andreas Schwab <schwab@redhat.com>
19854
19855 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19856 falling back to utime.
19857
b5f44c1a
AS
198582011-11-30 Andreas Schwab <schwab@redhat.com>
19859
19860 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19861 expectations for float.
19862
f3a6cc0a
AS
198632011-11-29 Andreas Schwab <schwab@redhat.com>
19864
19865 * locale/weight.h (findidx): Add parameter len.
19866 * locale/weightwc.h (findidx): Likewise.
19867 * posix/fnmatch_loop.c (FCT): Adjust caller.
19868 * posix/regcomp.c (build_equiv_class): Likewise.
19869 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19870 * posix/regexec.c (check_node_accept_bytes): Likewise.
19871 * string/strcoll_l.c (STRCOLL): Likewise.
19872 * string/strxfrm_l.c (STRXFRM): Likewise.
19873
9d65ea3a
UD
198742011-11-17 Ulrich Drepper <drepper@gmail.com>
19875
19876 * Makefile.in: Remove CVSOPT handling.
19877 * configure.in: Remove use of AC_REVISION.
19878 * iconvdata/Makefile (distribute): No need to filter out CVS.
19879 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19880 handling.
19881
5583a086
AS
198822011-11-16 Andreas Schwab <schwab@redhat.com>
19883
19884 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19885 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19886 [USE_AS_STRNCASECMP_L]: Likewise.
19887 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19888 NO_TLS_DIRECT_SEG_REFS.
19889 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19890 Fix argument offsets for non-PIC.
19891 [USE_AS_STRNCASECMP_L]: Likewise.
19892 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19893 NO_TLS_DIRECT_SEG_REFS.
19894
d62a8200
UD
198952011-11-15 Ulrich Drepper <drepper@gmail.com>
19896
9d65ea3a 19897 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19898 O_CLOEXEC.
19899 * locale/loadlocale.c (_nl_load_locale): Likewise.
19900
09f93bd3
AS
199012011-11-15 Andreas Schwab <schwab@redhat.com>
19902
446514f9
AS
19903 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19904 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19905 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19906 (SYSCALL_GETTIME): Set errno on error.
19907
09f93bd3
AS
19908 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19909 count references to noai6ai_cached.
19910
312be3f9
UD
199112011-11-15 Ulrich Drepper <drepper@gmail.com>
19912
19913 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19914
19915 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19916 FD_CLOEXEC for /proc/self/maps.
19917
19918 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19919 FD_CLOEXEC for /proc/meminfo.
19920
19921 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19922 gai.conf.
19923
19924 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19925 FD_CLOEXEC for given file.
19926
19927 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19928
19929 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19930 FD_CLOEXEC for /etc/hosts.
19931 (_gethtent): Likewise.
19932
19933 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19934
19935 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19936 cancellation and set FD_CLOEXEC for /etc/netgroup.
19937
19938 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19939 reading /etc/publickey.
19940
19941 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19942 allow cancellation when reading /etc/group.
19943
19944 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19945 cancellation.
19946 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19947
19948 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19949 when using data file.
19950
19951 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19952
19953 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19954 (write_nis_obj): Use "c" and "e" in fopen.
19955
19956 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19957
19958 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19959
19960 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19961
19962 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19963
19964 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19965 locale.alias.
19966
19967 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19968
19969 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19970
19971 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19972
19973 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19974 file parsing and set FD_CLOEXEC.
19975
82af0fa8
UD
199762011-11-14 Ulrich Drepper <drepper@gmail.com>
19977
19978 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19979
a5fb313c
AS
199802011-11-14 Andreas Schwab <schwab@redhat.com>
19981
19982 * malloc/arena.c (arena_get2): Don't call reused_arena when
19983 _int_new_arena failed.
19984
6abf3465
UD
199852011-11-14 Ulrich Drepper <drepper@gmail.com>
19986
19987 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19988 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19989 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19990 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19991 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19992 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19993 to compile strcasecmp and strncasecmp.
19994 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19995 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19996
19997 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19998
76e3966e
UD
199992011-11-13 Ulrich Drepper <drepper@gmail.com>
20000
20001 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20002 locale-defines.sym to gen-as-const-headers.
20003 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20004 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20005 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20006 to compile strcasecmp and strncasecmp.
20007 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20008 strcasecmp_l and strncasecmp_l.
20009 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20010 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20011 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20012 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20013 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20014 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20015 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20016 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20017 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20018 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20019 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20020
ab26144e
UD
200212011-11-12 Ulrich Drepper <drepper@gmail.com>
20022
7edb22ef
UD
20023 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20024 result of SYSDEP_GETTIME_CPU to retval.
20025 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20026 parameter list to macro. Remove trailing semicolon. Adjust users.
20027
9694fc44
UD
20028 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20029 variable.
20030
8ad89ef8
UD
20031 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20032 mantissa words.
20033 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20034
0c822ef9
UD
20035 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20036 from unused variable.
20037
874e0564
UD
20038 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20039 DWARF definitions.
20040 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20041 for assembling.
20042
3a2edc79
UD
20043 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20044 over namespaces.
20045
f3c2577f
UD
20046 * sunrpc/rpc_prot.c (rejected): Fix case value.
20047
294ce126
UD
20048 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20049 unsigned long long int to avoid warnings in shift.
20050
5e2b63c6
UD
20051 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20052 of use of trans.
20053 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20054 variable tmp.
20055
e7f4b08e
UD
20056 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20057 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20058 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20059
ab26144e
UD
20060 * nis/nis_table.c (nis_list): Use variable of correct type for
20061 result of __follow_path call.
20062
8a6d5255
AZ
200632011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20064
20065 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20066 of math functions ceil, trunc, floor, round, and sqrt, when
20067 avaliable on the platform.
20068 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20069 name clash.
20070 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20071 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20072 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20073
aaddc98c
MP
200742011-10-30 Marek Polacek <mpolacek@redhat.com>
20075
20076 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20077 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20078
95b7042b
RM
200792011-11-11 Roland McGrath <roland@hack.frob.com>
20080
20081 * include/unistd.h: Fix __readlink return type.
20082 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20083
57769839
UD
200842011-11-11 Ulrich Drepper <drepper@gmail.com>
20085
20086 * stdlib/ucontext.h: Undo last change for makecontext.
20087
edc5984d
AS
200882011-11-11 Andreas Schwab <schwab@redhat.com>
20089
98591e58
AS
20090 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20091
edc5984d
AS
20092 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20093 * setjmp/setjmp.h: Mark functions as non-leaf.
20094 * setjmp/bits/setjmp2.h: Likewise.
20095 * stdlib/ucontext.h: Likewise.
20096
77cdc054
AS
200972011-11-10 Andreas Schwab <schwab@redhat.com>
20098
20099 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20100 (reused_arena): Don't check arena limit.
20101 (arena_get2): Atomically check arena limit.
20102
fe72eebd
UD
201032011-11-08 Ulrich Drepper <drepper@gmail.com>
20104
5f078c32
UD
20105 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20106 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20107
fe72eebd
UD
20108 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20109 instructions.
20110
ae1bc2fa
AS
201112011-11-07 Andreas Schwab <schwab@redhat.com>
20112
7583a88d
AS
20113 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20114 handler when locking.
20115
ae1bc2fa
AS
20116 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20117 Fix size of allocated buffer.
20118
10fb0bfa
AS
201192011-11-04 Andreas Schwab <schwab@redhat.com>
20120
998832a4
AS
20121 [BZ #10103]
20122 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20123 declarations for long double functions.
20124 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20125
10fb0bfa
AS
20126 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20127
3d7ba52b
AS
201282011-11-03 Andreas Schwab <schwab@redhat.com>
20129
a9ae54a1
AS
20130 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20131 installed.
20132
3d7ba52b
AS
20133 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20134 is disabled.
20135
bc8db248
ST
201362011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20137
20138 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20139
45b96dd6
AS
201402011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20141
647776f6
AS
20142 * include/alloca.h (stackinfo_alloca_round): Define.
20143 (extend_alloca): Use it.
20144 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20145 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20146 here.
20147
d91a8b93
AS
20148 * scripts/check-local-headers.sh: Ignore libaudit.h.
20149
45b96dd6
AS
20150 * nscd/Makefile (extra-objs): Make recursively expanded.
20151
432d41ce
UD
201522011-11-01 Ulrich Drepper <drepper@gmail.com>
20153
34372fc6
UD
20154 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20155 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20156
fadb59f8
UD
20157 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20158 * posix/tst-rfc3484-2.c: Likewise.
20159 * posix/tst-rfc3484-3.c: Likewise.
20160
78239589
UD
20161 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20162 process_vm_writev.
20163 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20164 process_vm_writev.
20165 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20166 process_vm_writev from libc using GLIBC_2.15 version.
20167
432d41ce
UD
20168 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20169
02f9c6cf
PP
201702011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20171
20172 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20173 stack usage.
20174
3a2c0242
UD
201752011-10-31 Ulrich Drepper <drepper@gmail.com>
20176
f4ec4833
UD
20177 [BZ #13367]
20178 * nss/getent.c (initgroups_keys): Show error message in case no group
20179 names are given.
20180
3a2c0242
UD
20181 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20182 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20183 __bump_nl_timestamp.
20184 * nscd/connections (nscd_init): When host database is served open
20185 netlink socket and request notification about configuration changes.
20186 (main_loop_poll): Track netlink file descriptor and bump timestamp
20187 in case data becomes available.
20188 (main_loop_epoll): Likewise.
20189 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20190 (database_pers_head): Add extra_data fileds.
20191 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20192 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20193 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20194 Adjust caller.
20195 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20196 in6ai data, call __free_in6ai.
20197 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20198 Add -DHAVE_NETLINK.
20199 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20200 interface information. Reuse previous data if netlink timestamp
20201 is not changed.
20202 (__bump_nl_timestamp): New function.
20203 (__free_in6ai): New function.
20204
636064eb
UD
202052011-10-30 Ulrich Drepper <drepper@gmail.com>
20206
20207 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20208 close_not_cancel_no_status here.
20209 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20210
9beb2334
UD
202112011-10-29 Ulrich Drepper <drepper@gmail.com>
20212
6ef76f3b
UD
20213 [BZ #13276]
20214 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20215 return value.
20216
0ffc4f3e 20217 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20218 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20219 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20220
cb95113e
UD
202212011-07-03 Andreas Jaeger <aj@suse.de>
20222
20223 [BZ #10709]
20224 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20225 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20226 * math/libm-test.inc (sin_test): Add test case.
20227
a1b560ff
UD
202282011-10-29 Ulrich Drepper <drepper@gmail.com>
20229
c9aaface
UD
20230 [BZ #13337]
20231 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20232 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20233
d272e7f1
UD
20234 * elf/chroot_canon.c (chroot_canon): Cleanups.
20235
1bc33071
UD
20236 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20237
1760874d
TJ
20238 [BZ #13335]
20239 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20240 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20241
51d91b18
UD
20242 * string/test-strchr.c: Make usable for strchrnul testing.
20243 * string/test-strchrnul.c: New file.
20244 * string/Makefile (strop-tests): Add strchrnul.
20245
a1b560ff 20246 * po/it.po: Update from translation team.
b611fb81 20247 * po/es.po: Likewise.
a1b560ff 20248
a5b81e1f
UD
202492011-10-28 Ulrich Drepper <drepper@gmail.com>
20250
fd52bc6d
UD
20251 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20252 the three constants needed as parameters. Drop the others.
20253 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20254 __m128i_strloadu_tolower.
52e4b9eb
UD
20255 Create and initialize variable zero and use it in all the places
20256 where _mm_setzero_si128 was used.
fd52bc6d 20257
a5b81e1f
UD
20258 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20259 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20260 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20261 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20262 anymore.
20263 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20264 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20265 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20266 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20267 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20268 __mpranred, __mptan.
20269 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20270 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20271 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20272 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20273 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20274 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20275 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20276 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20277 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20278
b4343346
AS
202792011-10-28 Andreas Schwab <schwab@redhat.com>
20280
0c92d8a8
AS
20281 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20282 redefine if SHARED.
20283 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20284
b4343346
AS
20285 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20286 wide char related routines to wcsmbs subdir.
20287
3871f58f
AS
202882011-10-27 Andreas Schwab <schwab@redhat.com>
20289
20290 [BZ #13344]
20291 * misc/sys/cdefs.h (__THROWNL): Define.
20292 * posix/unistd.h: Use __THREADNL instead of __THREAD
20293 for memory synchronization functions.
20294
94d44d9f
RM
202952011-10-26 Roland McGrath <roland@hack.frob.com>
20296
21b64b15 20297 [BZ #13349]
94d44d9f
RM
20298 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20299 doesn't exist.
20300 * manual/stdio.texi (Obstack Streams): Node removed.
20301
f6ce9294
AS
203022011-10-26 Andreas Schwab <schwab@redhat.com>
20303
80479147
AS
20304 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20305 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20306 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20307
f6ce9294
AS
20308 * math/math_private.h (math_force_eval): Allow non-addressable
20309 arguments.
20310 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20311
618280a1
UD
203122011-10-25 Ulrich Drepper <drepper@gmail.com>
20313
e0016b11
UD
20314 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20315 file is not needed.
20316
20317 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20318 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20319 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20320 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20321 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20322 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20323 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20324 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20325 Add AVX variants.
20326 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20327 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20328 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20329 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20330 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20331 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20332 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20333 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20334 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20335 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20336 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20337 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20338 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20339 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20340 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20341 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20342 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20343 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20344 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20345
20346 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20347 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20348
618280a1
UD
20349 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20350 place. Use VEX encoding when compiling for AVX.
20351
37822576
AS
203522011-10-25 Andreas Schwab <schwab@redhat.com>
20353
1f1e1947
AS
20354 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20355 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20356
37822576
AS
20357 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20358
31ea014d
UD
203592011-10-25 Ulrich Drepper <drepper@gmail.com>
20360
d7826aa1 20361 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 20362 useless if() expression.
d7826aa1
UD
20363 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20364 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20365 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20366 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20367 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20368 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20369 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20370 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20371 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20372 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20373 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20374 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20375 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20376 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20377 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20378 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20379 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20380 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20381 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20382
31ea014d
UD
20383 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20384
16437fec
AS
203852011-10-25 Andreas Schwab <schwab@redhat.com>
20386
20387 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20388 condition.
20389 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20390
31d3cc00
UD
203912011-10-25 Ulrich Drepper <drepper@gmail.com>
20392
20393 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20394 .text section. Avoid duplicate constants.
20395 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20396 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20397 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20398 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20399 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20402 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20403 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20404 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20405 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20406 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20407 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20408 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20409 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20410 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20411 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20412 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20413 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20414 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20415 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20416 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20417 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20418 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20419 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20420 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20421 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20422 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20423 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20424 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20425 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20426 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20427 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20428 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20429 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20430 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20431 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20432 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20433 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20434 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20435 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20436 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20437 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20438 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20439 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20440
58985aa9
UD
204412011-10-24 Ulrich Drepper <drepper@gmail.com>
20442
202c9deb
UD
20443 * sysdeps/x86_64/dla.h: Move to ...
20444 * sysdeps/x86_64/fpu/dla.h: ...here.
20445 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20446 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 20447
af968f62
UD
20448 * config.make.in: Add have-mfma4 entry.
20449 * configure.in: Substitute libc_cv_cc_fma4.
20450 * math/Makefile (dbl-only-routines): Add sincostab.
20451 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20452 Use __sincostab not sincos.
20453 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20454 name is a macro.
20455 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20456 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20457 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20459 using __copysign.
20460 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20461 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20462 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20463 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20464 and __inv.
20465 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20466 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20467 __copysign.
20468 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20469 define aliases when function name is a macro.
20470 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20471 sysdeps/ieee754/dbl-64/sincos.tbl.
20472 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20473 fma4-enabled routines.
20474 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20475 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20476 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20477 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20478 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20479 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20480 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20481 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20482 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20483 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20484 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20485 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20486 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20487 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20488 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20489 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20490 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20491 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20492 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20493 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20494 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20495 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20496 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20497 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20498 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20499 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20500 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20501 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20502 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20503 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20504
58985aa9
UD
20505 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20506 rename.
20507 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20508 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20509 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20510 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20511 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20512 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20513 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20514 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20515
a201fbcf
AS
205162011-10-24 Andreas Schwab <schwab@redhat.com>
20517
20518 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20519
fc2ee42a
LD
205202011-10-23 Ulrich Drepper <drepper@gmail.com>
20521
bb3129bd
UD
20522 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20523
0275fff8
UD
20524 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20525 prediction.
20526 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20527
2fa2ae85
UD
20528 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20529 Remove unused variable magic_bits.
20530 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20531
fc2ee42a
LD
20532 * string/strnlen.c: Define and use STRNLEN macro.
20533 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20534 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20535 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20536 * wcsmbs/wcslen.c: Define and use WCSLEN.
20537 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20538 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20539 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20540 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20541 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20542 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20543 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20544
ce7dd29f
LD
205452011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20546
20547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20548 strnlen-sse2-no-bsf.
20549 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20550 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20551 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20552 Add strnlen support.
20553 (USE_AS_STRNLEN): New macro.
20554 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20555 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20556 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20557 * sysdeps/x86_64/wcslen.S: New file.
20558
979c70a3
MZ
205592011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20560
20561 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20562 XMM-moves are used for copying on small sizes.
20563
2d09f82f
LD
205642011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20565
20566 * wcsmbs/Makefile (strop-tests): Add wcschr.
20567 * wcsmbs/test-wcschr.c: New file.
20568 * string/test-strchr.c: Update.
20569 Add wcschr support.
20570 (WIDE): New macro.
20571
619fccca
LD
205722011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20573
2d09f82f 20574 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
20575 * wcsmbs/test-wcslen.c: New file.
20576 * string/test-strlen.c: Update.
20577 Add wcslen support.
20578 (WIDE): New macro.
20579
09f699ea
UD
205802011-10-23 Ulrich Drepper <drepper@gmail.com>
20581
20582 * po/it.po: Update from translation team.
20583
95584d3b
LD
205842011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20585
20586 * sysdeps/x86_64/wcscmp.S: Update.
20587 Fix wrong comparison semantics.
20588 wcscmp shall use signed comparison not unsigned.
20589 Don't use substraction to avoid overflow bug.
20590 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20591 * wcsmbc/wcscmp.c: Likewise.
20592 * string/test-strcmp.c: Likewise.
20593 Add new tests to check cases with negative values.
20594
c8b3296b
UD
205952011-10-23 Ulrich Drepper <drepper@gmail.com>
20596
20597 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20598 * sysdeps/x86_64/dla.h: ...here. New file.
20599 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20600 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20601 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20602 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20603 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20604 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20605 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20606 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20607 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20608
246ad57a
AS
206092011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20610
20611 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20612 __ynl_finite aliases.
20613
a1a87169
UD
206142011-10-22 Ulrich Drepper <drepper@gmail.com>
20615
0d355eb7
UD
20616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20617
a1a87169
UD
20618 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20619 define DLA_FMA.
20620 [DLA_FMA] (EMULV): Use DLA_FMA.
20621 [DLA_FMA] (MUL12): Use EMULV.
20622 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20623 that are not needed.
20624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20626 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20627 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20628 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20629 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20630 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20631
ee2aafe0
AS
206322011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20633
20634 * math/s_nan.c: Undef __nan.
20635 * math/s_nanf.c: Undef __nanf.
20636 * math/s_nanl.c: Undef __nanl.
20637 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20638 "math_private.h".
20639
bc62c2fb
UD
206402011-10-22 Ulrich Drepper <drepper@gmail.com>
20641
77425c63
UD
20642 * math/s_catan.c: Add branch predictions.
20643 * math/s_catanf.c: Likewise.
20644 * math/s_catanh.c: Likewise.
20645 * math/s_catanhf.c: Likewise.
20646 * math/s_catanhl.c: Likewise.
20647 * math/s_catanl.c: Likewise.
20648 * math/s_cexp.c: Likewise.
20649 * math/s_cexpf.c: Likewise.
20650 * math/s_cexpl.c: Likewise.
20651 * math/s_clog.c: Likewise.
20652 * math/s_clog10.c: Likewise.
20653 * math/s_clog10f.c: Likewise.
20654 * math/s_clog10l.c: Likewise.
20655 * math/s_clogf.c: Likewise.
20656 * math/s_clogl.c: Likewise.
20657 * math/s_csqrt.c: Likewise.
20658 * math/s_csqrtf.c: Likewise.
20659 * math/s_csqrtl.c: Likewise.
20660 * math/s_ctanf.c: Likewise.
20661 * math/s_ctanh.c: Likewise.
20662 * math/s_ctanhf.c: Likewise.
20663 * math/s_ctanhl.c: Likewise.
20664 * math/s_ctanl.c: Likewise.
20665
bc62c2fb
UD
20666 * math/math_private.h: Define __nan, __nanf, __nanl.
20667 * math/s_cacosh.c: Include <math_private.h>.
20668 * math/s_cacoshl.c: Likewise.
20669 * math/s_casinh.c: Likewise.
20670 * math/s_casinhf.c: Likewise.
20671 * math/s_casinhl.c: Likewise.
20672 * math/s_ccos.c: Rely entire on ccosh.
20673 * math/s_ccosf.c: Rely entire on ccoshf.
20674 * math/s_ccosl.c: Rely entirely on ccoshl.
20675 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20676 Remove tests for FE_INVALID.
20677 * math/s_ccoshf.c: Likewise.
20678 * math/s_ccoshl.c: Likewise.
20679 * math/s_csin.c: Likewise.
20680 * math/s_csinf.c: Likewise.
20681 * math/s_csinh.c Likewise.
20682 * math/s_csinhf.c: Likewise.
20683 * math/s_csinhl.c: Likewise.
20684 * math/s_csinl.c: Likewise.
20685 * math/s_ctan.c: Likewise.
20686 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20687 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20688 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20689
8ec250a4
UD
206902011-10-21 Ulrich Drepper <drepper@gmail.com>
20691
c196fed8
UD
20692 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20693 compilation problems.
20694
8ec250a4
UD
20695 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20696 __builtin_expect.
20697
8d4f46c6
UD
206982011-10-20 Ulrich Drepper <drepper@gmail.com>
20699
ed72b654
UD
20700 * sysdeps/i386/configure.in: Test for -mfma4 option.
20701 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20702 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20703 COMMON_CPUID_INDEX_80000001.
20704 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20705 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20706 use it if FMA3 is not supported.
20707 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20708
8d4f46c6
UD
20709 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20710 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20711
d45c60c2
AS
207122011-10-20 Andreas Schwab <schwab@redhat.com>
20713
20714 [BZ #12892]
20715 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20716 it would create a cycle with a link time dependency.
20717
d9a4d2ab
UD
207182011-10-19 Ulrich Drepper <drepper@gmail.com>
20719
855d1560
UD
20720 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20721 instruction.
20722 * string/Makefile (strop-tests): Add rawmemchr.
20723 * string/test-rawmemchr.c: New file.
20724
d9a4d2ab
UD
20725 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20726 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20727 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20728 when compiling str{,n}casecmp and when AVX is available. Hook up
20729 new optimized code in initializers.
20730
8f3b1ffe
AS
207312011-10-19 Andreas Schwab <schwab@redhat.com>
20732
20733 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20734 __feraiseexcept instead of feraiseexcept.
20735
d38f1dba
UD
207362011-10-18 Ulrich Drepper <drepper@gmail.com>
20737
d9a8d0ab
UD
20738 * math/math_private.h: Define defaults for libc_fetestexcept and
20739 libc_feupdateenv.
20740 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20741 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20742 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20743 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20744 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20745 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20746 libc_fetestexcept and libc_feupdateenv.
20747
4855e3dd
UD
20748 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20749 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20750 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20751 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20752 libc_feholdexcept_setround.
20753
581d30e3
UD
20754 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20755 Add s_nearbyint-c and s_nearbyintf-c.
20756 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20757 nearbyintf inlines.
20758 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20759 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20760 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20761 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20762
d38f1dba
UD
20763 * math/math_private.h: Define defaults for libc_fegetround,
20764 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20765 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20766 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20767 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20768 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20769 standard functions.
20770 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20771 Remove comments and hacks for old compiler versions.
20772 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20773 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20774 libc_feholdexceptl.
20775
caa6c9d8
AS
207762011-10-18 Andreas Schwab <schwab@redhat.com>
20777
20778 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20779 (__feraiseexcept_renamed): Add __NTH.
20780 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20781 namespace violations.
20782
97c066e6
UD
207832011-10-17 Ulrich Drepper <drepper@gmail.com>
20784
99ce7b04
UD
20785 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20786
1004d182
UD
20787 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20788
228a984d
UD
20789 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20790 recently added interfaces.
20791 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20792
c8553a6a
UD
20793 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20794 about macro parameter expansion.
20795
ed22dcf6
UD
20796 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20797 __NO_MATH_INLINES is defined. Cleanups.
20798
20799 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20800 and __floorf is target has SSE4.1.
20801 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20802 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20803 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20804 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20805
b171c137
UD
20806 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20807 name.
20808 (floorf): Likewise.
20809
97c066e6
UD
20810 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20811
629f62ef
AS
208122011-10-17 Andreas Schwab <schwab@redhat.com>
20813
49a43d80
AS
20814 * misc/sys/cdefs.h: Fix last change.
20815
629f62ef
AS
20816 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20817 database lookup.
20818
e453f6cd
UD
208192011-10-16 Ulrich Drepper <drepper@gmail.com>
20820
aa78043a
UD
20821 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20822
ad0f5cad
UD
20823 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20824 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20825 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20826 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20827 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20828 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20829 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20830 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20831 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20832 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20833 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20834 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20835 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20836 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20837 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20838 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20839 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20840 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20841 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20842 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20843 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20844 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20845
20846 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20847 ceil, ceilf, floor, floorf.
20848
20849 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20850 Perform IRELATIVE relocations last.
20851
e453f6cd
UD
20852 * elf/do-rel.h: Add another parameter nrelative, replacing the
20853 local variable with the same name. Change name of the function
20854 to end in Rel or Rela (uppercase).
20855 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20856 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20857 elf_dynamic_do_##reloc function.
20858
fd5bdc09
UD
208592011-10-15 Ulrich Drepper <drepper@gmail.com>
20860
79b195b5
UD
20861 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20862 is sufficient, at least on modern CPUs.
20863
d4a28569
UD
20864 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20865
b61099b5
UD
20866 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20867 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20868
bcf01e6d
UD
20869 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20870 __expl_finite.
20871 * math/bits/math-finite.h: Add entries for exp.
20872 * math/e_expl.c: Add __*_finite alias.
20873 * sysdeps/i386/fpu/e_exp.S: Likewise.
20874 * sysdeps/i386/fpu/e_expf.S: Likewise.
20875 * sysdeps/i386/fpu/e_expl.c: Likewise.
20876 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20877 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20878 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20879 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20880 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20881 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20882 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20883
ba1a0d59
UD
20884 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20885 is sufficient, at least on modern CPUs.
20886
fd5bdc09
UD
20887 * ctype/ctype-info.c (__ctype_init): Define.
20888 * include/ctype.h (__ctype_init): Declare.
20889 (__ctype_b_loc): The variable is always initialized.
20890 (__ctype_toupper_loc): Likewise.
20891 (__ctype_tolower_loc): Likewise.
20892 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20893 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20894
7872cfb0
AS
208952011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20896
b468825a
AS
20897 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20898
7872cfb0
AS
20899 * configure.in: Also look in $cxxmachine/include for C++ system
20900 headers.
20901
be13f7bf
LD
209022011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20903
20904 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20905 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20906 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20907 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20908 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20909 (USE_AS_WMEMCMP): New macro.
20910 Fixing indents.
20911 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20912 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20913 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20914 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20916 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20917 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20918 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20919 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20920 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20921 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20922 (USE_AS_WMEMCMP): New macro.
20923 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20924 * sysdeps/string/test-memcmp.c: Update.
20925 Fix simple_wmemcmp.
20926 Add new tests.
20927 * wcsmbs/wmemcmp.c: Update.
20928 (WMEMCMP): New macro.
20929 Fix overflow bug.
20930
556a2007
AJ
209312011-10-12 Andreas Jaeger <aj@suse.de>
20932
20933 [BZ #13268]
20934 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20935
538faaa7
UD
209362011-10-15 Ulrich Drepper <drepper@gmail.com>
20937
ab6737ff
UD
20938 * libio/iofwide.c (do_length): Avoid warning.
20939
538faaa7
UD
20940 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20941
396a21b1
UD
209422011-10-14 Ulrich Drepper <drepper@gmail.com>
20943
cdf2901f
UD
20944 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20945
38ad40ce
UD
20946 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20947 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20948 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20949 * sysdeps/i386/i686/fpu/e_log.S: New file.
20950 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20951 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20952
396a21b1
UD
20953 * ctype/ctype.h: Add support for inlined isXXX functions when
20954 compiling C++ code.
20955
6b1f68c9
AS
209562011-10-14 Andreas Schwab <schwab@redhat.com>
20957
349290c0
AS
20958 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20959
6b1f68c9
AS
20960 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20961
f2282d42
RM
209622011-10-13 Roland McGrath <roland@hack.frob.com>
20963
20964 [BZ #13291]
20965 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20966
5298ffa8
AS
209672011-10-13 Andreas Schwab <schwab@redhat.com>
20968
714fad23
AS
20969 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20970 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20971 feraiseexcept.
20972
81dcc7fb
AS
20973 * sysdeps/x86_64/memrchr.S: Check for zero size.
20974
5298ffa8
AS
20975 * string/stratcliff.c: Add memrchr tests.
20976
951fbcec
LD
209772011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20978
20979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20980 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20981 rawmemchr-sse2 rawmemchr-sse2-bsf.
20982 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20983 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20984 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20985 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20986 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20987 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20988 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20989 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20990 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20991 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20992 * string/memrchr.c (MEMRCHR): New macro.
20993
0ac5ae23
UD
209942011-10-12 Ulrich Drepper <drepper@gmail.com>
20995
20996 Add integration with gcc's -ffinite-math-only and optimize wrapper
20997 functions in libm.
20998 * Versions.def: Define GLIBC_2.15 version for libm.
20999 * math/Makefile (headers): Add bits/math-finite.h.
21000 * math/bits/math-finite.h: New file.
21001 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21002 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21003 * math/e_acoshl.c: Add __*_finite alias.
21004 * math/e_acosl.c: Likewise.
21005 * math/e_asinl.c: Likewise.
21006 * math/e_atan2l.c: Likewise.
21007 * math/e_atanhl.c: Likewise.
21008 * math/e_coshl.c: Likewise.
21009 * math/e_exp10.c: Likewise.
21010 * math/e_exp10f.c: Likewise.
21011 * math/e_exp10l.c: Likewise.
21012 * math/e_exp2l.c: Likewise.
21013 * math/e_fmodl.c: Likewise.
21014 * math/e_gammal_r.c: Likewise.
21015 * math/e_hypotl.c: Likewise.
21016 * math/e_j0l.c: Likewise.
21017 * math/e_j1l.c: Likewise.
21018 * math/e_jnl.c: Likewise.
21019 * math/e_lgammal_r.c: Likewise.
21020 * math/e_log10l.c: Likewise.
21021 * math/e_log2l.c: Likewise.
21022 * math/e_logl.c: Likewise.
21023 * math/e_powl.c: Likewise.
21024 * math/e_sinhl.c: Likewise.
21025 * math/e_sqrtl.c: Likewise.
21026 * math/e_scalb.c: Completely rewritten and optimized.
21027 * math/e_scalbf.c: Likewise.
21028 * math/e_scalbl.c: Likewise.
21029 * math/w_acos.c: Likewise.
21030 * math/w_acosf.c: Likewise.
21031 * math/w_acosl.c: Likewise.
21032 * math/w_acosh.c: Likewise.
21033 * math/w_acoshf.c: Likewise.
21034 * math/w_acoshl.c: Likewise.
21035 * math/w_asin.c: Likewise.
21036 * math/w_asinf.c: Likewise.
21037 * math/w_asinl.c: Likewise.
21038 * math/w_atan2.c: Likewise.
21039 * math/w_atan2f.c: Likewise.
21040 * math/w_atan2l.c: Likewise.
21041 * math/w_atanh.c: Likewise.
21042 * math/w_atanhf.c: Likewise.
21043 * math/w_atanhl.c: Likewise.
21044 * math/w_exp10.c: Likewise.
21045 * math/w_exp10f.c: Likewise.
21046 * math/w_exp10l.c: Likewise.
21047 * math/w_fmod.c: Likewise.
21048 * math/w_fmodf.c: Likewise.
21049 * math/w_fmodl.c: Likewise.
21050 * math/w_j0.c: Likewise.
21051 * math/w_j0f.c: Likewise.
21052 * math/w_j0l.c: Likewise.
21053 * math/w_j1.c: Likewise.
21054 * math/w_j1f.c: Likewise.
21055 * math/w_j1l.c: Likewise.
21056 * math/w_jn.c: Likewise.
21057 * math/w_jnf.c: Likewise.
21058 * math/w_log.c: Likewise.
21059 * math/w_logf.c: Likewise.
21060 * math/w_logl.c: Likewise.
21061 * math/w_log10.c: Likewise.
21062 * math/w_log10f.c: Likewise.
21063 * math/w_log10l.c: Likewise.
21064 * math/w_log2.c: Likewise.
21065 * math/w_log2f.c: Likewise.
21066 * math/w_log2l.c: Likewise.
21067 * math/w_pow.c: Likewise.
21068 * math/w_powf.c: Likewise.
21069 * math/w_powl.c: Likewise.
21070 * math/w_remainder.c: Likewise.
21071 * math/w_remainderf.c: Likewise.
21072 * math/w_remainderl.c: Likewise.
21073 * math/w_scalb.c: Likewise.
21074 * math/w_scalbf.c: Likewise.
21075 * math/w_scalbl.c: Likewise.
21076 * math/w_sqrt.c: Likewise.
21077 * math/w_sqrtf.c: Likewise.
21078 * math/w_sqrtl.c: Likewise.
21079 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21080 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21081 used.
21082 * math/math_private.h: Declare __kernel_standard_f.
21083 * math/w_cosh.c: Remove cruft and optimize a bit.
21084 * math/w_coshf.c: Likewise.
21085 * math/w_coshl.c: Likewise.
21086 * math/w_exp2.c: Likewise.
21087 * math/w_exp2f.c: Likewise.
21088 * math/w_exp2l.c: Likewise.
21089 * math/w_hypot.c: Likewise.
21090 * math/w_hypotf.c: Likewise.
21091 * math/w_hypotl.c: Likewise.
21092 * math/w_lgamma.c: Likewise.
21093 * math/w_lgamma_r.c: Likewise.
21094 * math/w_lgammaf.c: Likewise.
21095 * math/w_lgammaf_r.c: Likewise.
21096 * math/w_lgammal.c: Likewise.
21097 * math/w_lgammal_r.c: Likewise.
21098 * math/w_sinh.c: Likewise.
21099 * math/w_sinhf.c: Likewise.
21100 * math/w_sinhl.c: Likewise.
21101 * math/w_tgamma.c: Likewise.
21102 * math/w_tgammaf.c: Likewise.
21103 * math/w_tgammal.c: Likewise.
21104 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21105 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21106 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21107 Minor optimizations. Pretty printing. Remove cruft.
21108 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21109 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21110 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21111 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21112 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21113 * sysdeps/i386/fpu/e_asin.S: Likewise.
21114 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21115 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21116 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21117 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21118 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21119 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21120 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21121 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21122 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21123 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21124 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21125 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21126 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21127 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21128 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21129 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21130 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21131 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21132 * sysdeps/i386/fpu/e_log.S: Likewise.
21133 * sysdeps/i386/fpu/e_log10.S: Likewise.
21134 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21135 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21136 * sysdeps/i386/fpu/e_log2.S: Likewise.
21137 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21138 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21139 * sysdeps/i386/fpu/e_logf.S: Likewise.
21140 * sysdeps/i386/fpu/e_logl.S: Likewise.
21141 * sysdeps/i386/fpu/e_pow.S: Likewise.
21142 * sysdeps/i386/fpu/e_powf.S: Likewise.
21143 * sysdeps/i386/fpu/e_powl.S: Likewise.
21144 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21145 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21146 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21147 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21148 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21149 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21150 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21151 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21152 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21153 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21154 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21155 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21156 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21157 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21158 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21159 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21160 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21161 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21162 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21163 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21164 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21166 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21167 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21170 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21172 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21173 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21174 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21175 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21176 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21177 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21178 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21179 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21180 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21181 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21182 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21183 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21184 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21185 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21186 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21187 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21188 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21189 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21190 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21191 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21192 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21193 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21194 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21195 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21196 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21197 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21198 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21199 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21200 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21201 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21202 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21203 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21204 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21205 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21206 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21207 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21208 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21209 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21212 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21214 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21215 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21216 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21217 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21219 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21220 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21221 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21223 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21224 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21225 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21226 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21227 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21228 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21229 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21230 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21231 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21233 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21234 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21235 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21236 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21237 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21238 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21239 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21240 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21241 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21242 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21243 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21244 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21245 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21246 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21247 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21248 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21249 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21250 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21251 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21252 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21253 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21254 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21255 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21256 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21257 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21258 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21259 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21260 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21261 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21262 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21263 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21264 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21265 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21266 (__isnanf): Likewise.
21267 (__isinf_ns): Likewise.
21268 (__isinf_nsf): Likewise.
21269 (__finite): Likewise.
21270 (__finitef): Likewise.
21271 (__ieee754_sqrt): Define as macro.
21272 (__ieee754_sqrtf): Define as macro.
21273 (__ieee754_sqrtl): Define as macro.
21274 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21275 inlined copy.
21276 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21277 __FINITE_MATH_ONLY__ consistent.
21278 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21279
12cc2fcd
AS
212802011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21281
a843a204
AS
21282 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21283 of rawmemchr.
21284
12cc2fcd
AS
21285 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21286
c853acd5
UD
212872011-10-09 Ulrich Drepper <drepper@gmail.com>
21288
21289 * po/ja.po: Update from translation team.
21290
c658d255
RM
212912011-10-08 Roland McGrath <roland@hack.frob.com>
21292
110946e4
RM
21293 * locale/programs/locarchive.c (prepare_address_space): New function.
21294 (create_archive, enlarge_archive, open_archive): Use it.
21295
50604220
RM
21296 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21297 inside [SHARED], where it is used.
21298
c658d255
RM
21299 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21300
21301 * nss/getent.c (netgroup_keys): Remove unused variable.
21302 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21303
6a621eb7
UD
213042011-10-08 Ulrich Drepper <drepper@gmail.com>
21305
7edb55ce
UD
21306 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21307 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21308 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21309 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21310 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21311 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21312 * math/Makefile (libm-calls): Add s_isinf_ns.
21313 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21314 * math/multc3.c: Likewise.
21315 * math/s_casin.c: Likewise.
21316 * math/s_casinf.c: Likewise.
21317 * math/s_casinl.c: Likewise.
21318 * math/s_ccos.c: Likewise.
21319 * math/s_ccosf.c: Likewise.
21320 * math/s_ccosl.c: Likewise.
21321 * math/s_ctan.c: Likewise.
21322 * math/s_ctanf.c: Likewise.
21323 * math/s_ctanh.c: Likewise.
21324 * math/s_ctanhf.c: Likewise.
21325 * math/s_ctanhl.c: Likewise.
21326 * math/s_ctanl.c: Likewise.
21327 * math/w_fmod.c: Likewise.
21328 * math/w_fmodf.c: Likewise.
21329 * math/w_fmodl.c: Likewise.
21330 * math/w_remainder.c: Likewise.
21331 * math/w_remainderf.c: Likewise.
21332 * math/w_remainderl.c: Likewise.
21333 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21334 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21335 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21336 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21337 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21338 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21339 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21340 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21341
187da0ae
UD
21342 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21343 of the number.
21344 * stdio-common/printf_fphex.c: Likewise.
21345 * stdio-common/printf_size.c: Likewise.
21346
9277c064
UD
21347 * math/e_exp10.c: Include math_private.h using <...> not "...".
21348 * math/e_exp10f.c: Likewise.
21349 * math/e_exp10l.c: Likewise.
21350 * math/e_exp2l.c: Likewise.
21351 * math/e_j0l.c: Likewise.
21352 * math/e_j1l.c: Likewise.
21353 * math/e_jnl.c: Likewise.
21354 * math/e_lgammal_r.c: Likewise.
21355 * math/e_rem_pio2l.c: Likewise.
21356 * math/e_scalb.c: Likewise.
21357 * math/e_scalbf.c: Likewise.
21358 * math/e_scalbl.c: Likewise.
21359 * math/k_cosl.c: Likewise.
21360 * math/k_sinl.c: Likewise.
21361 * math/k_tanl.c: Likewise.
21362 * math/s_cacoshf.c: Likewise.
21363 * math/s_catan.c: Likewise.
21364 * math/s_catanf.c: Likewise.
21365 * math/s_catanh.c: Likewise.
21366 * math/s_catanhf.c: Likewise.
21367 * math/s_catanhl.c: Likewise.
21368 * math/s_catanl.c: Likewise.
21369 * math/s_ccosh.c: Likewise.
21370 * math/s_ccoshf.c: Likewise.
21371 * math/s_ccoshl.c: Likewise.
21372 * math/s_cexp.c: Likewise.
21373 * math/s_cexpf.c: Likewise.
21374 * math/s_cexpl.c: Likewise.
21375 * math/s_clog.c: Likewise.
21376 * math/s_clog10.c: Likewise.
21377 * math/s_clog10f.c: Likewise.
21378 * math/s_clog10l.c: Likewise.
21379 * math/s_clogf.c: Likewise.
21380 * math/s_clogl.c: Likewise.
21381 * math/s_csin.c: Likewise.
21382 * math/s_csinf.c: Likewise.
21383 * math/s_csinh.c: Likewise.
21384 * math/s_csinhf.c: Likewise.
21385 * math/s_csinhl.c: Likewise.
21386 * math/s_csinl.c: Likewise.
21387 * math/s_csqrt.c: Likewise.
21388 * math/s_csqrtf.c: Likewise.
21389 * math/s_csqrtl.c: Likewise.
21390 * math/s_ctan.c: Likewise.
21391 * math/s_ctanf.c: Likewise.
21392 * math/s_ctanh.c: Likewise.
21393 * math/s_ctanhf.c: Likewise.
21394 * math/s_ctanhl.c: Likewise.
21395 * math/s_ctanl.c: Likewise.
21396 * math/s_ldexp.c: Likewise.
21397 * math/s_ldexpf.c: Likewise.
21398 * math/s_ldexpl.c: Likewise.
21399 * math/s_significand.c: Likewise.
21400 * math/s_significandf.c: Likewise.
21401 * math/s_significandl.c: Likewise.
21402 * math/w_acos.c: Likewise.
21403 * math/w_acosf.c: Likewise.
21404 * math/w_acosh.c: Likewise.
21405 * math/w_acoshf.c: Likewise.
21406 * math/w_acoshl.c: Likewise.
21407 * math/w_acosl.c: Likewise.
21408 * math/w_asin.c: Likewise.
21409 * math/w_asinf.c: Likewise.
21410 * math/w_asinl.c: Likewise.
21411 * math/w_atan2.c: Likewise.
21412 * math/w_atan2f.c: Likewise.
21413 * math/w_atan2l.c: Likewise.
21414 * math/w_atanh.c: Likewise.
21415 * math/w_atanhf.c: Likewise.
21416 * math/w_atanhl.c: Likewise.
21417 * math/w_cosh.c: Likewise.
21418 * math/w_coshf.c: Likewise.
21419 * math/w_coshl.c: Likewise.
21420 * math/w_dremf.c: Likewise.
21421 * math/w_exp10.c: Likewise.
21422 * math/w_exp10f.c: Likewise.
21423 * math/w_exp10l.c: Likewise.
21424 * math/w_exp2.c: Likewise.
21425 * math/w_exp2f.c: Likewise.
21426 * math/w_fmod.c: Likewise.
21427 * math/w_fmodf.c: Likewise.
21428 * math/w_fmodl.c: Likewise.
21429 * math/w_hypot.c: Likewise.
21430 * math/w_hypotf.c: Likewise.
21431 * math/w_hypotl.c: Likewise.
21432 * math/w_j0.c: Likewise.
21433 * math/w_j0f.c: Likewise.
21434 * math/w_j0l.c: Likewise.
21435 * math/w_j1.c: Likewise.
21436 * math/w_j1f.c: Likewise.
21437 * math/w_j1l.c: Likewise.
21438 * math/w_jn.c: Likewise.
21439 * math/w_jnf.c: Likewise.
21440 * math/w_jnl.c: Likewise.
21441 * math/w_lgamma.c: Likewise.
21442 * math/w_lgamma_r.c: Likewise.
21443 * math/w_lgammaf.c: Likewise.
21444 * math/w_lgammaf_r.c: Likewise.
21445 * math/w_lgammal.c: Likewise.
21446 * math/w_lgammal_r.c: Likewise.
21447 * math/w_log.c: Likewise.
21448 * math/w_log10.c: Likewise.
21449 * math/w_log10f.c: Likewise.
21450 * math/w_log10l.c: Likewise.
21451 * math/w_log2.c: Likewise.
21452 * math/w_log2f.c: Likewise.
21453 * math/w_log2l.c: Likewise.
21454 * math/w_logf.c: Likewise.
21455 * math/w_logl.c: Likewise.
21456 * math/w_pow.c: Likewise.
21457 * math/w_powf.c: Likewise.
21458 * math/w_powl.c: Likewise.
21459 * math/w_remainder.c: Likewise.
21460 * math/w_remainderf.c: Likewise.
21461 * math/w_remainderl.c: Likewise.
21462 * math/w_scalb.c: Likewise.
21463 * math/w_scalbf.c: Likewise.
21464 * math/w_scalbl.c: Likewise.
21465 * math/w_sinh.c: Likewise.
21466 * math/w_sinhf.c: Likewise.
21467 * math/w_sinhl.c: Likewise.
21468 * math/w_sqrt.c: Likewise.
21469 * math/w_sqrtf.c: Likewise.
21470 * math/w_sqrtl.c: Likewise.
21471 * math/w_tgamma.c: Likewise.
21472 * math/w_tgammaf.c: Likewise.
21473 * math/w_tgammal.c: Likewise.
21474
6a621eb7
UD
21475 * po/ja.po: Update from translation team.
21476
bf582445
AJ
214772011-09-29 Andreas Jaeger <aj@suse.de>
21478
f9efbf3a
AJ
21479 [BZ #13179]
21480 * sunrpc/netname.c (netname2host): Fix logic.
21481
bf582445
AJ
21482 [BZ #6779]
21483 [BZ #6783]
21484 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21485 correctly.
21486 * math/w_remainder.c (__remainder): Likewise.
21487 * math/w_remainderf.c (__remainderf): Likewise.
21488 * math/libm-test.inc (remainder_test): Add test cases.
21489
48693bea
AK
214902011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21491
21492 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21493 sdiv_qrnnd.
21494
42622229
LD
214952011-10-07 Ulrich Drepper <drepper@gmail.com>
21496
21497 * string/test-memcmp.c: Avoid unncessary #defines.
21498 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21499
093ecf92
LD
215002011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21501
21502 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21503 Use new sse2 version for core i3 - i7 as it's faster
21504 than sse42 version.
21505 (bit_Prefer_PMINUB_for_stringop): New.
21506 * sysdeps/x86_64/rawmemchr.S: Update.
21507 Replace with faster SSE2 version.
21508 * sysdeps/x86_64/memrchr.S: New file.
21509 * sysdeps/x86_64/memchr.S: Update.
21510 Replace with faster SSE2 version.
21511
fde56e5c
MP
215122011-09-12 Marek Polacek <mpolacek@redhat.com>
21513
21514 * elf/dl-load.c (lose): Add cast to avoid warning.
21515
21fd49a9
UD
215162011-10-07 Ulrich Drepper <drepper@gmail.com>
21517
5a06e643
UD
21518 * po/ca.po: Update from translation team.
21519
684ae515
UD
21520 * inet/getnetgrent_r.c: Hook up nscd.
21521 * nscd/Makefile (routines): Add nscd_netgroup.
21522 (nscd-modules): Add netgroupcache.
21523 (CFLAGS-netgroupcache.c): Define.
21524 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21525 (cache_search): Add const to second parameter.
21526 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21527 INNETGR.
21528 (dbs): Add netgrdb entry.
21529 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21530 (verify_persistent_db): Handle netgrdb.
21531 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21532 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21533 GETFDNETGR.
21534 (netgroup_response_header): Define.
21535 (innetgroup_response_header): Define.
21536 (datahead): Add netgroup_response_header and innetgroup_response_header
21537 elements.
21538 * nscd/nscd.conf: Add entries for netgroup cache.
21539 * nscd/nscd.h (dbtype): Add netgrdb.
21540 (_PATH_NSCD_NETGROUP_DB): Define.
21541 (netgroup_iov_disabled): Declare.
21542 (xmalloc, xcalloc, xrealloc): Move declarations here.
21543 (cache_search): Adjust prototype.
21544 Add netgroup-related prototypes.
21545 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21546 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21547 (__nscd_innetgr): Declare.
21548 * nscd/selinux.c (perms): Use access_vector_t as element type and
21549 add netgroup-related initializers.
21550 * nscd/netgroupcache.c: New file.
21551 * nscd/nscd_netgroup.c: New file.
21552 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21553 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21554 For four parameters use innetgr.
21555 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21556 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21557 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21558 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21559
21fd49a9
UD
21560 * nscd/connections.c (register_traced_file): Don't register file
21561 for disabled databases.
21562
054c0457
UD
215632011-10-06 Ulrich Drepper <drepper@gmail.com>
21564
32b63198
UD
21565 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21566
054c0457
UD
21567 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21568 from tree and freeing node.
21569
64031225
JO
215702011-09-25 Jiri Olsa <jolsa@redhat.com>
21571
21572 * nss/nsswitch.c (__nss_database_lookup): Handle
21573 nss_parse_service_list out of memory case.
21574
0490345c
JO
215752011-09-15 Jiri Olsa <jolsa@redhat.com>
21576
21577 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21578 out of memory case.
21579
3a62d00d
AS
215802011-10-04 Andreas Schwab <schwab@redhat.com>
21581
21582 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21583 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21584 pass it down.
21585 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21586 elf_machine_rela, elf_machine_lazy_rel.
21587 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21588 (ELF_DYNAMIC_DO_REL): Likewise.
21589 (ELF_DYNAMIC_DO_RELA): Likewise.
21590 (ELF_DYNAMIC_RELOCATE): Likewise.
21591 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21592 to ELF_DYNAMIC_DO_REL.
21593 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21594 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21595 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21596 elf_machine_rela.
21597 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21598 skip_ifunc, don't call ifunc function if non-zero.
21599 (elf_machine_rela): Likewise.
21600 (elf_machine_lazy_rel): Likewise.
21601 (elf_machine_lazy_rela): Likewise.
21602 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21603 (elf_machine_lazy_rel): Likewise.
21604 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21605 Likewise.
21606 (elf_machine_lazy_rel): Likewise.
21607 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21608 Likewise.
21609 (elf_machine_lazy_rel): Likewise.
21610 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21611 (elf_machine_lazy_rel): Likewise.
21612 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21613 (elf_machine_lazy_rel): Likewise.
21614 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21615 (elf_machine_lazy_rel): Likewise.
21616 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21617 (elf_machine_lazy_rel): Likewise.
21618 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21619 (elf_machine_lazy_rel): Likewise.
21620 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21621 (elf_machine_lazy_rel): Likewise.
21622
68577918
UD
216232011-09-28 Ulrich Drepper <drepper@gmail.com>
21624
21625 * nss/nss_files/files-init.c (_nss_files_init): Use static
21626 initialization for all the *_traced_file variables.
21627
68822d74
AS
216282011-09-28 Andreas Schwab <schwab@redhat.com>
21629
21630 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21631
2056100b
RM
216322011-09-27 Roland McGrath <roland@hack.frob.com>
21633
21634 [BZ #13226]
21635 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21636
32c76b63
AS
216372011-09-27 Andreas Schwab <schwab@redhat.com>
21638
21639 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21640 Reread the line before reparsing it.
21641
bf972c9d
AS
216422011-09-26 Andreas Schwab <schwab@redhat.com>
21643
21644 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21645
e057a1b5
JM
216462011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21647 Maxim Kuvyrkov <maxim@codesourcery.com>
21648 Joseph Myers <joseph@codesourcery.com>
21649
21650 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21651 if needed for __stack_chk_guard.
21652
bc7e1c36
RM
216532011-09-19 Roland McGrath <roland@hack.frob.com>
21654
ecb1482f
RM
21655 * sysdeps/posix/spawni.c (script_execute): Always define it.
21656 It will be optimized away if unused.
21657 (maybe_script_execute): New function.
21658 (__spawni): Call it.
21659
bc7e1c36
RM
21660 * Makerules: Don't include tls.make.
21661 (config-tls): Always set to thread.
21662 * tls.make.c: File removed.
21663
1c3b002b
MF
216642011-09-19 Mike Frysinger <vapier@gentoo.org>
21665
21666 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21667 * config.make.in (CPPFLAGS-config): New substituted variable.
21668
2840865d
UD
216692011-09-15 Ulrich Drepper <drepper@gmail.com>
21670
88738eb6
UD
21671 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21672
cbf645a6 21673 [BZ #13192]
2840865d
UD
21674 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21675 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21676
b402e91a
RM
216772011-09-15 Roland McGrath <roland@hack.frob.com>
21678
21679 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21680 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21681 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21682 (CALL_FAIL): Likewise.
21683 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21684 (CALL_FAIL): Macro removed.
21685 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21686
4c1a1f71
UD
216872011-09-15 Ulrich Drepper <drepper@gmail.com>
21688
21689 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21690 for __FINITE_MATH_ONLY__ == 1.
21691
edc121be
AS
216922011-09-15 Andreas Schwab <schwab@redhat.com>
21693
21694 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21695 __ieee754_sqrt instead of sqrt.
21696 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21697 __ieee754_sqrtf instead of sqrtf.
21698 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21699 __floorf instead of floorf.
21700 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21701 __floorf, __truncf instead of floorf, truncf.
21702
cd205654
UD
217032011-09-14 Ulrich Drepper <drepper@gmail.com>
21704
ee4d0315
UD
21705 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21706
cd205654
UD
21707 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21708 __extern_always_inline.
21709 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21710 32-bit.
21711
48b67d71
AS
217122011-09-14 Andreas Schwab <schwab@redhat.com>
21713
21714 * elf/rtld.c (dl_main): Also relocate in dependency order when
21715 doing symbol dependency testing.
21716
1ae12c75
AS
217172011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21718
21719 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21720 Always define `refsym'.
21721
995a80df
AS
217222011-09-13 Andreas Schwab <schwab@redhat.com>
21723
e529793b
AS
21724 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21725 (__FD_ELT): Renamed from __FDELT.
21726 * misc/bits/select2.h (__FD_ELT): Likewise.
21727 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21728 __FD_MASK instead of __FDELT, __FDMASK.
21729 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21730 Likewise.
21731 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21732 Likewise.
21733
52d4fef8
AS
21734 * elf/Makefile (gen-ldd): Fix pattern.
21735
995a80df
AS
21736 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21737 (init_tls): Likewise.
21738
8682f8b0
UD
217392011-09-12 Ulrich Drepper <drepper@gmail.com>
21740
21741 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21742
de82006d
AS
217432011-09-12 Andreas Schwab <schwab@redhat.com>
21744
a7c8e6a1
AS
21745 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21746 `struct cmsghdr *' instead of `void *'.
21747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21748 Likewise.
21749
0f31fe77
AS
217502011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21751
21752 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21753 if non-absolute.
21754 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21755 ldd_rewrite_script.
0f31fe77 21756
32b4c839
UD
217572011-09-11 Ulrich Drepper <drepper@gmail.com>
21758
83cd1420
UD
21759 * configure.in: Remove --with-tls option.
21760 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21761 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21762 out in case it is missing.
21763 * sysdeps/ia64/elf/configure.in: Likewise.
21764 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21765 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21766 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21767 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21768 * sysdeps/sh/elf/configure.in: Likewise.
21769 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21770 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21771 * sysdeps/x86_64/elf/configure.in: Likewise.
21772 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21773 * sysdeps/mach/hurd/tls.h: Likewise.
21774
633f745d
UD
21775 [BZ #13067]
21776 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21777
f318beb8
UD
21778 [BZ #13090]
21779 * configure.in: Fix use of AC_INIT.
21780
32b4c839
UD
21781 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21782
3ce1f295
UD
217832011-09-10 Ulrich Drepper <drepper@gmail.com>
21784
bb016596
UD
21785 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21786 __set_errno.
8e58439c
UD
21787 * malloc/hooks.c: Likewise.
21788
aebae053 21789 [BZ #11929]
02d46fc4
UD
21790 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21791 variables statically.
21792 (narenas): Initialize.
21793 (list_lock): Initialize.
bb016596
UD
21794 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21795 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21796 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21797 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21798 Add initializers to main_arena and mp_.
21799 (malloc_state): Remove pagesize member. Change all users to use
21800 GLRO(dl_pagesize).
21801
21802 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21803 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21804 is always initialized.
21805
22a89187
UD
21806 * malloc/malloc.c: Removed unused configurations and dead code.
21807 * malloc/arena.c: Likewise.
21808 * malloc/hooks.c: Likewise.
02d46fc4 21809 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21810
d063d164
UD
21811 * include/tls.h: Removed. USE___THREAD must always be defined.
21812 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21813 * elf/dl-libc.c: Likewise.
21814 * elf/dl-tsd.c: Likewise.
21815 * include/errno.h: Likewise.
21816 * include/netdb.h: Likewise.
21817 * include/resolv.h: Likewise.
21818 * inet/herrno-loc.c: Likewise.
21819 * inet/herrno.c: Likewise.
21820 * malloc/arena.c: Likewise.
21821 * malloc/hooks.c: Likewise.
21822 * malloc/malloc.c: Likewise.
21823 * resolv/res-state.c: Likewise.
21824 * resolv/res_libc.c: Likewise.
21825 * sysdeps/i386/dl-machine.h: Likewise.
21826 * sysdeps/ia64/dl-machine.h: Likewise.
21827 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21828 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21829 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21830 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21831 * sysdeps/sh/dl-machine.h: Likewise.
21832 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21833 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21834 * sysdeps/unix/i386/sysdep.S: Likewise.
21835 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21836 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21837 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21838 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21839 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21840 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21841 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21842 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21843 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21844 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21845 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21846 * sysdeps/x86_64/dl-machine.h: Likewise.
21847 * tls.make.c: Likewise.
21848
3ce1f295
UD
21849 * configure.in: Remove --with-__thread option. Make tests for
21850 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21851 tls_model attribute fail if no support is available. Remove
21852 USE_IN_LIBIO.
21853 * Makeconfig: Adjust for dropped configure option. All features are
21854 now mandatory.
21855 * Makerules: Likewise.
21856 * Versions.def: Likewise.
21857 * argp/argp-fmtstream.c: Likewise.
21858 * argp/argp-fmtstream.h: Likewise.
21859 * argp/argp-help.c: Likewise.
21860 * assert/assert.c: Likewise.
21861 * config.h.in: Likewise.
21862 * config.make.in: Likewise.
21863 * configure: Likewise.
21864 * configure.in: Likewise.
21865 * csu/Versions: Likewise.
21866 * csu/init.c: Likewise.
21867 * elf/tst-audit2.c: Likewise.
21868 * elf/tst-tls10.c: Likewise.
21869 * elf/tst-tls10.h: Likewise.
21870 * elf/tst-tls11.c: Likewise.
21871 * elf/tst-tls12.c: Likewise.
21872 * elf/tst-tls14.c: Likewise.
21873 * elf/tst-tlsmod11.c: Likewise.
21874 * elf/tst-tlsmod12.c: Likewise.
21875 * elf/tst-tlsmod13.c: Likewise.
21876 * elf/tst-tlsmod13a.c: Likewise.
21877 * elf/tst-tlsmod14a.c: Likewise.
21878 * elf/tst-tlsmod15b.c: Likewise.
21879 * elf/tst-tlsmod16a.c: Likewise.
21880 * elf/tst-tlsmod16b.c: Likewise.
21881 * elf/tst-tlsmod7.c: Likewise.
21882 * elf/tst-tlsmod8.c: Likewise.
21883 * elf/tst-tlsmod9.c: Likewise.
21884 * gmon/gmon.c: Likewise.
21885 * grp/fgetgrent_r.c: Likewise.
21886 * grp/putgrent.c: Likewise.
21887 * hurd/fopenport.c: Likewise.
21888 * include/libc-symbols.h: Likewise.
21889 * include/tls.h: Likewise.
21890 * intl/gettextP.h: Likewise.
21891 * intl/loadinfo.h: Likewise.
21892 * locale/global-locale.c: Likewise.
21893 * locale/localeinfo.h: Likewise.
21894 * mach/devstream.c: Likewise.
21895 * malloc/arena.c: Likewise.
21896 * malloc/set-freeres.c: Likewise.
21897 * misc/err.c: Likewise.
21898 * misc/getttyent.c: Likewise.
21899 * misc/mntent_r.c: Likewise.
21900 * posix/getopt.c: Likewise.
21901 * posix/wordexp.c: Likewise.
21902 * pwd/fgetpwent_r.c: Likewise.
21903 * resolv/Versions: Likewise.
21904 * resolv/res_hconf.c: Likewise.
21905 * shadow/fgetspent_r.c: Likewise.
21906 * shadow/putspent.c: Likewise.
21907 * stdio-common/printf_fphex.c: Likewise.
21908 * stdio-common/tmpfile.c: Likewise.
21909 * stdlib/abort.c: Likewise.
21910 * stdlib/fmtmsg.c: Likewise.
21911 * sunrpc/auth_unix.c: Likewise.
21912 * sunrpc/clnt_perr.c: Likewise.
21913 * sunrpc/clnt_tcp.c: Likewise.
21914 * sunrpc/clnt_udp.c: Likewise.
21915 * sunrpc/clnt_unix.c: Likewise.
21916 * sunrpc/openchild.c: Likewise.
21917 * sunrpc/svc_simple.c: Likewise.
21918 * sunrpc/svc_tcp.c: Likewise.
21919 * sunrpc/svc_udp.c: Likewise.
21920 * sunrpc/svc_unix.c: Likewise.
21921 * sunrpc/xdr.c: Likewise.
21922 * sunrpc/xdr_array.c: Likewise.
21923 * sunrpc/xdr_rec.c: Likewise.
21924 * sunrpc/xdr_ref.c: Likewise.
21925 * sunrpc/xdr_stdio.c: Likewise.
21926
1248c1c4
PB
219272011-09-09 Ulrich Drepper <drepper@gmail.com>
21928
21929 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21930
219312011-07-03 Andreas Jaeger <aj@suse.de>
21932
21933 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21934 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21935 regenerate with gen-libm-tests.pl.
21936
219372010-05-12 Petr Baudis <pasky@suse.cz>
21938
21939 [BZ #11589]
21940 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21941 around j0() zero points by switching to j1().
21942 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21943 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21944 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21945 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21946
f22e1074
UD
219472011-09-09 Ulrich Drepper <drepper@gmail.com>
21948
f19009c1
UD
21949 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21950 instead of 0.
21951 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21952 instead of 0.
f19009c1
UD
21953 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21954 Patch in part by Pavel Roskin <proski@gnu.org>.
21955
3f8cc204
UD
21956 [BZ #13138]
21957 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21958 realloc.
21959 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21960 Free memory block if necessary.
21961
f22e1074
UD
21962 [BZ #12847]
21963 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21964 be NULL. Don't lock in this case.
21965
0a2349f9
RM
219662011-09-09 Roland McGrath <roland@hack.frob.com>
21967
21968 * elf/elf.h (ELFOSABI_GNU): New macro.
21969 (ELFOSABI_LINUX): Define to that.
21970
f3cdd467
DZ
219712011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21972
21973 * string/strncat.c (strncat): Undef the symbol in case it has been
21974 defined in bits/string.h.
21975
74718d13
UD
219762011-09-09 Ulrich Drepper <drepper@gmail.com>
21977
633e9e0f
UD
21978 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21979
0a2349f9 21980 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
21981 link map.
21982
f9924780
AJ
219832011-08-17 Andreas Jaeger <aj@suse.de>
21984
21985 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21986
7f5517aa
PP
219872011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21988 Ian Lance Taylor <iant@google.com>
21989
21990 * math/libm-test.inc (lround_test): New testcase.
21991 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21992
762011fe
UD
219932011-09-08 Ulrich Drepper <drepper@gmail.com>
21994
92963737
UD
21995 * Makefile: Remove support for automatic cvs check-ins.
21996 * Makerules: Likewise.
21997 * config.make.in: Likewise.
21998 * configure.in: Likewise.
21999 * intl/Makefile: Likewise.
22000 * locale/Makefile: Likewise.
22001 * po/Makefile: Likewise.
22002 * posix/Makefile: Likewise.
22003 * sysdeps/gnu/Makefile: Likewise.
22004 * sysdeps/mach/hurd/Makefile: Likewise.
22005 * sysdeps/sparc/sparc32/Makefile: Likewise.
22006
b0727fd8
JS
22007 [BZ #13118]
22008 * posix/Makefile (bug-regex32-ENV): Define.
22009 Patch by John Stanley <jpsinthemix@verizon.net>.
22010
a0f33f99
UD
22011 * misc/Makefile (headers): Add bits/select2.h.
22012 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22013 * misc/bits/select2.h: New file.
22014 * include/bits/select2.h: New file.
22015 * debug/Makefile (routines): Add fdelt_chk.
22016 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22017 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22018 FD_ISSET.
22019 * debug/fdelt_chk.c: New file.
22020
762011fe
UD
22021 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22022 * wcsmbs/test-wmemcmp.c: Likewise.
22023 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 22024 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
22025
220262011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22027
22028 * string/Makefile (strop-tests): Add memcmp.
22029 * string/test-wmemcmp.c: New file.
22030 * string/test-memcmp.c: Add wmemcmp support.
22031
7f513ec8
RM
220322011-09-08 Roland McGrath <roland@hack.frob.com>
22033
0442afb4
RM
22034 [BZ #13153]
22035 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22036 2011-07-19 change.
22037
7f513ec8
RM
22038 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22039 garbage value in a __mach_port_mod_refs call in the cases of the
22040 task-self and thread-self ports.
22041
a12b2239
ST
220422011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22043
22044 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22045
610f9ab4
AS
220462011-09-08 Andreas Schwab <schwab@redhat.com>
22047
7f513ec8 22048 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 22049
48882a1a
LD
220502011-09-07 Ulrich Drepper <drepper@gmail.com>
22051
b49865be
UD
22052 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22053
fdc86bc9
UD
22054 * elf/dl-libc.c (dlerror_run): Pass back error code from
22055 dl_catch_error.
22056
c966526a
UD
22057 [BZ #13123]
22058 * elf/dl-load.c (lose): Free l_origin if it is valid.
22059
48882a1a
LD
22060 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22061 names.
22062 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22063 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22064 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22065 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22066 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22067 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22068
77a2a8b4
AZ
220692011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22070
22071 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22072 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22073 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22074 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22075 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22076 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22077 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22078 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22079 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22080 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22081
24f579d8
AM
220822011-08-15 Alan Modra <amodra@gmail.com>
22083
22084 [BZ #13092]
22085 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22086 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22087 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22088 ppc_mcount to static-only-routines.
22089 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22090 __mcount_internal.
22091 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22092 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22093
3d4837df
UD
220942011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22095
22096 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22097 for finite and infinity parameters.
22098
22700377
WS
220992011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22100
22101 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22102 and add nop instructions for throughput optimization.
22103 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22104
5025581e
WS
221052011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22106
22107 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22108 aligned copy for power7 with vector-scalar instructions.
22109 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22110
08a300c9
L
221112011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22112
22113 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22114 AVX check.
22115
59178ef9
AS
221162011-09-07 Andreas Schwab <schwab@redhat.com>
22117
22118 [BZ #13144]
22119 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22120 last change.
22121
e38ba7ab
UD
221222011-09-07 Ulrich Drepper <drepper@gmail.com>
22123
22124 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22125 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22126 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22127 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22128 clock_gettime.
22129
d53a73ac
UD
221302011-09-06 Ulrich Drepper <drepper@gmail.com>
22131
fc8bffcc
UD
22132 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22133 Forgot to demangle the pointer.
22134
ceaa0c5d
UD
22135 * sysdeps/i386/sysdep.h: Define atom_text_section.
22136 * sysdeps/x86_64/sysdep.h: Likewise.
22137 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22138 section with atom_text_section.
22139 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22140 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22141 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22142 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22143 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22144
a77d3c17
UD
22145 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22146 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22147 already be defined. Change to take two parameters and don't assign
22148 result to variable. Adjust all users.
22149 Define INTERNAL_GETTIME if not already defined.
22150 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22151 call.
22152 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22153 HAVE_CLOCK_GETTIME_VSYSCALL.
22154 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22155
d53a73ac
UD
22156 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22157 gettimeofday vsyscall, just use time.
22158
a8f84144
AS
221592011-09-06 Andreas Schwab <schwab@redhat.com>
22160
22161 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22162 <errno.h>.
22163
ef606249
UD
221642011-09-06 Ulrich Drepper <drepper@gmail.com>
22165
22166 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22167 syscall on x86-64.
22168 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22169 syscall.
22170 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22171 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22172 syscall if possible.
22173
6585cb60
UD
221742011-09-05 Ulrich Drepper <drepper@gmail.com>
22175
22176 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22177 e_ident. Don't pass to find_mapsXX.
22178 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22179
a5f524e4
LD
221802011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22181
22182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22183 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22184 * sysdeps/x86_64/multiarch/strchr.S: Update.
22185 Check bit_slow_BSF bit.
22186 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22187 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22188 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22189
554881ef
UD
221902011-09-05 Ulrich Drepper <drepper@gmail.com>
22191
d96de963
UD
22192 [BZ #13134]
22193 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22194 before glibc 2.15.
22195 (tryshell): Define.
22196 (__spawni): Change last parameter to be flag. Test
22197 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22198 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22199 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22200 * posix/spawni.c: Likewise.
22201 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22202 * posix/spawnp.c: Likewise. Change normal version to use
22203 SPAWN_XFLAGS_USE_PATH.
22204 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22205 SPAWN_XFLAGS_TRY_SHELL.
22206
d48e5868
UD
22207 [BZ #13150]
22208 * posix/glob.h: Remove gcc 1.x support.
22209
554881ef
UD
22210 [BZ #13068]
22211 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22212
693fb948
LD
222132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22214
22215 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22216 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22217 strrchr-sse2-bsf
22218 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22219 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22220 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22221 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22222 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22223 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22224
1b48c537
UD
222252011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22226
49d42c37
UD
22227 * sysdeps/x86_64/wcscmp.S: New file.
22228
1b48c537
UD
22229 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22230 wcscmp-c wcscmp-sse2
22231 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22232 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22233 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22234 * wcsmbs/wcscmp.c: Allow renaming.
22235
15c95c5d
DM
222362011-09-05 David S. Miller <davem@davemloft.net>
22237
22238 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22239 stack slot, rather than the struct return pointer slot.
22240 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22241 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22243 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22244
2f0ad8f3
UD
222452011-09-05 Ulrich Drepper <drepper@gmail.com>
22246
d88ae418
UD
22247 * po/ja.po: Update from translation team.
22248
2f0ad8f3
UD
22249 [BZ #13144]
22250 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22251 kernel in 64-bit binaries.
22252
5f4318d1
DM
222532011-09-01 David S. Miller <davem@davemloft.net>
22254
22255 * elf/elf.h (HWCAP_SPARC_*): Move to..
22256 * sysdeps/sparc/sysdep.h: this new file and add new values.
22257 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22258 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22259 _DL_HWCAP_COUNT to 24.
22260 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22261 entries.
22262 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22263 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22264 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22265 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22266 instead of magic constants.
22267 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22268
3ba57516
DM
222692011-08-31 David S. Miller <davem@davemloft.net>
22270
22271 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22272 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22273 Reimplement to do errno handling inline.
22274 (SYSCALL_ERROR_HANDLER): New macro.
22275 (__SYSCALL_STRING): Do not do errno handling in asm.
22276 (__CLONE_SYSCALL_STRING): Delete.
22277 (__INTERNAL_SYSCALL_STRING): Delete.
22278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22279 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22280 (PSEUDO): Reimplement to do errno handling inline.
22281 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22282 (SYSCALL_ERROR_HANDLER): New macro.
22283 (__SYSCALL_STRING): Do not do errno handling in asm.
22284 (__CLONE_SYSCALL_STRING): Delete.
22285 (__INTERNAL_SYSCALL_STRING): Delete.
22286 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22287 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22288 i386.
22289 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22290 (inline_syscall*): Add 'err' argument.
22291 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22292 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22293 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22294 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22295
22296 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22297 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22298
2bc17433
AS
222992011-08-30 Andreas Schwab <schwab@redhat.com>
22300
22301 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22302
fbeb5f4d
JO
223032011-08-29 Jiri Olsa <jolsa@redhat.com>
22304
22305 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22306 directive.
22307
ad69cc26
DM
223082011-08-24 David S. Miller <davem@davemloft.net>
22309
22310 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22311
39dd69df
AS
223122011-08-24 Andreas Schwab <schwab@redhat.com>
22313
22314 * elf/Makefile: Add rules to build and run unload8 test.
22315 * elf/unload8.c: New file.
22316 * elf/unload8mod1.c: New file.
22317 * elf/unload8mod1x.c: New file.
22318 * elf/unload8mod2.c: New file.
22319 * elf/unload8mod3.c: New file.
22320
22321 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22322 it wasn't used.
22323
2c0b250a
DM
223242011-08-23 David S. Miller <davem@davemloft.net>
22325
22326 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22327 subtract stack bias.
22328 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22329 %sp not %fp in calculations.
22330 (_JMPBUF_UNWINDS_ADJ): Likewise.
22331
22044b48
DM
22332 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22333 (aio_suspend): Call it to force an exception region around the
22334 AIO_MISC_WAIT() invocation.
22335
2cae4995
AS
223362011-08-23 Andreas Schwab <schwab@redhat.com>
22337
22338 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22339 backslash.
22340
873a772e
AJ
223412011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22342
22343 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22344 protection macro.
22345 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22346 and <dl-machine.h>.
22347 (Elf64_FuncDesc): Remove.
22348
25ad0df1
DM
223492011-08-22 David S. Miller <davem@davemloft.net>
22350
22351 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22352 sigaltstack check, add missing cfi directives.
22353 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22354 missing cfi directives, and sigaltstack handling.
22355
e888bcbe
AS
223562011-08-16 Andreas Schwab <schwab@redhat.com>
22357
22358 [BZ #11724]
22359 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22360 object is seen twice.
22361 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22362
22363 * elf/Makefile (distribute): Add tst-initorder2.c.
22364 (tests): Add tst-initorder2.
22365 (modules-names): Add tst-initorder2a tst-initorder2b
22366 tst-initorder2c tst-initorder2d. Add rules to build them.
22367 ($(objpfx)tst-initorder2.out): New rule.
22368 * elf/tst-initorder2.c: New file.
22369 * elf/tst-initorder2.exp: New file.
22370
87162f46
AS
223712011-08-22 Andreas Schwab <schwab@redhat.com>
22372
70538b7f
AS
22373 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22374
f55ffe58
AS
22375 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22376 dependencies back to end of function.
22377
87162f46
AS
22378 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22379 $(elfobjdir)/ld.so.
22380
91b392a4
UD
223812011-08-21 Ulrich Drepper <drepper@gmail.com>
22382
22383 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22384 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22385 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22386 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22387 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22388 of __vdso_gettimeofday.
22389 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22390 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22391 attribute_hidden.
22392 (_libc_vdso_platform_setup): Remove initialization of
22393 __vdso_gettimeofday and __vdso_time.
22394
5c43483f
UD
223952011-08-20 Ulrich Drepper <drepper@gmail.com>
22396
775a77e7
UD
22397 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22398 and fgetc_unlocked.
22399 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22400 getc_unlocked.
89f447ed 22401
49c74ba9
UD
22402 * elf/dl-open.c (add_to_global): Report additions to the global scope
22403 for LD_DEBUG=scopes.
22404 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 22405 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 22406
5c43483f
UD
22407 [BZ #13114]
22408 * stdio-common/Makefile (tests): Add bug24.
22409 * stdio-common/bug24.c: New file.
22410
a101b025
AJ
224112011-08-19 Andreas Jaeger <aj@suse.de>
22412
22413 [BZ #13114]
22414 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22415 non-existant file when using close-on-exec mode.
22416
c88f1766
UD
224172011-08-20 Ulrich Drepper <drepper@gmail.com>
22418
0276a718
UD
22419 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22420 the very first instruction.
22421
c88f1766
UD
22422 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22423 the CFI state in the end.
22424 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22425 inclusion of dl-trampoline.h.
22426 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22427
51ccffa0
AS
224282011-08-19 Andreas Schwab <schwab@redhat.com>
22429
94d7165f
AS
22430 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22431 expectations for long double.
22432
51ccffa0
AS
22433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22434 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22435
fd708658 224362011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
22437
22438 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22439 artificual limit depends upon the system page size.
22440
44f0a71e
UD
224412011-08-17 Ulrich Drepper <drepper@gmail.com>
22442
22443 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22444 * resolv/Makefile: Define CFLAGS-libresolv.
22445
8de79a24
AS
224462011-08-17 Andreas Schwab <schwab@redhat.com>
22447
22448 * nss/makedb.c (compute_tables): Make variables used in nested
22449 function static.
22450
27724598
UD
224512011-08-17 Ulrich Drepper <drepper@gmail.com>
22452
c5305d88
UD
22453 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22454 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22455 if buffer was too small.
22456
27724598
UD
22457 * elf/pldd.c (main): Attach to all threads in the process.
22458 Rewrite /proc handling to use *at functions.
22459
076fe015
UD
224602011-08-16 Ulrich Drepper <drepper@gmail.com>
22461
174baab3
UD
22462 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22463 specifies first scope to show.
22464 (dl_open_worker): Update callers. Move printing scope of new
22465 object to before the relocation.
44f0a71e 22466 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
22467 * sysdeps/generic/ldsodefs.h: Update declaration.
22468
076fe015
UD
22469 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22470 string for the scope number.
22471
a60df2c3
UD
224722011-08-14 Ulrich Drepper <drepper@gmail.com>
22473
22474 * nscd/servicescache.c (cache_addserv): Make sure written is always
22475 initialized.
22476
5e4287d1
RM
224772011-08-14 Roland McGrath <roland@hack.frob.com>
22478
85ae0589
RM
22479 * sysdeps/i386/i486/bits/atomic.h
22480 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22481 statement expression, so as to suppress "set but not used" warning.
22482 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22483
69f63097
RM
22484 * string/strncat.c (STRNCAT): Use prototype definition.
22485
675456ef
RM
22486 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22487 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22488 -Iprograms here.
22489 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22490 (localedef-modules): Add localedef.
22491 (locale-modules): Add locale.
22492
5e4287d1
RM
22493 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22494 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22495 to avoid a warning.
22496
9c96ff23
DM
224972011-08-14 David S. Miller <davem@davemloft.net>
22498
22499 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22500 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22501
f9ddf089
UD
225022011-08-13 Ulrich Drepper <drepper@gmail.com>
22503
44f0a71e 22504 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
22505 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22506 * elf/rtld.c (dl_main): Set l_name of vDSO.
22507 Call _dl_show_scope when DL_DEBUG_SCOPES.
22508 (process_dl_debug): Recognize scopes flag and also set it for all.
22509 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22510 Declare _dl_show_scope.
22511
1dc27704
UD
22512 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22513 (do_dlopen): Pass caller_dlopen to dl_open.
22514 (__libc_dlopen_mode): Initialize caller_dlopen.
22515
f9ddf089
UD
22516 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22517 of libc. Make tolower call locale-independent. Optimize a bit by
22518 using isdigit instead of isalnum.
22519 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22520
9ac533d3
UD
225212011-08-12 Ulrich Drepper <drepper@gmail.com>
22522
22523 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22524 was a dependency or dynamically loaded.
22525
89edf2e9
UD
225262011-08-11 Ulrich Drepper <drepper@gmail.com>
22527
8e999d29
UD
22528 * intl/l10nflist.c: Allow architecture-specific pop function.
22529 * sysdeps/x86_64/l10nflist.c: New file.
22530
89edf2e9
UD
22531 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22532 classification.
22533
14d96785
AS
225342011-08-10 Andreas Schwab <schwab@redhat.com>
22535
22536 * include/dirent.h: Add libc_hidden_proto for scandirat and
22537 scandirat64. Don't declare __scandirat64.
22538 * dirent/scandirat.c: Add libc_hidden_def.
22539 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22540 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22541
6761ac04
DM
225422011-08-10 David S. Miller <davem@davemloft.net>
22543
22544 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22545 enum.
22546 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22547 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22548 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22549
c55fbd1e
UD
225502011-08-09 Ulrich Drepper <drepper@gmail.com>
22551
22552 * Versions.def [libc]: Add GLIBC_2.15.
22553 * dirent/Makefile (routines): Add scandirat and scandirat64.
22554 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22555 GLIBC_2.15.
22556 * dirent/dirent.h: Declare scandirat and scandirat64.
22557 * dirent/scandirat.c: New file.
22558 * dirent/scandirat64.c: New file.
22559 * sysdeps/wordsize-64/scandirat.c: New file.
22560 * sysdeps/wordsize-64/scandirat64.c: New file.
22561 * dirent/opendir.c: Define opendirat.
22562 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22563 using scandirat.
22564 * dirent/scandir64.c: Adjust for scandir.c change.
22565 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22566 __scandirat64, and __scandir_cancel_handler.
22567 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22568 additional parameter and use openat instead of open (outside of ld.so).
22569 Add new __opendir as wrapper around __opendirat.
22570 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22571 here without requiring old scandirat implementation.
22572
879165f2
UD
225732011-08-08 Ulrich Drepper <drepper@gmail.com>
22574
22575 * dirent/scandir.c (cancel_handler): Renamed to
22576 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22577 defined. Adjust users.
22578 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22579 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22580
cb7e923b
UD
225812011-08-04 Ulrich Drepper <drepper@gmail.com>
22582
16292edd
UD
22583 * string/test-string.h (IMPL): Use __STRING to expand name and then
22584 stringify it.
22585
cb7e923b
UD
22586 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22587 of cleanups.
22588
cff82933
LD
225892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22590
22591 * string/Makefile: Update.
22592 (strop-tests): Append strncat.
22593 * string/test-wcscmp.c: New file.
22594 New comprehensive test for wcscmp.
22595 * string/test-strcmp.c: Update.
22596 (WIDE): New define.
22597
9be9bfcc
AS
225982011-07-22 Andreas Schwab <schwab@redhat.com>
22599
22600 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22601 line.
22602
2e96f1c7
AS
226032011-07-26 Andreas Schwab <schwab@redhat.com>
22604
22605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22606 encoding to ACE if AI_IDN.
22607
85188888
JJ
226082011-08-01 Jakub Jelinek <jakub@redhat.com>
22609
22610 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22611 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22612
5fa16e9b
LD
226132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22614
22615 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22616 Fix overflow bug in strncat.
22617 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22618
22619 * string/test-strncat.c: Update.
22620 Add new tests for checking overflow bugs.
22621
226222011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22623
22624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22625 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22626 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22627 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22628 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22629 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22630 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22631 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22632 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22633
22634 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22635 (USE_AS_STRCAT): Define.
22636 Add strcat and strncat support.
22637 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22638
8c1a459f
AS
226392011-07-25 Andreas Schwab <schwab@redhat.com>
22640
22641 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22642 __n bigger than INT_MAX+1.
22643 (__strncmp_g): Likewise.
22644
bba33c28
UD
226452011-07-23 Ulrich Drepper <drepper@gmail.com>
22646
798be72d
UD
22647 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22648 * libio/stido.h: Likewise.
22649
8accd4dc
UD
22650 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22651 (AF_NFC): Define.
22652 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22653 (AF_NFC): Define.
22654
cbff0d96
UD
22655 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22656 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22657 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22658 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22659 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22660
9191c04a
UD
22661 [BZ #13021]
22662 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22663 installed.
22664
bba33c28
UD
22665 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22666 typo.
22667 (_dl_x86_64_save_sse): Likewise.
22668
90f139dd
UD
226692011-07-22 Ulrich Drepper <drepper@gmail.com>
22670
1aae088a
UD
22671 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22672 OSXSAVE.
22673 (_dl_x86_64_save_sse): Likewise.
22674
8e2045f5
UD
22675 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22676
90f139dd
UD
22677 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22678
1d002f25
AS
226792011-07-21 Andreas Schwab <schwab@redhat.com>
22680
22681 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22682 change.
22683 (_dl_x86_64_save_sse): Use correct AVX check.
22684
21137f89
UD
226852011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22686
22687 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22688 bug in strncpy/strncat.
22689 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22690
a65c0b7a
UD
226912011-07-21 Ulrich Drepper <drepper@gmail.com>
22692
22693 * string/tester.c (test_strcat): Add tests for different alignments
22694 of source and destination.
22695 (test_strncat): Likewise.
22696
6986b98a
UD
226972011-07-20 Ulrich Drepper <drepper@gmail.com>
22698
90bb2039
UD
22699 [BZ #12852]
22700 * posix/glob.c (glob): Check passed in values before using them in
22701 expressions to avoid some overflows.
22702 (glob_in_dir): Likewise.
22703
5644ef54
UD
22704 [BZ #13007]
22705 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22706 check for AVX enablement so that we don't crash with old kernels and
22707 new hardware.
22708 * elf/tst-audit4.c: Add same checks here.
22709 * elf/tst-audit6.c: Likewise.
22710
22711 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 22712
bfc9dc9b
AS
227132011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22714
22715 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22716
702e64bb
UD
227172011-07-20 Ulrich Drepper <drepper@gmail.com>
22718
22719 * po/cs.po: Update from translation team.
22720 * po/bg.po: Likewise.
22721
295e904f
MP
227222011-07-12 Marek Polacek <mpolacek@redhat.com>
22723
22724 * misc/sys/cdefs.h: Add support for const attribute.
22725 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22726 to gnu_dev_{major,minor,makedev} functions.
22727
3ff94596
MP
227282011-07-20 Marek Polacek <mpolacek@redhat.com>
22729
22730 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22731
28b59fca
AS
227322011-07-20 Andreas Schwab <schwab@redhat.com>
22733
22734 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22735 strlen results.
22736
19df733e
AK
227372011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22738
22739 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22740 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22741 register in order to avoid conflicts with the soft frame pointer
22742 being held in r11 when necessary.
22743 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22744 (INTERNAL_VSYSCALL_NCS): Likewise.
22745
c8835729
MP
227462011-07-14 Marek Polacek <mpolacek@redhat.com>
22747
22748 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22749 * elf/dl-fini.c (_dl_fini): Adjust caller.
22750 * elf/dl-close.c (_dl_close_worker): Likewise.
22751 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22752
b902330c
MP
227532011-07-15 Marek Polacek <mpolacek@redhat.com>
22754
8991e135
MP
22755 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22756 "aux_cache->nlibs < 0".
22757
b902330c
MP
22758 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22759 in the reload-count case.
22760
99710781
LD
227612011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22762
22763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22764 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22765 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22766 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22767 * sysdeps/x86_64/multiarch/strcat.S: New file.
22768 * sysdeps/x86_64/multiarch/strncat.S: New file.
22769 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22770 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22771 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22772 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22773 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22774 (USE_AS_STRCAT): Define.
22775 Add strcat and strncat support.
22776 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22777 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22778 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22779 * string/strncat.c: Update.
22780 (USE_AS_STRNCAT): Define.
22781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22782 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22783 and i7.
22784 * sysdeps/x86_64/multiarch/init-arch.h
22785 (bit_Prefer_PMINUB_for_stringop): New.
22786 (index_Prefer_PMINUB_for_stringop): Likewise.
22787 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22788 bit_Prefer_PMINUB_for_stringop.
22789
7dc6bd90
UD
227902011-07-19 Ulrich Drepper <drepper@gmail.com>
22791
22792 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22793 buffer64.
22794 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22795 of casting of buffer.
22796 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22797 buffer32 and buffer64.
22798 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22799 writes instead of casting of buffer.
22800 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22801 buffer32.
22802 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22803 casting of buffer.
22804
e0e72284
AS
228052011-07-19 Andreas Schwab <schwab@redhat.com>
22806
22807 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22808
feb1eb0b
UD
228092011-07-19 Ulrich Drepper <drepper@gmail.com>
22810
22811 * nscd/nscd.c (termination_handler): Don't do anything for a database
22812 if it has not yet been initialized.
22813
298711ff
UD
228142011-07-18 Ulrich Drepper <drepper@gmail.com>
22815
22816 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22817
228182011-07-15 Marek Polacek <mpolacek@redhat.com>
22819
22820 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22821
f9d68389
UD
228222011-07-18 Ulrich Drepper <drepper@gmail.com>
22823
22824 * po/nl.po: Update from translation team.
22825 * po/sv.po: Likewise.
22826
db290cf5
RM
228272011-07-16 Roland McGrath <roland@hack.frob.com>
22828
22829 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22830 now disallowed by GCC.
5c550700 22831
fd5e21c7
RM
22832 * configure.in (use-default-link): Default to yes if a test -shared
22833 link meets our qualifications.
22834 * configure: Regenerated.
22835
5c550700
RM
22836 * config.make.in (output-format): New variable.
22837 * configure.in: Check for ld --print-output-format support.
22838 * configure: Regenerated.
22839 * Makerules ($(common-objpfx)format.lds)
22840 [$(output-format) != unknown]: Just use $(output-format),
22841 instead of the linker-script munging.
22842
9fa2c032
RM
228432011-07-14 Roland McGrath <roland@hack.frob.com>
22844
a6928d51
RM
22845 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22846 of $(common-objpfx)shlib.lds.
22847 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22848
661607b3
RM
22849 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22850 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22851
9fa2c032
RM
22852 * configure.in (-z relro check): Adjust test code to add a large
22853 writable data section after it.
22854 * configure: Regenerated.
22855
defe9061
RM
228562011-07-11 Roland McGrath <roland@hack.frob.com>
22857
22858 * configure.in (-z relro check): Fix test code to make the variable
22859 truly const.
22860 * configure: Regenerated.
22861
319b9ad4
UD
228622011-07-11 Ulrich Drepper <drepper@gmail.com>
22863
22864 * nscd/nscd.h (struct traced_file): Define.
22865 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22866 elements. Add traced_files.
22867 (inotify_fd): Declare.
22868 (register_traced_file): Declare.
22869 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22870 (inotify_fd): Export.
22871 (resolv_conf_descr): Remove.
22872 (nscd_init): Move inotify descriptor creation to main.
22873 Don't register files for notification here.
22874 (register_traced_file): New function.
22875 (invalidate_cache): Don't use reset_res to determine whether to call
22876 res_init, go through the list of registered files.
22877 (main_loop_poll): The inotify descriptors are now stored in the
22878 structures for the traced files.
22879 (main_loop_epoll): Likewise
22880 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22881 to __nss_disable_nscd.
22882 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22883 for a database anymore. Check the records for all the registered
22884 files instead.
22885 * nss/Makefile (libnss_files-routines): Add files-init.
22886 (libnss_db-routines): Add db-init.
22887 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22888 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22889 * nss/nss_db/db-init.c: New file.
22890 * nss/nss_files/files-init.c: New file.
22891 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22892 __nss_lookup_function.
22893 (__nss_lookup_function): Call nss_load_library.
22894 (nss_load_all_libraries): New function.
22895 (__nss_disable_nscd): Take parameter with callback function for files
22896 to register. Set is_nscd. Load all the DSOs for the NSS modules
22897 used for the cached services.
22898 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22899 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22900 options for features to all the files in nscd.
22901
22902 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22903
23bee3e8
RM
229042011-07-10 Roland McGrath <roland@hack.frob.com>
22905
22906 * csu/elf-init.c (__libc_csu_init): Comment typo.
22907
46a5b7f0
UD
229082011-07-09 Ulrich Drepper <drepper@gmail.com>
22909
22910 * po/pl.po: Update from translation team.
22911 * po/ja.po: Likewise.
22912 * po/ru.po: Likewise.
22913 * po/ko.po: Likewise.
22914 * po/fr.po: Likewise.
22915
d30cf5bb
RM
229162011-07-09 Roland McGrath <roland@hack.frob.com>
22917
113ddea4
RM
22918 * configure.in (.ctors/.dtors header and trailer check):
22919 Use an empirical test on a built program.
22920 * configure: Regenerated.
22921
574920b4
RM
22922 * configure.in (-z relro check): Use an empirical test on a built DSO.
22923 Detect, but do not require, on ia64.
22924 * configure: Regenerated.
22925
d30cf5bb
RM
22926 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22927 Update tests that use readelf to use $READELF instead.
22928 * configure: Regenerated.
22929
8538fdb3
UD
229302011-07-08 Ulrich Drepper <drepper@gmail.com>
22931
22932 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22933 if the result is not used.
22934
04d08991
AJ
229352011-07-05 Andreas Jaeger <aj@suse.de>
22936
22937 [BZ#9696]
22938 * stdlib/tst-strtod.c: Add testcase.
22939
de283087
AD
229402011-07-07 Ulrich Drepper <drepper@gmail.com>
22941
4e5f31c8 22942 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22943 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22944 The latter has a higher limit. Take additional parameter to pass to
22945 the new function.
22946 (__pathconf): Pass file to __statfs_link_max.
22947 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22948 __statfs_link_max.
22949 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22950 __statfs_link_max.
22951
de283087
AD
22952 [BZ #12868]
22953 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22954 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22955 Handle Lustre.
22956 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22957 (__statfs_filesize_max): Likewise.
22958 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22959
c75fa153
AJ
229602011-07-05 Andreas Jaeger <aj@suse.de>
22961
22962 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22963
1a544854
UD
229642011-07-06 Marek Polacek <mpolacek@redhat.com>
22965
22966 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22967 `status' variable.
22968 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22969 Likewise.
22970
6f0eec67
UD
229712011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22972
22973 * Makefile (strop-tests): Add strncat.
22974 * string/test-strncat.c: New file.
22975
aae30307
UD
229762011-06-30 Marek Polacek <mpolacek@redhat.com>
22977
22978 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22979
c0cfb5eb
UD
229802011-06-21 Andreas Jaeger <aj@suse.de>
22981
22982 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22983 Copy rule from iconvdata/Makefile.
22984
01636b21
UD
229852011-07-06 Ulrich Drepper <drepper@gmail.com>
22986
22987 [BZ #12922]
22988 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22989 but no long options are defined, just return 'W'.
22990
9895c8bc
UD
229912011-06-22 Marek Polacek <mpolacek@redhat.com>
22992
22993 [BZ #9696]
22994 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22995
5d4cf042
UD
229962011-07-06 Ulrich Drepper <drepper@gmail.com>
22997
22998 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22999 netgroups to read.
960e5535 23000 (innetgr): Likewise.
5d4cf042 23001
751eb97e
RM
230022011-07-05 Roland McGrath <roland@hack.frob.com>
23003
23004 * config.make.in (install_root): Default to $(DESTDIR).
23005
f15f1e45
UD
230062011-07-05 Ulrich Drepper <drepper@gmail.com>
23007
23008 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23009
4e34ac6a
RM
230102011-07-02 Roland McGrath <roland@hack.frob.com>
23011
5e9b6af4
RM
23012 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23013
84f9ea0f
RM
23014 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23015 containing directory rather than embedding absolute directory names.
23016
ea5ee9f7
RM
23017 * scripts/check-local-headers.sh: Rewritten using awk.
23018 Match by word, not by line. Print error messages for matches.
23019 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23020
1b74661a
RM
23021 * Makerules [shlib-lds-flags empty]:
23022 ($(common-objpfx)libc_pic.opts): New target.
23023 ($(common-objpfx)libc_pic.os.clean): New target.
23024 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23025
23026 * config.make.in (OBJCOPY): New variable.
23027 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23028 * configure: Regenerated.
23029
f781ef40
RM
23030 * config.make.in (use-default-link): New variable.
23031 * configure.in (use_default_link): Grok --with-default-link to set it.
23032 * configure: Regenerated.
23033 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23034 (shlib-lds, shlib-lds-flags): Define to empty.
23035
2d4fa81e
RM
23036 * Makerules (shlib-lds): New variable.
23037 (shlib-lds-flags): New variable.
23038 (build-shlib, build-moduile, build-module-asneeded): Use it.
23039 ($(common-objpfx)libc.so): Use $(shlib-lds).
23040 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23041 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23042
31fffa6b
RM
23043 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23044 DT_FLAGS/DT_FLAGS_1 with zero flags.
23045
4e34ac6a
RM
23046 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23047 linker script munging.
23048
fcfc776b
UD
230492011-07-02 Ulrich Drepper <drepper@gmail.com>
23050
23051 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23052 as 128-bit value.
23053 * crypt/sha512.c (sha512_process_block): Perform total addition using
23054 128-bit if possible.
23055 (__sha512_finish_ctx): Likewise.
23056 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23057 as 64-bit value.
23058 * crypt/sha256.c (SWAP64): Define.
23059 (sha256_process_block): Perform total addition using 64-bit if
23060 possible.
23061 (__sha256_finish_ctx): Likewise.
23062
99231d9a
UD
230632011-07-01 Ulrich Drepper <drepper@gmail.com>
23064
23065 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23066 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23067 * nscd/hstcache.c (cache_addhst): Likewise.
23068 * nscd/grpcache.c (cache_addgr): Likewise.
23069 * nscd/aicache.c (addhstaiX): Likewise
23070 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23071
445b4a53
TK
230722011-07-01 Thorsten Kukuk <kukuk@suse.de>
23073
23074 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23075 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23076 * nscd/hstcache.c (cache_addhst): Likewise.
23077 * nscd/grpcache.c (cache_addgr): Likewise.
23078 * nscd/aicache.c (addhstaiX): Likewise
23079
6d4d8e8e
AS
230802011-07-01 Andreas Schwab <schwab@redhat.com>
23081
23082 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23083 domain only when needed.
23084
89f654c5
AS
230852011-06-30 Andreas Schwab <schwab@redhat.com>
23086
23087 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23088 is always restored.
23089
cf3b23ff
UD
230902011-06-29 Ulrich Drepper <drepper@gmail.com>
23091
23092 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23093 are re-adding the entry.
23094 * nscd/servicescache.c (cache_addserv): Likewise.
23095
751626f9
AJ
230962011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23097
23098 * sysdeps/generic/dl-irel.h: fix protection against multiple
23099 inclusions.
23100 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23101
9113ea1f
UD
231022011-06-28 Ulrich Drepper <drepper@gmail.com>
23103
5c0b8d90
UD
23104 [BZ #12935]
23105 * malloc/memusage.sh: Fix quoting in message.
23106 * debug/xtrace.sh: Likewise.
23107
9113ea1f
UD
23108 * configure.in: Remove support for --experimental-malloc option, make
23109 it the default.
23110 * config.make.in: Likewise.
23111 * malloc/Makefile: Likewise.
23112
a4172181
AS
231132011-06-27 Andreas Schwab <schwab@redhat.com>
23114
23115 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23116 two-byte characters.
23117
78a7eee7
RM
231182011-06-27 Roland McGrath <roland@hack.frob.com>
23119
62bede13
RM
23120 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23121 AC_CACHE_CHECK invocation.
23122 * configure: Regenerated.
23123
78a7eee7
RM
23124 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23125
5ce33a62
UD
231262011-06-27 Ulrich Drepper <drepper@gmail.com>
23127
034807a9
UD
23128 [BZ #12350]
23129 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23130 bit from old_res_options.
23131
4902da17
UD
23132 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23133
5ce33a62
UD
23134 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23135 value type for setfct.
23136
c2344f56
L
231372011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23138
23139 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23140 __gettimeofday instead of gettimeofday.
23141
68468076
UD
231422011-06-26 Ulrich Drepper <drepper@gmail.com>
23143
23144 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23145
acb0d739
L
231462011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23147
23148 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23149
23150 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23151 info.
23152
8912479f
L
231532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23154
23155 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23156 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23157 strcpy-sse2-unaligned strncpy-sse2-unaligned
23158 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23159 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23160 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23161 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23162 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23163 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23164 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23165 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23166 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23167 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23168 (STRCPY): Support SSE2 and SSSE3 versions.
23169
d5495a11
UD
231702011-06-24 Ulrich Drepper <drepper@gmail.com>
23171
23172 [BZ #12874]
23173 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23174 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23175 kernels which artificially limit size of requests.
23176
0b1cbaae
L
231772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23178
23179 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23180 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23181 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23182 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23183 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23184 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23185 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23186 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23187 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23189 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23190 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23191 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23192 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23193 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23195 Enable unaligned load optimization for Intel Core i3, i5 and i7
23196 processors.
23197 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23198 Define.
23199 (index_Fast_Unaligned_Load): Define.
23200 (HAS_FAST_UNALIGNED_LOAD): Define.
23201
07f494a0
MP
232022011-06-23 Marek Polacek <mpolacek@redhat.com>
23203
23204 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23205
fa3fc0fe
UD
232062011-06-22 Ulrich Drepper <drepper@gmail.com>
23207
23208 [BZ #12907]
23209 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23210 until it is clear that the information is realy needed.
23211 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23212
e12df166
AS
232132011-06-22 Andreas Schwab <schwab@redhat.com>
23214
23215 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23216
852eb34d
UD
232172011-06-22 Ulrich Drepper <drepper@gmail.com>
23218
84e2a551
UD
23219 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23220 /sys/devices/system/cpu/online if it is usable.
23221
852eb34d
UD
23222 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23223 reading the information from the /proc filesystem to once a second.
23224
6e502e19
UD
232252011-06-21 Andreas Jaeger <aj@suse.de>
23226
23227 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23228 NULL after inclusion of kernel headers.
23229
75d39ff2
UD
232302011-06-21 Ulrich Drepper <drepper@gmail.com>
23231
51f9aa6a
UD
23232 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23233 calls to internal_setent.
23234
c0244a9d
UD
23235 [BZ #12885]
23236 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23237 addresses using gethostbyname4_r ignore IPv4 addresses.
23238
c5e3c2ae
UD
23239 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23240 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23241
75d39ff2
UD
23242 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23243
42675c6f
DM
232442011-06-20 David S. Miller <davem@davemloft.net>
23245
23246 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23247 inclusions.
23248 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23249
23250 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23251 (elf_irel): Use it.
23252 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23253 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23254 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23255 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23256 * sysdeps/x86_64/dl-irel.h: Likewise.
23257
23258 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23259 * elf/dl-sym.c: Likewise.
23260
57912a71
UD
232612011-06-15 Ulrich Drepper <drepper@gmail.com>
23262
23263 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23264 need to dereference resplen2.
23265
ee22793d
AS
232662011-06-14 Andreas Schwab <schwab@redhat.com>
23267
23268 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23269
a9e836b0
UD
232702011-06-15 Ulrich Drepper <drepper@gmail.com>
23271
77fb9117
UD
23272 * Makeconfig: Define vardbdir and inst_vardbdir.
23273 * nss/Makefile: Add rules to install db-Makefile.
23274
40c1b22c
UD
23275 * nss/nss_db/db-XXX.c: Cleanup.
23276
9f2da732
UD
23277 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23278 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23279 GLIBC_PRIVATE.
23280 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23281 * nss/makedb.c: Implement -g option to specify that value strings
23282 are generated and should not be added to table iterated over for
23283 get*ent calls.
23284 * nss/nss_db/db-initgroups.c: New file.
23285
82e9a1f7
UD
23286 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23287 interface.
23288
c41af17e
UD
23289 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23290 (internal_getgrouplist): Adjust to name change.
23291 Update use_initgroups_entry if this is not the first call.
23292 * nss/databases.def: Add initgroups entry.
23293
a9e836b0
UD
23294 * nss/makedb.c (compute_tables): Check result of multiple hash table
23295 sizes to minimize maximum chain length.
23296
2666d441
UD
232972011-06-14 Ulrich Drepper <drepper@gmail.com>
23298
23299 * Versions.def: Add entry for libnss_db.
23300 * shlib-versions: Likewise.
23301 * nss/Makefile: Add rules to build libnss_db.
23302 * nss/Versions: Add libnss_db information. Organize libnss_files
23303 entries better.
23304 * nss/db-Makefile: Add gshadow support. Change rules for the new
23305 makedb progra. Some minor improvements to generate smaller files.
23306 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23307 here from...
23308 * nss/makedb.c: ...here.
23309 Improve database format to be smaller and require less memory at
23310 runtime.
23311 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23312 db anymore.
23313 * nss/nss_db/db-netgrp.c: Likewise.
23314 * nss/nss_db/db-open.c: Likewise.
23315 * nss/nss_files/flies-XXX.x: Adjust comments.
23316 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23317 * nss/nss_files/files-grp.c: Likewise.
23318 * nss/nss_files/files-hosts.c: Likewise.
23319 * nss/nss_files/files-network.c: Likewise.
23320 * nss/nss_files/files-proto.c: Likewise.
23321 * nss/nss_files/files-pwd.c: Likewise.
23322 * nss/nss_files/files-rpc.c: Likewise.
23323 * nss/nss_files/files-service.c: Likewise.
23324 * nss/nss_files/files-sgrp.c: Likewise.
23325 * nss/nss_files/files-spwd.c: Likewise.
23326 * nss/nss_db/db-alias.c: Removed.
23327 * nss/nss_db/dummy-db.h: Removed.
23328
9ee76b5a
UD
233292011-06-02 Ulrich Drepper <drepper@gmail.com>
23330
23331 * nss/makedb.c: Rewritten to not use database library.
23332 * nss/Makefile: Update to build new makedb program.
23333
c71ca1f8
AJ
233342011-06-14 Andreas Jaeger <aj@suse.de>
23335
23336 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23337 memset declaration.
23338
3154bfb8
UD
233392011-06-10 Andreas Schwab <schwab@redhat.com>
23340
23341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23342 tmpbuf.
23343
b350afab
RM
233442011-06-10 Roland McGrath <roland@hack.frob.com>
23345
decd4e50
RM
23346 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23347 * elf/Makefile ($(objpfx)ld.so): Likewise.
23348
5615eaf2
RM
23349 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23350 Don't list ld.so twice in dependencies.
23351
23352 * posix/bug-regex31.c: Include <stdlib.h>.
23353
23354 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23355
23356 * nis/nss_compat/compat-spwd.c
23357 (getspent_next_nss_netgr): Remove unused variable.
23358 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23359
23360 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23361 nonmembers" output to use the right array.
23362
23363 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23364
23365 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23366
23367 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23368 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23369 * catgets/gencat.c (read_input_file): Likewise.
23370 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23371
23372 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23373 variable definition inside #if's controlling its use.
23374
23375 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23376
23377 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23378
23379 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23380
23381 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23382 unreachable code.
23383
23384 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23385
b68e08db
RM
23386 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23387 * configure: Regenerated.
23388
b350afab
RM
23389 * Makerules: Revert last change.
23390 * elf/Makefile: Likewise.
23391
28368601
RM
233922011-06-09 Roland McGrath <roland@hack.frob.com>
23393
23394 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23395 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23396 (reloc-link): Likewise.
23397
11988f8f
UD
233982011-06-09 Ulrich Drepper <drepper@gmail.com>
23399
23400 * elf/Makefile: Add rules to build pldd.
23401 * elf/pldd.c: New file.
23402 * elf/pldd-xx.c: New file.
23403
e80fab37
UD
234042011-06-07 Ulrich Drepper <drepper@gmail.com>
23405
23406 * version.h: Update for 2.15 development version.
23407
9b849836
DM
234082011-06-07 David S. Miller <davem@davemloft.net>
23409
23410 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23411 ifuncs.
23412 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23413 elf_machine_lazy_rel): Likewise.
23414 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23415 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23416 elf_machine_lazy_rel): Likewise.
23417 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23418 dl_hwcap via passed in argument.
23419 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23420 Likewise.
23421
5a31b283
AK
234222011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23423
23424 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23425
069e52f8
RM
234262011-06-06 Roland McGrath <roland@hack.frob.com>
23427
23428 [BZ #12849]
23429 * manual/fdl-1.1.texi: New file, verbatim from:
23430 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23431 * manual/lgpl-2.1.texi: New file, verbatim from:
23432 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23433 * manual/Makefile (licenses): New variable, list those new file names.
23434 (texis): Use it.
23435 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23436
23437 * manual/fdl.texi: File removed.
23438 * manual/lesser.texi: File removed.
23439 * manual/libc.texinfo (Copying, Documentation License):
23440 Use new @include file names, put @appendix directive before @include.
23441
f16846a5
JJ
234422011-06-04 Jakub Jelinek <jakub@redhat.com>
23443
23444 [BZ #12841]
23445 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23446 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23447 (mq_open): Add __NTH.
23448
3d29045b
L
234492011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23450
23451 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23452 Assume Intel Core i3/i5/i7 processor if AVX is available.
23453
8c297311
UD
234542011-05-31 Ulrich Drepper <drepper@gmail.com>
23455
23456 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23457 typo.
23458
c8fc0c91
UD
234592011-05-31 Andreas Schwab <schwab@redhat.com>
23460
23461 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23462 memory. Use alloca_account. Fix memory leak when retrying.
23463
5b27a807
UD
234642011-05-31 Ulrich Drepper <drepper@gmail.com>
23465
356f8bc6
UD
23466 * version.h (RELEASE): Bump for 2.14 release.
23467 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23468
5b27a807
UD
23469 * config.make.in (RANLIB): Remove entry.
23470
01f16ab0
UD
234712011-05-30 Ulrich Drepper <drepper@gmail.com>
23472
41fce8bd
UD
23473 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23474 (libc.pot): Work around missing support for .ksh extension in xgettext.
23475
4769ae77
UD
23476 [BZ #12684]
23477 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23478 if both request failed.
23479 (send_dg): In case of server errors clear resplen or *resplen2.
23480
6b1e7d19
UD
23481 [BZ #12454]
23482 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23483 when there are multiple maps.
23484 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23485 (_dl_fini): Remove test here.
23486
01f16ab0
UD
23487 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23488
b1ebd700
UD
234892011-05-29 Ulrich Drepper <drepper@gmail.com>
23490
7ae22829
UD
23491 [BZ #12350]
23492 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23493 bit from old_res_options.
23494 (gaih_inet): Likewise.
23495
553149f6 23496 [BZ #11099]
18a84741 23497 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
23498 as signed.
23499
652ffab1
UD
23500 * resolv/res_init.c (res_setoptions): Make the code more compact.
23501
16985fd0
UD
23502 [BZ #11558]
23503 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23504 set RES_USEVC.
23505
0464f746
UD
23506 [BZ #11634]
23507 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23508
7d17596c
UD
23509 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23510
cf6bbbd7
UD
23511 [BZ #11781]
23512 * malloc/malloc.h: Declare malloc hook variables as volatile.
23513
13f1ab36
UD
23514 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23515 in last patch.
23516
b1ebd700
UD
23517 [BZ #11799]
23518 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 23519 raise in the comment.
80e2212d
UD
23520 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23521 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23522 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 23523
ce67228d
UD
235242011-05-28 Ulrich Drepper <drepper@gmail.com>
23525
8887a920
UD
23526 [BZ #12811]
23527 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23528 grow the buffers more if it already has to be sufficient.
23529 (build_wcs_upper_buffer): Likewise.
23530 * posix/regexec.c (check_matching): Likewise.
23531 (clean_state_log_if_needed): Likewise.
23532 (extend_buffers): Don't enlarge buffers beyond size of the input
23533 buffer.
23534 Patches mostly by Emil Wojak <emil@wojak.eu>.
23535 * posix/bug-regex32.c: New file.
23536 * posix/Makefile (tests): Add bug-regex32.
23537
4f031072
UD
23538 * locale/findlocale.c (_nl_find_locale): Return right away if
23539 _nl_explode_name failed.
23540 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23541
d0478f0c
UD
23542 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23543
de81b246
UD
23544 * debug/xtrace.sh: Unify messages.
23545 * malloc/memusage.sh: Likewise.
23546
c738465a
UD
23547 [BZ #12813]
23548 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23549 time symbol from vDSO. Substitute with vsyscall if not available.
23550 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23551 __vdso_time.
23552
f1f929d7
UD
23553 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23554 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23555 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23556 Add sendmmsg and internal_sendmmsg.
23557 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23558 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23559 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23560
ce67228d
UD
23561 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23562 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23563 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23564
e57420c6
UD
235652011-05-27 Ulrich Drepper <drepper@gmail.com>
23566
a8509ca5
UD
23567 [BZ #12813]
23568 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23569 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23570 available.
23571 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23572 __vdso_getcpu.
23573
e57420c6
UD
23574 [BZ #12814]
23575 * iconvdata/Makefile (tests): Add bug-iconv9.
23576 * iconvdata/bug-iconv9.c: New file.
23577
4d07db15
AS
235782011-05-27 Andreas Schwab <schwab@redhat.com>
23579
23580 [BZ #12814]
23581 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23582
ea486f69
JJ
235832011-05-25 Jakub Jelinek <jakub@redhat.com>
23584
23585 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23586 (struct user_regs_struct): Change intcs field back to cs.
23587
6f038433
UD
235882011-05-25 Ulrich Drepper <drepper@gmail.com>
23589
23590 * po/ja.po: Update from translation team.
23591
67f86a25
UD
235922011-05-23 Ulrich Drepper <drepper@gmail.com>
23593
23594 [BZ #12795]
23595 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23596 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23597
def7fbd6
AS
235982011-05-20 Andreas Schwab <schwab@redhat.com>
23599
23600 * stdlib/longlong.h: Update from GCC.
23601
f50ef8f1
AS
236022011-05-23 Andreas Schwab <schwab@redhat.com>
23603
23604 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23605 parameter name.
23606 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23607 Add parameter name.
23608 (__sysconf): Pass it down.
23609
de7ce8f1
UD
236102011-05-22 Ulrich Drepper <drepper@gmail.com>
23611
f2962a71
UD
23612 [BZ #12671]
23613 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23614 some situations.
23615 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23616 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23617 add in in __libc_use_alloca calls. Adjust callers.
23618 (glob): Use malloc in some situations.
23619
de7ce8f1
UD
23620 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23621 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23622 pltexit.
23623
aec84f53
UD
236242011-05-21 Ulrich Drepper <drepper@gmail.com>
23625
05bb4a68
UD
23626 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23627 and CLOCK_BOOTTIME_ALARM.
23628
7ea72f99
UD
23629 [BZ #12782]
23630 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23631 is returned.
23632
7e4afad5
UD
23633 * string/_strerror.c (__strerror_r): Print negative errors as signed
23634 numbers.
23635
8e211fec
UD
23636 [BZ #12777]
23637 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23638 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23639 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23640
f7d82dc9
UD
23641 * configure.in: Fix typo in redirection and correct removal of test
23642 files in two cases.
23643
cc9e536d
UD
23644 [BZ #12788]
23645 * locale/setlocale.c (new_composite_name): Fix test to check for
23646 identical name of all categories.
23647
aec84f53
UD
23648 [BZ #12792]
23649 * libio/filedoalloc.c (local_isatty): New function.
23650 (_IO_file_doallocate): Use local_isatty.
23651 * stdio-common/perror.c (perror): In case a new stream is used
23652 forward the stream error.
23653 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23654 error flag.
23655
78e64fdc
RT
236562011-05-20 Ulrich Drepper <drepper@gmail.com>
23657
34a9094f
UD
23658 [BZ #11869]
23659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23660 alloca.
23661 * include/alloca.h (extend_alloca_account): Define.
23662
78e64fdc
RT
23663 [BZ #11857]
23664 * posix/regex.h: Fix comments with documentation of user-accessible
23665 fields after compilation and describe correct free'ing of pattern
23666 after re_compile_pattern.
23667 Patch by Reuben Thomas <rrt@sc3d.org>.
23668
457bddfc
RA
236692011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23670
23671 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23672 and -mno-altivec to prevent the compiler from using Altivec and/or
23673 VSX instructions when the corresponding registers are not available.
23674
a4527b51
AS
236752011-05-19 Andreas Schwab <schwab@redhat.com>
23676
23677 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23678
ed690b2f
UD
236792011-05-19 Ulrich Drepper <drepper@gmail.com>
23680
23681 * libio/freopen.c (freopen): Use __dup2, not dup2.
23682 * libio/freopen64.c (freopen64): Likewise.
23683
8db73634
L
236842011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23685
23686 [BZ #12775]
23687 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23688 * math/Makefile (tests): Add test-powl.
23689 (CFLAGS-test-powl.c): Define.
23690 * math/test-powl.c: New file.
23691
0a197a9d
L
236922011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23693
23694 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23695
ee30c380
UD
236962011-05-17 Ulrich Drepper <drepper@gmail.com>
23697
23698 [BZ #11837]
23699 * iconvdata/gb18030.c: Update to GB18020-2005.
23700
6ce75379
UD
237012011-05-16 Ulrich Drepper <drepper@gmail.com>
23702
a4b89fd8
AR
23703 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23704 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23705 Patch by Aharon Robbins <arnold@skeeve.com>.
23706
ea389b12
UD
23707 [BZ #11892]
23708 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23709 on the stack.
23710
68a3f91f
UD
23711 [BZ #11895]
23712 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23713 through underflows.
23714
15cc7dd1
UD
23715 [BZ #12766]
23716 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23717 point to strings before performing equality test for error_one_per_line
23718 mode.
23719
f3799213
UD
23720 [BZ #11697]
23721 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23722
d79a9c94
UD
23723 [BZ #11820]
23724 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23725 (struct user_fpregs_struct): Avoid __uint*_t types.
23726
56e5eb46
UD
23727 [BZ #6420]
23728 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23729 symbol info. Use it instead of calling _dl_addr locally.
23730 (lock_and_info): New function.
23731 (tr_freehook): Call lock_and_info and pass symbol info as additional
23732 parameter to tr_where.
23733 (tr_mallochook): Likewise.
23734 (tr_reallochook): Likewise.
23735 (tr_memalignhook): Likewise.
23736
6ce75379
UD
23737 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23738 used and couldn't be at all thread-safe.
23739
f8a3b5bf
UD
237402011-05-15 Ulrich Drepper <drepper@gmail.com>
23741
94b7cc37
UD
23742 * libio/freopen.c (freopen): Don't close old file descriptor
23743 before the new one is opened. Instead dup the new file descriptor
23744 to the old one after the new stream is created.
23745 * libio/freopen64.c (freopen64): Likewise.
23746 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23747 * libio/fileops.c (_IO_new_file_close_it): Handle new
23748 _IO_FLAGS2_NOCLOSE flag.
23749 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23750 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23751 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23752 _IO_FLAGS2_NOCLOSE flag.
23753 * include/unistd.h: Add hidden_proto for dup3.
23754 Define __have_dup3.
23755 * io/dup3.c: Define hidden symbol.
23756 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23757
bd25564e
UD
23758 [BZ #7101]
23759 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23760 when an incomplete long option is used.
23761 * posix/tst-getopt_long1.c: New file.
23762 * posix/Makefile (tests): Add tst-getopt_long1.
23763
c84cfef4
UD
23764 [BZ #10138]
23765 * scripts/config.guess: Update from autoconf-2.68.
23766 * scripts/config.sub: Likewise.
23767
3b85df27
UD
23768 [BZ #10157]
23769 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23770 tests into ...
23771 (has_cpuclock): ...this. New function.
23772 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23773 macro here based on has_cpuclock code.
23774
15a856b1
UD
23775 [BZ #10149]
23776 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23777 First byte (not low byte) is now always NUL.
23778 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23779
05f399e6
UD
23780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23781 Use non-cancelable interfaces.
23782
10a52685 23783 [BZ #9809]
94ecc67d
UD
23784 * locale/iso-639.def: Add entry for Sorani.
23785
f8a3b5bf
UD
23786 [BZ #11901]
23787 * include/stdlib.h: Move include protection to the right place.
23788 Define abort_msg_s. Declare __abort_msg with it.
23789 * stdlib/abort.c (__abort_msg): Adjust type.
23790 * assert/assert.c (__assert_fail_base): New function. Majority
23791 of code from __assert_fail. Allocate memory for __abort_msg with
23792 mmap.
23793 (__assert_fail): Now call __assert_fail_base.
23794 * assert/assert-perr.c: Remove bulk of implementation. Use
23795 __assert_fail_base.
23796 * include/assert.hL Declare __assert_fail_base.
23797 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23798 mmap.
23799 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23800
1af4e298
UD
238012011-05-14 Ulrich Drepper <drepper@gmail.com>
23802
f8a3b5bf 23803 [BZ #11952]
d26dfc60
MG
23804 [BZ #12453]
23805 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23806 until all modules are registered in the DTV.
23807 * elf/Makefile: Add rules to build and run tst-tls19.
23808 * elf/tst-tls19.c: New file.
23809 * elf/tst-tls19mod1.c: New file.
23810 * elf/tst-tls19mod2.c: New file.
23811 * elf/tst-tls19mod3.c: New file.
23812 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23813
2fc54d6f
UD
23814 [BZ #12083]
23815 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23816 correctly.
23817
98d76b46
UD
23818 [BZ #12601]
23819 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23820 two-byte sequence errors.
23821 * iconvdata/Makefile (tests): Add bug-iconv8.
23822 * iconvdata/bug-iconv8.c: New file.
23823
da3c19ef
UD
23824 [BZ #12626]
23825 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23826 buf2 definition.
23827
ca408c15
UD
23828 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23829
d6f67f7d
UD
23830 [BZ #12432]
23831 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23832 (dummy_getcfa): New function.
23833 (init): Get _Unwind_GetCFA address, use dummy if not found.
23834 (backtrace_helper): In recursion check, also check whether CFA changes.
23835 (__backtrace): Completely initialize arg.
23836
1af4e298 23837 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23838 storing incomplete byte sequence in state object. Avoid testing for
23839 guaranteed too small input if we know there is enough data available.
1af4e298 23840
da62f81b
AS
238412011-05-11 Andreas Schwab <schwab@redhat.com>
23842
23843 * Makeconfig (+link-pie): Indent.
23844 * Rules (binaries-pie): Define if $(have-fpie) and
23845 $(build-shared).
23846 (binaries-shared): Also filter out $(binaries-pie).
23847 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23848 * nscd/Makefile (others-pie): Add nscd.
23849 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23850 ($(objpfx)nscd): Remove command override.
23851 * login/Makefile (others-pie): Add pt_chown.
23852 ($(objpfx)pt_chown): Remove command override.
23853 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23854 remove command overrides.
23855
fcabc0f8
UD
238562011-05-13 Ulrich Drepper <drepper@gmail.com>
23857
20030ae6
UD
23858 * libio/tst_putwc.c: Fix error messages.
23859
fcabc0f8
UD
23860 [BZ #12724]
23861 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23862 currently writing and seek to current position when not.
23863 * libio/Makefile (tests): Add bug-fclose1.
23864 * libio/bug-fclose1.c: New file.
23865
320a5dc0
PB
238662011-05-12 Ulrich Drepper <drepper@gmail.com>
23867
23868 [BZ #12511]
23869 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23870 don't set DF_1_NODELETE here.
23871 (do_lookup_x): When entering new entry test for copy relocation
23872 and if necessary set DF_1_NODELETE flag.
23873 * elf/tst-unique4.cc: New file.
23874 * elf/tst-unique4.h: New file.
23875 * elf/tst-unique4lib.cc: New file.
23876 * elf/Makefile: Add rules to build and run tst-unique4.
23877 Patch by Piotr Bury <pbury@goahead.com>.
23878
22836f52
UD
238792011-05-11 Ulrich Drepper <drepper@gmail.com>
23880
f574184a
UD
23881 [BZ #12052]
23882 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23883
e1fb097f
UD
23884 [BZ #12625]
23885 * misc/mntent_r.c (addmntent): Flush the stream after the output
23886
22836f52
UD
23887 [BZ #12393]
23888 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23889 (is_trusted_path_normalize): Skip initial colon. Append slash
23890 to empty buffer. Duplicate is_trusted_path code but allow
23891 constructed patch to be prefix.
23892 (is_dst): Allow $ORIGIN followed by /.
23893 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23894 Correct testing of result of is_trusted_path_normalize
23895 (decompose_rpath): Fix warning.
23896
7b3b0b2a
UD
238972011-05-10 Ulrich Drepper <drepper@gmail.com>
23898
23899 [BZ #11257]
23900 * grp/initgroups.c (internal_getgrouplist): When we found the service
23901 list through the initgroups entry in nsswitch.conf do not always
23902 continue on a successful lookup. Don't always use the
eac80ce2 23903 __nss_group_database value if it is set.
7b3b0b2a
UD
23904 * nss/nsswitch.conf (initgroups): Change action for successful db
23905 lookup to continue for compatibility.
23906
2a81eaa5
UD
239072011-05-09 Ulrich Drepper <drepper@gmail.com>
23908
be97a69e
UD
23909 [BZ #11532]
23910 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23911 and CP774 modules.
23912 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23913 and CP774 modules.
23914 * iconvdata/tst-tables.sh: Likewise.
23915 * iconvdata/cp770.c: New file.
23916 * iconvdata/cp771.c: New file.
23917 * iconvdata/cp772.c: New file.
23918 * iconvdata/cp773.c: New file.
23919 * iconvdata/cp774.c: New file.
23920 * iconvdata/testdata/CP770: New file.
23921 * iconvdata/testdata/CP770..UTF8: New file.
23922 * iconvdata/testdata/CP771: New file.
23923 * iconvdata/testdata/CP771..UTF8: New file.
23924 * iconvdata/testdata/CP772: New file.
23925 * iconvdata/testdata/CP772..UTF8: New file.
23926 * iconvdata/testdata/CP773: New file.
23927 * iconvdata/testdata/CP773..UTF8: New file.
23928 * iconvdata/testdata/CP774: New file.
23929 * iconvdata/testdata/CP774..UTF8: New file.
23930
23931 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23932 END CHARMAP line.
23933 * iconvdata/gen-8bit-gap.sh: Likewise.
23934 * iconvdata/gen-8bit.sh: Likewise.
23935
c1e9e399
UD
23936 * locale/iso-639.def: Add ary entry.
23937
24c55fb3 23938 [BZ #11258]
96b4b1b0
UD
23939 * locale/C-translit.h.in: Add U20A1 transliteration.
23940
bdc2f971
KB
23941 [BZ #12178]
23942 * locale/iso-639.def: Add wae entry.
23943 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23944
2952b117
UD
23945 [BZ #12545]
23946 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23947 for n.
23948
2a81eaa5
UD
23949 [BZ #12711]
23950 * locale/C-translit.h.in: Add entry for U20B9.
23951 Patch by pravin.d.s@gmail.com.
23952
28377d1b
UD
239532011-05-08 Ulrich Drepper <drepper@gmail.com>
23954
7fb90fb8
UD
23955 [BZ #12713]
23956 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23957 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23958 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23959 in rtld. Use *stat64.
7fb90fb8 23960 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23961 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23962 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23963 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23964 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23965 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23966 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23967 __fstatat64 macros.
7fb90fb8
UD
23968 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23969 * dirent/rewinddir.c: Add libc_hidden_def.
23970 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23971 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23972
28377d1b
UD
23973 * include/dirent.h (__alloc_dir): Add flags parameter.
23974 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23975 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23976 __alloc_dir.
23977 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23978 from fdopendir if O_CLOEXEC is already set.
23979
66bdbaa4
AM
239802011-03-15 Alan Modra <amodra@gmail.com>
23981
23982 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23983 l_tls_firstbyte_offset non-zero. Save padding offset in
23984 l_tls_firstbyte_offset for later use.
23985 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23986 freeing static tls block.
23987
95721191
JN
239882011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23989
23990 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23991 where #ifdef was intended. The intent is to prevent ARG_MAX from
23992 being defined by the kernel headers.
23993
f87dfb1f
UD
239942011-05-07 Ulrich Drepper <drepper@gmail.com>
23995
23996 [BZ #12734]
23997 * resolv/resolv.h: Define RES_NOTLDQUERY.
23998 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23999 no-tld-query and set RES_NOTLDQUERY.
24000 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24001 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24002 modern BIND to search name as TLD unless forbidden.
24003
47c3cd7a
UD
240042011-05-07 Petr Baudis <pasky@suse.cz>
24005 Ulrich Drepper <drepper@gmail.com>
24006
24007 [BZ #12393]
24008 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24009 (is_trusted_path): ...to here.
c1e9ea35 24010 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 24011 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 24012 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 24013
8a35c912
PP
240142011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24015
24016 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24017 __BEGIN/__END_DECLS.
24018
acd41f47
UD
240192011-05-06 Ulrich Drepper <drepper@gmail.com>
24020
24021 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24022 NSS_STATUS_NOTFOUND if no record was found.
24023
597df647
AS
240242011-05-05 Andreas Schwab <schwab@redhat.com>
24025
24026 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24027 (headers-not-in-tirpc): Remove rpc/netdb.h
24028 * resolv/netdb.h: Revert last change.
24029
b9af1301
PP
240302011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24031
24032 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24033 circular dependency between libgcc.a and libc.a.
24034
4e34d5f5
AS
240352011-05-05 Andreas Schwab <schwab@redhat.com>
24036
24037 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24038 * nis/Makefile: Don't install rpcsvc/*.
24039 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24040 instead of <rpc/types.h>.
24041 (MAXHOSTNAMELEN): Define.
24042
00ee369c
AS
240432011-05-03 Andreas Schwab <schwab@redhat.com>
24044
24045 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24046
0b592a30
MB
240472011-04-28 Maciej Babinski <mbabinski@google.com>
24048
24049 [BZ #12714]
24050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24051 gethostbyname4_r when IPv6 results are possible.
24052
6e04cbbe
UD
240532011-05-02 Ulrich Drepper <drepper@gmail.com>
24054
24055 [BZ #12723]
24056 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24057 _PC_PIPE_BUF handling.
24058
e4ecafe0
BH
240592011-04-30 Bruno Haible <bruno@clisp.org>
24060
24061 [BZ #12717]
24062 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24063 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24064 to 'int'.
24065 * inet/getnameinfo.c (getnameinfo): Likewise.
24066
125ee683
UD
240672011-04-29 Ulrich Drepper <drepper@gmail.com>
24068
24069 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24070 to groups setting in database lookup.
24071 * nss/nsswitch.conf: Add initgroups entry.
24072
b722481a
EB
240732011-04-22 Ulrich Drepper <drepper@gmail.com>
24074
24075 [BZ #12685]
24076 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24077 mode string.
24078 Patch by Eric Blake <eblake@redhat.com>.
24079
4df46dbd
L
240802011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24081
24082 * sunrpc/Makefile (need-export-routines): Add svc_run.
24083 (routines): Remove svc_run.
24084 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24085 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24086 * sunrpc/svc_run.c (svc_run): Likewise.
24087 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24088
e84142d2
UD
240892011-04-21 Ulrich Drepper <drepper@gmail.com>
24090
24091 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24092 problem in reallocation in last patch.
24093
877175d8
UD
240942011-04-20 Ulrich Drepper <drepper@gmail.com>
24095
24096 * sunrpc/Makefile: Move inclusion of Rules.
24097
ab8eed78
UD
240982011-04-19 Ulrich Drepper <drepper@gmail.com>
24099
24100 * nss/nss_files/files-initgroups.c: New file.
24101 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24102 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24103 _nss_files_initgroups_dyn.
24104
e3d8f584
RS
241052011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24106
24107 * elf/elf.h (R_ARM_IRELATIVE): Define.
24108
af190f45
UD
241092011-04-19 Ulrich Drepper <drepper@gmail.com>
24110
24111 * po/ru.po: Update from translation team.
24112
53cf59ef
UD
241132011-04-17 Ulrich Drepper <drepper@gmail.com>
24114
24115 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24116 dependencies.
24117
4c559bcd
MF
241182011-02-06 Mike Frysinger <vapier@gentoo.org>
24119
24120 [BZ #12653]
24121 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24122 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24123 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24124 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24125 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24126
4420675c
AS
241272011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24128
24129 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24130 differing bytes.
24131 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24132 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24133 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24134
75ea32ab
UD
241352011-04-17 Ulrich Drepper <drepper@gmail.com>
24136
24137 [BZ #12420]
24138 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24139 storing it.
24140 * stdlib/bug-getcontext.c: New file.
24141 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24142
27390476
AK
241432011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24144
24145 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24146 instructions into .machine "z9-109".
24147 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24148 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24149
10442705
AK
241502011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24151
24152 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24153 between environment variables and auxiliary vector.
24154
7b57bfe5
UD
241552011-04-16 Ulrich Drepper <drepper@gmail.com>
24156
24157 * Makefile: Add rules to build linkobj/libc.so.
24158 * include/libc-symbols.h: Define libc_hidden_nolink.
24159 * include/rpc/auth.h: Mark functions which are to be hidden.
24160 * include/rpc/auth_des.h: Likewise.
24161 * include/rpc/auth_unix.h: Likewise.
24162 * include/rpc/clnt.h: Likewise.
24163 * include/rpc/des_crypt.h: Likewise.
24164 * include/rpc/key_prot.h: Likewise.
24165 * include/rpc/pmap_clnt.h: Likewise.
24166 * include/rpc/pmap_prot.h: Likewise.
24167 * include/rpc/pmap_rmt.h: Likewise.
24168 * include/rpc/rpc_msg.h: Likewise.
24169 * include/rpc/svc.h: Likewise.
24170 * include/rpc/svc_auth.h: Likewise.
24171 * include/rpc/xdr.h: Likewise.
24172 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24173 * nss/Makefile: Likewise.
24174 * sunrpc/Makefile: Don't install headers. Build library with normal
24175 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24176 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24177 for the compat linking library. Remove use of INTDEF/INTUSE.
24178 * sunrpc/auth_none.c: Likewise.
24179 * sunrpc/auth_unix.c: Likewise.
24180 * sunrpc/authdes_prot.c: Likewise.
24181 * sunrpc/authuxprot.c: Likewise.
24182 * sunrpc/clnt_gen.c: Likewise.
24183 * sunrpc/clnt_perr.c: Likewise.
24184 * sunrpc/clnt_raw.c: Likewise.
24185 * sunrpc/clnt_simp.c: Likewise.
24186 * sunrpc/clnt_tcp.c: Likewise.
24187 * sunrpc/clnt_udp.c: Likewise.
24188 * sunrpc/clnt_unix.c: Likewise.
24189 * sunrpc/des_crypt.c: Likewise.
24190 * sunrpc/des_soft.c: Likewise.
24191 * sunrpc/get_myaddr.c: Likewise.
24192 * sunrpc/key_call.c: Likewise.
24193 * sunrpc/key_prot.c: Likewise.
24194 * sunrpc/netname.c: Likewise.
24195 * sunrpc/pm_getmaps.c: Likewise.
24196 * sunrpc/pm_getport.c: Likewise.
24197 * sunrpc/pmap_clnt.c: Likewise.
24198 * sunrpc/pmap_prot.c: Likewise.
24199 * sunrpc/pmap_prot2.c: Likewise.
24200 * sunrpc/pmap_rmt.c: Likewise.
24201 * sunrpc/publickey.c: Likewise.
24202 * sunrpc/rpc_cmsg.c: Likewise.
24203 * sunrpc/rpc_common.c: Likewise.
24204 * sunrpc/rpc_dtable.c: Likewise.
24205 * sunrpc/rpc_prot.c: Likewise.
24206 * sunrpc/rpc_thread.c: Likewise.
24207 * sunrpc/rtime.c: Likewise.
24208 * sunrpc/svc.c: Likewise.
24209 * sunrpc/svc_auth.c: Likewise.
24210 * sunrpc/svc_authux.c: Likewise.
24211 * sunrpc/svc_raw.c: Likewise.
24212 * sunrpc/svc_run.c: Likewise.
24213 * sunrpc/svc_simple.c: Likewise.
24214 * sunrpc/svc_tcp.c: Likewise.
24215 * sunrpc/svc_udp.c: Likewise.
24216 * sunrpc/svc_unix.c: Likewise.
24217 * sunrpc/svcauth_des.c: Likewise.
24218 * sunrpc/xcrypt.c: Likewise.
24219 * sunrpc/xdr.c: Likewise.
24220 * sunrpc/xdr_array.c: Likewise.
24221 * sunrpc/xdr_float.c: Likewise.
24222 * sunrpc/xdr_intXX_t.c: Likewise.
24223 * sunrpc/xdr_mem.c: Likewise.
24224 * sunrpc/xdr_rec.c: Likewise.
24225 * sunrpc/xdr_ref.c: Likewise.
24226 * sunrpc/xdr_sizeof.c: Likewise.
24227 * sunrpc/xdr_stdio.c: Likewise.
24228
e6c61494
UD
242292011-04-10 Ulrich Drepper <drepper@gmail.com>
24230
24231 [BZ #12650]
24232 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24233 * sysdeps/ia64/dl-tls.h: Likewise.
24234 * sysdeps/powerpc/dl-tls.h: Likewise.
24235 * sysdeps/s390/dl-tls.h: Likewise.
24236 * sysdeps/sh/dl-tls.h: Likewise.
24237 * sysdeps/sparc/dl-tls.h: Likewise.
24238 * sysdeps/x86_64/dl-tls.h: Likewise.
24239 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24240
34fe483e
AS
242412011-03-14 Andreas Schwab <schwab@redhat.com>
24242
24243 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24244 rpath element also skip the following colon.
24245 (expand_dynamic_string_token): Add is_path parameter and pass
24246 down to DL_DST_REQUIRED and _dl_dst_substitute.
24247 (decompose_rpath): Call expand_dynamic_string_token with
24248 non-zero is_path. Ignore empty rpaths.
24249 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24250 with zero is_path.
24251
f12a32e6
AS
242522011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24253
24254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24255 Make cancelable.
24256
38a7d692
UD
242572011-04-09 Ulrich Drepper <drepper@gmail.com>
24258
24259 [BZ #12655]
24260 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24261 Patch by Filipe David Manana <fdmanana@apache.org>.
24262
e451d22b
AS
242632011-04-07 Andreas Schwab <schwab@redhat.com>
24264
24265 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24266 Maintain aligned stack.
24267 (CHECK_RSP): Remove unused macro.
24268
dedc7c7b
UD
242692011-04-03 Ulrich Drepper <drepper@gmail.com>
24270
24271 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24272 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24273
94521213
UD
242742011-04-02 Ulrich Drepper <drepper@gmail.com>
24275
24276 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24277
8cb700c0 24278 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24279
0354e355
L
242802011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24281
24282 [BZ #12518]
24283 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24284 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24285 * sysdeps/x86_64/memmove.c: New file.
24286 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24287 (memcpy): Renamed to ...
24288 (__new_memcpy): This.
24289 (memcpy): Provide GLIBC_2_14 memcpy.
24290 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24291 (memcpy): Provide GLIBC_2_2_5 memcpy.
24292
8593482f
UD
242932011-04-01 Ulrich Drepper <drepper@gmail.com>
24294
24295 [BZ #12631]
24296 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24297
81a5726b
AS
242982011-03-30 Andreas Schwab <schwab@redhat.com>
24299
24300 * misc/syncfs.c: New file.
24301 * misc/Makefile (routines): Add syncfs.
24302 * posix/unistd.h: Declare syncfs.
24303 * sysdeps/unix/syscalls.list: Add syncfs.
24304
00e5419f
AS
243052011-04-01 Andreas Schwab <schwab@redhat.com>
24306
24307 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24308 open_by_handle_at.
24309 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24310 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24312 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24313 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24314 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24315 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24316
748876bf
UD
243172011-04-01 Ulrich Drepper <drepper@gmail.com>
24318
658e451d
UD
24319 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24320 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24321 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24322 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24323 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24325 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24326
748876bf
UD
24327 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24328 sync_file_range.c with -fexceptions.
24329 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24330 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24331 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24332 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24333 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24334 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24335 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
24336 sync_file_range as cancellation point
24337 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24338 now a wrapper around __call_sync_file_range with cancellation handling.
24339 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24340 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24341 function name to __call_sync_file_range.
24342 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24343 Add call_sync_file_range.
748876bf 24344
6e63d5e1
AS
243452011-04-01 Andreas Schwab <schwab@redhat.com>
24346
24347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 24348 bits/timex.h.
6e63d5e1 24349
46998f74
UD
243502011-04-01 Ulrich Drepper <drepper@gmail.com>
24351
4c1423ed
UD
24352 * iconv/iconv.h: Fix typo in comment.
24353 * io/fcntl.h: Likewise.
24354 * libio/stdio.h: Likewise.
24355 * posix/spawn.h: Likewise.
24356 * posix/unistd.h: Likewise.
24357 * stdlib/stdlib.h: Likewise.
24358 * time/time.h: Likewise.
24359 * wcsmbs/wchar.h: Likewise.
24360
158648c0
UD
24361 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24362 open_by_handle): Add.
24363 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24364 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24365 Augment a few comments.
24366 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24367 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24368 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24369 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24370 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24371 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24372 open_by_handle.
24373
46998f74
UD
24374 * io/fcntl.h (AT_EMPTY_PATH): Define.
24375
83fe108b
UD
243762011-03-30 Ulrich Drepper <drepper@gmail.com>
24377
24378 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24379 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24380 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24381 to...
24382 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
24383 * Versions.def: Add GLIBC_2.14.
24384 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24385 Export.
83fe108b 24386
bb242059
UD
243872011-03-22 Ulrich Drepper <drepper@gmail.com>
24388
24389 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24390 round counter.
24391 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24392
c97a1282
L
243932011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24394
24395 [BZ #12597]
24396 * string/test-strncmp.c (do_page_test): New function.
24397 (check2): Likewise.
24398 (test_main): Call check2.
24399 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24400
2a115601
UD
244012011-03-20 Ulrich Drepper <drepper@gmail.com>
24402
24403 [BZ #12587]
24404 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24405 Handle cache information in CPU leaf 4.
24406 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24407
8126d904
UD
244082011-03-18 Ulrich Drepper <drepper@gmail.com>
24409
042c49c6 24410 [BZ #12583]
8126d904
UD
24411 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24412 character representation.
24413 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24414
ccfe366e
RA
244152011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24416
24417 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24418 END(__isnan) to END(__isnanf) to match function entry point/label
24419 EALIGN(__isnanf,...).
24420
c6e13027
JJ
244212011-03-10 Jakub Jelinek <jakub@redhat.com>
24422
24423 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24424
33f85a3f
UD
244252011-03-10 Ulrich Drepper <drepper@gmail.com>
24426
028478fa
UD
24427 [BZ #12510]
24428 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24429 copy from the symbol referenced in the relocation to initialize the
24430 used variable.
24431 Patch by Piotr Bury <pbury@goahead.com>.
24432 * elf/Makefile: Add rules to build and tst-unique3.
24433 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24434 * elf/tst-unique3.cc: New file.
24435 * elf/tst-unique3.h: New file.
24436 * elf/tst-unique3lib.cc: New file.
24437 * elf/tst-unique3lib2.cc: New file.
24438
33f85a3f
UD
24439 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24440
03592fc7
MF
244412011-03-10 Mike Frysinger <vapier@gentoo.org>
24442
24443 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24444 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24445 to _start.
03592fc7 24446
6a5ee102
UD
244472011-03-06 Ulrich Drepper <drepper@gmail.com>
24448
24449 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24450 to-be-loaded object along a path to loader is ld.so.
24451
7e4ba49c
HJ
244522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24453 Ulrich Drepper <drepper@gmail.com>
24454
24455 * sysdeps/x86_64/memset.S: After aligning destination, code
24456 branches to different locations depending on the value of
24457 misalignment, when multiarch is enabled. Fix this.
24458
244592011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24460
24461 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24462 Set _x86_64_preferred_memory_instruction for AMD processsors.
24463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24464 Set bit_Prefer_SSE_for_memop for AMD processors.
24465
13a804de
UD
244662011-03-04 Ulrich Drepper <drepper@gmail.com>
24467
24468 * libio/fmemopen.c (fmemopen): Optimize a bit.
24469
9d25c392
AS
244702011-03-03 Andreas Schwab <schwab@redhat.com>
24471
24472 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24473
a5543c6a
RM
244742011-03-03 Roland McGrath <roland@redhat.com>
24475
24476 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24477
012d35f7
DM
244782011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24479
7e4ba49c 24480 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
24481 __bzero_ultra1 instead of __memset_ultra1.
24482
4bff6e01
AS
244832011-02-23 Andreas Schwab <schwab@redhat.com>
24484 Ulrich Drepper <drepper@gmail.com>
24485
24486 [BZ #12509]
24487 * include/link.h (struct link_map): Add l_orig_initfini.
24488 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24489 returning unsuccessfully.
24490 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24491 close of a file loaded at startup, restore the original l_initfini
24492 list.
24493 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24494 list, store the pointer.
24495 * elf/Makefile ($(objpfx)noload-mem): New rule.
24496 (noload-ENV): Define.
24497 (tests): Add $(objpfx)noload-mem.
24498 * elf/noload.c: Include <memcheck.h>.
24499 (main): Call mtrace. Close all opened handles.
24500
f2092faf
AS
245012011-02-17 Andreas Schwab <schwab@redhat.com>
24502
24503 [BZ #12454]
24504 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24505 dependencies are missing.
24506
6c8a2e88
ST
245072011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24508
f2092faf 24509 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
24510 Hurd needs munmap.
24511 * sysdeps/mach/hurd/ifreq.h: New file.
24512
84a42118
PB
245132011-01-27 Petr Baudis <pasky@suse.cz>
24514 Ulrich Drepper <drepper@gmail.com>
24515
071f805e 24516 [BZ 12445]#
84a42118
PB
24517 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24518 to extend_alloca().
24519 * stdio-common/bug23.c: New file.
24520 * stdio-common/Makefile (tests): Add bug23.
24521
e23fe25b
AS
245222010-09-28 Andreas Schwab <schwab@redhat.com>
24523 Ulrich Drepper <drepper@gmail.com>
24524
24525 [BZ #12489]
24526 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24527 before performing relro protection. At old place add assertion
24528 to make sure nothing changed.
24529
d3f02e10
NS
245302011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24531 Glauber de Oliveira Costa <glommer@gmail.com>
24532
24533 * elf/elf.h: Add new ARM TLS relocs.
24534
d55fd7a5
RA
245352011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24536
24537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24538 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24539 cast from r3.
24540 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24541 'tests' variable.
24542 * sysdeps/wordsize-64/tst-writev.c: New file.
24543
2206397e
RA
245442011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24545
24546 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24547 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24548 insns in _dl_start to prevent a TOC reference before relocs are
24549 resolved.
24550
e9433893
UD
245512011-02-15 Ulrich Drepper <drepper@gmail.com>
24552
24553 [BZ #12469]
24554 * Makeconfig: Remove RANLIB definition.
24555 * Makerules: Don't use RANLIB.
24556 * aclocal.m4: Remove ranlib test.
24557 * configure.in: No need to check for ranlib.
24558 * elf/rtld-Rules: Don't use RANLIB.
24559
f75286c6
ST
245602011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24561
8e31c82d
ST
24562 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24563 protection macro.
24564 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24565 inclusion protection macro.
24566
f75286c6
ST
24567 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24568 SIGRTMIN and SIGRTMAX and print information in that case only when
24569 SIGRTMIN is defined.
24570
c1d0e639
JJ
245712011-02-11 Jakub Jelinek <jakub@redhat.com>
24572
24573 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24574 arginfo fn returning -1.
24575
24576 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24577 and thousands string is zero terminated.
24578
edf9294e
AS
245792011-02-03 Andreas Schwab <schwab@redhat.com>
24580
24581 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24582 sysdeps/unix/sysv/linux/bits/socket.h.
24583
2b7e92df
ST
245842011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24585
edf9294e
AS
24586 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24587 (__CPU_COUNT): Remove old macros.
24588 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24589 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24590 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
24591 (__sched_cpualloc, __sched_cpufree): Add declarations.
24592
a4c7ea7b
UD
245932011-02-05 Ulrich Drepper <drepper@gmail.com>
24594
24595 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24596 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24597 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24598 (readdhstai): Return value of addhstaiX call.
24599 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24600 (addgrbyX): Return value returned by cache_addgr.
24601 (readdgrbyname): Return value returned by addgrbyX.
24602 (readdgrbygid): Likewise.
24603 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24604 (addpwbyX): Return value returned by cache_addpw.
24605 (readdpwbyname): Return value returned by addhstbyX.
24606 (readdpwbyuid): Likewise.
24607 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24608 (addservbyX): Return value returned by cache_addserv.
24609 (readdservbyname): Return value returned by addservbyX:
24610 (readdservbyport): Likewise.
24611 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24612 (addhstbyX): Return value returned by cache_addhst.
24613 (readdhstbyname): Return value returned by addhstbyX.
24614 (readdhstbyaddr): Likewise.
24615 (readdhstbynamev6): Likewise.
24616 (readdhstbyaddrv6): Likewise.
24617 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24618 (readdinitgroups): Return value returned by addinitgroupsX.
24619 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24620 (prune_cache): Keep track of timeout value of re-added entries.
24621 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24622 * nscd/nscd.h: Adjust prototypes of readd* functions.
24623
a0bf67cc
RM
246242011-02-04 Roland McGrath <roland@redhat.com>
24625
24626 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24627 (nis_stats): Likewise.
24628 * nis/nis_modify.c (nis_modify): Likewise.
24629 * nis/nis_remove.c (nis_remove): Likewise.
24630 * nis/nis_add.c (nis_add): Likewise.
24631
24632 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24633
24634 * posix/fnmatch_loop.c: Add some consts.
24635
24636 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24637
435b95eb
L
246382011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24639
24640 [BZ #12460]
24641 * config.make.in (config-cflags-novzeroupper): Define.
24642 * configure.in: Substitute libc_cv_cc_novzeroupper.
24643 * elf/Makefile (AVX-CFLAGS): Define.
24644 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24645 (CFLAGS-tst-auditmod4a.c): Likewise.
24646 (CFLAGS-tst-auditmod4b.c): Likewise.
24647 (CFLAGS-tst-auditmod6b.c): Likewise.
24648 (CFLAGS-tst-auditmod6c.c): Likewise.
24649 (CFLAGS-tst-auditmod7b.c): Likewise.
24650 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24651
8517b15e
UD
246522011-02-02 Ulrich Drepper <drepper@gmail.com>
24653
24654 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24655 function to the callback.
24656 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24657
10a656fe
AS
246582011-02-02 Andreas Schwab <schwab@redhat.com>
24659
24660 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24661 of errno.
24662
968dad0a
UD
246632011-01-19 Ulrich Drepper <drepper@gmail.com>
24664
9f94d2ea 24665 [BZ #11724]
968dad0a
UD
24666 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24667 of constructors.
24668 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24669 of destructors.
24670 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24671
24672 [BZ #11724]
24673 * elf/Makefile: Add rules to build and run new test.
24674 * elf/tst-initorder.c: New file.
24675 * elf/tst-initorder.exp: New file.
24676 * elf/tst-initordera1.c: New file.
24677 * elf/tst-initordera2.c: New file.
24678 * elf/tst-initordera3.c: New file.
24679 * elf/tst-initordera4.c: New file.
24680 * elf/tst-initorderb1.c: New file.
24681 * elf/tst-initorderb2.c: New file.
24682 * elf/tst-order-a1.c: New file.
24683 * elf/tst-order-a2.c: New file.
24684 * elf/tst-order-a3.c: New file.
24685 * elf/tst-order-a4.c: New file.
24686 * elf/tst-order-b1.c: New file.
24687 * elf/tst-order-b2.c: New file.
24688 * elf/tst-order-main.c: New file.
24689 New test case by George Gensure <werkt0@gmail.com>.
24690
86e92359
UD
246912010-10-01 Andreas Schwab <schwab@redhat.com>
24692
24693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24694 decoding ACE if AI_CANONIDN.
24695
5d5732b0
UD
246962011-01-18 Ulrich Drepper <drepper@gmail.com>
24697
24698 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24699
a77e8cbc
UD
247002011-01-17 Ulrich Drepper <drepper@gmail.com>
24701
6392473f
UD
24702 * version.h (RELEASE): Bump for 2.13 release.
24703 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24704
620a0529
UD
24705 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24706
18ba70a5
UD
24707 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24708 MADV_NOHUGEPAGE.
32465c3e
UD
24709 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24710 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24711 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24712 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24713 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24714 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24715
c0dafcf1
UD
24716 * posix/getconf.c: Update copyright year.
24717 * catgets/gencat.c: Likewise.
24718 * csu/version.c: Likewise.
24719 * debug/catchsegv.sh: Likewise.
24720 * debug/xtrace.sh: Likewise.
24721 * elf/ldconfig.c: Likewise.
24722 * elf/ldd.bash.in: Likewise.
24723 * elf/sprof.c (print_version): Likewise.
24724 * iconv/iconv_prog.c: Likewise.
24725 * iconv/iconvconfig.c: Likewise.
24726 * locale/programs/locale.c: Likewise.
24727 * locale/programs/localedef.c: Likewise.
24728 * malloc/memusage.sh: Likewise.
24729 * malloc/mtrace.pl: Likewise.
24730 * nscd/nscd.c (print_version): Likewise.
24731 * nss/getent.c: Likewise.
24732
a77e8cbc
UD
24733 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24734 PF_CAIF, and PF_ALG.
24735 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24736
77e8bddf
AS
247372011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24738
1f20b93a
AS
24739 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24740 (modules-names): Use them.
24741 (ifunc-test-modules, ifunc-pie-tests): Define.
24742 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24743 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24744 (test-extras): Likewise.
24745 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24746 $(compile-command.c).
24747 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24748 (all-built-dso): Define.
24749 (check-textrel.out, check-execstack.out): Depend on it.
24750
77e8bddf
AS
24751 * configure.in: Don't override --enable-multi-arch.
24752
bc425b33
UD
247532011-01-15 Ulrich Drepper <drepper@gmail.com>
24754
24755 [BZ #6812]
24756 * nscd/hstcache.c (tryagain): Define.
24757 (cache_addhst): Return tryagain not notfound for temporary errors.
24758 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24759 failed.
24760
794c3ad3
UD
247612011-01-14 Ulrich Drepper <drepper@gmail.com>
24762
70181fdd
UD
24763 [BZ #10563]
24764 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24765 to make the syscall.
24766 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24767
794c3ad3
UD
24768 [BZ #12378]
24769 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24770 and fall back to matching as normal character if the string ends before
24771 the matching ']' is found. This is what POSIX requires.
24772 * posix/testfnm.c: Adjust test result.
24773 * posix/globtest.sh: Adjust test result. Add new test.
24774 * posix/tst-fnmatch.input: Likewise.
24775 * posix/tst-fnmatch2.c: Add new test.
24776
68dc9497
AS
247772010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24778
24779 * elf/Makefile (check-execstack): Revert last change. Depend on
24780 check-execstack.h.
24781 (check-execstack.h): New target.
24782 (generated): Add check-execstack.h.
24783 * elf/check-execstack.c: Include "check-execstack.h".
24784 (main): Revert last change.
24785 (handle_file): Return zero if GNU_STACK is absent and
24786 DEFAULT_STACK_PERMS doesn't include PF_X.
24787
451f001b
UD
247882011-01-13 Ulrich Drepper <drepper@gmail.com>
24789
cfa28e56
UD
24790 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24791 in child fails because the descriptor is already closed.
8cf8ce17
UD
24792 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24793 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24794 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24795
1086d70d
UD
24796 [BZ #12397]
24797 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24798 syscall.
24799
451f001b
UD
24800 [BZ #10484]
24801 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24802 temporary buffer used to handle multi lookups locally.
a85b5cb4 24803 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24804
08769175
UD
248052011-01-12 Ulrich Drepper <drepper@gmail.com>
24806
24807 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24808 loader is ld.so.
24809
5e49c52e
UD
248102011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24811
24812 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24813 alignment for SSE2.
24814
60522a5f
UD
248152011-01-12 Ulrich Drepper <drepper@gmail.com>
24816
24817 [BZ #12394]
24818 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24819 characters. When rounding increased number of integer digits recompute
24820 number of groups.
24821 * stdio-common/tst-grouping.c: New file.
24822 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24823
f257bbd7
UD
248242011-01-09 Ulrich Drepper <drepper@gmail.com>
24825
24826 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24827 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24828
24829 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24830 void.
24831 * bits/select.h: Likewise.
24832
fa9c15cb
UD
248332011-01-08 Ulrich Drepper <drepper@gmail.com>
24834
24835 * po/ja.po: Update from translation team.
24836
16c2895f
DM
248372011-01-04 David S. Miller <davem@sunset.davemloft.net>
24838
24839 [BZ #11155]
24840 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24841 implementation just like for lxstat, fxstatat, et al.
24842
2543fef2
JM
248432010-12-27 Jim Meyering <meyering@redhat.com>
24844
24845 [BZ #12348]
24846 * posix/regexec.c (build_trtable): Return failure indication upon
24847 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24848
98727dbe
UD
248492010-12-25 Ulrich Drepper <drepper@gmail.com>
24850
5bd6dc5c
UD
24851 [BZ #12201]
24852 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24853 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24854 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24855 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24856
97983464
UD
24857 [BZ #12207]
24858 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24859
98727dbe
UD
24860 [BZ #12204]
24861 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24862 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24863
4a531bb0
L
248642010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24865
24866 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24867 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24868 script has SORT_BY_INIT_PRIORITY.
24869 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24870 NO_CTORS_DTORS_SECTIONS is defined.
24871 * elf/soinit.c: Likewise.
24872 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24873 NO_CTORS_DTORS_SECTIONS is defined.
24874 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24875 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24876 * sysdeps/sh/init-first.c: Likewise.
24877 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24878
07eb4b71
UD
248792010-12-24 Ulrich Drepper <drepper@gmail.com>
24880
24881 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24882 always use the slow path.
24883
30950a5f
RA
248842010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24885
24886 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24887 similar rule which adds the sysdep directories to the header search in
24888 order to pick up the correct platform stackinfo.h.
24889 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24890 perform test if it is, otherwise return successfully without testing.
24891 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24892 DEFAULT_STACK_PERMS define in stackinfo.h.
24893 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24894 defined in stackinfo.h.
24895 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24896 DEFAULT_STACK_PERMS defined in stackinfo.h.
24897 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24898 * sysdeps/ia64/stackinfo.h: Likewise.
24899 * sysdeps/s390/stackinfo.h: Likewise.
24900 * sysdeps/sh/stackinfo.h: Likewise.
24901 * sysdeps/sparc/stackinfo.h: Likewise.
24902 * sysdeps/x86_64/stackinfo.h: Likewise.
24903 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24904 PF_X for powerpc64. Retain PF_X for powerpc32.
24905
db753e2c
UD
249062010-12-19 Ulrich Drepper <drepper@gmail.com>
24907
14b697f7
UD
24908 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24909 accurately.
db753e2c
UD
24910 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24911 GETDENTS_64BIT_ALIGNED.
24912
28300719
UD
249132010-12-14 Ulrich Drepper <dreper@gmail.com>
24914
14b697f7 24915 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24916
4f197237
AS
249172010-12-10 Andreas Schwab <schwab@redhat.com>
24918
dbb0472f
AS
24919 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24920 _GNU_SOURCE.
24921
4f197237
AS
24922 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24923 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24924 Remove __restrict.
24925 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24926 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24927
fb88ac72
UD
249282010-12-09 Ulrich Drepper <drepper@gmail.com>
24929
24930 [BZ #11655]
24931 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24932 are initialized.
24933
42acbb92
JJ
249342010-12-09 Jakub Jelinek <jakub@redhat.com>
24935
24936 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24937
c038d98d
UD
249382010-12-03 Ulrich Drepper <drepper@gmail.com>
24939
24940 * po/it.po: Update from translation team.
24941
3a4a2499
L
249422010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24943
24944 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24945 unused codes.
24946
1e24cf6e
UD
249472010-11-30 Ulrich Drepper <drepper@gmail.com>
24948
24949 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24950
a7690819
AS
249512010-11-24 Andreas Schwab <schwab@redhat.com>
24952
24953 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24954 specially.
24955 (gaih_getanswer_slice): Likewise.
24956
3bf8d1b1
JJ
249572010-10-20 Jakub Jelinek <jakub@redhat.com>
24958
24959 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24960
6db52fbb
PB
249612010-05-31 Petr Baudis <pasky@suse.cz>
24962
24963 [BZ #11149]
24964 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24965 silently even in the chroot mode.
24966
eaca7569
UD
249672010-11-22 Ulrich Drepper <drepper@gmail.com>
24968
24969 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24970 last patch a bit. Pretty printing
24971
3056dcdb
UD
249722010-05-31 Petr Baudis <pasky@suse.cz>
24973
24974 [BZ #10085]
24975 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24976 initialization of skip_initgroups_dyn.
24977
cf7c9078
UD
249782010-11-19 Ulrich Drepper <drepper@gmail.com>
24979
24980 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24981 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24982
a1fb5e3e
UD
249832010-11-16 Ulrich Drepper <drepper@gmail.com>
24984
24985 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24986
3540d66b
AS
249872010-11-11 Andreas Schwab <schwab@redhat.com>
24988
24989 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24990 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24991 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24992 ($(objpfx)tst-fnmatch-mem): New rule.
24993 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24994 * posix/tst-fnmatch.c (main): Call mtrace.
24995
13b69574
L
249962010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24997
24998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24999 Support Intel processor model 6 and model 0x2c.
25000
da93d214
LM
250012010-11-10 Luis Machado <luisgpm@br.ibm.com>
25002
25003 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25004 signed comparison.
25005
8ca52c6e
L
250062010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25007
25008 [BZ #12205]
25009 * string/test-strncasecmp.c (check_result): New function.
25010 (do_one_test): Use it.
25011 (check1): New function.
25012 (test_main): Use it.
25013 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25014 Support strcasecmp and strncasecmp.
25015
69da074d
UD
250162010-11-08 Ulrich Drepper <drepper@gmail.com>
25017
25018 [BZ #12194]
25019 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25020 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25021
ff02d528
L
250222010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25023
25024 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25025 IFUNC support.
25026 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25027 memset-x86-64.
25028 * sysdeps/x86_64/multiarch/bzero.S: New file.
25029 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25030 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25031 * sysdeps/x86_64/multiarch/memset.S: New file.
25032 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25033 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25034 Set bit_Prefer_SSE_for_memop for Intel processors.
25035 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25036 Define.
25037 (index_Prefer_SSE_for_memop): Define.
25038 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25039
344d0b54
LM
250402010-11-04 Luis Machado <luisgpm@br.ibm.com>
25041
25042 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25043 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25044
c0dde15b
UD
250452010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25046
25047 [BZ #12191]
25048 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25049 (__x86_64_raw_data_cache_size_half): Likewise.
25050 (__x86_64_raw_shared_cache_size): Likewise.
25051 (__x86_64_raw_shared_cache_size_half): Likewise.
25052
25053 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25054 (__x86_64_raw_data_cache_size_half): Likewise.
25055 (__x86_64_raw_shared_cache_size): Likewise.
25056 (__x86_64_raw_shared_cache_size_half): Likewise.
25057 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25058 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25059 and __x86_64_raw_shared_cache_size_half. Round
25060 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25061 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25062 to multiple of 256 bytes.
25063
0e516e0e
MS
250642010-11-03 Ulrich Drepper <drepper@gmail.com>
25065
25066 [BZ #12167]
25067 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25068 of inacessible symlinks. Verify result of symlink before returning it.
25069 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25070 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25071
0e012e87
ER
250722010-10-28 Erich Ritz <erichritz@gmail.com>
25073
25074 * math/math.h (isinf): Fix typo in comment.
25075
de0ff7bc
UD
250762010-11-01 Ulrich Drepper <drepper@gmail.com>
25077
25078 * po/da.po: Update from translation team.
25079
fa41c84d
UD
250802010-10-26 Ulrich Drepper <drepper@gmail.com>
25081
25082 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25083 is added to the list.
25084
f0967738
AK
250852010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25086 Ulrich Drepper <drepper@gmail.com>
25087
25088 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25089 the global list here. Move code to...
25090 (_dl_add_to_namespace_list): ...here. New function.
25091 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25092 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25093 * elf/dl-load.c (lose): Don't remove the element from the list.
25094 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25095 (_dl_map_object): Likewise.
25096
250972010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25098
25099 [BZ #12159]
25100 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25101 into all bytes of SSE register.
25102 Patch by Richard Li <richardpku@gmail.com>.
25103
f0967738 251042010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25105
25106 [BZ #12140]
25107 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25108 perturbing.
25109
d0b9e94f
MB
251102010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25111
25112 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25113 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25114 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25115 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25117 submachine.
25118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25119
8e9f92e9
AS
251202010-10-22 Andreas Schwab <schwab@redhat.com>
25121
25122 * include/dlfcn.h (__RTLD_SECURE): Define.
25123 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25124 mode & __RTLD_SECURE instead.
25125 (open_path): Rename preloaded parameter to secure.
25126 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25127 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25128 * elf/dl-deps.c (openaux): Likewise.
25129 * elf/rtld.c (struct map_args): Remove is_preloaded.
25130 (map_doit): Don't use it.
25131 (dl_main): Likewise.
25132 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25133 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25134
bc96fbda
AS
251352010-09-09 Andreas Schwab <schwab@redhat.com>
25136
25137 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25138 (sysd-rules-targets): Remove duplicates.
25139 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25140 rtld-%.$o dependency.
25141
22cd1c9b
AS
251422010-10-18 Andreas Schwab <schwab@redhat.com>
25143
25144 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25145 _dl_map_object do it.
25146
18edac48
UD
251472010-10-19 Ulrich Drepper <drepper@gmail.com>
25148
25149 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25150 fast fma builtins, define the macros in the C99 standard.
25151 (FP_FAST_FMAF): Likewise.
25152 (FP_FAST_FMAL): Likewise.
25153 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25154
25155 * bits/mathdef.h: Update copyright year.
25156 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25157
d2050124
MM
251582010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25159
25160 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25161 builtins, define the macros in the C99 standard.
25162 (FP_FAST_FMAF): Likewise.
25163 (FP_FAST_FMAL): Likewise.
25164 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25165 multiply/add.
25166 (FP_FAST_FMAF): Likewise.
25167
475facd1
JJ
251682010-10-15 Jakub Jelinek <jakub@redhat.com>
25169
25170 [BZ #3268]
25171 * math/libm-test.inc (fma_test): Some new testcases.
25172 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25173 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25174 y and infinite z. Do multiplication by C already in long double.
25175 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25176 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25177 y and infinite z. Do bitwise or of inexact bit into u.d.
25178 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25179 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25180 * sysdeps/i386/fpu/s_fma.S: Removed.
25181 * sysdeps/i386/fpu/s_fmal.S: Removed.
25182
7c08a05c
JJ
251832010-10-16 Jakub Jelinek <jakub@redhat.com>
25184
25185 [BZ #3268]
25186 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25187 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25188 computation is not scheduled after fetestexcept. Fix value
25189 of minimum denormal long double.
25190
f3f7372d
JJ
251912010-10-14 Jakub Jelinek <jakub@redhat.com>
25192
25193 [BZ #3268]
25194 * math/libm-test.inc (fma_test): Add some more tests.
25195 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25196 correctly.
25197
14d43591
AS
251982010-10-15 Andreas Schwab <schwab@redhat.com>
25199
25200 * scripts/data/localplt-s390-linux-gnu.data: New file.
25201 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25202
5e908464
JJ
252032010-10-13 Jakub Jelinek <jakub@redhat.com>
25204
25205 [BZ #3268]
25206 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25207 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25208 instead of dbl-64.
25209 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25210 inlines.
25211 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25213 if one of x and y is very large and the other is subnormal.
25214 * sysdeps/s390/fpu/s_fmaf.c: New file.
25215 * sysdeps/s390/fpu/s_fma.c: New file.
25216 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25217 * sysdeps/powerpc/fpu/s_fma.S: New file.
25218 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25219 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25220 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25221
252222010-10-12 Jakub Jelinek <jakub@redhat.com>
25223
25224 [BZ #3268]
25225 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25226 fma tests.
25227 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25228 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25229 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25230 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25231 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25232 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25233 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25234
b833d51f
UD
252352010-10-12 Ulrich Drepper <drepper@redhat.com>
25236
25237 [BZ #12078]
25238 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25239 * posix/bug-regex31.input: Add test case.
25240
1751705d
UD
252412010-10-11 Ulrich Drepper <drepper@gmail.com>
25242
e9b9cbf5
UD
25243 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25244 * posix/bug-regex31.input: New file.
25245
25246 [BZ #12078]
25247 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25248 (parse_sub_exp): Fix last change, use postorder.
25249
ef06edbe
UD
25250 * posix/bug-regex31.c: New file.
25251 * posix/Makefile: Add rules to build and run bug-regex31.
25252
a129c80d
UD
25253 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25254
25255 [BZ #12078]
25256 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25257
b76b818e
UD
25258 [BZ #12108]
25259 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25260 to have entries in sys_siglist.
25261
1751705d
UD
25262 [BZ #12093]
25263 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25264 be NULL.
25265
9ff8d36f
JJ
252662010-10-07 Jakub Jelinek <jakub@redhat.com>
25267
25268 [BZ #3268]
25269 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25270 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25271 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25272 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25273 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25274 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25275 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25276 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25277 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25278 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25279 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25280 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25281 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25282 * math/ftestexcept.c (fetestexcept): Likewise.
25283 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25284 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25285 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25286 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25287 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25288 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25289 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25290
af325969
UD
252912010-10-11 Ulrich Drepper <drepper@gmail.com>
25292
c579b202 25293 [BZ #12107]
af325969
UD
25294 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25295 newline.
25296
67a67b95
UD
252972010-10-06 Ulrich Drepper <drepper@gmail.com>
25298
25299 * string/bug-strstr1.c: New file.
25300 * string/Makefile: Add rules to build and run bug-strstr1.
25301
5fb308bc
EB
253022010-10-05 Eric Blake <eblake@redhat.com>
25303
25304 [BZ #12092]
25305 * string/str-two-way.h (two_way_long_needle): Always clear memory
25306 when skipping input due to the shift table.
25307
45db99c7
UD
253082010-10-03 Ulrich Drepper <drepper@gmail.com>
25309
3b111893
UD
25310 [BZ #12005]
25311 * malloc/mcheck.c: Handle large requests.
25312
45db99c7
UD
25313 [BZ #12077]
25314 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25315 for strncmp and strncasecmp.
25316 * string/stratcliff.c: Add tests for strcmp and strncmp.
25317 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25318
cf7a1eb8
NI
253192010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25320
25321 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25322 __set_fpscr.
25323
6484ba5e
AJ
253242010-09-30 Andreas Jaeger <aj@suse.de>
25325
25326 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25327 (CGROUP_SUPER_MAGIC): Define.
25328 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25329 Handle btrfs and cgroup file systems.
25330 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25331 Likewise.
25332
91c42559
LM
253332010-09-27 Luis Machado <luisgpm@br.ibm.com>
25334
25335 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25336 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25337
87a97932
AK
253382010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25339
25340 [BZ #12067]
25341 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25342 trying to locate the ELF header.
25343
c21cc9bc
AS
253442010-09-27 Andreas Schwab <schwab@redhat.com>
25345
25346 [BZ #11611]
25347 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25348 Mask out sign-bit copies when constructing f_fsid.
25349
315970f6
PB
253502010-09-24 Petr Baudis <pasky@suse.cz>
25351
25352 * debug/stack_chk_fail_local.c: Add missing licence exception.
25353 * debug/warning-nop.c: Likewise.
25354
1ac7a2c7
JM
253552010-09-15 Joseph Myers <joseph@codesourcery.com>
25356
25357 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25358 implementing getdents64 using getdents syscall, set d_type if
25359 __ASSUME_GETDENTS32_D_TYPE.
25360
56801c50
AS
253612010-09-16 Andreas Schwab <schwab@redhat.com>
25362
25363 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25364 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25365
dda51327
UD
253662010-09-21 Ulrich Drepper <drepper@redhat.com>
25367
25368 [BZ #12037]
25369 * posix/unistd.h: Undo change of feature selection for ftruncate from
25370 2010-01-11.
25371
8ffcee4a
UD
253722010-09-20 Ulrich Drepper <drepper@redhat.com>
25373
a545ecd9 25374 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
25375 detection.
25376
e24f0a8b
AS
253772010-09-20 Andreas Schwab <schwab@redhat.com>
25378
25379 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25380 fanotify_mark.
25381 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25382
7291c56f
AS
253832010-09-14 Andreas Schwab <schwab@redhat.com>
25384
25385 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25386 variables after CHECK_SP call.
25387 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25388
bc5fb037
AS
253892010-09-13 Andreas Schwab <schwab@redhat.com>
25390 Ulrich Drepper <drepper@redhat.com>
25391
25392 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25393 re-relocationg ld.so.
25394 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25395 _dl_init_paths call.
25396 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25397 here anymore.
25398
e66e7419
UD
253992010-09-14 Ulrich Drepper <drepper@redhat.com>
25400
25401 * resolv/res_init.c (__res_vinit): Count the default server we added.
25402
c044aa75
CLT
254032010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25404 Ulrich Drepper <drepper@redhat.com>
25405
25406 [BZ #11968]
25407 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25408 (____longjmp_chk): Use %ebx for saving value across system call.
25409 Add unwind info.
25410
32cf4069
AS
254112010-09-06 Andreas Schwab <schwab@redhat.com>
25412
25413 * manual/Makefile: Don't mix pattern rules with normal rules.
25414
817328ee
AS
254152010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25416
25417 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25418 operation.
25419 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25420 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25421 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25422 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25423 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25424 Likewise.
25425
29fddf61
UD
254262010-09-04 Ulrich Drepper <drepper@redhat.com>
25427
25428 [BZ #11979]
25429 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25430 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25431
0959ffc9
UD
254322010-09-02 Ulrich Drepper <drepper@redhat.com>
25433
25434 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25435 * sysdeps/x86_64/addmul_1.S: Likewise.
25436 * sysdeps/x86_64/lshift.S: Likewise.
25437 * sysdeps/x86_64/mul_1.S: Likewise.
25438 * sysdeps/x86_64/rshift.S: Likewise.
25439 * sysdeps/x86_64/sub_n.S: Likewise.
25440 * sysdeps/x86_64/submul_1.S: Likewise.
25441
ece29840
ST
254422010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25443
0959ffc9
UD
25444 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25445 Define __sched_param instead of SCHED_* and sched_param when
ece29840 25446 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 25447 * bits/sched.h [__need_schedparam]
ece29840 25448 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
25449 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25450 (__defined_schedparam): Define to 1.
ece29840
ST
25451 (__sched_param): New structure, identical to sched_param.
25452 (__need_schedparam): Undefine.
25453
e53a31fe
MF
254542010-08-31 Mike Frysinger <vapier@gentoo.org>
25455
fdc0c10d
MF
25456 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25457 (epoll_create1): Declare.
25458
e53a31fe
MF
25459 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25460
a726d796
AS
254612010-08-31 Andreas Schwab <schwab@redhat.com>
25462
25463 [BZ #7066]
25464 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25465 shifting retval into place.
25466
2f3e3dc7
UD
254672010-09-01 Ulrich Drepper <drepper@redhat.com>
25468
f2933da9
UD
25469 * nis/rpcsvc/nis.h: Update copyright notice.
25470 * nis/rpcsvc/nis.x: Likewise.
25471 * nis/rpcsvc/nis_callback.h: Likewise.
25472 * nis/rpcsvc/nis_callback.x: Likewise.
25473 * nis/rpcsvc/nis_object.x: Likewise.
25474 * nis/rpcsvc/nis_tags.h: Likewise.
25475 * nis/rpcsvc/yp.h: Likewise.
25476 * nis/rpcsvc/yp.x: Likewise.
25477 * nis/rpcsvc/ypupd.h: Likewise.
25478 * nis/yp_xdr.c: Likewise.
25479 * nis/ypupdate_xdr.c: Likewise.
25480
2f3e3dc7
UD
25481 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25482 mainly the body of pmap_getport. Add parameters to specify timeouts.
25483 (pmap_getport): Use __libc_rpc_getport.
25484 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25485 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25486 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25487
f3dcc2f9
AS
254882010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25489
25490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25491 fanotify_mark.
25492
6d34eb5b
RM
254932010-08-27 Roland McGrath <roland@redhat.com>
25494
25495 * sysdeps/i386/i686/multiarch/Makefile
25496 (CFLAGS-varshift.c): New variable.
25497
9ea3de11
UD
254982010-08-27 Ulrich Drepper <drepper@redhat.com>
25499
c96d23fc
UD
25500 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25501 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25502
9ea3de11
UD
25503 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25504
25505 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25506
623aac7f
L
255072010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25508
25509 * sysdeps/x86_64/strlen.S: Unroll the loop.
25510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25511 strlen-sse2 strlen-sse2-bsf.
25512 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25513 __strlen_no_bsf if bit_Slow_BSF is set.
25514 (__strlen_sse42): Removed.
25515 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25516 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25517
8b2b7715
RM
255182010-08-25 Roland McGrath <roland@redhat.com>
25519
25520 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25521 * sysdeps/x86_64/multiarch/varshift.c: New file.
25522 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25523 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25524 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25525 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25526
e73015f2
L
255272010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25528
25529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25530 strlen-sse2 strlen-sse2-bsf.
25531 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25532 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25533 (__strlen_sse2): Removed.
25534 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25535 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25537 bit_Slow_BSF for Atom.
25538 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25539 (index_Slow_BSF): Define.
25540 (HAS_SLOW_BSF): Define.
25541
df24a73e
UD
255422010-08-25 Ulrich Drepper <drepper@redhat.com>
25543
25544 [BZ #10851]
25545 * resolv/res_init.c (__res_vinit): When no server address at all
25546 is given default to loopback.
25547
f2ac4868
RM
255482010-08-24 Roland McGrath <roland@redhat.com>
25549
09055553
RM
25550 * configure.in: Remove config-name.h generation.
25551 * configure: Regenerated.
25552 * config-name.in: File removed.
25553 * scripts/config-uname.sh: New file.
25554 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25555 ($(objdir)config-name.h): New target.
25556
f2ac4868
RM
25557 * sunrpc/rpc_parse.h: Avoid nested comment.
25558
73f27d5e
RH
255592010-08-24 Richard Henderson <rth@redhat.com>
25560 Ulrich Drepper <drepper@redhat.com>
25561 H.J. Lu <hongjiu.lu@intel.com>
25562
25563 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25565 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25566 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25567 _mm_alignr_epi8 with _mm_loadu_si128.
25568 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25569 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25570 (__m128i_shift_right): Removed.
25571 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25572 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25573 * sysdeps/x86_64/multiarch/varshift.h: New file.
25574 * sysdeps/x86_64/multiarch/varshift.S: New file.
25575
84b9230c
MF
255762010-08-21 Mike Frysinger <vapier@gentoo.org>
25577
25578 * configure.in: Move assembler checks to before sysdep dir checking.
25579
9bbd0ddc
PB
255802010-08-20 Petr Baudis <pasky@suse.cz>
25581
25582 * LICENSES: Sync the sunrpc license.
25583
9da4bb31
UD
255842010-08-19 Ulrich Drepper <drepper@redhat.com>
25585
a7ab6ec8
UD
25586 * sunrpc/auth_des.c: Update copyright notice once again.
25587 * sunrpc/auth_none.c: Likewise.
25588 * sunrpc/auth_unix.c: Likewise.
25589 * sunrpc/authdes_prot.c: Likewise.
25590 * sunrpc/authuxprot.c: Likewise.
25591 * sunrpc/bindrsvprt.c: Likewise.
25592 * sunrpc/clnt_gen.c: Likewise.
25593 * sunrpc/clnt_perr.c: Likewise.
25594 * sunrpc/clnt_raw.c: Likewise.
25595 * sunrpc/clnt_simp.c: Likewise.
25596 * sunrpc/clnt_tcp.c: Likewise.
25597 * sunrpc/clnt_udp.c: Likewise.
25598 * sunrpc/clnt_unix.c: Likewise.
25599 * sunrpc/des_crypt.c: Likewise.
25600 * sunrpc/des_soft.c: Likewise.
25601 * sunrpc/get_myaddr.c: Likewise.
25602 * sunrpc/getrpcport.c: Likewise.
25603 * sunrpc/key_call.c: Likewise.
25604 * sunrpc/key_prot.c: Likewise.
25605 * sunrpc/openchild.c: Likewise.
25606 * sunrpc/pm_getmaps.c: Likewise.
25607 * sunrpc/pm_getport.c: Likewise.
25608 * sunrpc/pmap_clnt.c: Likewise.
25609 * sunrpc/pmap_prot.c: Likewise.
25610 * sunrpc/pmap_prot2.c: Likewise.
25611 * sunrpc/pmap_rmt.c: Likewise.
25612 * sunrpc/rpc/auth.h: Likewise.
25613 * sunrpc/rpc/auth_unix.h: Likewise.
25614 * sunrpc/rpc/clnt.h: Likewise.
25615 * sunrpc/rpc/des_crypt.h: Likewise.
25616 * sunrpc/rpc/key_prot.h: Likewise.
25617 * sunrpc/rpc/netdb.h: Likewise.
25618 * sunrpc/rpc/pmap_clnt.h: Likewise.
25619 * sunrpc/rpc/pmap_prot.h: Likewise.
25620 * sunrpc/rpc/pmap_rmt.h: Likewise.
25621 * sunrpc/rpc/rpc.h: Likewise.
25622 * sunrpc/rpc/rpc_des.h: Likewise.
25623 * sunrpc/rpc/rpc_msg.h: Likewise.
25624 * sunrpc/rpc/svc.h: Likewise.
25625 * sunrpc/rpc/svc_auth.h: Likewise.
25626 * sunrpc/rpc/types.h: Likewise.
25627 * sunrpc/rpc/xdr.h: Likewise.
25628 * sunrpc/rpc_clntout.c: Likewise.
25629 * sunrpc/rpc_cmsg.c: Likewise.
25630 * sunrpc/rpc_common.c: Likewise.
25631 * sunrpc/rpc_cout.c: Likewise.
25632 * sunrpc/rpc_dtable.c: Likewise.
25633 * sunrpc/rpc_hout.c: Likewise.
25634 * sunrpc/rpc_main.c: Likewise.
25635 * sunrpc/rpc_parse.c: Likewise.
25636 * sunrpc/rpc_parse.h: Likewise.
25637 * sunrpc/rpc_prot.c: Likewise.
25638 * sunrpc/rpc_sample.c: Likewise.
25639 * sunrpc/rpc_scan.c: Likewise.
25640 * sunrpc/rpc_scan.h: Likewise.
25641 * sunrpc/rpc_svcout.c: Likewise.
25642 * sunrpc/rpc_tblout.c: Likewise.
25643 * sunrpc/rpc_util.c: Likewise.
25644 * sunrpc/rpc_util.h: Likewise.
25645 * sunrpc/rpcinfo.c: Likewise.
25646 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25647 * sunrpc/rpcsvc/key_prot.x: Likewise.
25648 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25649 * sunrpc/rpcsvc/mount.x: Likewise.
25650 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25651 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25652 * sunrpc/rpcsvc/rex.x: Likewise.
25653 * sunrpc/rpcsvc/rstat.x: Likewise.
25654 * sunrpc/rpcsvc/rusers.x: Likewise.
25655 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25656 * sunrpc/rpcsvc/spray.x: Likewise.
25657 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25658 * sunrpc/rtime.c: Likewise.
25659 * sunrpc/svc.c: Likewise.
25660 * sunrpc/svc_auth.c: Likewise.
25661 * sunrpc/svc_authux.c: Likewise.
25662 * sunrpc/svc_raw.c: Likewise.
25663 * sunrpc/svc_run.c: Likewise.
25664 * sunrpc/svc_simple.c: Likewise.
25665 * sunrpc/svc_tcp.c: Likewise.
25666 * sunrpc/svc_udp.c: Likewise.
25667 * sunrpc/svc_unix.c: Likewise.
25668 * sunrpc/svcauth_des.c: Likewise.
25669 * sunrpc/xcrypt.c: Likewise.
25670 * sunrpc/xdr.c: Likewise.
25671 * sunrpc/xdr_array.c: Likewise.
25672 * sunrpc/xdr_float.c: Likewise.
25673 * sunrpc/xdr_mem.c: Likewise.
25674 * sunrpc/xdr_rec.c: Likewise.
25675 * sunrpc/xdr_ref.c: Likewise.
25676 * sunrpc/xdr_sizeof.c: Likewise.
25677 * sunrpc/xdr_stdio.c: Likewise.
25678
9da4bb31
UD
25679 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25680 handling.
25681
bdaa77bc
AS
256822010-08-19 Andreas Schwab <schwab@redhat.com>
25683
25684 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25685
fe2f79db
LM
256862010-08-19 Luis Machado <luisgpm@br.ibm.com>
25687
25688 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25689 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25690 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25691 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25692 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25693 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25694 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25695 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25696 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25697 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25698 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25699 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25700 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25701 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25702
b9b42ee0
AB
257032010-07-26 Anton Blanchard <anton@samba.org>
25704
25705 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25706 * malloc/arena.c (heap_trim): Likewise.
25707
1c06ba31
UD
257082010-08-16 Ulrich Drepper <drepper@redhat.com>
25709
25710 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25711 here. Not...
25712 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25713 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25714
f8392f40
L
257152010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25716
25717 * sysdeps/i386/elf/Makefile: New file.
25718
3162f12e
AS
257192010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25720
25721 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25722 from fanotify_init.
25723 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25724 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25725
28c90b2c
UD
257262010-08-15 Ulrich Drepper <drepper@redhat.com>
25727
25728 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25729 of strncasecmp_l.
1feccb6c 25730 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25731
ca6bb004
UD
257322010-08-14 Ulrich Drepper <drepper@redhat.com>
25733
e9f82e0d
UD
25734 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25735 strncase_l-nonascii.
25736 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25737 Add strncase_l-ssse3.
25738 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25739 * sysdeps/x86_64/strcmp.S: Likewise.
25740 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25741 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25742 * sysdeps/x86_64/strncase.S: New file.
25743 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25744 * sysdeps/x86_64/strncase_l.S: New file.
25745 * string/Makefile (strop-tests): Add strncasecmp.
25746 * string/test-strncasecmp.c: New file.
25747
25748 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25749 warning.
25750
ca6bb004
UD
25751 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25752 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25753
052fa7b3
AS
257542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25755
25756 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25757
962dba78
UD
257582010-08-12 Ulrich Drepper <drepper@redhat.com>
25759
25760 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25761 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25762 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25763
bebff237
AM
257642010-05-01 Alan Modra <amodra@gmail.com>
25765
25766 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25767 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25768 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25769 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25770 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25771 tidying. Don't tail-call __sigjmp_save for static lib.
25772 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25773 save location.
25774 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25775 (CALL_MCOUNT): Add eh info, and nop after bl.
25776 (TAIL_CALL_SYSCALL_ERROR): New macro.
25777 (PSEUDO_RET): Use it.
25778 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25779 Correct save location of integer regs and cr.
25780 (_dl_profile_resolve): Correct cr save location. Delete nops
25781 after bl when SHARED. Reduce cfi size a little by better
25782 placement of cfi directives.
25783 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25784 make a stack frame. Instead use parm save area as a temp.
25785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25786 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25788 Don't make a stack frame for parent, use parm save area.
25789 Increase child stack frame to 112 bytes. Don't save unused reg,
25790 and adjust reg usage. Set up cfi on error recovery and
25791 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25793 (__makecontext): Add dummy nop after jump to exit.
25794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25795 Use correct parm save area and cr save, reduce stack frame.
25796 Correct cfi for possible PSEUDO_RET frame setup.
25797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25798 Branch to local label emitted by PSEUDO_RET rather than
25799 __syscall_error.
25800
02637374
AS
258012010-08-12 Andreas Schwab <schwab@redhat.com>
25802
25803 [BZ #11904]
25804 * locale/programs/locale.c (print_assignment): New function.
25805 (show_locale_vars): Use it.
25806
c3e2f19b
UD
258072010-08-11 Ulrich Drepper <drepper@redhat.com>
25808
3cdaa6ad
UD
25809 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25810 field.
25811 (struct statfs64): Likewise.
25812 (_STATFS_F_FLAGS): Define.
25813 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25814 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25815 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25816 (ST_VALID): Define locally.
25817 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25818 __statvfs_getflags, use the provided value.
25819 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25820 __ASSUME_STATFS_F_FLAGS.
25821
754f7da3
UD
25822 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25823
10b3bedc
UD
25824 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25825 Add sys/fanotify.h.
25826 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25827 fanotify_mask for GLIBC_2.13.
25828 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25829 fanotify_init and fanotify_mark.
25830 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25831 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25832
c08fb0d7
UD
25833 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25834 Add prlimit.
25835 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25836 prlimit64 for GLIBC_2.13.
25837 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25838 prlimit64.
25839 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25840 syscall.
25841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25842 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25843 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25844 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25845 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25846 add prlimit alias.
25847 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25848
15bac72b
UD
25849 [BZ #11903]
25850 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25851 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25852
c3e2f19b
UD
25853 * nss/Makefile: Add rules to build and run tst-nss-test1.
25854 * shlib-versions: Add entry for libnss_test1.
25855 * nss/nss_test1.c: New file.
25856 * nss/tst-nss-test1.c: New file.
25857
25858 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25859 (__nss_configure_lookup): Set appropriate entry in
25860 __nss_configure_lookup to true.
25861 * nss/nsswitch.h: Define enum with indeces of databases in
25862 databases and __nss_database_custom arrays. Declare
25863 __nss_database_custom.
25864 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25865 to avoid using nscd when custom rules are installed.
25866 * nss/getXXbyYY_r.c: Likewise.
25867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25868
25869 * nss/nss_files/files-parse.c: Whitespace fixes.
25870
f15ce4d8
UD
258712010-08-09 Ulrich Drepper <drepper@redhat.com>
25872
25873 [BZ #11883]
25874 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25875 * posix/fnmatch_loop.c: Likewise.
25876
d22e4cc9
AK
258772010-07-17 Andi Kleen <ak@linux.intel.com>
25878
25879 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25880 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25881 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25882 * Versions.def [GLIBC_2.13]: Add.
25883
805bc17d
UD
258842010-08-06 Ulrich Drepper <drepper@redhat.com>
25885
25886 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25887 Also fail if tpwd after pwuid call is NULL.
25888
5a42321d
ST
258892010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25890
25891 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25892 when converting to ms.
25893
fd3ebeda
ST
258942010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25895
25896 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25897 EOPNOTSUPP errors with ENOTTY.
25898 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25899 EOPNOTSUPP errors with ENOTTY.
25900
73507d3a
UD
259012010-07-31 Ulrich Drepper <drepper@redhat.com>
25902
25903 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25904 Add strcasecmp_l-ssse3.
25905 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25906 strcasecmp.
25907 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25908 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25909 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25910
fe36dd02
UD
259112010-07-30 Ulrich Drepper <drepper@redhat.com>
25912
66f6765a
UD
25913 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25914
42e08a54
UD
25915 * string/Makefile (strop-tests): Add strcasecmp.
25916 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25917 strcasecmp_l-nonascii.
25918 (gen-as-const-headers): Add locale-defines.sym.
25919 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25920 * sysdeps/x86_64/strcasecmp.S: New file.
25921 * sysdeps/x86_64/strcasecmp_l.S: New file.
25922 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25923 * sysdeps/x86_64/locale-defines.sym: New file.
25924 * string/test-strcasecmp.c: New file.
25925
fe36dd02
UD
25926 * string/test-strcasestr.c: Test both ends of the range of characters.
25927 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25928
48cbc0d6
RM
259292010-07-29 Roland McGrath <roland@redhat.com>
25930
76e6d6bc 25931 [BZ #11856]
48cbc0d6
RM
25932 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25933
880113d9
UD
259342010-07-27 Ulrich Drepper <drepper@redhat.com>
25935
25936 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25937 for ld.so.
25938
deb9cabb
AS
259392010-07-27 Andreas Schwab <schwab@redhat.com>
25940
25941 * manual/memory.texi (Malloc Tunable Parameters): Document
25942 M_PERTURB.
25943
1c7570ff
RM
259442010-07-26 Roland McGrath <roland@redhat.com>
25945
25946 [BZ #11840]
25947 * configure.in (-fgnu89-inline check): Set and substitute
25948 gnu89_inline, not libc_cv_gnu89_inline.
25949 * configure: Regenerated.
25950 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25951
24fb0f88
UD
259522010-07-26 Ulrich Drepper <drepper@redhat.com>
25953
25954 * string/test-strnlen.c: New file.
25955 * string/Makefile (strop-tests): Add strnlen.
25956 * string/tester.c (test_strnlen): Add a few more test cases.
25957 * string/tst-strlen.c: Better error reporting.
25958
25959 * sysdeps/x86_64/strnlen.S: New file.
25960
8e96b93a
UD
259612010-07-24 Ulrich Drepper <drepper@redhat.com>
25962
25963 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25964 lower-latency instructions.
25965
dbc676d4
UD
259662010-07-23 Ulrich Drepper <drepper@redhat.com>
25967
25968 * string/test-strcasestr.c: New file.
25969 * string/test-strstr.c: New file.
25970 * string/Makefile (strop-tests): Add strstr and strcasestr.
25971 * string/str-two-way.h: Don't undefine MAX.
25972 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25973
f6a31e0e
AS
259742010-07-21 Andreas Schwab <schwab@redhat.com>
25975
25976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25977 strcasestr-nonascii.
25978 (CFLAGS-strcasestr-nonascii.c): Define.
25979 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25980 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25981 Remove unused attribute.
25982
5dbc3b6c
RM
259832010-07-20 Roland McGrath <roland@redhat.com>
25984
25985 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25986 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25987 ld.so.cache was broken. With it, there is no way to disable dsocaps
25988 like LD_HWCAP_MASK can disable hwcaps.
25989
23d101d8
EPM
259902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25991
25992 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25993
cc9f2e47
UD
259942010-07-16 Ulrich Drepper <drepper@redhat.com>
25995
25996 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25997 call in strcasestr.
25998 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25999 __strcasestr_sse42_nonascii.
26000 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26001 strcasestr-nonascii.c.
26002 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26003
77c1b069
LM
260042010-06-15 Luis Machado <luisgpm@br.ibm.com>
26005
26006 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26007 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26008 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26009 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26010
440566c3
UD
260112010-07-09 Ulrich Drepper <drepper@redhat.com>
26012
26013 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26014 fcntl.
26015
5be9d05d
AS
260162010-07-06 Andreas Schwab <schwab@redhat.com>
26017
c30b7ee2 26018 [BZ #11577]
5be9d05d
AS
26019 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26020 dl_signal_cerror.
26021
8a492a67
UD
260222010-07-06 Ulrich Drepper <drepper@redhat.com>
26023
26024 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26025 _PC_PIPE_BUF using F_GETPIPE_SZ.
26026
713df3d5
RM
260272010-07-05 Roland McGrath <roland@redhat.com>
26028
26029 * manual/arith.texi (Rounding Functions): Fix rint description
26030 implicit in round description.
26031
702e8f14
UD
260322010-07-02 Ulrich Drepper <drepper@redhat.com>
26033
26034 * elf/Makefile: Fix linking for a few tests to make recent linker
26035 happy.
26036
52ed8be9
AS
260372010-06-30 Andreas Schwab <schwab@redhat.com>
26038
26039 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26040 $(common-objpfx)libc_nonshared.a.
26041
f47c9a11
LM
260422010-06-21 Luis Machado <luisgpm@br.ibm.com>
26043
26044 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26045 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26046 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26047 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26048 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26049 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26050 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26051 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26066 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26067 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26068 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26069 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26070 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26071 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26072 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26073 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26074 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26075 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26076 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26077 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26092
6fb8cbcb
L
260932010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26094
26095 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26096 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26097 * string/memmove.c (memmove): Renamed to ...
26098 (MEMMOVE): ...this. Default to memmove.
26099 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26100 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26101 (END_CHK): Define.
26102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26103 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26104 mempcpy-ssse3-back memmove-ssse3-back.
26105 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26106 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26107 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26108 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26109 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26110 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26111 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26112 * sysdeps/x86_64/multiarch/memmove.c: New file.
26113 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26114 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26115 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26116 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26117 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26118 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26119 Define.
26120 (index_Fast_Copy_Backward): Define.
26121 (HAS_ARCH_FEATURE): Define.
26122 (HAS_FAST_REP_STRING): Define.
26123 (HAS_FAST_COPY_BACKWARD): Define.
26124
4e733bac 261252010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26126
26127 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26128 Restore proper fallback handling.
26129
63c4ed22
UD
261302010-06-19 Ulrich Drepper <drepper@redhat.com>
26131
ac2b484c
UD
26132 [BZ #11701]
26133 * posix/group_member.c (__group_member): Correct checking loop.
26134
63c4ed22
UD
26135 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26136 OOM in getpwuid_r correctly. Return error number when the caller
26137 should return, otherwise -1.
26138 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26139 call returning > 0 value.
26140 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26141
765ade4b
AS
261422010-06-07 Andreas Schwab <schwab@redhat.com>
26143
26144 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26145 libc_nonshared.a from targets in modules-names.
26146
80da2e09
KS
261472010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26148
26149 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26150 requires it.
26151
158db122
LM
261522010-06-10 Luis Machado <luisgpm@br.ibm.com>
26153
26154 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26155 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26156 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26157 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26158
caa78cf8
AS
261592010-06-02 Andreas Schwab <schwab@redhat.com>
26160
26161 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26162
b2ef2c01
UD
261632010-06-14 Ulrich Drepper <drepper@redhat.com>
26164
26165 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26166 and F_GETPIPE_SZ.
26167 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26168 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26169 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26170 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26171 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26172 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26173
fbd643b6
RM
261742010-06-14 Roland McGrath <roland@redhat.com>
26175
26176 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26177
f32f2869
JJ
261782010-06-07 Jakub Jelinek <jakub@redhat.com>
26179
26180 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26181 __REDIRECT followed by __THROW.
26182 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26183 * posix/getopt.h (getopt): Likewise.
26184
2a50c078
EPM
261852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26186
26187 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26188 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26189 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26190 in AT_FLAGS.
26191 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26192 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26193
eb5ad2eb
LM
261942010-05-28 Luis Machado <luisgpm@br.ibm.com>
26195
26196 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26197
3c88fe1e
L
261982010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26199
26200 [BZ #11640]
26201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26202 Properly check family and model.
26203
d2f73151
TY
262042010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26205
26206 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26207
ebd2e13d
LM
262082010-05-24 Luis Machado <luisgpm@br.ibm.com>
26209
26210 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26211
b32b8b45
UD
262122010-05-21 Ulrich Drepper <drepper@redhat.com>
26213
26214 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26215 symbol reference.
26216
9acbe24d
AS
262172010-05-19 Andreas Schwab <schwab@redhat.com>
26218
26219 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26220 symbol reference.
26221
f0ccf6ea
AS
262222010-05-21 Andreas Schwab <schwab@redhat.com>
26223
3d04ff3a
AS
26224 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26225 and internal_recvmmsg.
26226 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26227 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26228 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26229 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26230
f0ccf6ea
AS
26231 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26232 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26233 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26234
5b08ac57
AS
262352010-05-20 Andreas Schwab <schwab@redhat.com>
26236
26237 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26238
4828935d
LM
262392010-05-17 Luis Machado <luisgpm@br.ibm.com>
26240
26241 POWER7 optimizations.
26242 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26243 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26244
373d545e
UD
262452010-05-19 Ulrich Drepper <drepper@redhat.com>
26246
26247 * version.h: Update for 2.13 development version.
26248
21a2b1ae
AS
262492010-05-12 Andrew Stubbs <ams@codesourcery.com>
26250
26251 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26252 exceptions. Return 0.
26253
3f7dcb2b
RM
262542010-05-07 Roland McGrath <roland@redhat.com>
26255
26256 * elf/ldconfig.c (main): Add a const.
26257
5f24d53a 262582010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26259
a160f8d8
UD
26260 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26261 (args_options): Add no-idn option.
26262 (ahosts_keys_int): Add idn_flags to ai_flags.
26263 (parse_option): Handle 'i' option to clear idn_flags.
26264
5f24d53a
UD
26265 * malloc/malloc.c (_int_free): Possible race in the most recently
26266 added check. Only act on the data if no current modification
26267 happened.
265bb1ce
UD
26268
26269See ChangeLog.17 for earlier changes.