]> sourceware.org Git - glibc.git/blob - ChangeLog
Move @end statement to start of line
[glibc.git] / ChangeLog
1 2013-02-21 Allan McRae <allan@archlinux.org>
2
3 * manual/message.texi (Charset conversion in gettext):
4 Move @end statement to beginning of line.
5
6 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7
8 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9 static.
10 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11 Likewise.
12
13 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14 (denorm): Likewise.
15 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17
18 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19
20 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21 tail-call to the resolved function if pltexit isn't needed.
22
23 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24
25 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26 or Y being zero as being unlikely.
27 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28 Likewise.
29
30 2013-02-20 Carlos O'Donell <carlos@redhat.com>
31
32 * manual/nss.texi (System Databases and Name Service Switch):
33 Remove frobnicate @pxref.
34
35 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36
37 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39
40 2013-02-20 Petr Machata <pmachata@redhat.com>
41
42 * elf/elf.h (R_ARM_TARGET1): New macro.
43 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
44 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
45 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
46 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
47 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
48 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
49 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
50 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
53 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
56 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
57 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
58 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
59 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
60 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
61 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
62 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
63 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
64 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
65 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
66 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
67 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
68 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
69 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
71 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
72 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
73 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
74 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
75 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
76 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
77 (R_ARM_THM_GOT_BREL12): Likewise.
78 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
79 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
80 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
81 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
82 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
83 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
84 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
85 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
86 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
87
88 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
89
90 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
91 __attribute_used__ to __attribute__ ((unused)).
92
93 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
94
95 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
96 powerpc mpa.c.
97 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
98 comment formatting.
99 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
100
101 2013-02-19 Joseph Myers <joseph@codesourcery.com>
102
103 [BZ #13550]
104 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
105 Remove macro.
106 (ENTER): Remove both macro definitions.
107 (LEAVE): Likewise.
108 (CHECK_BOUNDS_LOW): Likewise.
109 (CHECK_BOUNDS_HIGH): Likewise.
110 (CHECK_BOUNDS_BOTH): Likewise.
111 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
112 (RETURN_BOUNDED_POINTER): Likewise.
113 (RETURN_NULL_BOUNDED_POINTER): Likewise.
114 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
115 (POP_ERRNO_LOCATION_RETURN): Likewise.
116 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
117 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
118 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
119 macros.
120 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
121 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
122 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
123 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
124 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
125 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
126 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
127 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
128 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
129 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
130 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
131 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
132 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
133 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
134 removed macros.
135 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
136 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
137 macros.
138 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
139 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
140 * sysdeps/i386/i586/memset.S (memset): Likewise.
141 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
142 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
143 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
144 macros.
145 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
146 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
147 Change uses of L(2) to L(out).
148 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
149 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
150 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
151 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
152 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
153 removed macros.
154 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
155 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
156 macros.
157 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
158 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
159 (RETURN): Do not use macro LEAVE.
160 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
161 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
162 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
163 * sysdeps/i386/i686/memset.S (memset): Likewise.
164 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
165 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
166 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
167 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
168 Likewise.
169 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
170 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
171 L(1_2) and L(1_3) into L(1).
172 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
173 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
174 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
175 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
176 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
177 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
178 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
179 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
180 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
181 macros.
182 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
183 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
184 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
185 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
186 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
187 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
188 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
189 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
190 * sysdeps/i386/strcspn.S (strcspn): Likewise.
191 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
192 * sysdeps/i386/strrchr.S (strrchr): Likewise.
193 * sysdeps/i386/strspn.S (strspn): Likewise.
194 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
195 conditional code.
196 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
197 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
198 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
199 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
200 L(1_3) into L(1_1).
201 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
202 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
203 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
204 macros.
205 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
206
207 2013-02-19 Jakub Jelinek <jakub@redhat.com>
208
209 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
210 macro.
211
212 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
213
214 * math/atest-exp.c (exp_mpn): Remove ROUND.
215 * math/atest-exp2.c (exp_mpn): Likewise.
216 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
217
218 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
219 * stdlib/tst-tls-atexit-lib.c: Likewise.
220 * stdlib/tst-tls-atexit.c: Likewise.
221
222 2013-02-18 Mike Frysinger <vapier@gentoo.org>
223
224 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
225 and __attribute_alloc_size__.
226
227 2013-02-18 Mike Frysinger <vapier@gentoo.org>
228
229 * include/programs/xmalloc.h: Change __attribute_alloc_size to
230 __attribute_alloc_size__.
231 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
232 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
233
234 2013-02-18 Mike Frysinger <vapier@gentoo.org>
235
236 * include/programs/xmalloc.h: New file.
237 * catgets/gencat.c: Include it.
238 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
239 * elf/pldd.c: Likewise.
240 * iconv/iconv_charmap.c: Likewise.
241 * iconv/iconvconfig.c: Likewise.
242 * iconv/strtab.c: Likewise.
243 * locale/programs/locale.c: Likewise.
244 * locale/programs/localedef.h: Likewise.
245 * locale/programs/simple-hash.c: Likewise.
246 * nscd/nscd.h: Likewise.
247 * nss/makedb.c: Likewise.
248 * sysdeps/generic/ldconfig.h: Likewise.
249
250 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
251
252 * Versions.def: Add GLIBC_2.18.
253 * include/link.h (struct link_map): New member l_tls_dtor_count.
254 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
255 (__call_tls_dtors): Likewise.
256 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
257 __cxa_thread_atexit_impl.
258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
259 Likewise.
260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
261 Likewise.
262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
263 Likewise.
264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
265 Likewise.
266 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
268 Likewise.
269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
270 Likewise.
271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
273 Likewise.
274 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
275 (tests): Add test case tst-tls-atexit.
276 (modules-names): Add shared library for tst-tls-atexit.
277 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
278 (GLIBC_PRIVATE): Add __call_tls_dtors.
279 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
280 for libstdc++.
281 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
282 * stdlib/tst-tls-atexit.c: New test case.
283 * stdlib/tst-tls-atexit-lib.c: New test case.
284
285 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
286
287 * elf/Versions (ld): Add _dl_find_dso_for_object.
288 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
289 * elf/dl-open.c (_dl_find_dso_for_object): New function.
290 (dl_open_worker): Use _dl_find_dso_for_object.
291 * elf/dl-sym.c (do_sym): Likewise.
292 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
293
294 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
295
296 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
297 Syntactic changes only.
298 (_dl_runtime_profile): Do a tail-call to the resolved function.
299
300 2013-02-17 Joseph Myers <joseph@codesourcery.com>
301
302 [BZ #13550]
303 * sysdeps/x86_64/bp-asm.h: Remove file.
304 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
305 <bp-sym.h> and <bp-asm.h>.
306 (__clone): Do not use BP_SYM.
307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
308 <bp-sym.h> and <bp-asm.h>.
309 * sysdeps/unix/x86_64/sysdep.S: Likewise.
310 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
311 "bp-asm.h".
312 (_setjmp): Do not use BP_SYM.
313 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
314 "bp-asm.h".
315 (setjmp): Do not use BP_SYM.
316 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
317 libc_hidden_def.
318 (mempcpy): Do not use BP_SYM in weak_alias.
319 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
320 "bp-asm.h".
321 (strchr): Do not use BP_SYM.
322 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
323 "bp-asm.h".
324 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
325 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
326 (_start): Do not use BP_SYM.
327 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
328 "bp-asm.h".
329 (strcat): Do not use BP_SYM.
330 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
331 "bp-asm.h".
332 (STRCMP): Do not use BP_SYM.
333 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
334 "bp-asm.h".
335 (STRCPY): Do not use BP_SYM.
336 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
337 "bp-asm.h".
338 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
339 "bp-asm.h".
340 (FUNCTION): Do not use BP_SYM.
341 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
342 weak_alias.
343 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
344
345 2013-02-17 Andreas Jaeger <aj@suse.de>
346
347 * time/Versions: Sort entries.
348 * string/Versions: Likewise.
349 * resolv/Versions: Likewise.
350 * posix/Versions: Likewise.
351 * iconv/Versions: Likewise.
352 * elf/Versions: Likewise.
353 * wcsmbs/Versions: Likewise.
354
355 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
356
357 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
358 loop termination condition.
359
360 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
361 variable to calculate EZ.
362 (__sqr): Likewise.
363
364 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
365 the lower precision input.
366
367 2013-02-15 Joseph Myers <joseph@codesourcery.com>
368
369 [BZ #13550]
370 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
371 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
372 (run-via-rtld-prefix): Do not handle %-bp tests.
373 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
374 (all-object-suffixes): Remove .ob.
375 (bppfx): Remove variable.
376 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
377 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
378 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
379 [$(build-bounded) = yes] (libtype.ob): Likewise.
380 * Makerules (elide-routines.ob): Remove variable.
381 (do-tests-clean): Do not handle *-bp.out.
382 (common-mostlyclean): Do not handle *-bp and *-bp.out.
383 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
384 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
385 (tests): Do not include $(tests-bp.out).
386 (xtests): Do not include $(xtests-bp.out).
387 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
388 [$(build-bounded) = yes] ($(addprefix
389 $(objpfx),$(binaries-bounded))): Remove rule.
390 ($(objpfx)%-bp.out): Remove rule.
391 * config.make.in (build-bounded): Remove variable.
392 * crypt/Makefile [$(build-bounded) = yes]
393 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
394 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
395 append to variable.
396 [$(build-bounded) = yes] (install-lib): Likewise.
397 [$(build-bounded) = yes] (generated): Likewise.
398 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
399 Remove rule.
400 * intl/Makefile [$(build-bounded) = yes]
401 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
402 * math/Makefile [$(build-bounded) = yes]
403 ($(tests:%=$(objpfx)%-bp): Likewise.
404 * misc/Makefile [$(build-bounded) = yes]
405 ($(objpfx)tst-tsearch-bp): Likewise.
406 * nptl/Makeconfig (bounded-thread-library): Remove variable.
407 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
408 Remove dependency.
409 * string/Makefile (o-objects.ob): Remove variable.
410 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
411 (CFLAGS-.ob): Remove variable.
412 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
413 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
414 both definitions of variable.
415 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
416 (ASFLAGS-.ob): Remove variable.
417
418 2013-02-14 Joseph Myers <joseph@codesourcery.com>
419
420 [BZ #13550]
421 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
422 Remove __BOUNDED_POINTERS__ from condition.
423 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
424 * string/bits/string2.h [!__NO_STRING_INLINES &&
425 !__BOUNDED_POINTERS__]: Likewise.
426 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
427 Likewise.
428 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
429 Remove conditional code.
430 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
431 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
432 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
433 condition.
434
435 [BZ #13550]
436 * csu/libc-start.c: Do not include <bp-sym.h>.
437 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
438 * elf/dl-open.c: Do not include <bp-sym.h>.
439 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
440 * math/fegetenv.c: Do not include <bp-sym.h>.
441 (fegetenv): Do not use BP_SYM in versioned symbols.
442 * nptl/sysdeps/pthread/bits/libc-lockP.h
443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
444 <bp-sym.h>.
445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
446 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
448 (__pthread_mutex_destroy): Likewise.
449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
450 (__pthread_mutex_lock): Likewise.
451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
452 (__pthread_mutex_trylock): Likewise.
453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
454 (__pthread_mutex_unlock): Likewise.
455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
456 (__pthread_mutexattr_init): Likewise.
457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
458 (__pthread_mutexattr_destroy): Likewise.
459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
460 (__pthread_mutexattr_settype): Likewise.
461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
462 (__pthread_rwlock_init): Likewise.
463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
464 (__pthread_rwlock_destroy): Likewise.
465 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
466 (__pthread_rwlock_rdlock): Likewise.
467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
468 (__pthread_rwlock_tryrdlock): Likewise.
469 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
470 (__pthread_rwlock_wrlock): Likewise.
471 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
472 (__pthread_rwlock_trywrlock): Likewise.
473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
474 (__pthread_rwlock_unlock): Likewise.
475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
476 (__pthread_key_create): Likewise.
477 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
478 (__pthread_setspecific): Likewise.
479 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
480 (__pthread_getspecific): Likewise.
481 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
482 Likewise.
483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
484 (_pthread_cleanup_push_defer): Likewise.
485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
486 (_pthread_cleanup_pop_restore): Likewise.
487 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
488 (pthread_setcancelstate): Likewise.
489 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
490 <bp-sym.h>.
491 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
492 (memchr): Do not use BP_SYM in weak_alias.
493 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
494 (fegetenv): Do not use BP_SYM in versioned symbols.
495 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
496 (fesetenv): Do not use BP_SYM in versioned symbols.
497 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
498 (feupdateenv): Do not use BP_SYM in versioned symbols.
499 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
500 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
501 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
502 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
503 (open64): Do not use BP_SYM in weak_alias.
504 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
505 (fegetenv): Do not use BP_SYM in versioned symbols.
506 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
507 (fesetenv): Do not use BP_SYM in versioned symbols.
508 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
509 (feupdateenv): Do not use BP_SYM in versioned symbols.
510 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
511 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
512 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
513 (feraiseexcept): Do not use BP_SYM in versioned symbols.
514 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
515 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
516 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
517 <bp-sym.h>.
518 (__libc_start_main): Do not use BP_SYM.
519
520 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
521
522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
523 redundant return line.
524 (norm): Likewise.
525 (denorm): Likewise.
526 (dbl_mp): Likewise.
527 (sub_magnitudes): Likewise.
528 (__add): Likewise.
529 (__sub): Likewise.
530 (__mul): Likewise.
531 (__inv): Likewise.
532 (__dvd): Likewise.
533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
534 (norm): Likewise.
535 (denorm): Likewise.
536 (dbl_mp): Likewise.
537 (sub_magnitudes): Likewise.
538 (__add): Likewise.
539 (__sub): Likewise.
540 (__mul): Likewise.
541 (__inv): Likewise.
542 (__dvd): Likewise.
543
544 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
545 instead of __mul.
546 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
547 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
548 (cc32): Likewise.
549
550 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
551 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
552 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
553 of __mul for squares.
554 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
555 function
556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
557 Likewise.
558 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
559 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
560
561 2013-02-13 Joseph Myers <joseph@codesourcery.com>
562
563 [BZ #13550]
564 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
565 code.
566 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
567 prototype or function definition. Rename ubp_* variables and
568 parameters. Remove argv definitions conditional on
569 [__BOUNDED_POINTERS__].
570 * debug/backtrace.c (__backtrace): Do not use __unbounded.
571 * elf/dl-runtime.c (_dl_fixup): Likewise.
572 * include/set-hooks.h (RUN_HOOK): Likewise.
573 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
574 definition.
575 * string/strcpy.c (strcpy): Do not use __unbounded.
576 * sysdeps/generic/frame.h (struct layout): Likewise.
577 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
578 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
579 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
580 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
581 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
582 (__backtrace): Likewise.
583 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
584 use __ptrvalue.
585 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
586 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
587 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
588 Likewise.
589 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
590 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
591 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
592 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
593 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
594 Do not use __unbounded.
595 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
596 Rename __unboundedrlimits parameter to rlimits in prototype.
597 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
598 Do not use __unbounded.
599 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
600 not use __ptrvalue.
601 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
602 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
603 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
604 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
605 __ptrvalue or __unbounded.
606 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
607 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
608 use __unbounded.
609 (__new_msgctl): Do not use __ptrvalue.
610 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
611 __unbounded.
612 (__libc_msgrcv): Do not use __ptrvalue.
613 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
614 startup_info): Do not use __unbounded.
615 (__libc_start_main): Likewise. Rename ubp_* variables and
616 parameters. Remove argv definitions conditional on
617 [__BOUNDED_POINTERS__].
618 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
619 __ptrvalue.
620 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
621 use __unbounded.
622 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
623 or __ptrvalue.
624 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
625 use __unbounded.
626 (__new_shmctl): Do not use __ptrvalue.
627 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
628 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
629 Likewise.
630 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
631 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
632 (__libc_sigaction): Likewise.
633 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
634 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
635 Likewise.
636 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
637
638 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
639
640 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
641
642 * string/mempcpy.c: Implement by calling memcpy.
643
644 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
645
646 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
647
648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
649 evaluation.
650
651 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
652 values in the mantissa.
653
654 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
655 minimize writes to Z.
656 (sub_magnitudes): Simplify code a bit.
657
658 2013-02-12 Roland McGrath <roland@hack.frob.com>
659
660 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
661 from the message. The linker prefixes all warnings with that already.
662
663 2013-02-12 Andreas Schwab <schwab@suse.de>
664
665 [BZ #15078]
666 * posix/regexec.c (extend_buffers): Add parameter min_len.
667 (check_matching): Pass minimum needed length.
668 (clean_state_log_if_needed): Likewise.
669 (get_subexp): Likewise.
670 * posix/Makefile (tests): Add bug-regex34.
671 (bug-regex34-ENV): Define.
672 * posix/bug-regex34.c: New file.
673
674 [BZ #11561]
675 * posix/regcomp.c (parse_bracket_exp): When looking up collating
676 elements compare against the byte sequence of it, not its name.
677 * posix/Makefile (tests): Add bug-regex35.
678 (bug-regex35-ENV): Define.
679 * posix/bug-regex35.c: New file.
680
681 2013-02-11 Tom de Vries <tom@codesourcery.com>
682
683 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
684 comment.
685 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
686 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
687 (CHECK_EOL): Add undef.
688
689 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
690
691 * bits/stdlib-bsearch.h: New file.
692 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
693 * stdlib/stdlib.h: Likewise.
694
695 2013-02-11 Roland McGrath <roland@hack.frob.com>
696
697 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
698 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
699 declaration.
700 * manual/search.texi (Array Search Function): Add missing const in
701 lfind prototype.
702 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
703 declaration to use rlim_t.
704 (Basic Scheduling Functions): Remove erroneous const from
705 sched_getparam prototype. Remove erroneous * from
706 sched_get_priority_max and sched_get_priority_min prototypes.
707 (Resource Usage): Fix summary @comment on vtimes to refer to
708 sys/vtimes.h rather than vtimes.h.
709 Add missing *s in vtimes prototype.
710 (Limits on Resources): Fix ulimit prototype to return long int.
711 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
712 prototypes to use long int rather than double.
713 (BSD Random): Fix initstate and setstate to use char *, not void *.
714 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
715 prototype to make second argument 'struct aiocb64 *const[]'.
716 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
717 (Status of AIO Operations): Remove erroneous const in aio_return and
718 aio_return64 prototypes.
719 (Synchronizing I/O): Fix sync prototype to return void.
720 * manual/startup.texi (Suboptions): Remove an erroneous const in
721 getsubopt prototype.
722 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
723 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
724 use size_t rather than int.
725 (Scanning All Users): Likewise for getpwent_r.
726 (Setting Groups): Add missing const to setgroups prototype.
727 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
728 * manual/socket.texi (Host Names): Fix gethostbyaddr and
729 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
730 'const void *' rather than 'const char *'.
731 (Host Address Functions): Likewise for inet_ntop.
732 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
733 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
734 ssize_t for return value.
735 (Sending Data): Likewise for send, sendto, sendmsg.
736 (Socket Option Functions): Add a missing const in setsockopt prototype.
737 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
738 use wchar_t for the argument.
739 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
740 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
741 take no arguments.
742 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
743 double/float/long double for second argument.
744 Fix return types of significand, significandf, significandl.
745 * manual/filesys.texi (Setting Permissions): Use mode_t for second
746 argument in fchmod prototype.
747 (File Owner): Use uid_t and gid_t in fchown prototype.
748 (File Times): Add const to utimes, futimes, and lutimes prototypes.
749 (Making Special Files): Use mode_t and dev_t in mknod prototype.
750 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
751 use 'const struct dirent **' as argument types to CMP function pointer
752 argument.
753 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
754 (File Times): Fix summary magic @comment for struct utimbuf and utime
755 to refer to utime.h, not time.h.
756 * manual/string.texi (Argz Functions): Add missing const in
757 argz_extract and argz_next prototypes.
758 (Finding Tokens in a String): Likewise for basename.
759 (String/Array Comparison): Fix typo in wcscasecmp prototype.
760 (Copying and Concatenation): Fix typo in wmemmove prototype.
761 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
762 (Signal Stack): Remove erroneous const in sigstack prototype.
763 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
764 prototype.
765 (Simple Calendar Time): Likewise for stime.
766 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
767 prototype.
768 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
769 say sys/sysctl.h instead.
770 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
771 and vsyslog prototypes.
772
773 2013-02-11 Tom de Vries <tom@codesourcery.com>
774
775 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
776 Remove.
777
778 2013-02-11 Roland McGrath <roland@hack.frob.com>
779
780 * misc/sys/mman.h: Fix typo in mremap comment.
781
782 2013-02-08 Roland McGrath <roland@hack.frob.com>
783
784 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
785 the '\0' terminator.
786
787 2013-02-08 Joseph Myers <joseph@codesourcery.com>
788
789 [BZ #13550]
790 * debug/segfault.c: Don't include <bp-checks.h>.
791 * sysdeps/generic/bp-checks.h: Remove file.
792 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
793 (__GETDENTS): Don't use CHECK_N.
794 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
795 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
796 (__getgroups): Don't use CHECK_N.
797 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
798 (setgroups): Don't use CHECK_N.
799 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
800 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
801 (__libc_msgrcv): Don't use CHECK_N.
802 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
803 (__libc_msgsnd): Don't use CHECK_N.
804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
805 <bp-checks.h>.
806 (__libc_pread): Don't use CHECK_N.
807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
808 include <bp-checks.h>.
809 (__libc_pread64): Don't use CHECK_N.
810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
811 include <bp-checks.h>.
812 (__libc_pwrite): Don't use CHECK_N.
813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
814 include <bp-checks.h>.
815 (__libc_pwrite64): Don't use CHECK_N.
816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
817 <bp-checks.h>.
818 (__libc_pread): Don't use CHECK_N.
819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
820 include <bp-checks.h>.
821 (__libc_pread64): Don't use CHECK_N.
822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
823 include <bp-checks.h>.
824 (__libc_pwrite): Don't use CHECK_N.
825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
826 include <bp-checks.h>.
827 (__libc_pwrite64): Don't use CHECK_N.
828 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
829 (do_pread): Don't use CHECK_N.
830 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
831 (do_pread64): Don't use CHECK_N.
832 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
833 (do_pwrite): Don't use CHECK_N.
834 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
835 (do_pwrite64): Don't use CHECK_N.
836 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
837 (__libc_readv): Don't use CHECK_N.
838 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
839 (semop): Don't use CHECK_N.
840 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
841 <bp-checks.h>.
842 (semtimedop): Don't use CHECK_N.
843 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
844 (__libc_pread): Don't use CHECK_N.
845 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
846 <bp-checks.h>.
847 (__libc_pread64): Don't use CHECK_N.
848 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
849 <bp-checks.h>.
850 (__libc_pwrite): Don't use CHECK_N.
851 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
852 <bp-checks.h>.
853 (__libc_pwrite64): Don't use CHECK_N.
854 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
855 <bp-checks.h>.
856 (__libc_msgrcv): Don't use CHECK_N.
857 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
858 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
859 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
860 (__libc_writev): Don't use CHECK_N.
861
862 2013-02-08 Roland McGrath <roland@hack.frob.com>
863
864 * string/strcpy.c: Removed unused variable.
865
866 * Makeconfig (+sysdep-includes): Define with := rather than =.
867 Use an existing include/ subdir of each sysdeps dir before it.
868
869 2013-02-08 Carlos O'Donell <carlos@redhat.com>
870
871 * nscd/connection.c (register_traced_file): Comment function.
872 [HAVE_INOTIFY] (union __inev): Define.
873 [HAVE_INOTIFY] (inotify_check_files): New function.
874 [HAVE_INOTIFY] (clear_db_cache): Likewise.
875 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
876 clear_db_cache.
877 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
878
879 2013-02-08 Carlos O'Donell <carlos@redhat.com>
880
881 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
882 loaded if not already and that a failure is permanent.
883
884 2013-02-08 Carlos O'Donell <carlos@redhat.com>
885
886 [BZ #15006]
887 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
888 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
889
890 2013-02-08 Joseph Myers <joseph@codesourcery.com>
891
892 [BZ #13550]
893 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
894 (CHECK_1_NULL_OK): Likewise.
895 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
896 (__fxstat): Do not use CHECK_1.
897 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
898 <bp-checks.h>.
899 (___fxstat64): Do not use CHECK_1.
900 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
901 <bp-checks.h>.
902 (__fxstatat): Do not use CHECK_1.
903 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
904 <bp-checks.h>.
905 (__fxstatat64): Do not use CHECK_1.
906 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
907 <bp-checks.h>.
908 (__fxstat): Do not use CHECK_1.
909 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
910 <bp-checks.h>.
911 (__fxstatat): Do not use CHECK_1.
912 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
913 <bp-checks.h>.
914 (__getresgid): Do not use CHECK_1.
915 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
916 <bp-checks.h>.
917 (__getresuid): Do not use CHECK_1.
918 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
919 <bp-checks.h>.
920 (__lxstat): Do not use CHECK_1.
921 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
922 <bp-checks.h>.
923 (__old_msgctl): Do not use CHECK_1.
924 (__new_msgctl): Likewise.
925 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
926 <bp-checks.h>.
927 (__new_setrlimit): Do not use CHECK_1.
928 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
929 <bp-checks.h>.
930 (__old_shmctl): Do not use CHECK_1.
931 (__new_shmctl): Likewise.
932 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
933 <bp-checks.h>.
934 (__xstat): Do not use CHECK_1.
935 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
936 (__lxstat): Do not use CHECK_1.
937 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
938 <bp-checks.h>.
939 (___lxstat64): Do not use CHECK_1.
940 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
941 (__old_msgctl): Do not use CHECK_1.
942 (__new_msgctl): Likewise.
943 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
944 <bp-checks.h>.
945 (__gettimeofday): Do not use CHECK_1.
946 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
947 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
948 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
949 <bp-checks.h>.
950 (__gettimeofday): Do not use CHECK_1.
951 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
952 (__old_shmctl): Do not use CHECK_1_NULL_OK.
953 (__new_shmctl): Do not use CHECK_1.
954 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
955 <bp-checks.h>.
956 (do_sigtimedwait): Do not use CHECK_1.
957 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
958 <bp-checks.h>.
959 (do_sigwaitinfo): Do not use CHECK_1.
960 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
961 <bp-checks.h>.
962 (msgctl): Do not use CHECK_1.
963 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
964 <bp-checks.h>.
965 (shmctl): Do not use CHECK_1.
966 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
967 (ustat): Do not use CHECK_1.
968 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
969 <bp-checks.h>.
970 (__fxstat): Do not use CHECK_1.
971 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
972 <bp-checks.h>.
973 (__fxstatat): Do not use CHECK_1.
974 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
975 <bp-checks.h>.
976 (__lxstat): Do not use CHECK_1.
977 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
978 <bp-checks.h>.
979 (__xstat): Do not use CHECK_1.
980 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
981 (__xstat): Do not use CHECK_1.
982 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
983 (___xstat64): Do not use CHECK_1.
984
985 [BZ #13550]
986 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
987 definitions.
988 (CHECK_BOUNDS_HIGH): Likewise.
989 * string/strcpy.c: Do not include <bp-checks.h>.
990 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
991
992 2013-02-07 Roland McGrath <roland@hack.frob.com>
993
994 * nscd/nscd-client.h (__nscd_drop_map_ref):
995 Add __attribute__ ((unused)).
996 * nis/nss-nisplus.h (niserr2nss): Likewise.
997
998 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
999 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1000
1001 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1002 Remove inline keyword.
1003 * include/rounding-mode.h (round_away): Likewise.
1004 * libio/wfileops.c (adjust_wide_data): Likewise.
1005 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1006 (__m128i_strloadu_tolower): Likewise.
1007 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1008 (__m128i_strloadu_tolower): Likewise.
1009 * time/mktime.c (ydhms_diff): Likewise.
1010 * locale/elem-hash.h (elem_hash): Likewise.
1011 * locale/setlocale.c (setdata): Likewise.
1012 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1013 (re_string_wchar_at): Likewise.
1014 (bitset_not, bitset_merge, bitset_mask): Likewise.
1015 [!(__GNUC__ > 3)] (inline): Remove macro.
1016 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1017 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1018 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1019 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1020 * string/memcmp.c (memcmp_bytes): Likewise.
1021 * locale/programs/locarchive.c (compute_hashval): Likewise.
1022 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1023 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1024 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1025 * nss/getent.c (print_rpc, print_protocols): Likewise.
1026 (print_passwd, print_group, print_aliases): Likewise.
1027 * nis/nss-nisplus.h (niserr2nss): Likewise.
1028 * nscd/connections.c (restart_p): Likewise.
1029 Change return type to bool.
1030
1031 2013-02-05 Roland McGrath <roland@hack.frob.com>
1032
1033 * Makeconfig (all-Depend-files): Add existing
1034 $(sorted-subdirs:=/Depend) files.
1035 (all-subdirs): Remove nss.
1036 * sysdeps/unix/inet/Subdirs: Add it here instead.
1037 * hesiod/Depend: New file.
1038
1039 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1040 instead of calling alloca.
1041
1042 * io/lseek.c (__lseek): Rename to __libc_lseek.
1043 Define __lseek as an alias.
1044
1045 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1046
1047 2013-02-04 Carlos O'Donell <carlos@redhat.com>
1048
1049 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1050 else clause and remove check for non-standard endianness.
1051
1052 2013-02-04 David S. Miller <davem@davemloft.net>
1053
1054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1055
1056 2013-02-04 Joseph Myers <joseph@codesourcery.com>
1057
1058 [BZ #13550]
1059 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1060 (__ubp_memchr): Remove prototype.
1061 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1062 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1063 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1064 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1065 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1066 Remove alias.
1067 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1068 (__ubp_memchr): Likewise.
1069 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1070 (__ubp_memchr): Likewise.
1071 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1072 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1073 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1074 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1075 CHECK_STRING.
1076 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1077 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1078 (__getcwd): Do not use CHECK_STRING.
1079 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1080 <bp-checks.h>.
1081 (__real_chown): Do not use CHECK_STRING.
1082 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1083 <bp-checks.h>.
1084 (fchownat): Do not use CHECK_STRING.
1085 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1086 CHECK_STRING.
1087 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1088 <bp-checks.h>.
1089 (__lchown): Do not use CHECK_STRING.
1090 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1091 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1092 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1093 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1095 include <bp-checks.h>.
1096 (truncate64): Do not use CHECK_STRING.
1097 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1098 <bp-checks.h>.
1099 (__real_chown): Do not use CHECK_STRING.
1100 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1101 <bp-checks.h>.
1102 (__lchown): Do not use CHECK_STRING.
1103 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1104 <bp-checks.h>.
1105 (__chown): Do not use CHECK_STRING.
1106 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1107 <bp-checks.h>.
1108 (truncate64): Do not use CHECK_STRING.
1109 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1110 Likewise.
1111 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1112 (__xmknod): Do not use CHECK_STRING.
1113 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1114 <bp-checks.h>.
1115 (__xmknodat): Do not use CHECK_STRING.
1116 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1117 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1118
1119 2013-02-04 Andreas Schwab <schwab@suse.de>
1120
1121 [BZ #14142]
1122 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1123 * include/netdb.h: Likewise for h_errno.
1124 * elf/tst-stackguard1.c: Include <tls.h>.
1125
1126 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1127
1128 * elf/link.h (struct link_map): Extend the l_addr comment.
1129 * include/link.h (struct link_map): Likewise.
1130
1131 2013-02-01 Joseph Myers <joseph@codesourcery.com>
1132
1133 [BZ #13550]
1134 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1135 (BOUNDED_1): Remove macro.
1136 * debug/backtrace.c: Don't include <bp-checks.h>.
1137 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1138 (__backtrace): Likewise.
1139 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1140 <bp-checks.h>.
1141 (__backtrace): Don't use BOUNDED_1.
1142 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1143 <bp-checks.h>.
1144 (__backtrace): Don't use BOUNDED_1.
1145 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1146 (__backtrace): Don't use BOUNDED_1.
1147 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1148 (shmat): Don't use BOUNDED_N.
1149
1150 2013-01-31 Joseph Myers <joseph@codesourcery.com>
1151
1152 [BZ #13550]
1153 * sysdeps/generic/bp-start.h: Remove file.
1154 * csu/libc-start.c: Don't include <bp-start.h>.
1155 (LIBC_START_MAIN): Set up __environ directly instead of using
1156 INIT_ARGV_and_ENVIRON.
1157 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1158 <bp-start.h>.
1159
1160 [BZ #13550]
1161 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1162 definitions.
1163 (CHECK_FCNTL): Likewise.
1164 (CHECK_N_PAGES): Likewise.
1165
1166 [BZ #13550]
1167 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1168 definitions.
1169 (CHECK_SIGSET_NULL_OK): Likewise.
1170 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1171 <bp-checks.h>.
1172 (sigpending): Don't use CHECK_SIGSET.
1173 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1174 <bp-checks.h>.
1175 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1176 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1177 <bp-checks.h>.
1178 (do_sigsuspend): Don't use CHECK_SIGSET.
1179 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1180 use CHECK_SIGSET.
1181 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1182 (do_sigwait): Don't use CHECK_SIGSET.
1183 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1184 use CHECK_SIGSET.
1185 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1186 include <bp-checks.h>.
1187 (sigpending): Don't use CHECK_SIGSET.
1188 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1189 include <bp-checks.h>.
1190 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1191 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1192 <bp-checks.h>.
1193 (sigpending): Don't use CHECK_SIGSET.
1194 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1195 <bp-checks.h>.
1196 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1197
1198 [BZ #13550]
1199 * sysdeps/generic/bp-semctl.h: Remove file.
1200 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1201 <bp-checks.h> and <bp-semctl.h>.
1202 (__old_semctl): Don't use CHECK_SEMCTL.
1203 (__new_semctl): Likewise.
1204 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1205 and <bp-semctl.h>.
1206 (__old_semctl): Don't use CHECK_SEMCTL.
1207 (__new_semctl): Likewise.
1208 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1209 <bp-checks.h> and <bp-semctl.h>.
1210 (__old_semctl): Don't use CHECK_SEMCTL.
1211 (__new_semctl): Likewise.
1212 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1213 <bp-checks.h> and <bp-semctl.h>.
1214 (semctl): Don't use CHECK_SEMCTL.
1215
1216 [BZ #13550]
1217 * Makerules (elide-bp-thunks): Remove variable.
1218 (elide-routines.oS): Don't use $(elide-bp-thunks).
1219 (elide-routines.os): Likewise.
1220 (elide-routines.o): Likewise.
1221 (elide-routines.op): Likewise.
1222 (elide-routines.og): Likewise.
1223 (objects): Don't use $(bp-thunks).
1224 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1225 include.
1226 (common-generated): Do not add s-proto-bp.d.
1227 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1228 (int): Likewise.
1229 (typ): Likewise.
1230 Do not generate makefile rules for bounded-pointer thunks.
1231 * sysdeps/generic/bp-thunks.h: Remove file.
1232 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1233 * sysdeps/unix/s-proto-bp.S: Likewise.
1234
1235 [BZ #15062]
1236 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1237 parts of result separately when argument is not close to line from
1238 -i to i and one part of argument is small.
1239 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1240 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1241 * math/libm-test.inc (cacos_test): Add more tests.
1242 (casin_test): Likewise.
1243 (casinh_test): Likewise.
1244 * sysdeps/i386/fpu/libm-test-ulps: Update.
1245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1246
1247 2013-01-31 David S. Miller <davem@davemloft.net>
1248
1249 * po/de.po: Update from translation team.
1250
1251 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1252
1253 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1254
1255 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1256
1257 * configure.in (_AC_PROG_CC_C89): New definition.
1258 * configure: Regenerate.
1259
1260 * configure.in (AC_PROG_CPP): New definition.
1261 * configure: Regenerate.
1262
1263 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1264
1265 * debug/tst-backtrace.h: New file.
1266 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1267 (ret): Remove variable.
1268 (x): Likewise.
1269 (FAIL): Remove macro.
1270 (NO_INLINE): Likewise.
1271 (fn1): Use match function instead of strstr.
1272 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1273 (ret): Remove variable.
1274 (x): Likewise.
1275 (FAIL): Remove macro.
1276 (NO_INLINE): Likewise.
1277 (fn): Use match function instead of strstr.
1278 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1279 (ret): Remove variable.
1280 (x): Likewise.
1281 (FAIL): Remove macro.
1282 (NO_INLINE): Likewise.
1283 (handle_signal): Use match function instead of strstr.
1284 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1285 (ret): Remove variable.
1286 (x): Likewise.
1287 (FAIL): Remove macro.
1288 (NO_INLINE): Likewise.
1289 (handle_signal): Use match function instead of strstr.
1290
1291 2013-01-23 Roland McGrath <roland@hack.frob.com>
1292
1293 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1294
1295 2013-01-23 David S. Miller <davem@davemloft.net>
1296
1297 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1298 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1299 argument of CAS if possible.
1300 * sysdeps/sparc/sparc64/bits/atomic.h
1301 (__arch_compare_and_exchange_val_32_acq): Likewise.
1302 (__arch_compare_and_exchange_val_64_acq): Likewise.
1303
1304 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1305
1306 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1307 * sysdeps/posix/ulimit.c: ... this.
1308 Include <limits.h>.
1309 * sysdeps/unix/bsd/ulimit.c: Remove file.
1310
1311 2013-01-23 Adam Conrad <adconrad@0c3.net>
1312
1313 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1314 (LDFLAGS-tst-array5): Likewise.
1315
1316 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1317
1318 [BZ #15036]
1319 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1320 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1321 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1322 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1323
1324 2013-01-21 David S. Miller <davem@davemloft.net>
1325
1326 * sysdeps/sparc/backtrace.c: New file.
1327 * sysdeps/sparc/sparc32/backtrace.h: New file.
1328 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1329 * sysdeps/sparc/sparc64/backtrace.h: New file.
1330 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1331 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1332 -funwind-tables.
1333
1334 2013-01-21 Andreas Schwab <schwab@suse.de>
1335
1336 [BZ #15020]
1337 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1338 closed its stdout.
1339
1340 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1341
1342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1343 "mpa2.h".
1344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1345
1346 2013-01-18 Joseph Myers <joseph@codesourcery.com>
1347 Mark Mitchell <mark@codesourcery.com>
1348 Tom de Vries <tom@codesourcery.com>
1349 Paul Pluzhnikov <ppluzhnikov@google.com>
1350
1351 * debug/tst-backtrace2.c: New file.
1352 * debug/tst-backtrace3.c: Likewise.
1353 * debug/tst-backtrace4.c: Likewise.
1354 * debug/tst-backtrace5.c: Likewise.
1355 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1356 (CFLAGS-tst-backtrace3.c): Likewise.
1357 (CFLAGS-tst-backtrace4.c): Likewise.
1358 (CFLAGS-tst-backtrace5.c): Likewise.
1359 (LDFLAGS-tst-backtrace2): Likewise.
1360 (LDFLAGS-tst-backtrace3): Likewise.
1361 (LDFLAGS-tst-backtrace4): Likewise.
1362 (LDFLAGS-tst-backtrace5): Likewise.
1363 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1364 tst-backtrace4 and tst-backtrace5.
1365
1366 2013-01-18 Anton Blanchard <anton@samba.org>
1367 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1368
1369 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1370 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1371 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1372 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1374 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1375 "+r" and remove output regs list as redundant. Add explicit inline
1376 asm to specify register of return val to work around compiler codegen
1377 bug. Remove (int) cast on return value. Add return type parameter to
1378 use in macro so that this macro does not truncate return value for
1379 64-bit values.
1380 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1381 pass to INTERNAL_VSYSCALL_NCS.
1382 (INLINE_VSYSCALL): Add 'long int' as return type to
1383 INTERNAL_VSYSCALL_NCS macro invocation.
1384 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1385 INTERNAL_VSYSCALL_NCS macro invocation.
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1387
1388 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1389
1390 [BZ #14496]
1391 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1392 Fix application of SIMD FP exception mask.
1393
1394 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1395 mp_no from a power of two.
1396 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1397 __mpexp_twomm1. Use __pow_mp.
1398
1399 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1400 multiplication.
1401
1402 2013-01-17 David S. Miller <davem@davemloft.net>
1403
1404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1405
1406 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1407
1408 [BZ #15023]
1409 * include/complex.h: Condition contents on [!_COMPLEX_H].
1410 (__kernel_casinhf): New prototype.
1411 (__kernel_casinh): Likewise.
1412 (__kernel_casinhl): Likewise.
1413 * math/Makefile (libm_calls): Add k_casinh.
1414 * math/k_casinh.c: New file.
1415 * math/k_casinhf.c: Likewise.
1416 * math/k_casinhl.c: Likewise.
1417 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1418 finite nonzero arguments.
1419 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1420 finite nonzero arguments.
1421 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1422 finite nonzero arguments.
1423 * math/s_casinh.c: Do not include <float.h>.
1424 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1425 * math/s_casinhf.c: Do not include <float.h>.
1426 (__casinhf): Move code for finite nonzero arguments to
1427 k_casinhf.c.
1428 * math/s_casinhl.c: Do not include <float.h>.
1429 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1430 redefine.
1431 (__casinhl): Move code for finite nonzero arguments to
1432 k_casinhl.c.
1433 * math/libm-test.inc (cacos_test): Add more tests.
1434 * sysdeps/i386/fpu/libm-test-ulps: Update.
1435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1436
1437 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1438
1439 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1440 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1441 [!HAVE_MREMAP]: Remove [defined linux] case.
1442 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1443
1444 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1445
1446 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1447
1448 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
1449
1450 * elf/elf.h (R_386_SIZE32): New relocation.
1451 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1452 R_386_SIZE32.
1453 (elf_machine_rela): Likewise.
1454 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1455 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1456
1457 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1458
1459 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1460 (FP_FAST_FMA): Do not define.
1461 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1462 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1463 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1464 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1465 !_SOFT_FLOAT]: Likewise.
1466 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1467 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1468 value.
1469 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1470 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1471 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1472 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1473 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1474 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1475 file.
1476
1477 2013-01-16 Andreas Schwab <schwab@suse.de>
1478
1479 [BZ #14327]
1480 * include/stdlib.h (__mktemp): Add declaration.
1481 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1482 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1483
1484 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1485
1486 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1487 definitions.
1488 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1489 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1490 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1491 definitions here.
1492 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1493 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1494 definitions.
1495 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1496 and ONE.
1497 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1498 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1499 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1500 definitions.
1501 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1502 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1503 definitions.
1504 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1505
1506 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1507
1508 2013-01-15 David S. Miller <davem@davemloft.net>
1509
1510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1511 trunc{,f} to libm-sysdep_routes.
1512 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1514 file.
1515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1517 file.
1518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1519 file.
1520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1522 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1523 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1524 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1525 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1526 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1527 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1528
1529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1530 nearbyint{,f} to libm-sysdep_routes.
1531 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1533 New file.
1534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1535 file.
1536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1537 New file.
1538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1539 file.
1540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1542 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1543 file.
1544 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1545 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1546 file.
1547 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1548 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1549 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1550
1551 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1552 libc_feholdexcept and libc_fesetenv.
1553
1554 2013-01-15 Mike Frysinger <vapier@gentoo.org>
1555
1556 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1557
1558 2013-01-14 David S. Miller <davem@davemloft.net>
1559
1560 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1561 (SPARC_ASM_VIS2_IFUNC): Likewise.
1562 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1564 use of 'siam' instruction.
1565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1566 Likewise.
1567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1568 Likewise.
1569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1570 Likewise.
1571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1576 file.
1577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1578 file.
1579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1580 file.
1581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1582 file.
1583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1588 new VIS2 routines.
1589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1592 Likewise.
1593 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1594 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1596 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1598 routines to libm-sysdep_routines.
1599 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1600
1601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1602 fdim/fdimf to libm-sysdep_routines.
1603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1604 file.
1605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1607 file.
1608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1611 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1612 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1613 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1614 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1615
1616 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1617
1618 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1619 to optimize copies.
1620
1621 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1624
1625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1626 local variable MPTWO.
1627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1628 Likewise.
1629
1630 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1631
1632 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1633 GLOB_NOESCAPE.
1634
1635 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1636
1637 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1638
1639 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1640
1641 * manual/pattern.texi (glob_t): Document gl_flags.
1642 (glob64_t): Likewise.
1643
1644 2013-01-11 David S. Miller <davem@davemloft.net>
1645
1646 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1647 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1648 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
1649 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1650 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1651 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1652 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1653 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1654 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1655 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1656 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1657 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1658 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1659
1660 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1661 sparc V9 rather than using V8 code.
1662 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1663 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1664
1665 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1666 Move to...
1667 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1668 Here.
1669
1670 2013-01-11 Roland McGrath <roland@hack.frob.com>
1671
1672 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1673 not in the main loop.
1674 * configure: Regenerated.
1675
1676 2013-01-11 Joseph Myers <joseph@codesourcery.com>
1677
1678 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1679 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1680 to just #else.
1681 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1682 [!__GLIBC_HAVE_LONG_LONG] case.
1683 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1684 condition to just #else.
1685 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1686 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1687 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1688 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1689 unconditional.
1690 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1691 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1692 #elif condition to just #else.
1693 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1694 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1695 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1696 #elif condition to just #else.
1697
1698 2013-01-11 Steve Ellcey <sellcey@mips.com>
1699
1700 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1701 (EF_MIPS_ARCH_64): Fix value.
1702 (EF_MIPS_ARCH_32R2): New.
1703 (EF_MIPS_ARCH_64R2): New.
1704
1705 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1706
1707 * Makeconfig (+link-pie-before-libc): New.
1708 (+link-pie-after-libc): Likewise.
1709 (+link-pie-tests): Likewise.
1710 (+link-pie): Rewritten.
1711 (link-before-libc): Remove $(config-LDFLAGS).
1712 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1713 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1714 (config-LDFLAGS): Renamed to ...
1715 (rtld-LDFLAGS): This.
1716 (rtld-tests-LDFLAGS): New macro.
1717 (link-libc-rpath-link): Likewise.
1718 (link-libc-tests-rpath-link): Likewise.
1719 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1720 (link-libc): Prepand $(link-libc-rpath-link).
1721 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1722 (test-program-prefix): New macro.
1723 (test-via-rtld-prefix): Likewise.
1724 (test-program-cmd): Likewise.
1725 (host-test-program-cmd): Likewise.
1726 * Makefile ($(common-objpfx)testrun.sh): Replace
1727 $(run-program-prefix) with $(test-program-prefix).
1728 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1729 $(rtld-LDFLAGS).
1730 ($(common-objpfx)shlib.lds): Likewise.
1731 (build-module-helper): Likewise.
1732 ($(common-objpfx)format.lds): Likewise.
1733 * Rules (binaries-pie-tests): New.
1734 (binaries-pie-notests): Likewise.
1735 (binaries-pie): Rewritten.
1736 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1737 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1738 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1739 (make-test-out): Replace $(host-built-program-cmd) with
1740 $(host-test-program-cmd).
1741 * config.make.in (build-hardcoded-path-in-tests): New variable.
1742 * configure.in (--enable-hardcoded-path-in-tests): New configure
1743 option.
1744 (hardcoded_path_in_tests): New AC_SUBST.
1745 * configure: Regenerated.
1746 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1747 $(built-program-cmd) with $(test-program-cmd).
1748 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1749 (test_program_cmd): This.
1750 * elf/Makefile ($(objpfx)order.out): Run test with
1751 $(test-program-prefix).
1752 ($(objpfx)order2.out): Likewise.
1753 ($(objpfx)tst-initorder.out): Likewise.
1754 ($(objpfx)tst-initorder2.out): Likewise.
1755 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1756 $(test-program-cmd).
1757 ($(objpfx)tst-array1-static.out): Likewise.
1758 ($(objpfx)tst-array2.out): Likewise.
1759 ($(objpfx)tst-array3.out): Likewise.
1760 ($(objpfx)tst-array4.out): Likewise.
1761 ($(objpfx)tst-array5.out): Likewise.
1762 ($(objpfx)tst-array5-static.out): Likewise.
1763 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1764 $(test-program-cmd).
1765 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1766 $(run-program-prefix) with $(test-program-prefix).
1767 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1768 (test_program_prefix): This.
1769 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1770 $(run-program-prefix) with $(test-program-prefix).
1771 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1772 (test_program_prefix): This.
1773 * iconvdata/tst-tables.sh: Likewise.
1774 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1775 $(run-program-prefix) with $(test-program-prefix).
1776 ($(objpfx)tst-translit.out): Likewise.
1777 ($(objpfx)tst-gettext2.out): Likewise.
1778 ($(objpfx)tst-gettext4.out): Likewise.
1779 ($(objpfx)tst-gettext6.out): Likewise.
1780 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1781 (test_program_prefix): This.
1782 * intl/tst-gettext2.sh: Likewise.
1783 * intl/tst-gettext4.sh Likewise.
1784 * intl/tst-gettext6.sh: Likewise.
1785 * intl/tst-translit.sh: Likewise.
1786 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1787 with $(test-program-cmd).
1788 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1789 $(run-program-prefix) with $(test-program-prefix).
1790 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1791 (test_program_prefix): This.
1792 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1793 $(run-program-prefix) with $(test-program-prefix).
1794 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1795 (test_program_prefix): This.
1796 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1797 * posix/Makefile ($(objpfx)globtest.out): Replace
1798 $(run-via-rtld-prefix) and $(test-wrapper) with
1799 $(test-program-prefix) and $(test-via-rtld-prefix).
1800 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1801 $(test-program-prefix).
1802 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1803 $(host-test-program-cmd).
1804 (tst-spawn-ARGS): Likewise.
1805 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1806 $(test-program-prefix).
1807 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1808 (test_via_rtld_prefix): This.
1809 (test_wrapper): Renamed to ...
1810 (test_program_prefix): This.
1811 (run_program_prefix): Replaced by test_program_prefix.
1812 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1813 (test_program_prefix): This.
1814 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1815 with $(host-test-program-cmd).
1816 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1817 $(run-program-prefix) with $(test-program-prefix).
1818 ($(objpfx)tst-printf.out): Likewise.
1819 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1820 $(test-program-cmd).
1821 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1822 (test_program_prefix): This.
1823 * stdio-common/tst-unbputc.sh: Likewise.
1824 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1825 $(run-program-prefix) with $(test-program-prefix).
1826 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1827 (test_program_prefix): This.
1828 * string/Makefile ($(objpfx)tst-svc.out): Replace
1829 $(built-program-cmd) with $(test-program-cmd).
1830
1831 2013-01-11 Andreas Jaeger <aj@suse.de>
1832
1833 [BZ #15003]
1834 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1835 value. Sync with Linux 3.7.
1836
1837 2013-01-10 David S. Miller <davem@davemloft.net>
1838
1839 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1840 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1841 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1842
1843 2013-01-10 Roland McGrath <roland@hack.frob.com>
1844
1845 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1846 never set.
1847 * configure: Regenerated.
1848
1849 2013-01-10 David S. Miller <davem@davemloft.net>
1850
1851 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1852 sparc V9 rather than using V8 code.
1853 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1854 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1855
1856 2013-01-10 Roland McGrath <roland@hack.frob.com>
1857
1858 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1859 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1860 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1861 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1862 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1863 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1864 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1865 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1866 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1867 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1868 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1869 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1870 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1871 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1872 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1873 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1874 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1875 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1876 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1877 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1878 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1879 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1880 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1881 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1882 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1883 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1884 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1885
1886 2013-01-10 David S. Miller <davem@davemloft.net>
1887
1888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1889
1890 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1891
1892 * posix/Makefile (tests-static): New variable.
1893 (tests): Add $(tests-static).
1894 (tst-exec-static-ARGS): New variable.
1895 (tst-spawn-static-ARGS): Likewise.
1896 * posix/tst-exec-static.c: New file.
1897 * posix/tst-spawn-static.c: Likewise.
1898 * posix/tst-exec.c: Support run directly.
1899 * posix/tst-spawn.c: Likewise.
1900
1901 2013-01-10 Joseph Myers <joseph@codesourcery.com>
1902
1903 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1904 long.
1905 * math/bits/mathcalls.h (llrint): Likewise.
1906 (llround): Likewise.
1907 * stdlib/stdlib.h (struct drand48_data): Likewise.
1908 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1909 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1910 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1911 Likewise.
1912 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1913 Likewise.
1914 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1915 (elf_greg_t): Likewise.
1916 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1917 (__jmp_buf): Likewise.
1918 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1919 definitions.
1920 (llrint): Likewise, for all definitions.
1921 (llrintl): Likewise.
1922
1923 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1924 Remove [__GNUC__] condition.
1925 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1926 condition to just [__USE_ISOC99].
1927 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1928
1929 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1930
1931 [BZ #14200]
1932 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1933 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1934 defined.
1935 (_POSIX_V6_ILP32_OFF32): Likewise.
1936 (_XBS5_ILP32_OFF32): Likewise.
1937 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1938 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1939
1940 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1941
1942 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1943
1944 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1945 doubles __mpexp_twomm1. Adjust usage.
1946 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1947 Remove.
1948
1949 2013-01-10 Andreas Schwab <schwab@suse.de>
1950
1951 [BZ #14964]
1952 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1953 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1954
1955 2013-01-09 David S. Miller <davem@davemloft.net>
1956
1957 [BZ #15003]
1958 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1959 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1960 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1961 TCP_FASTOPEN): Define.
1962 (tcp_repair_opt): New structure.
1963 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1964 enum values.
1965 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1966 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1967 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1968 (tcp_cookie_transactions): New structure.
1969
1970 2013-01-09 Anton Blanchard <anton@samba.org>
1971
1972 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1973 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1974 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1975 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1976
1977 2013-01-09 Joseph Myers <joseph@codesourcery.com>
1978
1979 * include/features.h (__USE_ANSI): Remove.
1980
1981 2013-01-09 Roland McGrath <roland@hack.frob.com>
1982
1983 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1984
1985 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1986
1987 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1988
1989 * sysdeps/s390/fpu/libm-test-ulps: Update.
1990
1991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1992
1993 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1994 (__acr): Likewise.
1995 (__cpy): Likewise.
1996 (norm): Likewise.
1997 (denorm): Likewise.
1998 (__mp_dbl): Likewise.
1999 (__dbl_mp): Likewise.
2000 (add_magnitudes): Likewise.
2001 (sub_magnitudes): Likewise.
2002 (__add): Likewise.
2003 (__sub): Likewise.
2004 (__mul): Likewise.
2005 (__inv): Likewise.
2006 (__dvd): Likewise.
2007 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2008 (__acr): Likewise.
2009 (__cpy): Likewise.
2010 (norm): Likewise.
2011 (denorm): Likewise.
2012 (__mp_dbl): Likewise.
2013 (__dbl_mp): Likewise.
2014 (add_magnitudes): Likewise.
2015 (sub_magnitudes): Likewise.
2016 (__add): Likewise.
2017 (__sub): Likewise.
2018 (__mul): Likewise.
2019 (__inv): Likewise.
2020 (__dvd): Likewise.
2021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2022 (__acr): Likewise.
2023 (__cpy): Likewise.
2024 (norm): Likewise.
2025 (denorm): Likewise.
2026 (__mp_dbl): Likewise.
2027 (__dbl_mp): Likewise.
2028 (add_magnitudes): Likewise.
2029 (sub_magnitudes): Likewise.
2030 (__add): Likewise.
2031 (__sub): Likewise.
2032 (__mul): Likewise.
2033 (__inv): Likewise.
2034 (__dvd): Likewise.
2035
2036 2013-01-08 Joseph Myers <joseph@codesourcery.com>
2037
2038 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2039 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2040 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2041 2 && __USE_EXTERN_INLINES]: Likewise.
2042
2043 2013-01-08 Andreas Jaeger <aj@suse.de>
2044
2045 [BZ# 14985]
2046 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2047 Remove.
2048 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2049 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2050
2051 2013-01-07 Anton Blanchard <anton@samba.org>
2052
2053 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2054 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2055 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2056 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2057 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2058 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2059 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2060 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2062 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2063 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2064 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2065 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2066 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2067 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2068 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2069 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2070 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2071 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2072 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2073 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2074 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2075 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2076 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2077 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2078 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2079 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2080 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2081 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2082 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2083 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2085 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2086 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2087 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2088 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2089 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2090 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2091 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2092 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2093 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2094 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2095 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2096
2097 2013-01-07 Joseph Myers <joseph@codesourcery.com>
2098
2099 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2100 (__MALLOC_PMT): Likewise.
2101 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2102 [__GNUC__], only on [_LIBC].
2103 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2104 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2105 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2106 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2107 forward declaration.
2108 (realloc_hook_ini): Likewise.
2109 (memalign_hook_ini): Likewise.
2110 (__libc_memalign): Do not use __MALLOC_PMT in variable
2111 declaration.
2112 (__libc_valloc): Likewise.
2113 (__libc_pvalloc): Likewise.
2114 (__libc_calloc): Likewise.
2115 (__posix_memalign): Likewise.
2116
2117 [BZ #14996]
2118 * math/s_casinh.c: Include <float.h>.
2119 (__casinh): Do not do computation with squaring and square root
2120 for large arguments.
2121 * math/s_casinhf.c: Include <float.h>.
2122 (__casinhf): Do not do computation with squaring and square root
2123 for large arguments.
2124 * math/s_casinhl.c: Include <float.h>.
2125 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2126 (__casinhl): Do not do computation with squaring and square root
2127 for large arguments.
2128 * math/libm-test.inc (casin_test): Add more tests.
2129 (casinh_test): Likewise.
2130 * sysdeps/i386/fpu/libm-test-ulps: Update.
2131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2132
2133 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2134
2135 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2136 (__x86_64_raw_data_cache_size): Likewise.
2137 (__x86_64_data_cache_size_half): Likewise.
2138 (__x86_64_raw_data_cache_size_half): Likewise.
2139 (__x86_64_shared_cache_size): Likewise.
2140 (__x86_64_raw_shared_cache_size): Likewise.
2141 (__x86_64_shared_cache_size_half): Likewise.
2142 (__x86_64_raw_shared_cache_size_half): Likewise.
2143 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2144 to ...
2145 (__x86_data_cache_size): This.
2146 (__x86_64_raw_data_cache_size): Renamed to ...
2147 (__x86_raw_data_cache_size): This.
2148 (__x86_64_data_cache_size_half): Renamed to ...
2149 (__x86_data_cache_size_half): This.
2150 (__x86_64_raw_data_cache_size_half): Renamed to ...
2151 (__x86_raw_data_cache_size_half): This.
2152 (__x86_64_shared_cache_size): Renamed to ...
2153 (__x86_shared_cache_size): This.
2154 (__x86_64_raw_shared_cache_size): Renamed to ...
2155 (__x86_raw_shared_cache_size): This.
2156 (__x86_64_shared_cache_size_half): Renamed to ...
2157 (__x86_shared_cache_size_half): This.
2158 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2159 (__x86_raw_shared_cache_size_half): This.
2160 * sysdeps/x86_64/memcpy.S: Updated.
2161 * sysdeps/x86_64/memset.S: Likewise.
2162 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2163 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2164 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2165
2166 2013-01-04 David S. Miller <davem@davemloft.net>
2167
2168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2169
2170 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2171
2172 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2173 1 to avoid redefinition warning.
2174 (__USE_GNU): Don't define.
2175 (init_signaling_nan): Protoize.
2176
2177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2178
2179 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2180
2181 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2183 (__cpymn): Likewise.
2184 (norm): Remove commented code.
2185 (denorm): Likewise.
2186 (__mp_dbl): Likewise.
2187 (__inv): Likewise.
2188 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2189 (__cpymn): Likewise.
2190 (norm): Remove commented code.
2191 (denorm): Likewise.
2192 (__mp_dbl): Likewise.
2193 (__inv): Likewise.
2194
2195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2196 mp_no value for 1.0 and 2.0.
2197 (norm): Use RADIXI instead of radixi.d.
2198 (denorm): Likewise.
2199 (__mul): Use 0.0 instead of zero.d.
2200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2201 mp_no value for 1.0 and 2.0.
2202 (norm): Use RADIXI instead of radixi.d.
2203 (denorm): Likewise.
2204 (__mul): Use 0.0 instead of zero.d.
2205
2206 2013-01-04 Joseph Myers <joseph@codesourcery.com>
2207
2208 [BZ #14994]
2209 * math/s_casinh.c (__casinh): Reduce finite argument to first
2210 quadrant then set signs of results at the end.
2211 * math/s_casinhf.c (__casinhf): Likewise.
2212 * math/s_casinhl.c (__casinhl): Likewise.
2213 * math/libm-test.inc (casin_test): Add more tests.
2214 (casinh_test): Likewise.
2215 * sysdeps/i386/fpu/libm-test-ulps: Update.
2216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2217
2218 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2219
2220 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2221
2222 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2223
2224 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2225 declarations.
2226 (denorm): Likewise.
2227 (__mp_dbl): Likewise.
2228 (__inv): Likewise.
2229
2230 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2231 and adjust the header comment.
2232
2233 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2234 variable name from declaration.
2235
2236 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2237
2238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2239 Initialize COMMON_CPUID_INDEX_7 element.
2240 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2241 (CPUID_RTM): Likewise.
2242 (HAS_RTM): Likewise.
2243 (COMMON_CPUID_INDEX_7): New enum.
2244
2245 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2246
2247 [BZ #14981]
2248 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2249 size is zero, record memory as freed.
2250
2251 2013-01-03 Andreas Jaeger <aj@suse.de>
2252
2253 * po/ia.po: Add new Interlingua translation.
2254
2255 2012-01-03 Allan McRae <allan@archlinux.org>
2256
2257 * locale/programs/localedef.c: Fix description of '--posix' flag.
2258
2259 2013-01-02 Joseph Myers <joseph@codesourcery.com>
2260
2261 * NEWS: Update dates in second copyright notice.
2262 * README: Update copyright dates in example.
2263 * manual/libc.texinfo: Update copyright dates.
2264 * scripts/test-installation.pl: Update copyright date in --version
2265 output.
2266
2267 * hurd/ctty-input.c: Fix copyright notice formatting.
2268 * hurd/ctty-output.c: Likewise.
2269 * hurd/dtable.c: Likewise.
2270 * hurd/hurd-raise.c: Likewise.
2271 * hurd/hurdprio.c: Likewise.
2272 * hurd/msgportdemux.c: Likewise.
2273 * misc/sys/file.h: Likewise.
2274 * misc/sys/ioctl.h: Likewise.
2275 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2276 * sysdeps/mach/hurd/chdir.c: Likewise.
2277 * sysdeps/mach/hurd/fchdir.c: Likewise.
2278 * sysdeps/mach/hurd/rename.c: Likewise.
2279 * sysdeps/mach/hurd/rmdir.c: Likewise.
2280 * sysdeps/mach/hurd/seekdir.c: Likewise.
2281 * sysdeps/mach/hurd/setsid.c: Likewise.
2282 * sysdeps/posix/wait3.c: Likewise.
2283
2284 * All files with FSF copyright notices: Update copyright dates
2285 using scripts/update-copyrights.
2286 * intl/plural.c: Regenerated.
2287 * locale/programs/charmap-kw.h: Likewise.
2288 * locale/programs/locfile-kw.h: Likewise.
2289
2290 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2291
2292 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2293 four values.
2294
2295 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2296 calculation loop and add branch prediction.
2297
2298 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2299 check access beyond bounds of m1np.
2300
2301 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2302 MPTWO.
2303 (__inv): Remove local variable MPTWO to use the global
2304 constant.
2305 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2306 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2307 variable MPTWO.
2308 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2309 MP3HALFS static const.
2310
2311 2013-01-01 David S. Miller <davem@davemloft.net>
2312
2313 * po/ca.po: Update from translation team.
2314
2315 2013-01-01 Joseph Myers <joseph@codesourcery.com>
2316
2317 * scripts/update-copyrights: New file.
2318 * Makeconfig: Reformat copyright notice.
2319 * ctype/ctype.h: Likewise.
2320 * debug/swprintf_chk.c: Likewise.
2321 * elf/dl-cache.c: Likewise.
2322 * elf/dl-debug.c: Likewise.
2323 * elf/dl-object.c: Likewise.
2324 * grp/initgroups.c: Likewise.
2325 * hurd/Makefile: Likewise.
2326 * hurd/hurd/signal.h: Likewise.
2327 * hurd/hurdfault.c: Likewise.
2328 * hurd/hurdioctl.c: Likewise.
2329 * hurd/hurdlookup.c: Likewise.
2330 * hurd/intr-msg.c: Likewise.
2331 * iconv/gconv_open.c: Likewise.
2332 * libio/swprintf.c: Likewise.
2333 * locale/lc-ctype.c: Likewise.
2334 * locale/nl_langinfo.c: Likewise.
2335 * mach/Machrules: Likewise.
2336 * mach/Makefile: Likewise.
2337 * malloc/obstack.h: Likewise.
2338 * manual/Makefile: Likewise.
2339 * manual/tsort.awk: Likewise.
2340 * misc/bits/stab.def: Likewise.
2341 * nis/nis_print_group_entry.c: Likewise.
2342 * nis/nis_table.c: Likewise.
2343 * nis/nss_compat/compat-pwd.c: Likewise.
2344 * nis/nss_compat/compat-spwd.c: Likewise.
2345 * po/Makefile: Likewise.
2346 * posix/fnmatch.c: Likewise.
2347 * posix/regex.h: Likewise.
2348 * resolv/Makefile: Likewise.
2349 * resolv/nss_dns/dns-network.c: Likewise.
2350 * resolv/res_hconf.c: Likewise.
2351 * scripts/gen-sorted.awk: Likewise.
2352 * soft-fp/soft-fp.h: Likewise.
2353 * stdio-common/printf.h: Likewise.
2354 * stdlib/monetary.h: Likewise.
2355 * stdlib/random.c: Likewise.
2356 * stdlib/random_r.c: Likewise.
2357 * sysdeps/generic/Makefile: Likewise.
2358 * sysdeps/gnu/Makefile: Likewise.
2359 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2360 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2361 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2363 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2364 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2365 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2366 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2367 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2368 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2369 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2370 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2371 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2372 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2373 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2374 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2375 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2376 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2377 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2378 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2379 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2380 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2381 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2382 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2383 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2384 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2385 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2386 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2387 * sysdeps/mach/hurd/errnos.awk: Likewise.
2388 * sysdeps/mach/hurd/fork.c: Likewise.
2389 * sysdeps/mach/hurd/getcwd.c: Likewise.
2390 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2391 * sysdeps/mach/hurd/mmap.c: Likewise.
2392 * sysdeps/mach/hurd/utimes.c: Likewise.
2393 * sysdeps/mach/hurd/xmknod.c: Likewise.
2394 * sysdeps/posix/profil.c: Likewise.
2395 * sysdeps/posix/readdir_r.c: Likewise.
2396 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2397 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2398 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2399 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2401 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2402 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2403 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2404 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2405 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2406 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2407 * sysdeps/pthread/lio_listio.c: Likewise.
2408 * sysdeps/sparc/dl-procinfo.h: Likewise.
2409 * sysdeps/unix/i386/sysdep.S: Likewise.
2410 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2411 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2412 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2413 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2415 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2416 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2417 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2418 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2419 * sysdeps/wordsize-32/divdi3.c: Likewise.
2420 * time/sys/time.h: Likewise.
2421 * wcsmbs/Makefile: Likewise.
2422
2423 2013-01-01 David S. Miller <davem@davemloft.net>
2424
2425 * po/fr.po: Update from translation team.
2426
2427 * catgets/gencat.c: Update copyright year.
2428 * csu/version.c: Likewise.
2429 * debug/catchsegv.sh: Likewise.
2430 * debug/pcprofiledump.c: Likewise.
2431 * debug/xtrace.sh: Likewise.
2432 * elf/ldconfig.c: Likewise.
2433 * elf/ldd.bash.in: Likewise.
2434 * elf/pldd.c: Likewise.
2435 * elf/sotruss.ksh: Likewise.
2436 * elf/sprof.c: Likewise.
2437 * iconv/iconv_prog.c: Likewise.
2438 * iconv/iconvconfig.c: Likewise.
2439 * locale/programs/locale.c: Likewise.
2440 * locale/programs/localedef.c: Likewise.
2441 * login/programs/pt_chown.c: Likewise.
2442 * malloc/memusage.sh: Likewise.
2443 * malloc/memusagestat.c: Likewise.
2444 * malloc/mtrace.pl: Likewise.
2445 * nscd/nscd.c: Likewise.
2446 * nss/getent.c: Likewise.
2447 * nss/makedb.c: Likewise.
2448 * posix/getconf.c: Likewise.
2449
2450 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2451
2452 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2453 numbers.
2454
2455 2012-12-30 Mike Frysinger <vapier@gentoo.org>
2456
2457 * math/bits/mathcalls.h (modf): Use __nonnull.
2458
2459 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2460
2461 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2462 (split): Use macro CN instead of the bare value.
2463 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2464 could be used.
2465 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2466 instead of the bare value.
2467 (power1): Likewise.
2468
2469 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2470
2471 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2472 __ATAN_TWOM.
2473 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2474
2475 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2476 their values.
2477 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2478 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2479 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2480 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2481
2482 2012-12-28 Andreas Jaeger <aj@suse.de>
2483
2484 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2485 values are from Linux 3.7.
2486
2487 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2488 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2489
2490 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2491
2492 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2493 TRUE case.
2494
2495 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2496 (norm): Likewise.
2497 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2498 variables with preprocessor constants.
2499 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2500 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2501 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2502
2503 2012-12-27 Bruno Haible <bruno@clisp.org>
2504
2505 [BZ #14317]
2506 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2507 only if needed.
2508
2509 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2510
2511 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2512 and use variable directly.
2513 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2514
2515 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2516 MPONE.
2517 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2518 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2519 variable MPONE.
2520 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2522 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2523 include directive. Remove local variable MPONE.
2524 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2525 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2526 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2527
2528 2012-12-25 David S. Miller <davem@davemloft.net>
2529
2530 * version.h (RELEASE): Set to "development".
2531 (VERSION): Set to "2.17.90".
2532 * NEWS: Add 2.18 section.
2533
2534 2012-12-21 David S. Miller <davem@davemloft.net>
2535
2536 * po/hr.po: Update from translation team.
2537
2538 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2539
2540 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2541
2542 2012-12-19 Steve Ellcey <sellcey@mips.com>
2543
2544 * NEWS: Mention new memcpy for MIPS.
2545
2546 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2547
2548 * manual/contrib.texi (Contributors): Spelling correction.
2549
2550 2012-12-15 David S. Miller <davem@davemloft.net>
2551
2552 * po/ru.po: Update from translation team.
2553
2554 2012-12-13 David S. Miller <davem@davemloft.net>
2555
2556 * NEWS: Mention IFUNC testsuite enhancements.
2557
2558 * po/pl.po: Update from translation team.
2559 * po/bg.po: Likewise.
2560
2561 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2562 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2563
2564 2012-12-11 David S. Miller <davem@davemloft.net>
2565
2566 * po/sv.po: Update from translation team.
2567
2568 * po/vi.po: Update from translation team.
2569
2570 * po/cs.po: Update from translation team.
2571
2572 * po/de.po: Update from translation team.
2573 * po/eo.po: Likewise.
2574 * po/nl.po: Likewise.
2575
2576 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2577
2578 [BZ #14246]
2579 * manual/argp.texi (Argp Helper Functions): Move node to follow
2580 Argp Parsing State.
2581
2582 [BZ #14872]
2583 * manual/conf.texi (Limits on File System Capacity): Mention if
2584 terminating null is included in the max size.
2585
2586 2012-12-10 Andreas Jaeger <aj@suse.de>
2587
2588 * po/cs.po: Update from translation team.
2589
2590 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2591
2592 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2593 void pointer and cast to uintptr_t.
2594 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2595 path.
2596 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2597 * sysdeps/s390/s390-64/memset.S: Likewise.
2598
2599 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
2600
2601 [BZ #14833]
2602 * menual/message.texi (Message Translation): Fix typos.
2603 (Helper programs for gettext): Likewise.
2604
2605 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2606
2607 [BZ #14898]
2608 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2609 Change to -1.
2610
2611 2012-12-07 David S. Miller <davem@davemloft.net>
2612
2613 * po/libc.pot: Update.
2614
2615 2012-12-07 Richard Henderson <rth@redhat.com>
2616
2617 [BZ #10114]
2618 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2619 normal/normal case to before the switch.
2620 (_FP_DIV): Likewise.
2621
2622 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2623 Mike Frysinger <vapier@gentoo.org>
2624
2625 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2626 check for __NR_fadvise64_64.
2627
2628 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2629
2630 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2631 0, not just to plain "0" as a statement.
2632 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2633 with cw.
2634
2635 2012-12-06 Joseph Myers <joseph@codesourcery.com>
2636
2637 * NEWS: Use sourceware.org in Bugzilla URL.
2638
2639 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2640
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2642 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2643
2644 * stdio-common/tst-put-error.c (do_test): Add newline to the
2645 padded test to ensure flush.
2646
2647 2012-12-05 Jeff Law <law@redhat.com>
2648
2649 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2650
2651 2012-12-05 Joseph Myers <joseph@codesourcery.com>
2652
2653 * README: Don't refer to ports add-on as distributed separately.
2654 Mention AArch64 in list of systems supported in the ports add-on.
2655
2656 * LICENSES: Add more non-FSF copyright and license notices.
2657
2658 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2659 ((unused)).
2660
2661 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2662
2663 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2664 10000 as width of padded output.
2665
2666 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2667
2668 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2669
2670 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2671 variable LX with __attribute__ ((unused)).
2672 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2673 Likewise.
2674 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2675 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2676 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2677 with __attribute__ ((unused)).
2678
2679 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
2680
2681 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2682
2683 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2684
2685 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2686 (CFLAGS-nldbl-acos.c): New variable.
2687 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2688 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2689 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2690 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2691 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2692 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2693 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2694 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2695 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2696 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2697 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2698 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2699 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2700 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2701 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2702 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2703 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2704 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2705 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2706 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2707 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2708 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2709 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2710 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2711 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2712 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2713 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2714 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2715 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2716 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2717 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2718 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2719 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2720 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2721 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2722 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2723 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2724 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2725 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2726 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2727 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2728 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2729 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2730 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2731 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2732 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2733 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2734 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2735 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2736 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2737 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2738 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2739 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2740 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2741 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2742 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2743 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2744 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2745 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2746 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2747 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2748 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2749 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2750 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2751 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2752 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2753 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2754 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2755 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2756 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2757 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2758 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2759 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2760 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2761 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2762 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2763 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2764 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2765 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2766 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2767 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2768 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2769 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2770 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2771 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2772 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2773 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2774 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2775 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2776 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2777 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2778 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2779 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2780 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2781 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2782 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2783 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2784
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2786 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2787
2788 [BZ #14914]
2789 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2790 whole low double instead of just low 47 bits when splitting values
2791 into two parts.
2792
2793 2012-12-03 Allan McRae <allan@archlinux.org>
2794
2795 * manual/stdio.texi (Predefined Printf Handlers): Remove
2796 @hsep and @vsep usage.
2797
2798 2012-12-03 Mike Frysinger <vapier@gentoo.org>
2799
2800 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2801 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2802
2803 2012-12-03 Jeff Law <law@redhat.com>
2804
2805 * time/sys/time.h (settimeofday): Do not mark TV argument
2806 as __nonnull.
2807
2808 2012-12-01 Mike Frysinger <vapier@gentoo.org>
2809
2810 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2811 when currently writing and seek to current position when not.
2812 * libio/Makefile (tests): Remove bug-fclose1.
2813 * libio/bug-fclose1.c: Delete.
2814
2815 2012-12-01 Joseph Myers <joseph@codesourcery.com>
2816
2817 * manual/arith.texi (feenableexcept): Fix typo.
2818 (fedisableexcept): Likewise.
2819
2820 2012-11-30 Roland McGrath <roland@hack.frob.com>
2821
2822 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2823 second, differently-typed declaration, rather than a cast.
2824
2825 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2826
2827 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2828 * include/rpc/svc.h: ... here.
2829
2830 2012-11-30 Aurelien Jarno <aurel32@debian.org>
2831
2832 [BZ #13013]
2833 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2834 depending n and resplen2 to catch cases where answer
2835 equals answerp2.
2836
2837 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2838
2839 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2840 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2841
2842 2012-11-29 Mike Frysinger <vapier@gentoo.org>
2843
2844 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2845
2846 2012-11-29 Roland McGrath <roland@hack.frob.com>
2847
2848 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2849
2850 2012-11-28 Jeff Law <law@redhat.com>
2851
2852 [BZ #13761]
2853 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2854 dataset_temporary. Track alloca usage into alloca_used.
2855 If dataset is large allocate and release it via malloc/free.
2856
2857 2012-06-04 Florian Weimer <fweimer@redhat.com>
2858
2859 [BZ #14197]
2860 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2861
2862 2012-11-28 David S. Miller <davem@davemloft.net>
2863
2864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2865
2866 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2867
2868 [BZ #14803]
2869 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2870 of pi/2 rounded to nearest to 64 bits.
2871 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2872 nearest to 64 bits.
2873 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2874 bits.
2875
2876 2012-11-28 Jeff Law <law@redhat.com>
2877 Martin Osvald <mosvald@redhat.com>
2878
2879 [BZ #14889]
2880 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2881 * sunrpc/svc.c: Include time.h.
2882 (__svc_accept_failed): New function.
2883 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2884 any reason other than EINTR, call __svc_accept_failed.
2885 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2886 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2887
2888 2012-11-28 Andreas Schwab <schwab@suse.de>
2889
2890 * scripts/abilist.awk: Also handle indirect functions in .opd
2891 section.
2892
2893 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2894
2895 [BZ #13881]
2896 * sysdeps/x86/fpu/powl_helper.c: New file.
2897 * sysdeps/x86/fpu/Makefile: Likewise.
2898 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2899 (p3): New object.
2900 (__ieee754_powl): Use __powl_helper for finite arguments except
2901 integer exponents below 8.
2902 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2903 (p3): New object.
2904 (__ieee754_powl): Use __powl_helper for finite arguments except
2905 integer exponents below 8.
2906 * math/libm-test.inc (pow_test): Add more tests and enable some
2907 previously disabled tests.
2908 * sysdeps/i386/fpu/libm-test-ulps: Update.
2909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2910
2911 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2912 Carlos O'Donell <carlos_odonell@mentor.com>
2913
2914 * nss/makedb.c (is_prime): Assert that input is odd and greater
2915 than 4. Note that fact in a comment too.
2916 (next_prime): Add 4 to input.
2917
2918 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2919
2920 [BZ #11741]
2921 * libio/Makefile (tests): Add test case tst-fwrite-error.
2922 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2923 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2924 * libio/tst-fwrite-error.c: New test case.
2925
2926 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2927
2928 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2929 before casting to void *.
2930 * include/libc-internal.h (__pointer_type): New macro.
2931 (__integer_if_pointer_type_sub): Likewise.
2932 (__integer_if_pointer_type): Likewise.
2933 (cast_to_integer): Likewise.
2934 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2935 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2936 before casting to atomic64_t.
2937 (atomic_exchange_acq): Likewise.
2938 (__arch_exchange_and_add_body): Likewise.
2939 (__arch_add_body): Likewise.
2940 (atomic_add_negative): Likewise.
2941 (atomic_add_zero): Likewise.
2942
2943 2012-11-26 Joseph Myers <joseph@codesourcery.com>
2944
2945 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2946 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2947 (add_fdes): Likewise.
2948 (linear_search_fdes): Likewise.
2949 (binary_search_unencoded_fdes): Likewise.
2950
2951 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2952
2953 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2954
2955 2012-11-24 Adam Conrad <adconrad@0c3.net>
2956
2957 * configure.in: Autodetect C++ header directories.
2958 * configure: Regenerated.
2959
2960 2012-11-23 Mike Frysinger <vapier@gentoo.org>
2961
2962 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2963
2964 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2965
2966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2967
2968 2012-11-22 Joseph Myers <joseph@codesourcery.com>
2969
2970 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2971 LDBL_MANT_DIG == 106]: Disable some tests.
2972 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2973 Likewise.
2974 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2975 Likewise.
2976
2977 [BZ #14871]
2978 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2979 input for small inputs. Return +/- pi/2 for large inputs.
2980 * math/libm-test.inc (atan_test): Add more tests.
2981
2982 * sysdeps/generic/unwind-dw2-fde-glibc.c
2983 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2984 __attribute__ ((unused)).
2985
2986 [BZ #14645]
2987 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2988 x * y if x and y are nonzero and z is zero.
2989
2990 [BZ #14811]
2991 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2992 nonzero exponents with absolute value below 0x1p-117 to +/-
2993 0x1p-117.
2994
2995 [BZ #14869]
2996 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2997 up arguments below 2**-450, not just those below 2**-500.
2998 * math/libm-test.inc (hypot_test): Add another test.
2999
3000 [BZ #14868]
3001 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3002 Return a+b for ratio over 2**120, not 2**60.
3003 * math/libm-test.inc (hypot_test): Add another test.
3004
3005 * math/libm-test.inc (clog_test): Use
3006 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3007 (clog10_test): Likewise.
3008
3009 [BZ #6778]
3010 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3011
3012 2012-11-22 Andreas Schwab <schwab@suse.de>
3013
3014 * sysdeps/i386/fpu/libm-test-ulps: Update.
3015
3016 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
3017
3018 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3019 printf output with newline.
3020
3021 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
3022
3023 [BZ #14865]
3024 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3025 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3026 -z nodlopen, -z initfirst and -z execstack support.
3027 * configure: Regenerated.
3028
3029 * elf/elf.h (DF_1_NODIRECT): New macro.
3030 (DF_1_IGNMULDEF): Likewise.
3031 (DF_1_NOKSYMS): Likewise.
3032 (DF_1_NOHDR): Likewise.
3033 (DF_1_EDITED): Likewise.
3034 (DF_1_NORELOC): Likewise.
3035 (DF_1_SYMINTPOSE): Likewise.
3036 (DF_1_GLOBAUDIT): Likewise.
3037 (DF_1_SINGLETON): Likewise.
3038 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3039 DT_1_SUPPORTED_MASK bits.
3040 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3041
3042 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3043
3044 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3045
3046 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3047
3048 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3049 macro.
3050
3051 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3052 (sendmmsg): Move declarations...
3053 * socket/sys/socket.h: ... here.
3054 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3055 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3056 include it from...
3057 * socket/recvmmsg.c: ... this new file.
3058 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3059 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3060 definition of __sendmmsg hidden.
3061 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3062 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3063 Move ENOSYS stub into and include it from...
3064 * socket/sendmmsg.c: ... this new file.
3065 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3066 (sysdep_routines): Move recvmmsg and sendmmsg...
3067 * socket/Makefile (routines): ... here.
3068 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3069 (GLIBC_PRIVATE): Add __sendmmsg.
3070 * include/sys/socket.h (__sendmmsg): Add declarations.
3071 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3072 sendmmsg.
3073
3074 2012-11-20 Joseph Myers <joseph@codesourcery.com>
3075
3076 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3077 variable I1 with __attribute__ ((unused)).
3078 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3079
3080 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3081
3082 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3083 DUMMY variables with __attribute__ ((unused)).
3084
3085 * bits/byteswap.h: Include <bits/types.h>.
3086 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3087
3088 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3089
3090 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3091 string_t. Do not manually set errno.
3092 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3093 length with __strnlen. Make sure to both set errno and return it on
3094 failure.
3095
3096 2012-11-19 David S. Miller <davem@davemloft.net>
3097
3098 With help from Joseph Myers.
3099 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3100 very large arguments properly.
3101 * math/libm-test.inc (atan_test): New tests.
3102 (atan2_test): New tests.
3103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3105
3106 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3107
3108 [BZ #14856]
3109 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3110 Define to 3.
3111
3112 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3113 [POSIX] (EADDRNOTAVAIL): Likewise.
3114 [POSIX] (EAFNOSUPPORT): Likewise.
3115 [POSIX] (EALREADY): Likewise.
3116 [POSIX] (ECONNABORTED): Likewise.
3117 [POSIX] (ECONNREFUSED): Likewise.
3118 [POSIX] (ECONNRESET): Likewise.
3119 [POSIX] (EDESTADDRREQ): Likewise.
3120 [POSIX] (EDQUOT): Likewise.
3121 [POSIX] (EHOSTUNREACH): Likewise.
3122 [POSIX] (EIDRM): Likewise.
3123 [POSIX] (EISCONN): Likewise.
3124 [POSIX] (ELOOP): Likewise.
3125 [POSIX] (EMULTIHOP): Likewise.
3126 [POSIX] (ENETDOWN): Likewise.
3127 [POSIX] (ENETUNREACH): Likewise.
3128 [POSIX] (ENOBUFS): Likewise.
3129 [POSIX] (ENODATA): Likewise.
3130 [POSIX] (ENOLINK): Likewise.
3131 [POSIX] (ENOMSG): Likewise.
3132 [POSIX] (ENOPROTOOPT): Likewise.
3133 [POSIX] (ENOSR): Likewise.
3134 [POSIX] (ENOSTR): Likewise.
3135 [POSIX] (ENOTCONN): Likewise.
3136 [POSIX] (ENOTSOCK): Likewise.
3137 [POSIX] (EOPNOTSUPP): Likewise.
3138 [POSIX] (EOVERFLOW): Likewise.
3139 [POSIX] (EPROTO): Likewise.
3140 [POSIX] (EPROTONOSUPPORT): Likewise.
3141 [POSIX] (EPROTOTYPE): Likewise.
3142 [POSIX] (ESTALE): Likewise.
3143 [POSIX] (ETIME): Likewise.
3144 [POSIX] (ETXTBSY): Likewise.
3145 [POSIX] (EWOULDBLOCK): Likewise.
3146 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3147 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3148 [POSIX] (SEEK_CUR): Likewise.
3149 [POSIX] (SEEK_END): Likewise.
3150 [POSIX || UNIX98] (mode_t): Do not require.
3151 [POSIX] (off_t): Likewise.
3152 [POSIX] (pid_t): Likewise.
3153 [POSIX] (sys/stat.h): Do not allow header.
3154 [POSIX] (unistd.h): Likewise.
3155 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3156 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3157 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3158 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3159 require.
3160 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3161 sigevent): Specify elements.
3162 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3163 entry.
3164 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3165 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3166
3167 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3168 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3169 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3170 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3171 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3172 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3173 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3174 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3175 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3176 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3177 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3178 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3179 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3180 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3181 Likewise.
3182 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3183 Likewise.
3184 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3185 Likewise.
3186 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3187 Likewise.
3188 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3189 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3190 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3191 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3192 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3193 Specify lower bound on value.
3194 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3195 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3196 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3197 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3198 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3199 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3200 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3201 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3202 value.
3203 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3204 as optional.
3205 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3206 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3207 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3208 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3209 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3210 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3211 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3212 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3213 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3214 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3215 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3216 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3217 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3218 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3219 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3220 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3221 entry.
3222 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3223 optional.
3224 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3225 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3226 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3227 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3228 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3229 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3230 Likewise.
3231 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3232 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3233 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3234 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3235 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3236 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3237 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3238 as optional.
3239 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3240 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3241 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3242 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3243 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3244 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3245 specify as optional.
3246 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3247 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3248 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3249 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3250 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3251 [XPG3] (NL_LANGMAX): Likewise.
3252 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3253 [POSIX || XPG3] (NL_NMAX): Likewise.
3254 [POSIX || XPG3] (NL_SETMAX): Likewise.
3255 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3256 [XPG3] (NZERO): Likewise.
3257 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3258 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3259 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3260 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3261 (REG_ERANGE): Expect.
3262 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3263 optional-constant.
3264 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3265 Use (void) in prototype.
3266 [POSIX] (*_t): Allow.
3267 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3268 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3269 (WRDE_BADVAL): Expect.
3270
3271 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3272 expect.
3273 [XPG3 || XPG4] (O_RSYNC): Likewise.
3274 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3275 Likewise.
3276 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3277 [XPG3 || XPG4] (sigqueue): Likewise.
3278 [XPG3 || XPG4] (sigtimedwait): Likewise.
3279 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3280 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3281 [XPG3 || XPG4] (vsnprintf): Likewise.
3282 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3283 Likewise.
3284 [XPG3 || XPG4] (blksize_t): Likewise.
3285 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3286 Likewise.
3287 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3288 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3289 [XPG3 || XPG4] (struct itimerspec): Likewise.
3290 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3291 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3292 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3293 [XPG3 || XPG4] (clockid_t): Likewise.
3294 [XPG3 || XPG4] (timer_t): Likewise.
3295 [XPG3 || XPG4] (clock_getres): Likewise.
3296 [XPG3 || XPG4] (clock_gettime): Likewise.
3297 [XPG3 || XPG4] (clock_settime): Likewise.
3298 [XPG3 || XPG4] (nanosleep): Likewise.
3299 [XPG3 || XPG4] (timer_create): Likewise.
3300 [XPG3 || XPG4] (timer_delete): Likewise.
3301 [XPG3 || XPG4] (timer_gettime): Likewise.
3302 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3303 [XPG3 || XPG4] (timer_settime): Likewise.
3304 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3305 [XPG3 || XPG4] (getlogin_r): Likewise.
3306 [XPG3 || XPG4] (pread): Likewise.
3307 [XPG3 || XPG4] (pthread_atfork): Likewise.
3308 [XPG3 || XPG4] (pwrite): Likewise.
3309
3310 [BZ #14835]
3311 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3312 <bits/siginfo.h>.
3313
3314 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3315
3316 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3317 finalizing MALLSTREAM.
3318
3319 * sysdeps/mach/hurd/syncfs.c: New file.
3320
3321 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3322
3323 [BZ #14719]
3324 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3325 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3326 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3327 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3328 (_nss_dns_gethostbyname4_r): Likewise.
3329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3330 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3331
3332 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3333
3334 [BZ #13763]
3335 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3336
3337 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3338
3339 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3340 * elf/cache.c (print_entry): Print ",AArch64" for
3341 FLAG_AARCH64_LIB64
3342
3343 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3344 * elf/cache.c (print_entry): Print ",hard-float" for
3345 FLAG_ARM_LIBHF.
3346
3347 2012-11-18 David S. Miller <davem@davemloft.net>
3348
3349 With help from Joseph Myers.
3350 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3351 cutoff to 2**-13.
3352 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3353 cutoff to 2**-25.
3354 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3355 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3356 small.
3357 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3358 * math/libm-test.inc (y0_test): New tests.
3359 (y1_test): New tests.
3360 * sysdeps/i386/fpu/libm-test-ulps: Update.
3361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3363
3364 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3365
3366 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3367 64-bit targets.
3368 * configure: Regenerated.
3369
3370 2012-11-17 David S. Miller <davem@davemloft.net>
3371
3372 [BZ #14811]
3373 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3374 nonzero exponents with absolute value below 0x1p-128 to +/-
3375 0x1p-128.
3376
3377 2012-11-17 Joseph Myers <joseph@codesourcery.com>
3378
3379 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3380
3381 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3382
3383 * posix/getconf-speclist.c: New file.
3384 * posix/posix-envs.def: Likewise.
3385 * posix/confstr.c (START_ENV_GROUP): New macro.
3386 (END_ENV_GROUP): Likewise.
3387 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3388 (KNOWN_PRESENT_ENV_STRING): Likewise.
3389 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3390 (UNKNOWN_ENVIRONMENT): Likewise.
3391 (confstr): Include posix-envs.def instead of handling
3392 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3393 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3394 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3395 (END_ENV_GROUP): Likewise.
3396 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3397 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3398 (UNKNOWN_ENVIRONMENT): Likewise.
3399 (__sysconf): Include posix-envs.def instead of handling associated
3400 cases directly here.
3401 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3402 preprocessing getconf-speclist.c rather than running getconf or
3403 generating empty file.
3404
3405 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3406
3407 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3408
3409 2012-11-16 Andrej Lajovic <natrij@gmail.com>
3410
3411 [BZ #14672]
3412 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3413
3414 2012-11-16 David S. Miller <davem@davemloft.net>
3415
3416 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3417 smaller than LDBL_EPSILON/2.0L, just return xm1.
3418
3419 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3420
3421 * elf/tst-array1.c (init): Set constructor priority to 1000.
3422 (fini): Set destructor priority to 1000.
3423 * elf/tst-array2dep.c: Likewise.
3424
3425 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3426
3427 [BZ #11741]
3428 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3429 (_IO_new_file_xsputn): Also return EOF if none of the input
3430 data was written when overflow failed.
3431 * libio/iopadn.c (_IO_padn): Likewise.
3432 * libio/iowpadn.c (_IO_wpadn): Likewise.
3433 * stdio-common/tst-put-error.c: Add copyright notice.
3434 (do_test): Add case for printing padded string.
3435 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3436 _IO_padn returned error.
3437 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3438 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3439 return EOF.
3440
3441 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3442
3443 * libio/libioP.h: Add comment note that the references to C++
3444 bits are now obsolete.
3445
3446 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3447
3448 * math/libm-test.inc (check_complex): Use asprintf.
3449
3450 2012-11-14 Joseph Myers <joseph@codesourcery.com>
3451
3452 * debug/pcprofiledump.c (print_version): Update copyright year.
3453 * malloc/memusagestat.c (print_version): Likewise.
3454
3455 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3456
3457 [BZ #14831]
3458 * elf/Makefile (tests): Add tst-audit8.
3459 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3460 ($(objpfx)tst-audit8.out): New target.
3461 (tst-audit8-ENV): New variable.
3462 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3463 audit if l_reloc_result is NULL.
3464 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3465 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3466 * elf/tst-audit8.c: New file.
3467
3468 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3469
3470 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3471 * misc/Makefile (CFLAGS-select.c): Define.
3472 * posix/Makefile (CFLAGS-pause.c): Define.
3473
3474 2012-11-13 David S. Miller <davem@davemloft.net>
3475
3476 * crypt/Makefile: Move test targets after toplevel Rules
3477 inclusion. Grab any necessary sysdep routines when linking.
3478 * crypt/md5.c (md5_process_block): Remove define, we will always
3479 name it __md5_process_block.
3480 (md5_finish_ctx): Update md5_process_block call.
3481 (md5_stream): Likewise.
3482 (md5_process_bytes): Likewise.
3483 (md5_process_block): Rename to __md5_process_block and move to ...
3484 * crypt/md5-block.c: ... here.
3485 * crypt/sha256.c (sha256_process_block): Move to ...
3486 * crypt/sha256-block.c: ... here.
3487 * crypt/sha512.c (sha512_process_block): Move to ...
3488 * crypt/sha512-block.c: ... here.
3489 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3490 path.
3491 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3492 * sysdeps/sparc/sparc64/multiarch/Makefile
3493 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3494 crypt subdir.
3495 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3496 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3497 multiarch changes.
3498 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3499 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3500 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3501 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3502 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3503 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3504 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3505 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3506 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3507 file.
3508 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3509 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3510 file.
3511 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3512
3513 2012-11-13 Joseph Myers <joseph@codesourcery.com>
3514
3515 * timezone/tzselect.ksh: Update from tzcode git revision
3516 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3517 * timezone/zdump.c: Likewise.
3518 * timezone/zic.c: Likewise.
3519 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3520 in TZVERSION setting, not $(PKGVERSION).
3521 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3522 REPORT_BUGS_TO settings.
3523
3524 [BZ #14838]
3525 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3526 macro.
3527
3528 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3529
3530 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3531 detection to immediately after _FP_ROUND().
3532 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3533 bits are 0.
3534
3535 2012-11-11 David S. Miller <davem@davemloft.net>
3536
3537 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3538 inttypes.h
3539 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3540 __close rather than their public counterparts.
3541
3542 2012-11-10 Joseph Myers <joseph@codesourcery.com>
3543
3544 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3545 file.
3546 [UNIX98] (sem_timedwait): Do not expect.
3547 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3548 [XPG4 || UNIX98] (sockatmark): Do not expect.
3549 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3550 (clock_getcpuclockid): Do not expect.
3551 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3552 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3553 Do not expect.
3554 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3555 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3556 [UNIX98] (vwscanf): Likewise.
3557 [UNIX98] (vswscanf): Likewise.
3558
3559 2012-11-09 Joseph Myers <joseph@codesourcery.com>
3560
3561 * timezone/version.h: Remove file.
3562 * timezone/README: Do not refer to version.h.
3563 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3564 $(objpfx)version.h.
3565 ($(objpfx)zdump.o): Likewise.
3566 ($(objpfx)version.h): New target.
3567
3568 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3569 2012i.
3570 * timezone/README: Don't mention modification to tzselect.ksh.
3571 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3572 work on unmodified tzselect.ksh. Substitute version numbers in
3573 tzselect.ksh.
3574
3575 * Makefile (format-me): Remove.
3576 (INSTALL): Adjust indentation. Use commands directly instead of
3577 using $(format-me).
3578
3579 * aclocal.m4 (ACX_PKGVERSION): New macro.
3580 (ACX_BUGURL): Likewise.
3581 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3582 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3583 (REPORT_BUGS_TO): Likewise.
3584 * configure: Regenerated.
3585 * config.h.in (PKGVERSION): New macro.
3586 (REPORT_BUGS_TO): Likewise.
3587 * config.make.in (PKGVERSION): New variable.
3588 (PKGVERSION_TEXI): Likewise.
3589 (REPORT_BUGS_TO): Likewise.
3590 (REPORT_BUGS_TEXI): Likewise.
3591 * Makefile (format-me): Use -I$(common-objpfx)manual.
3592 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3593 ($(common-objpfx)manual/%): New target.
3594 (manual/%): Remove target.
3595 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3596 (print_version): Use PKGVERSION.
3597 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3598 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3599 and REPORT_BUGS_TO.
3600 ($(objpfx)xtrace): Likewise.
3601 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3602 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3603 (print_version): Use PKGVERSION.
3604 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3605 (do_version): Use PKGVERSION.
3606 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3607 REPORT_BUGS_TO.
3608 (common-ldd-rewrite): Likewise.
3609 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3610 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3611 (print_version): Use PKGVERSION.
3612 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3613 * elf/pldd.c (argp_program_bug_address): Remove variable.
3614 (more_help): New function.
3615 (argp): Use more_help.
3616 (print_version): Use PKGVERSION.
3617 * elf/sln.c (main): Use PKGVERSION.
3618 (usage): Use REPORT_BUGS_TO.
3619 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3620 (top level): Use PKGVERSION.
3621 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3622 (print_version): Use PKGVERSION.
3623 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3624 (print_version): Use PKGVERSION.
3625 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3626 (print_version): Use PKGVERSION.
3627 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3628 (print_version): Use PKGVERSION.
3629 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3630 (print_version): Use PKGVERSION.
3631 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3632 (print_version): Use PKGVERSION.
3633 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3634 and BUGURL.
3635 ($(objpfx)memusage): Likewise.
3636 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3637 (do_version): Use PKGVERSION.
3638 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3639 (print_version): Use PKGVERSION.
3640 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3641 ($PKGVERSION): New variable.
3642 ($REPORT_BUGS_TO): Likewise.
3643 (usage): Use $REPORT_BUGS_TO.
3644 (top level): Use $PKGVERSION.
3645 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3646 ($(objpfx)pkgvers.texi): New rule.
3647 ($(objpfx)stamp-pkgvers): Likewise.
3648 * manual/install.texi: Include pkgvers.texi.
3649 (--with-pkgversion): Document new configure option.
3650 (--with-bugurl): Likewise.
3651 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3652 than necessarily for this particular distribution. Use
3653 REPORT_BUGS_TO for where to report bugs.
3654 * INSTALL: Regenerated.
3655 * manual/libc.texinfo: Include pkgvers.texi.
3656 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3657 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3658 (print_version): Use PKGVERSION.
3659 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3660 (print_version): Use PKGVERSION.
3661 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3662 (print_version): Use PKGVERSION.
3663 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3664 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3665 macro.
3666 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3667 (print_version): Use PKGVERSION.
3668 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3669 (print_version): Use PKGVERSION.
3670 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3671 and PKGVERSION.
3672
3673 * timezone/checktab.awk: Update from tzcode 2012i.
3674 * timezone/ialloc.c: Likewise.
3675 * timezone/private.h: Likewise.
3676 * timezone/scheck.c: Likewise.
3677 * timezone/tzfile.h: Likewise.
3678 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3679 (TZVERSION): Hardcode tzcode version number.
3680 * timezone/zdump.c: Update from tzcode 2012i.
3681 * timezone/zic.c: Likewise.
3682 * timezone/version.h: New file.
3683 * timezone/README: Describe version.h. Update upstream location.
3684
3685 [BZ #14824]
3686 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3687 (mktemp): Enable declaration.
3688 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3689 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3690 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3691 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3692 Likewise.
3693 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3694 Likewise.
3695 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3696 Likewise.
3697 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3698 Likewise.
3699 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3700 Likewise.
3701 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3702 Likewise.
3703
3704 [BZ #14821]
3705 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3706 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3707 for copies of such integer values.
3708 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3709 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3710
3711 2012-11-09 Andreas Jaeger <aj@suse.de>
3712
3713 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3714 definitions and declarations that are provided by
3715 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3716
3717 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3718
3719 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
3720 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3721 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3722 definition.
3723
3724 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3725
3726 * elf/elf.h: Update comment before AArch64 relocations.
3727
3728 2012-11-07 David S. Miller <davem@davemloft.net>
3729
3730 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3731 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3732 (__start_context): Declare.
3733 (__makecontext_ret): Delete.
3734 (__makecontext): Hook up __start_context instead of
3735 __makecontext_ret.
3736 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3737 (sysdep_routines): Add __start_context when in stdlib.
3738
3739 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3740
3741 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3742 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3743 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3744 hardcoded "nm".
3745 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3746 (READELF): New variable. Use it instead of hardcoded "readelf".
3747
3748 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3749
3750 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3751 * sysdeps/x86/Makefile: Here.
3752 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3753 * sysdeps/x86/tst-xmmymm.sh: This.
3754
3755 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3756
3757 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3758 expectations.
3759 [UNIX98] (pthread_barrier_t): Do not expect.
3760 [UNIX98] (pthread_barrierattr_t): Likewise.
3761 [UNIX98] (pthread_spinlock_t): Likewise.
3762 [UNIX98] (pthread_barrier_destroy): Likewise.
3763 [UNIX98] (pthread_barrier_init): Likewise.
3764 [UNIX98] (pthread_barrier_wait): Likewise.
3765 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3766 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3767 [UNIX98] (pthread_barrierattr_init): Likewise.
3768 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3769 [UNIX98] (pthread_getcpuclockid): Likewise.
3770 [UNIX98] (pthread_mutex_timedlock): Likewise.
3771 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3772 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3773 [UNIX98] (pthread_sigmask): Likewise.
3774 [UNIX98] (pthread_spin_destroy): Likewise.
3775 [UNIX98] (pthread_spin_init): Likewise.
3776 [UNIX98] (pthread_spin_lock): Likewise.
3777 [UNIX98] (pthread_spin_trylock): Likewise.
3778 [UNIX98] (pthread_spin_unlock): Likewise.
3779 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3780 Do not expect.
3781 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3782 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3783 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3784 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3785 [XPG3 || XPG4] (pthread_key_t): Likewise.
3786 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3787 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3788 [XPG3 || XPG4] (pthread_once_t): Likewise.
3789 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3790 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3791 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3792 [XPG3 || XPG4] (pthread_t): Likewise.
3793
3794 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3795 not expect.
3796 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3797
3798 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3799 Change function return type to int.
3800
3801 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3802 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3803 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3804 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3805 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3806 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3807 [!POSIX] (posix_madvise): Likewise.
3808 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3809 && !UNIX98].
3810 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3811 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3812 (mode_t): Likewise.
3813 (posix_mem_offset): Likewise.
3814 (posix_typed_mem_get_info): Likewise.
3815 (posix_typed_mem_open): Likewise.
3816
3817 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3818 Change condition to [XOPEN2K8].
3819
3820 * conform/conformtest.pl: Preprocess allow-header data with -x c
3821 instead of from stdin.
3822 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3823 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3824 [C99-based standards] (cerfc): Likewise.
3825 [C99-based standards] (cexp2): Likewise.
3826 [C99-based standards] (cexpm1): Likewise.
3827 [C99-based standards] (clog10): Likewise.
3828 [C99-based standards] (clog1p): Likewise.
3829 [C99-based standards] (clog2): Likewise.
3830 [C99-based standards] (clgamma): Likewise.
3831 [C99-based standards] (ctgamma): Likewise.
3832 [C99-based standards] (cerff): Likewise.
3833 [C99-based standards] (cerfcf): Likewise.
3834 [C99-based standards] (cexp2f): Likewise.
3835 [C99-based standards] (cexpm1f): Likewise.
3836 [C99-based standards] (clog10f): Likewise.
3837 [C99-based standards] (clog1pf): Likewise.
3838 [C99-based standards] (clog2f): Likewise.
3839 [C99-based standards] (clgammaf): Likewise.
3840 [C99-based standards] (ctgammaf): Likewise.
3841 [C99-based standards] (cerfl): Likewise.
3842 [C99-based standards] (cerfcl): Likewise.
3843 [C99-based standards] (cexp2l): Likewise.
3844 [C99-based standards] (cexpm1l): Likewise.
3845 [C99-based standards] (clog10l): Likewise.
3846 [C99-based standards] (clog1pl): Likewise.
3847 [C99-based standards] (clog2l): Likewise.
3848 [C99-based standards] (clgammal): Likewise.
3849 [C99-based standards] (ctgammal): Likewise.
3850 * conform/data/inttypes.h-data [C99-based standards]: Include
3851 stdint.h-data. Remove all expectations for stdint.h contents.
3852 [C99-based standards] (PRI*): Do not allow.
3853 [C99-based standards] (SCN*): Likewise.
3854 [C99-based standards] (*_t): Likewise.
3855 [C99-based-standards] (PRId8): Expect macro.
3856 [C99-based-standards] (PRIi8): Likewise.
3857 [C99-based-standards] (PRIo8): Likewise.
3858 [C99-based-standards] (PRIu8): Likewise.
3859 [C99-based-standards] (PRIx8): Likewise.
3860 [C99-based-standards] (PRIX8): Likewise.
3861 [C99-based-standards] (SCNd8): Likewise.
3862 [C99-based-standards] (SCNi8): Likewise.
3863 [C99-based-standards] (SCNo8): Likewise.
3864 [C99-based-standards] (SCNu8): Likewise.
3865 [C99-based-standards] (SCNx8): Likewise.
3866 [C99-based-standards] (PRIdLEAST8): Likewise.
3867 [C99-based-standards] (PRIiLEAST8): Likewise.
3868 [C99-based-standards] (PRIoLEAST8): Likewise.
3869 [C99-based-standards] (PRIuLEAST8): Likewise.
3870 [C99-based-standards] (PRIxLEAST8): Likewise.
3871 [C99-based-standards] (PRIXLEAST8): Likewise.
3872 [C99-based-standards] (SCNdLEAST8): Likewise.
3873 [C99-based-standards] (SCNiLEAST8): Likewise.
3874 [C99-based-standards] (SCNoLEAST8): Likewise.
3875 [C99-based-standards] (SCNuLEAST8): Likewise.
3876 [C99-based-standards] (SCNxLEAST8): Likewise.
3877 [C99-based-standards] (PRIdFAST8): Likewise.
3878 [C99-based-standards] (PRIiFAST8): Likewise.
3879 [C99-based-standards] (PRIoFAST8): Likewise.
3880 [C99-based-standards] (PRIuFAST8): Likewise.
3881 [C99-based-standards] (PRIxFAST8): Likewise.
3882 [C99-based-standards] (PRIXFAST8): Likewise.
3883 [C99-based-standards] (SCNdFAST8): Likewise.
3884 [C99-based-standards] (SCNiFAST8): Likewise.
3885 [C99-based-standards] (SCNoFAST8): Likewise.
3886 [C99-based-standards] (SCNuFAST8): Likewise.
3887 [C99-based-standards] (SCNxFAST8): Likewise.
3888 [C99-based-standards] (PRId16): Likewise.
3889 [C99-based-standards] (PRIi16): Likewise.
3890 [C99-based-standards] (PRIo16): Likewise.
3891 [C99-based-standards] (PRIu16): Likewise.
3892 [C99-based-standards] (PRIx16): Likewise.
3893 [C99-based-standards] (PRIX16): Likewise.
3894 [C99-based-standards] (SCNd16): Likewise.
3895 [C99-based-standards] (SCNi16): Likewise.
3896 [C99-based-standards] (SCNo16): Likewise.
3897 [C99-based-standards] (SCNu16): Likewise.
3898 [C99-based-standards] (SCNx16): Likewise.
3899 [C99-based-standards] (PRIdLEAST16): Likewise.
3900 [C99-based-standards] (PRIiLEAST16): Likewise.
3901 [C99-based-standards] (PRIoLEAST16): Likewise.
3902 [C99-based-standards] (PRIuLEAST16): Likewise.
3903 [C99-based-standards] (PRIxLEAST16): Likewise.
3904 [C99-based-standards] (PRIXLEAST16): Likewise.
3905 [C99-based-standards] (SCNdLEAST16): Likewise.
3906 [C99-based-standards] (SCNiLEAST16): Likewise.
3907 [C99-based-standards] (SCNoLEAST16): Likewise.
3908 [C99-based-standards] (SCNuLEAST16): Likewise.
3909 [C99-based-standards] (SCNxLEAST16): Likewise.
3910 [C99-based-standards] (PRIdFAST16): Likewise.
3911 [C99-based-standards] (PRIiFAST16): Likewise.
3912 [C99-based-standards] (PRIoFAST16): Likewise.
3913 [C99-based-standards] (PRIuFAST16): Likewise.
3914 [C99-based-standards] (PRIxFAST16): Likewise.
3915 [C99-based-standards] (PRIXFAST16): Likewise.
3916 [C99-based-standards] (SCNdFAST16): Likewise.
3917 [C99-based-standards] (SCNiFAST16): Likewise.
3918 [C99-based-standards] (SCNoFAST16): Likewise.
3919 [C99-based-standards] (SCNuFAST16): Likewise.
3920 [C99-based-standards] (SCNxFAST16): Likewise.
3921 [C99-based-standards] (PRId32): Likewise.
3922 [C99-based-standards] (PRIi32): Likewise.
3923 [C99-based-standards] (PRIo32): Likewise.
3924 [C99-based-standards] (PRIu32): Likewise.
3925 [C99-based-standards] (PRIx32): Likewise.
3926 [C99-based-standards] (PRIX32): Likewise.
3927 [C99-based-standards] (SCNd32): Likewise.
3928 [C99-based-standards] (SCNi32): Likewise.
3929 [C99-based-standards] (SCNo32): Likewise.
3930 [C99-based-standards] (SCNu32): Likewise.
3931 [C99-based-standards] (SCNx32): Likewise.
3932 [C99-based-standards] (PRIdLEAST32): Likewise.
3933 [C99-based-standards] (PRIiLEAST32): Likewise.
3934 [C99-based-standards] (PRIoLEAST32): Likewise.
3935 [C99-based-standards] (PRIuLEAST32): Likewise.
3936 [C99-based-standards] (PRIxLEAST32): Likewise.
3937 [C99-based-standards] (PRIXLEAST32): Likewise.
3938 [C99-based-standards] (SCNdLEAST32): Likewise.
3939 [C99-based-standards] (SCNiLEAST32): Likewise.
3940 [C99-based-standards] (SCNoLEAST32): Likewise.
3941 [C99-based-standards] (SCNuLEAST32): Likewise.
3942 [C99-based-standards] (SCNxLEAST32): Likewise.
3943 [C99-based-standards] (PRIdFAST32): Likewise.
3944 [C99-based-standards] (PRIiFAST32): Likewise.
3945 [C99-based-standards] (PRIoFAST32): Likewise.
3946 [C99-based-standards] (PRIuFAST32): Likewise.
3947 [C99-based-standards] (PRIxFAST32): Likewise.
3948 [C99-based-standards] (PRIXFAST32): Likewise.
3949 [C99-based-standards] (SCNdFAST32): Likewise.
3950 [C99-based-standards] (SCNiFAST32): Likewise.
3951 [C99-based-standards] (SCNoFAST32): Likewise.
3952 [C99-based-standards] (SCNuFAST32): Likewise.
3953 [C99-based-standards] (SCNxFAST32): Likewise.
3954 [C99-based-standards] (PRId64): Likewise.
3955 [C99-based-standards] (PRIi64): Likewise.
3956 [C99-based-standards] (PRIo64): Likewise.
3957 [C99-based-standards] (PRIu64): Likewise.
3958 [C99-based-standards] (PRIx64): Likewise.
3959 [C99-based-standards] (PRIX64): Likewise.
3960 [C99-based-standards] (SCNd64): Likewise.
3961 [C99-based-standards] (SCNi64): Likewise.
3962 [C99-based-standards] (SCNo64): Likewise.
3963 [C99-based-standards] (SCNu64): Likewise.
3964 [C99-based-standards] (SCNx64): Likewise.
3965 [C99-based-standards] (PRIdLEAST64): Likewise.
3966 [C99-based-standards] (PRIiLEAST64): Likewise.
3967 [C99-based-standards] (PRIoLEAST64): Likewise.
3968 [C99-based-standards] (PRIuLEAST64): Likewise.
3969 [C99-based-standards] (PRIxLEAST64): Likewise.
3970 [C99-based-standards] (PRIXLEAST64): Likewise.
3971 [C99-based-standards] (SCNdLEAST64): Likewise.
3972 [C99-based-standards] (SCNiLEAST64): Likewise.
3973 [C99-based-standards] (SCNoLEAST64): Likewise.
3974 [C99-based-standards] (SCNuLEAST64): Likewise.
3975 [C99-based-standards] (SCNxLEAST64): Likewise.
3976 [C99-based-standards] (PRIdFAST64): Likewise.
3977 [C99-based-standards] (PRIiFAST64): Likewise.
3978 [C99-based-standards] (PRIoFAST64): Likewise.
3979 [C99-based-standards] (PRIuFAST64): Likewise.
3980 [C99-based-standards] (PRIxFAST64): Likewise.
3981 [C99-based-standards] (PRIXFAST64): Likewise.
3982 [C99-based-standards] (SCNdFAST64): Likewise.
3983 [C99-based-standards] (SCNiFAST64): Likewise.
3984 [C99-based-standards] (SCNoFAST64): Likewise.
3985 [C99-based-standards] (SCNuFAST64): Likewise.
3986 [C99-based-standards] (SCNxFAST64): Likewise.
3987 [C99-based-standards] (PRIdMAX): Likewise.
3988 [C99-based-standards] (PRIiMAX): Likewise.
3989 [C99-based-standards] (PRIoMAX): Likewise.
3990 [C99-based-standards] (PRIuMAX): Likewise.
3991 [C99-based-standards] (PRIxMAX): Likewise.
3992 [C99-based-standards] (PRIXMAX): Likewise.
3993 [C99-based-standards] (SCNdMAX): Likewise.
3994 [C99-based-standards] (SCNiMAX): Likewise.
3995 [C99-based-standards] (SCNoMAX): Likewise.
3996 [C99-based-standards] (SCNuMAX): Likewise.
3997 [C99-based-standards] (SCNxMAX): Likewise.
3998 [C99-based-standards] (PRIdPTR): Likewise.
3999 [C99-based-standards] (PRIiPTR): Likewise.
4000 [C99-based-standards] (PRIoPTR): Likewise.
4001 [C99-based-standards] (PRIuPTR): Likewise.
4002 [C99-based-standards] (PRIxPTR): Likewise.
4003 [C99-based-standards] (PRIXPTR): Likewise.
4004 [C99-based-standards] (SCNdPTR): Likewise.
4005 [C99-based-standards] (SCNiPTR): Likewise.
4006 [C99-based-standards] (SCNoPTR): Likewise.
4007 [C99-based-standards] (SCNuPTR): Likewise.
4008 [C99-based-standards] (SCNxPTR): Likewise.
4009 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4010 allow.
4011 * conform/data/stdint.h-data: Update comments to clarify
4012 requirements.
4013 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4014 type.
4015 [C99-based standards] (INT8_MAX): Likewise.
4016 [C99-based standards] (INT16_MIN): Likewise.
4017 [C99-based standards] (INT16_MAX): Likewise.
4018 [C99-based standards] (INT32_MIN): Likewise.
4019 [C99-based standards] (INT32_MAX): Likewise.
4020 [C99-based standards] (INT64_MIN): Likewise.
4021 [C99-based standards] (INT64_MAX): Likewise.
4022 [C99-based standards] (UINT8_MAX): Likewise.
4023 [C99-based standards] (UINT16_MAX): Likewise.
4024 [C99-based standards] (UINT32_MAX): Likewise.
4025 [C99-based standards] (UINT64_MAX): Likewise.
4026 [C99-based standards] (INT_LEAST8_MIN): Likewise.
4027 [C99-based standards] (INT_LEAST8_MAX): Likewise.
4028 [C99-based standards] (INT_LEAST16_MIN): Likewise.
4029 [C99-based standards] (INT_LEAST16_MAX): Likewise.
4030 [C99-based standards] (INT_LEAST32_MIN): Likewise.
4031 [C99-based standards] (INT_LEAST32_MAX): Likewise.
4032 [C99-based standards] (INT_LEAST64_MIN): Likewise.
4033 [C99-based standards] (INT_LEAST64_MAX): Likewise.
4034 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4035 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4036 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4037 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4038 [C99-based standards] (INT_FAST8_MIN): Likewise.
4039 [C99-based standards] (INT_FAST8_MAX): Likewise.
4040 [C99-based standards] (INT_FAST16_MIN): Likewise.
4041 [C99-based standards] (INT_FAST16_MAX): Likewise.
4042 [C99-based standards] (INT_FAST32_MIN): Likewise.
4043 [C99-based standards] (INT_FAST32_MAX): Likewise.
4044 [C99-based standards] (INT_FAST64_MIN): Likewise.
4045 [C99-based standards] (INT_FAST64_MAX): Likewise.
4046 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4047 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4048 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4049 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4050 [C99-based standards] (INTPTR_MIN): Likewise.
4051 [C99-based standards] (INTPTR_MAX): Likewise.
4052 [C99-based standards] (UINTPTR_MAX): Likewise.
4053 [C99-based standards] (INTMAX_MIN): Likewise.
4054 [C99-based standards] (INTMAX_MAX): Likewise.
4055 [C99-based standards] (UINTMAX_MAX): Likewise.
4056 [C99-based standards] (PTRDIFF_MIN): Likewise.
4057 [C99-based standards] (PTRDIFF_MAX): Likewise.
4058 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4059 [C99-based standards] (SIZE_MAX): Likewise.
4060 [C99-based standards] (WCHAR_MAX): Likewise.
4061 [C99-based standards] (WINT_MAX): Likewise.
4062 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4063 constraint on value.
4064 [C99-based standards] (WCHAR_MIN): Likewise.
4065 [C99-based standards] (WINT_MIN): Likewise.
4066 [C99-based standards] (*_t): Allow.
4067 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4068 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4069 Include math.h-data and complex.h-data. Remove all expectations
4070 of math.h and complex.h contents.
4071 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4072 at end of line.
4073 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4074 (struct tm): Expect tag.
4075 [C99-based-standards] (wcstof): Expect function.
4076 [C99-based-standards] (wcstold): Likewise.
4077 [C99-based-standards] (wcstoll): Likewise.
4078 [C99-based-standards] (wcstoull): Likewise.
4079 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4080 macro-int-constant. Specify type.
4081 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4082 constraint on value.
4083 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4084 Specify type.
4085 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4086 Specify value.
4087 [ISO C standards]: Do not allow headers.
4088 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4089 wcs[abcdefghijklmnopqrstuvwxyz]*.
4090 [ISO C standards] (*_t): Do not allow.
4091 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4092 Expect function.
4093 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4094 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4095 Specify type.
4096 [ISO C standards]: Do not allow headers.
4097 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4098 is[abcdefghijklmnopqrstuvwxyz]*.
4099 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4100 to[abcdefghijklmnopqrstuvwxyz]*.
4101 [ISO C standards] (*_t): Do not allow.
4102 * conform/data/stdalign.h-data: New file.
4103 * conform/data/stdbool.h-data: Likewise.
4104 * conform/data/stdnoreturn.h-data: Likewise.
4105
4106 2012-11-07 Roland McGrath <roland@hack.frob.com>
4107
4108 [BZ #14815]
4109 * manual/filesys.texi (Directory Entries): Typo fix.
4110 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4111
4112 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4113
4114 * elf/elf.h (EM_AARCH64): New macro.
4115 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4116 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4117 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4118 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4119 (R_AARCH64_TLSDESC): Likewise.
4120 (NT_ARM_TLS): Likewise.
4121 (NT_ARM_HW_BREAK): Likewise.
4122 (NT_ARM_HW_WATCH): Likewise.
4123
4124 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4125
4126 [BZ #14811]
4127 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4128 (__ieee754_powl): Saturate nonzero exponents with absolute value
4129 below 0x1p-79 to +/- 0x1p-79.
4130 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4131 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4132 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4133 nonzero exponents with absolute value below 0x1p-32 to +/-
4134 0x1p-32.
4135 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4136 (__ieee754_powl): Saturate nonzero exponents with absolute value
4137 below 0x1p-79 to +/- 0x1p-79.
4138 * math/libm-test.inc (pow_test): Add more tests.
4139
4140 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4141
4142 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4143 _dl_s390_cap_flags with kernel. Increase string length.
4144 (_dl_s390_platforms): Add z196 and zEC12.
4145
4146 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4147
4148 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4149 Change XOPEN21K to XOPEN2K.
4150
4151 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4152
4153 * string/memmove.c: Use memcpy when possible.
4154
4155 2012-11-06 Andreas Jaeger <aj@suse.de>
4156
4157 * po/eo.po: Update from translation team.
4158
4159 2012-11-06 Joseph Myers <joseph@codesourcery.com>
4160
4161 [BZ #14793]
4162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4163 exponent and small x and y exponents, scale x or y up. Increase
4164 by 2 the exponent used in scaling up.
4165 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4166 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4167 * math/libm-test.inc (fma_test): Add more tests.
4168 (fma_test_towardzero): Likewise.
4169 (fma_test_downward): Likewise.
4170 (fma_test_upward): Likewise.
4171
4172 2012-11-05 Joseph Myers <joseph@codesourcery.com>
4173
4174 [BZ #14805]
4175 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4176 fenv_t *.
4177
4178 [BZ #14801]
4179 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4180 namespace for names of struct fields.
4181 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4182 fenv_t fields.
4183 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4184 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4185
4186 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4187
4188 [BZ #3665]
4189 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4190
4191 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4192
4193 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4194 PTR_DEMANGLE.
4195
4196 [BZ #5246]
4197 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4198 PTR_DEMANGLE.
4199
4200 2012-11-04 Joseph Myers <joseph@codesourcery.com>
4201
4202 [BZ #14797]
4203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4204 definitely overflow as x * y not x * y + z.
4205 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4206 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4207 * math/libm-test.inc (fma_test): Add more tests.
4208 (fma_test_towardzero): Likewise.
4209 (fma_test_downward): Likewise.
4210 (fma_test_upward): Likewise.
4211
4212 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4213
4214 [BZ #157]
4215
4216 * include/stub-tag.h: Remove file.
4217 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4218 '#include' of it.
4219 * manual/maint.texi (Porting): Don't reference it.
4220 * Makerules ($(objpfx)stubs): Likewise.
4221 * dirent/closedir.c: Don't include <stub-tag.h>.
4222 * dirent/dirfd.c: Likewise.
4223 * dirent/fdopendir.c: Likewise.
4224 * dirent/getdents.c: Likewise.
4225 * dirent/getdents64.c: Likewise.
4226 * dirent/opendir.c: Likewise.
4227 * dirent/readdir.c: Likewise.
4228 * dirent/readdir64.c: Likewise.
4229 * dirent/readdir64_r.c: Likewise.
4230 * dirent/readdir_r.c: Likewise.
4231 * dirent/rewinddir.c: Likewise.
4232 * dirent/seekdir.c: Likewise.
4233 * dirent/telldir.c: Likewise.
4234 * gmon/profil.c: Likewise.
4235 * grp/setgroups.c: Likewise.
4236 * inet/if_index.c: Likewise.
4237 * io/access.c: Likewise.
4238 * io/chdir.c: Likewise.
4239 * io/chmod.c: Likewise.
4240 * io/chown.c: Likewise.
4241 * io/close.c: Likewise.
4242 * io/dup.c: Likewise.
4243 * io/dup2.c: Likewise.
4244 * io/dup3.c: Likewise.
4245 * io/euidaccess.c: Likewise.
4246 * io/faccessat.c: Likewise.
4247 * io/fchdir.c: Likewise.
4248 * io/fchmod.c: Likewise.
4249 * io/fchmodat.c: Likewise.
4250 * io/fchown.c: Likewise.
4251 * io/fchownat.c: Likewise.
4252 * io/fcntl.c: Likewise.
4253 * io/flock.c: Likewise.
4254 * io/fstatfs.c: Likewise.
4255 * io/fstatfs64.c: Likewise.
4256 * io/fstatvfs.c: Likewise.
4257 * io/fstatvfs64.c: Likewise.
4258 * io/futimens.c: Likewise.
4259 * io/fxstat.c: Likewise.
4260 * io/fxstat64.c: Likewise.
4261 * io/fxstatat.c: Likewise.
4262 * io/fxstatat64.c: Likewise.
4263 * io/getcwd.c: Likewise.
4264 * io/isatty.c: Likewise.
4265 * io/lchmod.c: Likewise.
4266 * io/lchown.c: Likewise.
4267 * io/link.c: Likewise.
4268 * io/linkat.c: Likewise.
4269 * io/lseek.c: Likewise.
4270 * io/lseek64.c: Likewise.
4271 * io/lxstat64.c: Likewise.
4272 * io/mkdir.c: Likewise.
4273 * io/mkdirat.c: Likewise.
4274 * io/mkfifo.c: Likewise.
4275 * io/mkfifoat.c: Likewise.
4276 * io/open.c: Likewise.
4277 * io/open64.c: Likewise.
4278 * io/openat.c: Likewise.
4279 * io/openat64.c: Likewise.
4280 * io/pipe.c: Likewise.
4281 * io/pipe2.c: Likewise.
4282 * io/poll.c: Likewise.
4283 * io/posix_fadvise.c: Likewise.
4284 * io/posix_fadvise64.c: Likewise.
4285 * io/posix_fallocate.c: Likewise.
4286 * io/posix_fallocate64.c: Likewise.
4287 * io/read.c: Likewise.
4288 * io/readlink.c: Likewise.
4289 * io/readlinkat.c: Likewise.
4290 * io/rmdir.c: Likewise.
4291 * io/sendfile.c: Likewise.
4292 * io/sendfile64.c: Likewise.
4293 * io/statfs.c: Likewise.
4294 * io/statfs64.c: Likewise.
4295 * io/statvfs.c: Likewise.
4296 * io/statvfs64.c: Likewise.
4297 * io/symlink.c: Likewise.
4298 * io/symlinkat.c: Likewise.
4299 * io/ttyname.c: Likewise.
4300 * io/ttyname_r.c: Likewise.
4301 * io/umask.c: Likewise.
4302 * io/unlink.c: Likewise.
4303 * io/unlinkat.c: Likewise.
4304 * io/utime.c: Likewise.
4305 * io/utimensat.c: Likewise.
4306 * io/write.c: Likewise.
4307 * io/xmknod.c: Likewise.
4308 * io/xmknodat.c: Likewise.
4309 * io/xstat.c: Likewise.
4310 * io/xstat64.c: Likewise.
4311 * login/getpt.c: Likewise.
4312 * login/grantpt.c: Likewise.
4313 * login/unlockpt.c: Likewise.
4314 * math/e_acoshl.c: Likewise.
4315 * math/e_acosl.c: Likewise.
4316 * math/e_asinl.c: Likewise.
4317 * math/e_atan2l.c: Likewise.
4318 * math/e_atanhl.c: Likewise.
4319 * math/e_coshl.c: Likewise.
4320 * math/e_expl.c: Likewise.
4321 * math/e_fmodl.c: Likewise.
4322 * math/e_gammal_r.c: Likewise.
4323 * math/e_hypotl.c: Likewise.
4324 * math/e_j0l.c: Likewise.
4325 * math/e_j1l.c: Likewise.
4326 * math/e_jnl.c: Likewise.
4327 * math/e_lgammal_r.c: Likewise.
4328 * math/e_log10l.c: Likewise.
4329 * math/e_log2l.c: Likewise.
4330 * math/e_logl.c: Likewise.
4331 * math/e_powl.c: Likewise.
4332 * math/e_rem_pio2l.c: Likewise.
4333 * math/e_sinhl.c: Likewise.
4334 * math/e_sqrtl.c: Likewise.
4335 * math/fclrexcpt.c: Likewise.
4336 * math/fedisblxcpt.c: Likewise.
4337 * math/feenablxcpt.c: Likewise.
4338 * math/fegetenv.c: Likewise.
4339 * math/fegetexcept.c: Likewise.
4340 * math/fegetround.c: Likewise.
4341 * math/feholdexcpt.c: Likewise.
4342 * math/fesetenv.c: Likewise.
4343 * math/fesetround.c: Likewise.
4344 * math/feupdateenv.c: Likewise.
4345 * math/fgetexcptflg.c: Likewise.
4346 * math/fraiseexcpt.c: Likewise.
4347 * math/fsetexcptflg.c: Likewise.
4348 * math/ftestexcept.c: Likewise.
4349 * math/k_cosl.c: Likewise.
4350 * math/k_rem_pio2l.c: Likewise.
4351 * math/k_sinl.c: Likewise.
4352 * math/k_tanl.c: Likewise.
4353 * math/s_asinhl.c: Likewise.
4354 * math/s_atanl.c: Likewise.
4355 * math/s_cbrtl.c: Likewise.
4356 * math/s_erfl.c: Likewise.
4357 * math/s_expm1l.c: Likewise.
4358 * math/s_log1pl.c: Likewise.
4359 * math/s_tanhl.c: Likewise.
4360 * misc/acct.c: Likewise.
4361 * misc/brk.c: Likewise.
4362 * misc/chflags.c: Likewise.
4363 * misc/chroot.c: Likewise.
4364 * misc/fchflags.c: Likewise.
4365 * misc/fgetxattr.c: Likewise.
4366 * misc/flistxattr.c: Likewise.
4367 * misc/fremovexattr.c: Likewise.
4368 * misc/fsetxattr.c: Likewise.
4369 * misc/fsync.c: Likewise.
4370 * misc/ftruncate.c: Likewise.
4371 * misc/futimes.c: Likewise.
4372 * misc/futimesat.c: Likewise.
4373 * misc/getdomain.c: Likewise.
4374 * misc/getdtsz.c: Likewise.
4375 * misc/gethostid.c: Likewise.
4376 * misc/gethostname.c: Likewise.
4377 * misc/getloadavg.c: Likewise.
4378 * misc/getpagesize.c: Likewise.
4379 * misc/getsysstats.c: Likewise.
4380 * misc/getxattr.c: Likewise.
4381 * misc/gtty.c: Likewise.
4382 * misc/ioctl.c: Likewise.
4383 * misc/lgetxattr.c: Likewise.
4384 * misc/listxattr.c: Likewise.
4385 * misc/llistxattr.c: Likewise.
4386 * misc/lremovexattr.c: Likewise.
4387 * misc/lsetxattr.c: Likewise.
4388 * misc/lutimes.c: Likewise.
4389 * misc/madvise.c: Likewise.
4390 * misc/mincore.c: Likewise.
4391 * misc/mlock.c: Likewise.
4392 * misc/mlockall.c: Likewise.
4393 * misc/mmap.c: Likewise.
4394 * misc/mprotect.c: Likewise.
4395 * misc/msync.c: Likewise.
4396 * misc/munlock.c: Likewise.
4397 * misc/munlockall.c: Likewise.
4398 * misc/munmap.c: Likewise.
4399 * misc/preadv.c: Likewise.
4400 * misc/preadv64.c: Likewise.
4401 * misc/ptrace.c: Likewise.
4402 * misc/pwritev.c: Likewise.
4403 * misc/pwritev64.c: Likewise.
4404 * misc/readv.c: Likewise.
4405 * misc/reboot.c: Likewise.
4406 * misc/remap_file_pages.c: Likewise.
4407 * misc/removexattr.c: Likewise.
4408 * misc/revoke.c: Likewise.
4409 * misc/select.c: Likewise.
4410 * misc/setdomain.c: Likewise.
4411 * misc/setegid.c: Likewise.
4412 * misc/seteuid.c: Likewise.
4413 * misc/sethostid.c: Likewise.
4414 * misc/sethostname.c: Likewise.
4415 * misc/setregid.c: Likewise.
4416 * misc/setreuid.c: Likewise.
4417 * misc/setxattr.c: Likewise.
4418 * misc/sstk.c: Likewise.
4419 * misc/stty.c: Likewise.
4420 * misc/swapoff.c: Likewise.
4421 * misc/swapon.c: Likewise.
4422 * misc/sync.c: Likewise.
4423 * misc/syncfs.c: Likewise.
4424 * misc/syscall.c: Likewise.
4425 * misc/truncate.c: Likewise.
4426 * misc/ualarm.c: Likewise.
4427 * misc/usleep.c: Likewise.
4428 * misc/ustat.c: Likewise.
4429 * misc/utimes.c: Likewise.
4430 * misc/vhangup.c: Likewise.
4431 * misc/writev.c: Likewise.
4432 * posix/_exit.c: Likewise.
4433 * posix/alarm.c: Likewise.
4434 * posix/execve.c: Likewise.
4435 * posix/fexecve.c: Likewise.
4436 * posix/fork.c: Likewise.
4437 * posix/fpathconf.c: Likewise.
4438 * posix/getaddrinfo.c: Likewise.
4439 * posix/getegid.c: Likewise.
4440 * posix/geteuid.c: Likewise.
4441 * posix/getgid.c: Likewise.
4442 * posix/getgroups.c: Likewise.
4443 * posix/getlogin.c: Likewise.
4444 * posix/getlogin_r.c: Likewise.
4445 * posix/getpgid.c: Likewise.
4446 * posix/getpid.c: Likewise.
4447 * posix/getppid.c: Likewise.
4448 * posix/getresgid.c: Likewise.
4449 * posix/getresuid.c: Likewise.
4450 * posix/getsid.c: Likewise.
4451 * posix/getuid.c: Likewise.
4452 * posix/glob64.c: Likewise.
4453 * posix/nanosleep.c: Likewise.
4454 * posix/pathconf.c: Likewise.
4455 * posix/pause.c: Likewise.
4456 * posix/posix_madvise.c: Likewise.
4457 * posix/pread.c: Likewise.
4458 * posix/pread64.c: Likewise.
4459 * posix/pwrite.c: Likewise.
4460 * posix/pwrite64.c: Likewise.
4461 * posix/sched_getaffinity.c: Likewise.
4462 * posix/sched_getp.c: Likewise.
4463 * posix/sched_gets.c: Likewise.
4464 * posix/sched_primax.c: Likewise.
4465 * posix/sched_primin.c: Likewise.
4466 * posix/sched_rr_gi.c: Likewise.
4467 * posix/sched_setaffinity.c: Likewise.
4468 * posix/sched_setp.c: Likewise.
4469 * posix/sched_sets.c: Likewise.
4470 * posix/sched_yield.c: Likewise.
4471 * posix/setgid.c: Likewise.
4472 * posix/setlogin.c: Likewise.
4473 * posix/setpgid.c: Likewise.
4474 * posix/setresgid.c: Likewise.
4475 * posix/setresuid.c: Likewise.
4476 * posix/setsid.c: Likewise.
4477 * posix/setuid.c: Likewise.
4478 * posix/sleep.c: Likewise.
4479 * posix/spawni.c: Likewise.
4480 * posix/sysconf.c: Likewise.
4481 * posix/times.c: Likewise.
4482 * posix/wait.c: Likewise.
4483 * posix/wait3.c: Likewise.
4484 * posix/wait4.c: Likewise.
4485 * posix/waitpid.c: Likewise.
4486 * resolv/gai_sigqueue.c: Likewise.
4487 * resource/getpriority.c: Likewise.
4488 * resource/getrlimit.c: Likewise.
4489 * resource/getrusage.c: Likewise.
4490 * resource/nice.c: Likewise.
4491 * resource/setpriority.c: Likewise.
4492 * resource/setrlimit.c: Likewise.
4493 * resource/ulimit.c: Likewise.
4494 * rt/aio_cancel.c: Likewise.
4495 * rt/aio_fsync.c: Likewise.
4496 * rt/aio_read.c: Likewise.
4497 * rt/aio_sigqueue.c: Likewise.
4498 * rt/aio_suspend.c: Likewise.
4499 * rt/aio_write.c: Likewise.
4500 * rt/clock_getres.c: Likewise.
4501 * rt/clock_gettime.c: Likewise.
4502 * rt/clock_nanosleep.c: Likewise.
4503 * rt/clock_settime.c: Likewise.
4504 * rt/lio_listio.c: Likewise.
4505 * rt/mq_close.c: Likewise.
4506 * rt/mq_getattr.c: Likewise.
4507 * rt/mq_notify.c: Likewise.
4508 * rt/mq_open.c: Likewise.
4509 * rt/mq_receive.c: Likewise.
4510 * rt/mq_send.c: Likewise.
4511 * rt/mq_setattr.c: Likewise.
4512 * rt/mq_timedreceive.c: Likewise.
4513 * rt/mq_timedsend.c: Likewise.
4514 * rt/mq_unlink.c: Likewise.
4515 * rt/shm_open.c: Likewise.
4516 * rt/shm_unlink.c: Likewise.
4517 * rt/timer_create.c: Likewise.
4518 * rt/timer_delete.c: Likewise.
4519 * rt/timer_getoverr.c: Likewise.
4520 * rt/timer_gettime.c: Likewise.
4521 * rt/timer_settime.c: Likewise.
4522 * setjmp/__longjmp.c: Likewise.
4523 * setjmp/setjmp.c: Likewise.
4524 * signal/kill.c: Likewise.
4525 * signal/killpg.c: Likewise.
4526 * signal/raise.c: Likewise.
4527 * signal/sigaction.c: Likewise.
4528 * signal/sigaltstack.c: Likewise.
4529 * signal/sigblock.c: Likewise.
4530 * signal/sigignore.c: Likewise.
4531 * signal/sigintr.c: Likewise.
4532 * signal/signal.c: Likewise.
4533 * signal/sigpause.c: Likewise.
4534 * signal/sigpending.c: Likewise.
4535 * signal/sigqueue.c: Likewise.
4536 * signal/sigreturn.c: Likewise.
4537 * signal/sigset.c: Likewise.
4538 * signal/sigsetmask.c: Likewise.
4539 * signal/sigstack.c: Likewise.
4540 * signal/sigsuspend.c: Likewise.
4541 * signal/sigtimedwait.c: Likewise.
4542 * signal/sigvec.c: Likewise.
4543 * signal/sigwait.c: Likewise.
4544 * signal/sigwaitinfo.c: Likewise.
4545 * signal/sysv_signal.c: Likewise.
4546 * socket/accept.c: Likewise.
4547 * socket/accept4.c: Likewise.
4548 * socket/bind.c: Likewise.
4549 * socket/connect.c: Likewise.
4550 * socket/getpeername.c: Likewise.
4551 * socket/getsockname.c: Likewise.
4552 * socket/getsockopt.c: Likewise.
4553 * socket/isfdtype.c: Likewise.
4554 * socket/listen.c: Likewise.
4555 * socket/recv.c: Likewise.
4556 * socket/recvfrom.c: Likewise.
4557 * socket/recvmsg.c: Likewise.
4558 * socket/send.c: Likewise.
4559 * socket/sendmsg.c: Likewise.
4560 * socket/sendto.c: Likewise.
4561 * socket/setsockopt.c: Likewise.
4562 * socket/shutdown.c: Likewise.
4563 * socket/sockatmark.c: Likewise.
4564 * socket/socket.c: Likewise.
4565 * socket/socketpair.c: Likewise.
4566 * stdio-common/ctermid.c: Likewise.
4567 * stdio-common/cuserid.c: Likewise.
4568 * stdio-common/remove.c: Likewise.
4569 * stdio-common/rename.c: Likewise.
4570 * stdio-common/renameat.c: Likewise.
4571 * stdio-common/tempname.c: Likewise.
4572 * stdlib/getcontext.c: Likewise.
4573 * stdlib/makecontext.c: Likewise.
4574 * stdlib/setcontext.c: Likewise.
4575 * stdlib/swapcontext.c: Likewise.
4576 * stdlib/system.c: Likewise.
4577 * streams/fattach.c: Likewise.
4578 * streams/fdetach.c: Likewise.
4579 * streams/getmsg.c: Likewise.
4580 * streams/getpmsg.c: Likewise.
4581 * streams/putmsg.c: Likewise.
4582 * streams/putpmsg.c: Likewise.
4583 * sysdeps/unix/bsd/getpt.c: Likewise.
4584 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4585 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4586 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4588 Likewise.
4589 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4590 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4591 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4592 * sysvipc/msgctl.c: Likewise.
4593 * sysvipc/msgget.c: Likewise.
4594 * sysvipc/msgrcv.c: Likewise.
4595 * sysvipc/msgsnd.c: Likewise.
4596 * sysvipc/semctl.c: Likewise.
4597 * sysvipc/semget.c: Likewise.
4598 * sysvipc/semop.c: Likewise.
4599 * sysvipc/semtimedop.c: Likewise.
4600 * sysvipc/shmat.c: Likewise.
4601 * sysvipc/shmctl.c: Likewise.
4602 * sysvipc/shmdt.c: Likewise.
4603 * sysvipc/shmget.c: Likewise.
4604 * termios/tcdrain.c: Likewise.
4605 * termios/tcflow.c: Likewise.
4606 * termios/tcflush.c: Likewise.
4607 * termios/tcgetattr.c: Likewise.
4608 * termios/tcgetpgrp.c: Likewise.
4609 * termios/tcsendbrk.c: Likewise.
4610 * termios/tcsetattr.c: Likewise.
4611 * termios/tcsetpgrp.c: Likewise.
4612 * time/adjtime.c: Likewise.
4613 * time/clock.c: Likewise.
4614 * time/getitimer.c: Likewise.
4615 * time/gettimeofday.c: Likewise.
4616 * time/setitimer.c: Likewise.
4617 * time/settimeofday.c: Likewise.
4618 * time/stime.c: Likewise.
4619 * time/time.c: Likewise.
4620
4621 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
4622
4623 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4624 /usr/old/bin.
4625
4626 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4627 instead of spaces.
4628 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4629
4630 2012-11-03 Joseph Myers <joseph@codesourcery.com>
4631
4632 [BZ #14796]
4633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4634 FE_TONEAREST before applying Dekker multiplication and Knuth
4635 addition. Clear inexact exceptions and check for exact zero
4636 results afterwards.
4637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4638 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4639 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4640 * math/libm-test.inc (fma_test): Add more tests.
4641 (fma_test_towardzero): Likewise.
4642 (fma_test_downward): Likewise.
4643 (fma_test_upward): Likewise.
4644 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4645 function.
4646 (libc_fesetround): New macro.
4647 (libc_fesetroundf): Likewise.
4648 (libc_fesetroundl): Likewise.
4649 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4650 function.
4651 (libc_fesetround_387): Likewise.
4652 (libc_fesetroundf): New macro.
4653 (libc_fesetround): Likewise.
4654 (libc_fesetroundl): Likewise.
4655 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4656 function.
4657 (libc_fesetroundf): New macro.
4658 (libc_fesetround): Likewise.
4659 (libc_fesetroundl): Likewise.
4660 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4661 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4662 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4663 libm_hidden_ver.
4664 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4665 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4666 libm_hidden_def.
4667 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4668 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4669 libm_hidden_ver.
4670 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4671 libm_hidden_def.
4672
4673 [BZ #3439]
4674 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4675 integer constant usable in #if and use that to give value to enum
4676 constant.
4677 (FE_DIVBYZERO): Likewise.
4678 (FE_UNDERFLOW): Likewise.
4679 (FE_OVERFLOW): Likewise.
4680 (FE_INVALID): Likewise.
4681 (FE_INVALID_SNAN): Likewise.
4682 (FE_INVALID_ISI): Likewise.
4683 (FE_INVALID_IDI): Likewise.
4684 (FE_INVALID_ZDZ): Likewise.
4685 (FE_INVALID_IMZ): Likewise.
4686 (FE_INVALID_COMPARE): Likewise.
4687 (FE_INVALID_SOFTWARE): Likewise.
4688 (FE_INVALID_SQRT): Likewise.
4689 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4690 (FE_TONEAREST): Likewise.
4691 (FE_TOWARDZERO): Likewise.
4692 (FE_UPWARD): Likewise.
4693 (FE_DOWNWARD): Likewise.
4694 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4695 (FE_DIVBYZERO): Likewise.
4696 (FE_OVERFLOW): Likewise.
4697 (FE_UNDERFLOW): Likewise.
4698 (FE_INEXACT): Likewise.
4699 (FE_TONEAREST): Likewise.
4700 (FE_DOWNWARD): Likewise.
4701 (FE_UPWARD): Likewise.
4702 (FE_TOWARDZERO): Likewise.
4703 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4704 (FE_UNDERFLOW): Likewise.
4705 (FE_OVERFLOW): Likewise.
4706 (FE_DIVBYZERO): Likewise.
4707 (FE_INVALID): Likewise.
4708 (FE_TONEAREST): Likewise.
4709 (FE_TOWARDZERO): Likewise.
4710 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4711 (FE_OVERFLOW): Likewise.
4712 (FE_UNDERFLOW): Likewise.
4713 (FE_DIVBYZERO): Likewise.
4714 (FE_INEXACT): Likewise.
4715 (FE_TONEAREST): Likewise.
4716 (FE_TOWARDZERO): Likewise.
4717 (FE_UPWARD): Likewise.
4718 (FE_DOWNWARD): Likewise.
4719 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4720 (FE_DIVBYZERO): Likewise.
4721 (FE_OVERFLOW): Likewise.
4722 (FE_UNDERFLOW): Likewise.
4723 (FE_INEXACT): Likewise.
4724 (FE_TONEAREST): Likewise.
4725 (FE_DOWNWARD): Likewise.
4726 (FE_UPWARD): Likewise.
4727 (FE_TOWARDZERO): Likewise.
4728
4729 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4730
4731 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4732
4733 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4734
4735 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4736 commands. Quote $PWD.
4737 (blacklist_exports): Don't use remove_newlines. Replace "declare
4738 -x" by "export".
4739 (remove_newlines): Remove.
4740
4741 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4742
4743 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4744 * stdlib/stdlib.h (atof): Moved to ...
4745 * include/bits/stdlib-float.h: Here. New file.
4746 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4747 * stdlib/bits/stdlib-float.h: New file.
4748 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4749 -mno-sse -mno-mmx.
4750 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4751 <xmmintrin.h>.
4752
4753 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4754
4755 * conform/conformtest.pl (@headers): Add fenv.h.
4756 * conform/data/fenv.h-data: New file.
4757 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4758 include of <math/fenv.h>.
4759
4760 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4761 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4762 && !UNIX98]. Enables tests for XOPEN2K8.
4763 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4764 POSIX2008]: Likewise.
4765
4766 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4767 (struct rusage): Do not expect type or its members.
4768
4769 [BZ #3439]
4770 * math/math.h (FP_NAN): Define macro to integer constant usable in
4771 #if and use that to give value to enum constant.
4772 (FP_INFINITE): Likewise.
4773 (FP_ZERO): Likewise.
4774 (FP_SUBNORMAL): Likewise.
4775 (FP_NORMAL): Likewise.
4776
4777 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4778
4779 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4780 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4781 arguments.
4782
4783 2012-11-02 Roland McGrath <roland@hack.frob.com>
4784
4785 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4786 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4787 autoconf-time if not.
4788 * configure.in: Remove AC_PREREQ.
4789
4790 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4791
4792 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4793 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4794 of the internal implementation.
4795
4796 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4797
4798 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4799 except include of <misc/sys/syslog.h>.
4800
4801 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4802
4803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4804 function returns with a NULL context exit with zero.
4805
4806 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4807
4808 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4809
4810 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4811
4812 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4813 (run_program_cmd): This.
4814 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4815 (tst_langinfo): New variable. Use it.
4816
4817 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4818
4819 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4820 floating point opcodes.
4821
4822 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4823
4824 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4825 variable.
4826
4827 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4828
4829 * sysdeps/mach/hurd/powerpc: Remove directory.
4830 * sysdeps/mach/powerpc: Likewise.
4831
4832 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4833
4834 * scripts/check-local-headers.sh: Ignore c++ headers.
4835
4836 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4837
4838 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4839 __libc_cleanup_region_start argument.
4840
4841 2012-11-01 Joseph Myers <joseph@codesourcery.com>
4842
4843 [BZ #14784]
4844 [BZ #14785]
4845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4846 x * y using scaling, not as x * y + z.
4847 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4848 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4849 * math/libm-test.inc (fma_test): Add more tests.
4850 (fma_test_towardzero): Likewise.
4851 (fma_test_downward): Likewise.
4852 (fma_test_upward): Likewise.
4853
4854 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4855
4856 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4857
4858 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4859
4860 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4861 New variable.
4862
4863 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4864
4865 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4866
4867 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4868
4869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4870 Fix sort order.
4871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4872 Likewise.
4873
4874 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4875
4876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4877 Fix the order of the list for glibc 2.17.
4878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4879 Likewise.
4880
4881 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4882
4883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4884
4885 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4886
4887 [BZ #14610]
4888 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4889 for low part of x being zero before using __atanl (y).
4890 * math/libm-test.inc (atan2_test): Add another test.
4891
4892 * manual/install.texi (Configuring and compiling): Document
4893 general use of test-wrapper and test-wrapper-env.
4894 * INSTALL: Regenerated.
4895
4896 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4897 (__fma): Do not extract and scale down low bits on after-rounding
4898 systems when result rounded to normal precision would have normal
4899 exponent.
4900 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4901 (__fmal): Do not extract and scale down low bits on after-rounding
4902 systems when result rounded to normal precision would have normal
4903 exponent.
4904 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4905 (__fmal): Do not extract and scale down low bits on after-rounding
4906 systems when result rounded to normal precision would have normal
4907 exponent.
4908 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4909 macro.
4910 (fma_test): Add more tests.
4911 (fma_test_towardzero): Likewise.
4912 (fma_test_downward): Likewise.
4913 (fma_test_upward): Likewise.
4914
4915 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4916
4917 * sysdeps/i386/tininess.h: Renamed to ...
4918 * sysdeps/x86/tininess.h: This.
4919 * sysdeps/x86_64/tininess.h: Removed.
4920
4921 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4922
4923 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4924 input. Use $(build-program-cmd).
4925 ($(objpfx)tst-array1-static.out): Likewise.
4926 ($(objpfx)tst-array2.out): Likewise.
4927 ($(objpfx)tst-array3.out): Likewise.
4928 ($(objpfx)tst-array4.out): Likewise.
4929 ($(objpfx)tst-array5.out): Likewise.
4930 ($(objpfx)tst-array5-static.out): Likewise.
4931
4932 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4933
4934 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4935 if defined.
4936
4937 * nss/nsswitch.h (nss_interface_function): Provide new
4938 macro for use with NSS functions.
4939 * grp/initgroups.c: Use new macro.
4940 * nss/getXXbyYY.c: Likewise.
4941 * nss/getXXbyYY_r.c: Likewise.
4942 * nss/getXXent.c: Likewise.
4943 * nss/getXXent_r.c: Likewise.
4944 * sysdeps/posix/getaddrinfo.c: Likewise.
4945
4946 2012-10-30 Andreas Jaeger <aj@suse.de>
4947
4948 * po/ru.po: Update Russion translation from translation project.
4949
4950 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4951
4952 [BZ #14152]
4953 [BZ #14783]
4954 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4955 result and shift together with sticky bit instead of replicating
4956 round-to-nearest rounding.
4957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4958 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4959 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4960 missing underflow exceptions.
4961 (fma_test_towardzero): Add more tests.
4962 (fma_test_downward): Likewise.
4963 (fma_test_upward): Likewise.
4964
4965 [BZ #14047]
4966 * sysdeps/generic/tininess.h: New file.
4967 * sysdeps/i386/tininess.h: Likewise.
4968 * sysdeps/sh/tininess.h: Likewise.
4969 * sysdeps/x86_64/tininess.h: Likewise.
4970 * stdlib/tst-strtod-underflow.c: Likewise.
4971 * stdlib/tst-tininess.c: Likewise.
4972 * stdlib/strtod_l.c: Include <tininess.h>.
4973 (round_and_return): Do not set errno for exact underflow cases.
4974 Force an underflow exception when setting errno for underflow.
4975 Determine underflow based on rounding to normal precision if
4976 TININESS_AFTER_ROUNDING.
4977 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4978 ERANGE for exact underflow cases.
4979 * stdlib/Makefile (tests): Add tst-tininess and
4980 tst-strtod-underflow.
4981 ($(objpfx)tst-tininess): Use $(link-libm).
4982 ($(objpfx)tst-strtod-underflow): Likewise.
4983
4984 2012-10-30 Andreas Jaeger <aj@suse.de>
4985
4986 [BZ#14767]
4987 * elf/Makefile (tests): Remove conditional for have-initfini-array
4988 since this is now always required and the variable does not exist
4989 anymore.
4990 (tests-static): Likewise.
4991 (modules-names): Likewise.
4992
4993 * po/eo.po: Add Esperanto translation from translation project.
4994
4995 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4996 merged with constructor/destructor.
4997 (init_array): Likewise.
4998 * elf/tst-array2dep.c (fini_array): Likewise.
4999 (init_array): Likewise.
5000
5001 2012-10-29 Mike Frysinger <vapier@gentoo.org>
5002
5003 * manual/message.texi: Delete @cartouche tags.
5004
5005 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5006
5007 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5008 EOPNOTSUPP.
5009 * sysdeps/mach/hurd/fsync.c: Likewise.
5010
5011 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5012 [_POSIX_REALTIME_SIGNALS]: Change condition to
5013 [_POSIX_REALTIME_SIGNALS > 0].
5014
5015 2012-10-27 Andreas Jaeger <aj@suse.de>
5016
5017 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5018 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5019 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5020 [__WORDSIZE != 64]: Likewise.
5021
5022 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
5023
5024 * iconvdata/tst-table.sh: Remove ${SHELL}.
5025 * iconvdata/tst-tables.sh: Likewise.
5026
5027 2012-10-25 David S. Miller <davem@davemloft.net>
5028
5029 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5030 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5031 of strtoull.
5032
5033 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5034 ifunc-impl-list.c
5035 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5036 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5037 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5038 file.
5039
5040 2012-10-25 Roland McGrath <roland@hack.frob.com>
5041
5042 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5043 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5044 __getdirentries.
5045
5046 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5047 Jim Blandy <jimb@codesourcery.com>
5048
5049 * scripts/cross-test-ssh.sh: New file.
5050 * manual/install.texi (Configuring and compiling): Document use of
5051 cross-test-ssh.sh.
5052 * INSTALL: Regenerated.
5053
5054 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5055
5056 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5057 EOPNOTSUPP.
5058
5059 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5060
5061 * Makeconfig (run-program-prefix): Fix comment.
5062
5063 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5064 Jim Blandy <jimb@codesourcery.com>
5065
5066 * Makeconfig (test-wrapper): New variable,
5067 (test-wrapper-env): Likewise.
5068 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5069 (run-built-tests): Define to yes.
5070 (run-program-prefix): Use $(test-wrapper).
5071 (built-program-cmd): Likewise.
5072 * Rules (make-test-out): Use $(test-wrapper-env) and
5073 $(host-built-program-cmd).
5074 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5075 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5076 tst-pathopt.sh.
5077 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5078 $(test-wrapper-env) to tst-rtld-load-self.sh.
5079 ($(objpfx)order2.out): Use $(test-wrapper).
5080 ($(objpfx)tst-initorder.out): Likewise.
5081 ($(objpfx)tst-initorder2.out): Likewise.
5082 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5083 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5084 (test_wrapper_env): New variable. Use it to run ld.so.
5085 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5086 Use it to run ld.so.
5087 (test_wrapper_env): Likewise.
5088 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5089 $(test-wrapper) to run-iconv-test.sh.
5090 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5091 (ICONV): Use $test_wrapper.
5092 * posix/Makefile ($(objpfx)globtest.out): Pass
5093 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5094 globtest.sh, not $(run-program-prefix).
5095 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5096 (test_wrapper): Likewise.
5097 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5098 set together with run_via_rtld_prefix.
5099 (run_program_prefix): Define in terms of test_wrapper and
5100 run_via_rtld_prefix.
5101
5102 2012-10-24 Roland McGrath <roland@hack.frob.com>
5103
5104 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5105 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5106 Targets removed.
5107
5108 [BZ #14743]
5109 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5110 Declare __clock_getres, __clock_gettime, __clock_settime,
5111 __clock_nanosleep, and __clock_getcpuclockid.
5112 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5113 Remove librt_hidden_def (clock_gettime).
5114 * sysdeps/unix/clock_gettime.c: Likewise.
5115 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5116 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5117 * rt/clock_getres.c: Define __clock_getres as an alias.
5118 * sysdeps/posix/clock_getres.c: Likewise.
5119 * rt/clock_settime.c: Define __clock_settime as an alias.
5120 * sysdeps/unix/clock_settime.c: Likewise.
5121 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5122 * sysdeps/unix/clock_nanosleep.c: Likewise.
5123 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5124 * rt/clock-compat.c: New file.
5125 * rt/Makefile (librt-routines): Add clock-compat and move
5126 $(clock-routines) to ...
5127 (routines): ... here, new variable.
5128 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5129 Don't add get_clockfreq here.
5130 * rt/Versions (libc: GLIBC_2.17): New version set.
5131 Add clock_* symbols here.
5132 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5133 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5134 (GLIBC_2.17): Add clock_* symbols.
5135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5137 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5139 Likewise.
5140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5141 Likewise.
5142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5146 * NEWS: Mention the move.
5147
5148 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5149 Use __open, __read, __close rather than their public counterparts.
5150 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5151 (__get_clockfreq_via_cpuinfo): Likewise.
5152 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5153 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5154
5155 * config.h.in (HAVE_IFUNC): New #undef.
5156 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5157 was successful.
5158 * configure: Regenerated.
5159
5160 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5161
5162 * configure.in: Move READELF check to start of file.
5163 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5164 libc_cv_asm_gnu_indirect_function in the process.
5165 * configure: Regenerated.
5166
5167 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5168
5169 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5170 send the output to /dev/null.
5171 (libc_cv_cc_with_libunwind): Likewise.
5172 (libc_cv_as_noexecstack): Likewise.
5173 * configure: Regenerate.
5174
5175 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5176
5177 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5178
5179 * posix/globtest.sh (TMPDIR): Do not set.
5180 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5181 (testout): Likewise.
5182
5183 2012-10-24 Andreas Jaeger <aj@suse.de>
5184
5185 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5186 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5187 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5188 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5189 posix_fadvise64, posix_fallocate64.
5190
5191 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5192 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5193 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5194 Likewise.
5195 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5196 Likewise.
5197 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5198
5199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5200 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5201 <bits/fcntl-linux.h>.
5202 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5203
5204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5205 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5206 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5207 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5208 [__WORDSIZE != 64]: Likewise.
5209
5210 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5211
5212 * Makeconfig (run-built-tests): New variable.
5213 * Rules [$(cross-compiling) = yes]: Change condition to
5214 [$(run-built-tests) = no].
5215 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5216 to [$(run-built-tests) = yes].
5217 * elf/Makefile [$(cross-compiling) = no]: Likewise
5218 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5219 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5220 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5221 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5222 * io/Makefile [$(cross-compiling) = no]: Likewise.
5223 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5224 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5225 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5226 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5227 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5228 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5229 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5230 * string/Makefile [$(cross-compiling) = no]: Likewise.
5231
5232 * posix/Makefile ($(objpfx)globtest.out): Pass
5233 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5234 $(rtld-installed-name).
5235 * posix/globtest.sh (elf_objpfx): Remove variable.
5236 (rtld_installed_name): Likewise.
5237 (library_path): Likewise.
5238 (run_program_prefix): New variable. Use for running globtest
5239 binary.
5240
5241 2012-10-23 Jim Blandy <jimb@codesourcery.com>
5242 Joseph Myers <joseph@codesourcery.com>
5243
5244 * Makeconfig (host-built-program-cmd): New variable.
5245 * elf/Makefile (tst-stackguard1-ARGS): Use
5246 $(host-built-program-cmd).
5247 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5248 (tst-spawn-ARGS): Likewise.
5249 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5250
5251 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5252 Jim Blandy <jimb@codesourcery.com>
5253
5254 * Makeconfig (run-via-rtld-prefix): New variable.
5255 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5256 (built-program-cmd): Likewise.
5257
5258 2012-10-22 Andreas Jaeger <aj@suse.de>
5259
5260 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5261 __O_RSYNC if it exists, otherwise to O_SYNC.
5262
5263 2012-10-22 Jim Blandy <jimb@codesourcery.com>
5264 Joseph Myers <joseph@codesourcery.com>
5265
5266 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5267 /dev/null.
5268 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5269 from /dev/null
5270 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5271 /dev/null.
5272
5273 2012-10-22 Andreas Jaeger <aj@suse.de>
5274
5275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5276 Define always.
5277 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5278
5279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5280 bits/fcntl-linux.h.
5281
5282 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5283 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5284
5285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5286 to __O_LARGEFILE.
5287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5288 to __O_LARGEFILE.
5289
5290 2012-10-21 Jim Blandy <jimb@codesourcery.com>
5291 Joseph Myers <joseph@codesourcery.com>
5292
5293 * config.make.in (NM): New variable.
5294
5295 2012-10-21 Andreas Jaeger <aj@suse.de>
5296
5297 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5298 definitions and declarations that are provided by
5299 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5300
5301 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5302
5303 [BZ #14683]
5304 * elf/Makefile (tests-static): Add tst-leaks1-static.
5305 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5306 ($(objpfx)tst-leaks1-static): New rule.
5307 ($(objpfx)tst-leaks1-static-mem): Likewise.
5308 (tst-leaks1-static-ENV): New macro.
5309 * elf/dl-open.c (dl_open_worker): Check the main application
5310 only if SHARED is defined.
5311 * elf/tst-leaks1-static.c: New file.
5312
5313 2012-10-20 Andreas Jaeger <aj@suse.de>
5314
5315 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5316 generic values for Linux.
5317 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5318 and declarations that are provided by <bits/fcntl-linux.h> and
5319 include <bits/fcntl-linux.h>.
5320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5321 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5322
5323 2012-10-20 Roland McGrath <roland@hack.frob.com>
5324
5325 * io/fcntl.h: Move include of <bits/types.h> to the top and
5326 include it unconditionally.
5327
5328 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5329
5330 * wcsmbs/Makefile (tests-ifunc): New variable.
5331 (tests): Add $(tests-ifunc).
5332 * wcsmbs/test-wcschr-ifunc.c: New file.
5333 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5334 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5335 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5336 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5337 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5338
5339 * string/Makefile (tests-ifunc): New variable.
5340 (tests): Add $(tests-ifunc).
5341 * string/test-memccpy.c (TEST_NAME): New macro.
5342 * string/test-memchr.c (TEST_NAME): Likewise.
5343 * string/test-memcmp.c (TEST_NAME): Likewise.
5344 * string/test-memcpy.c (TEST_NAME): Likewise.
5345 * string/test-memmem.c (TEST_NAME): Likewise.
5346 * string/test-memmove.c (TEST_NAME): Likewise.
5347 * string/test-memset.c (TEST_NAME): Likewise.
5348 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5349 * string/test-stpcpy.c (TEST_NAME): Likewise.
5350 * string/test-stpncpy.c (TEST_NAME): Likewise.
5351 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5352 * string/test-strcasestr.c (TEST_NAME): Likewise.
5353 * string/test-strcat.c (TEST_NAME): Likewise.
5354 * string/test-strchr.c (TEST_NAME): Likewise.
5355 * string/test-strcmp.c(TEST_NAME): Likewise.
5356 * string/test-strcpy.c (TEST_NAME): Likewise.
5357 * string/test-strcspn.c (TEST_NAME): Likewise.
5358 * string/test-strlen.c (TEST_NAME): Likewise.
5359 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5360 * string/test-strncmp.c (TEST_NAME): Likewise.
5361 * string/test-strncpy.c (TEST_NAME): Likewise.
5362 * string/test-strnlen.c (TEST_NAME): Likewise.
5363 * string/test-strpbrk.c (TEST_NAME): Likewise.
5364 * string/test-strrchr.c (TEST_NAME): Likewise.
5365 * string/test-strspn.c (TEST_NAME): Likewise.
5366 * string/test-strstr.c (TEST_NAME): Likewise.
5367 * string/test-bcopy-ifunc.c: New file.
5368 * string/test-bzero-ifunc.c: Likewise.
5369 * string/test-memccpy-ifunc.c: Likewise.
5370 * string/test-memchr-ifunc.c: Likewise.
5371 * string/test-memcmp-ifunc.c: Likewise.
5372 * string/test-memcpy-ifunc.c: Likewise.
5373 * string/test-memmem-ifunc.c: Likewise.
5374 * string/test-memmove-ifunc.c: Likewise.
5375 * string/test-mempcpy-ifunc.c: Likewise.
5376 * string/test-memset-ifunc.c: Likewise.
5377 * string/test-rawmemchr-ifunc.c: Likewise.
5378 * string/test-stpcpy-ifunc.c: Likewise.
5379 * string/test-stpncpy-ifunc.c: Likewise.
5380 * string/test-strcasecmp-ifunc.c: Likewise.
5381 * string/test-strcasestr-ifunc.c: Likewise.
5382 * string/test-strcat-ifunc.c: Likewise.
5383 * string/test-strchr-ifunc.c: Likewise.
5384 * string/test-strchrnul-ifunc.c: Likewise.
5385 * string/test-strcmp-ifunc.c: Likewise.
5386 * string/test-strcpy-ifunc.c: Likewise.
5387 * string/test-strcspn-ifunc.c: Likewise.
5388 * string/test-strlen-ifunc.c: Likewise.
5389 * string/test-strncasecmp-ifunc.c: Likewise.
5390 * string/test-strncat-ifunc.c: Likewise.
5391 * string/test-strncmp-ifunc.c: Likewise.
5392 * string/test-strncpy-ifunc.c: Likewise.
5393 * string/test-strnlen-ifunc.c: Likewise.
5394 * string/test-strpbrk-ifunc.c: Likewise.
5395 * string/test-strrchr-ifunc.c: Likewise.
5396 * string/test-strspn-ifunc.c: Likewise.
5397 * string/test-strstr-ifunc.c: Likewise.
5398
5399 * debug/Makefile (tests-ifunc): New variable.
5400 (tests): Add $(tests-ifunc).
5401 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5402 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5403 * debug/test-stpcpy_chk-ifunc.c: New file.
5404 * debug/test-strcpy_chk-ifunc.c: Likewise.
5405
5406 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5407
5408 [BZ #13601]
5409 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5410 header is not read in.
5411
5412 2012-10-19 Joseph Myers <joseph@codesourcery.com>
5413
5414 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5415 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5416 directly. Pass built executable to script as
5417 $(built-program-cmd).
5418 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5419 $testprogram without using LD_LIBRARY_PATH and $ldso.
5420
5421 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5422 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5423 $(rtld-installed-name).
5424 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5425 (rtld_installed_name): Likewise.
5426 (library_path): Likewise.
5427 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5428 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5429 $(run-program-prefix) to tst-tables.sh.
5430 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5431 it to run tst-table-from and tst-table-to.
5432 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5433 Pass it to tst-table.sh.
5434 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5435 $(run-program-prefix) to tst-gettext.sh.
5436 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5437 tst-translit.sh.
5438 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5439 tst-gettext2.sh.
5440 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5441 to run tst-gettext.
5442 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5443 to run tst-gettext2.
5444 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5445 to run tst-translit.
5446 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5447 $(run-program-prefix) to tst-mtrace.sh.
5448 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5449 to run tst-mtrace.
5450 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5451 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5452 $(rtld-installed-name).
5453 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5454 (rtld_installed_name): Likewise.
5455 (run_program_prefix): New variable. Use it to run wordexp-test.
5456
5457 * Makeconfig (ARCH): Remove all definitions.
5458 (machine): Likewise.
5459 [ARCH]: Remove conditional code.
5460 [!objdir]: Give error.
5461 [!objdir] (objpfx): Remove.
5462 [!objdir] (common-objpfx): Likewise.
5463 [!objdir] (common-objdir): Likewise.
5464 * configure.in (config_makefile): Remove. Hardcode Makefile in
5465 AC_CONFIG_FILES call.
5466 * configure: Regenerated.
5467
5468 [BZ #13888]
5469 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5470 or TMPDIR.
5471 (testout): Likewise.
5472
5473 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5474 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5475 $(rtld-installed-name).
5476 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5477 (rtld_installed_name): Likwise.
5478 (runit): Remove function.
5479 (run_getconf): New variable, Use it for running getconf binary.
5480
5481 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5482
5483 [BZ #14716]
5484 * string/test-memmem.c (check_result): New function.
5485 (do_one_test): Use it.
5486 (check1): New function.
5487 (test_main): Use it.
5488
5489 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5490
5491 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5492
5493 2012-10-18 Joseph Myers <joseph@codesourcery.com>
5494
5495 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5496 (_G_LSEEK64): Likewise.
5497 (_G_MMAP64): Likewise.
5498 (_G_FSTAT64): Likewise.
5499 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5500 (_G_LSEEK64): Likewise.
5501 (_G_MMAP64): Likewise.
5502 (_G_FSTAT64): Likewise.
5503 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5504 unconditional. Call __mmap64 directly.
5505 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5506 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5507 __lseek64 directly.
5508 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5509 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5510 __mmap64 directly.
5511 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5512 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5513 __lseek64 directly.
5514 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5515 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5516 __lseek64 directly.
5517 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5518 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5519 __lseek64 directly.
5520 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5521 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5522 __fxstat64 directly.
5523 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5524 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5525 unconditional.
5526 (freopen64) [!_G_OPEN64]: Remove conditional code.
5527 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5528 unconditional.
5529 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5530 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5531 unconditional.
5532 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5533 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5534 unconditional.
5535 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5536 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5537 unconditional.
5538 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5539 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5540 unconditional.
5541 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5542 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5543 unconditional.
5544 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5545 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5546 unconditional.
5547 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5548
5549 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5550
5551 [BZ #12140]
5552 * manual/memory.texi (Malloc Tunable Parameters): Add note
5553 about free list pointers overwriting some perturb bytes.
5554 Wording suggested by Roland McGrath.
5555
5556 2012-10-17 Joseph Myers <joseph@codesourcery.com>
5557
5558 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5559 (lgamma_test): Likewise.
5560 (tgamma_test): Likewise.
5561
5562 2012-10-16 Florian Weimer <fweimer@redhat.com>
5563
5564 [BZ #14700]
5565 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5566 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5567
5568 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5569
5570 * NEWS: Mention BZ #14716.
5571 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5572 when removing AVAILABLE1_USES_J macro.
5573
5574 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5575
5576 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5577 (__bswap_64): __uint64_t for unsigned 64-bit int.
5578
5579 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5580
5581 * include/string.h (memmem): Declare libc hidden alias.
5582 * string/memmem.c (memmem): Define libc hidden alias.
5583 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5584 __read, __close instead of open, read, close.
5585
5586 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5587
5588 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5589 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5590 global and hidden.
5591 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5592 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5593 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5594 Likewise.
5595 (__rawmemchr_sse2): Likewise.
5596 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5597 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5598 (__strchr_sse2): Likewise.
5599 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5600 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5601 (__strcasecmp_sse2): Likewise.
5602 (__strncasecmp_sse2): Likewise.
5603 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5604 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5605 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5606 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5607 (__strrchr_sse2): Likewise.
5608 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5609 ifunc-impl-list.c.
5610 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5611 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5612 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5613 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5614 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5615 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5616 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5617 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5618 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5619 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5620 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5621 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5622 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5623 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5624 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5625 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5626 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5627 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5628 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5629 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5630 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5631 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5632 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5633 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5634 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5635 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5636 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5637 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5638 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5639 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5640
5641 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5642 global and hidden.
5643 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5644 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5645 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5646 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5647 Likewise.
5648 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5649 Likewise.
5650 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5651 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5652 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5653 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5654 ifunc-impl-list.c.
5655 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5656 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5657 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5658 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5659 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5660 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5661 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5662 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5663 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5664 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5665 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5666 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5667 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5668 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5669 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5670 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5671 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5672 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5673 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5674 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5675 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5676 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5677 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5678 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5679 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5680 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5681 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5682 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5683 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5684 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5685 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5686 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5687 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5688 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5689 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5690 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5691 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5692 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5693 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5694 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5695 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5696
5697 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5698 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5699 * include/ifunc-impl-list.h: New file.
5700 * misc/ifunc-impl-list.c: Likewise.
5701 * misc/Makefile (routines): Add ifunc-impl-list.
5702 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5703 * string/test-string.h: Include <ifunc-impl-list.h>.
5704 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5705 impl_array): New variables.
5706 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5707 are defined.
5708 (test_init): Call __libc_ifunc_impl_list to initialize
5709 func_list if TEST_IFUNC and TEST_NAME are defined.
5710
5711 * string/Makefile (strop-tests): Add bcopy and bzero.
5712 * string/test-bcopy.c: New file.
5713 * string/test-bzero.c: Likewise.
5714 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5715 defined.
5716 * string/test-memset.c: Support bzero test if TEST_BZERO is
5717 defined.
5718 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5719 __libc_memmove.
5720 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5721 __libc_memset.
5722 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5723 of memset.
5724
5725 2012-10-10 Joseph Myers <joseph@codesourcery.com>
5726
5727 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5728 * configure: Regenerated.
5729
5730 * Makeconfig (+link-static-before-libc): Don't include
5731 $(link-static-libc).
5732
5733 * libio/libio.h (_IO_pos_t): Remove.
5734
5735 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5736
5737 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5738 McGrath.
5739
5740 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5741
5742 * crypt/crypt-entry.c: Include fips-private.h.
5743 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5744 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5745 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5746 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5747
5748 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5749
5750 * crypt/crypt-private.h: Include stdbool.h.
5751 (_ufc_setup_salt_r): Return bool.
5752 * crypt/crypt-entry.c: Include errno.h.
5753 (__crypt_r): Return NULL with EINVAL for bad salt.
5754 * crypt/crypt_util.c (bad_for_salt): New.
5755 (_ufc_setup_salt_r): Check that salt is long enough and within
5756 the specified alphabet.
5757 * crypt/badsalttest.c: New file.
5758 * crypt/Makefile (tests): Add it.
5759 ($(objpfx)badsalttest): New.
5760
5761 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5762
5763 * NEWS: Add entry for BZ #14602.
5764
5765 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5766
5767 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5768 type-generic.
5769 * math/libm-test.inc: Update comment listing what functions and
5770 macros are tested.
5771 (isgreater_test): New function.
5772 (isgreaterequal_test): Likewise.
5773 (isless_test): Likewise.
5774 (islessequal_test): Likewise.
5775 (islessgreater_test): Likewise.
5776 (isunordered_test): Likewise.
5777 (main): Call the new functions.
5778
5779 2012-10-09 Roland McGrath <roland@hack.frob.com>
5780
5781 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5782 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5783 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5784 * sysdeps/i386/configure: Regenerated.
5785 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5786 * sysdeps/mach/configure: Regenerated.
5787 * sysdeps/mach/hurd/configure: Regenerated.
5788 * sysdeps/powerpc/configure: Regenerated.
5789 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5790 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5791 * sysdeps/s390/s390-32/configure: Regenerated.
5792 * sysdeps/s390/s390-64/configure: Regenerated.
5793 * sysdeps/sh/configure: Regenerated.
5794 * sysdeps/sparc/configure: Regenerated.
5795 * sysdeps/unix/sysv/linux/configure: Regenerated.
5796 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5797 * sysdeps/x86_64/configure: Regenerated.
5798
5799 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5800 defined. Don't check if MAP is NULL.
5801
5802 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5803
5804 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5805 (_G_stat64): Likewise.
5806 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5807 (_G_stat64): Likewise.
5808 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5809 instead of struct _G_stat64.
5810 * libio/fileops.c (mmap_remap_check): Likewise.
5811 (decide_maybe_mmap): Likewise.
5812 (_IO_new_file_seekoff): Likewise.
5813 (_IO_file_stat): Likewise.
5814 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5815 _G_off64_t.
5816 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5817 instead of struct _G_stat64.
5818 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5819
5820 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5821
5822 [BZ #14602]
5823 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5824 Replace with ...
5825 (CHECK_EOL): New macro.
5826 (two_way_short_needle): Check beginning of haystack for EOL. Use
5827 CHECK_EOL.
5828 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5829 Replace with CHECK_EOL.
5830 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5831 Replace with CHECK_EOL.
5832
5833 2012-10-08 Joseph Myers <joseph@codesourcery.com>
5834
5835 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5836 type-generic.
5837 * math/libm-test.inc: Update comment listing what functions and
5838 macros are tested.
5839 (finite_test): New function.
5840 (isinf_test): Likewise.
5841 (isnan_test): Likewise.
5842 (fpclassify_test): Test subnormal input.
5843 (isfinite_test): Likewise.
5844 (isnormal_test): Likewise.
5845 (main): Call the new functions.
5846
5847 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5848
5849 [BZ #14660]
5850 * Makerules (%.dynsym): Force C locale when running
5851 $(OBJDUMP) --dynamic-syms.
5852
5853 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5854
5855 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5856 <stdint.h>.
5857
5858 2012-10-06 David S. Miller <davem@davemloft.net>
5859
5860 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5861 upper 32-bits of the length value in %o2 since we use branch-on-register
5862 tests which consider the entire 64-bit register.
5863
5864 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5865
5866 * string/test-strstr.c (check2): Add a test for page boundary.
5867
5868 2012-10-05 David S. Miller <davem@davemloft.net>
5869
5870 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5871 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5872 file.
5873 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5874 sysdep_routines.
5875 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5876 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5877 and bzero when HWCAP_SPARC_CRYPTO is present.
5878
5879 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5880
5881 [BZ #14602]
5882 * string/test-strstr.c (check2): New function.
5883 (test_main): Call check2.
5884
5885 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5886 and bug-strchr1.
5887 * string/bug-strcasestr1.c (do_test): Moved to ...
5888 * string/test-strcasestr.c (check1): Here. New function.
5889 (do_one_test): Break out result checking code into ...
5890 (check_result): This. New function.
5891 (do_one_test): Call check_result.
5892 (test_main): Call check1.
5893 * string/bug-strchr1.c (do_test): Moved to ...
5894 * string/test-strchr.c (check1): Here. New function.
5895 (do_one_test): Break out result checking code into ...
5896 (check_result): This. New function.
5897 (do_one_test): Call check_result.
5898 (test_main): Call check1.
5899 * string/bug-strstr1.c (main): Moved to ...
5900 * string/test-strstr.c (check1): Here. New function.
5901 (do_one_test): Break out result checking code into ...
5902 (check_result): This. New function.
5903 (do_one_test): Call check_result.
5904 (test_main): Call check1.
5905 * string/bug-strcasestr1.c: Removed.
5906 * string/bug-strchr1.c: Likewise.
5907 * string/bug-strstr1.c: Likewise.
5908
5909 * elf/Makefile (dl-routines): Add hwcaps.
5910 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5911 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5912 (_dl_important_hwcaps): Moved to ...
5913 * elf/dl-hwcaps.c: Here. New file.
5914 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5915
5916 [BZ #14557]
5917 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5918 if IS_IN_rtld isn't defined.
5919
5920 * elf/dl-support.c (_dl_sysinfo_map): New.
5921 Include "get-dynamic-info.h" and "setup-vdso.h".
5922 (_dl_non_dynamic_init): Call setup_vdso.
5923 * elf/dynamic-link.h: Don't include <assert.h>.
5924 (elf_get_dynamic_info): Moved to ...
5925 * elf/get-dynamic-info.h: Here. New file.
5926 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5927 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5928 * elf/setup-vdso.h: Here. New file.
5929 * elf/rtld.c: Include "setup-vdso.h".
5930 (dl_main): Call setup_vdso.
5931
5932 2012-10-05 Joseph Myers <joseph@codesourcery.com>
5933
5934 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5935 creal in comment listing functions tested. List finite, isinf,
5936 isnan, isless, islessequal, isgreater, isgreaterequal,
5937 islessgreater, isunordered, lgamma_r and pow10 as functions and
5938 macros not tested. Mention which functions not tested are aliases
5939 for other functions. Fix typo. Note that signs of NaNs are not
5940 tested.
5941
5942 * scripts/config.guess: Update from config.git.
5943 * scripts/config.sub: Likewise.
5944
5945 2012-10-04 Roland McGrath <roland@hack.frob.com>
5946
5947 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5948 * misc/madvise.c (madvise): Renamed to __madvise.
5949 Make madvise a weak alias.
5950 * include/sys/mman.h: Declare __madvise.
5951 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5952 * sysdeps/unix/syscalls.list
5953 (madvise): Make __madvise the strong name, and madvise a weak alias.
5954 * sysdeps/unix/sysv/linux/syscalls.list
5955 (madvise, mmap): Remove redundant entries.
5956 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5957 * malloc/malloc.c (mtrim): Likewise.
5958 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5959
5960 2012-10-03 Roland McGrath <roland@hack.frob.com>
5961
5962 * sysdeps/mach/hurd/dl-cache.c: File removed.
5963 * config.h.in (USE_LDCONFIG): New #undef.
5964 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5965 * configure: Regenerated.
5966 * elf/Makefile (dl-routines): Add dl-cache only under
5967 [$(use-ldconfig) = yes].
5968 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5969 cache on [USE_LDCONFIG].
5970 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5971 [USE_LDCONFIG].
5972 * elf/rtld.c (dl_main): Likewise.
5973
5974 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5975
5976 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5977 _SC_LEVEL4_CACHE_LINESIZE.
5978
5979 2012-10-03 Roland McGrath <roland@hack.frob.com>
5980
5981 * sysdeps/unix/bsd/confstr.h: File removed.
5982
5983 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
5984
5985 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5986 sys/sdt-config.h.
5987
5988 2012-10-02 Roland McGrath <roland@hack.frob.com>
5989
5990 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5991 Make 'mapoff' field ElfW(Off) rather than off_t.
5992
5993 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5994
5995 * nscd/Makefile: Remove nscd-cflags and all its users.
5996 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5997 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5998
5999 [BZ #10631]
6000 * malloc.c (malloc_printerr): Clarify error message.
6001
6002 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6003
6004 [BZ #14648]
6005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6006 Set bit_FMA_Usable if FMA is supported.
6007 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6008 macro.
6009 (bit_FMA4_Usable): Updated.
6010 (index_FMA_Usable): New macro.
6011 (CPUID_FMA): Likewise
6012 (HAS_FMA): Defined with bit_FMA_Usable.
6013
6014 2012-10-01 Roland McGrath <roland@hack.frob.com>
6015
6016 * bits/types.h (__swblk_t): Type removed.
6017 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6018 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6019 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6020 (__SWBLK_T_TYPE): Likewise.
6021 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6022 (__SWBLK_T_TYPE): Likewise.
6023 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6024 (__SWBLK_T_TYPE): Likewise.
6025 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6026 (__SWBLK_T_TYPE): Likewise.
6027
6028 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
6029 Honza Horak <hhorak@redhat.com>
6030
6031 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6032 (xdr_mapname): Use YPMAXMAP as maxsize.
6033 (xdr_peername): Use YPMAXPEER as maxsize.
6034 (xdr_keydat): Use YPAXRECORD as maxsize.
6035 (xdr_valdat): Use YPMAXRECORD as maxsize.
6036
6037 2012-10-01 Roland McGrath <roland@hack.frob.com>
6038
6039 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6040
6041 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6042 * csu/init-first.c: ... here.
6043 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6044 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6045 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6046 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6047 * sysdeps/i386/init-first.c: File removed.
6048 * sysdeps/sh/init-first.c: File removed.
6049
6050 2012-10-01 Joseph Myers <joseph@codesourcery.com>
6051
6052 [BZ #14645]
6053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6054 if x * y might underflow to zero and z is zero.
6055 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6056 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6057 * math/libm-test.inc (min_subnorm_value): New variable.
6058 (fma_test): Add more tests.
6059 (fma_test_towardzero): Likewise.
6060 (fma_test_downward): Likewise
6061 (fma_test_upward): Likewise.
6062 (initialize): Set min_subnorm_value.
6063
6064 2012-09-29 Joseph Myers <joseph@codesourcery.com>
6065
6066 [BZ #14638]
6067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6068 0 + 0.
6069 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6070 mode for addition resulting in exact zero.
6071 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6072 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6073 exact 0 + 0.
6074 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6075 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6076 * math/libm-test.inc (fma_test): Add more tests.
6077 (fma_test_towardzero): New function.
6078 (fma_test_downward): Likewise.
6079 (fma_test_upward): Likewise.
6080 (main): Call the new functions.
6081
6082 2012-09-28 David S. Miller <davem@davemloft.net>
6083
6084 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6085
6086 2012-09-28 Roland McGrath <roland@hack.frob.com>
6087
6088 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6089 instead of SIGALRM.
6090
6091 * sysdeps/gnu/_G_config.h: Moved to ...
6092 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6093 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6094 * sysdeps/generic/_G_config.h: ... here.
6095
6096 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6097
6098 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6099
6100 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6101 Conditionalize target on [libnss_test1.so-version].
6102
6103 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6104
6105 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6106 (elfobjdir): Move out of conditionals.
6107
6108 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6109 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6110 (__nss_lookup_function): Conditionalize label remove_from_tree on
6111 [!DO_STATIC_NSS || SHARED], matching its only use.
6112
6113 2012-09-28 David S. Miller <davem@davemloft.net>
6114
6115 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6116 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6117 file.
6118 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6119 sysdep_routines.
6120 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6122 when HWCAP_SPARC_CRYPTO is present.
6123
6124 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6125
6126 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6127
6128 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6129
6130 [BZ #6530]
6131 * stdio-common/vfprintf.c (process_string_arg): Revert
6132 2000-07-22 change.
6133
6134 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6135
6136 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6137 for testcase.
6138 * stdio-common/tst-sprintf.c: Include <locale.h>
6139 (main): Test sprintf's handling of incomplete multibyte
6140 characters.
6141
6142 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6143
6144 * elf/dl-runtime.c (VERSYMIDX): Removed.
6145 * elf/dl-version.c (VERSYMIDX): Likewise.
6146 * elf/do-rel.h (VERSYMIDX): Likewise.
6147 (VALIDX): Likewise.
6148 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6149 * elf/rtld.c (VALIDX): Likewise.
6150 (ADDRIDX): Likewise.
6151 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6152 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6153 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
6154 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6155 (VALIDX): Likewise.
6156 (ADDRIDX): Likewise.
6157
6158 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6159
6160 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6161
6162 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6163
6164 [BZ #11438]
6165 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6166 to global scope.
6167 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6168 addresses are in the same scope as 192.0.2/24.
6169 * posix/gai.conf: Document new scope table defaults.
6170
6171 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6172
6173 [BZ #5298]
6174 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6175 for ftell. Compute offsets from write pointers instead.
6176 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6177
6178 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6179
6180 [BZ #14543]
6181 * libio/Makefile (tests): New test case tst-fseek.
6182 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6183 combination works in wide mode.
6184 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6185 state when the external buffer state changes.
6186
6187 2012-09-27 David S. Miller <davem@davemloft.net>
6188
6189 [BZ #14376]
6190 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6191 pass reloc->r_addend in as the 'high' argument to
6192 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6193
6194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6195
6196 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6197
6198 * rt/tst-aio2.c: Include <pthread.h>.
6199 * rt/tst-aio3.c: Likewise.
6200
6201 2012-09-27 Steve Ellcey <sellcey@mips.com>
6202
6203 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6204
6205 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6206
6207 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6208 contents on [SHARED].
6209
6210 2012-09-26 Marek Polacek <polacek@redhat.com>
6211
6212 [BZ #14530]
6213 [BZ #13741]
6214 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6215 for C++ and GCC <4.3 as well as for non GCC compilers.
6216
6217 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6218
6219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6220
6221 2012-09-25 Roland McGrath <roland@hack.frob.com>
6222
6223 * Makefile.in (all, install): Declare with .PHONY.
6224 Reported by Michael Hope <michael.hope@linaro.org>.
6225
6226 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6227
6228 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6229 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6230 system header.
6231 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6232 Likewise.
6233 (sydep_routines): Add the new and the internal functions.
6234 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6235 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6237 (GLIBC_2.17): Add the new function.
6238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6239 (GLIBC_2.17): Likewise.
6240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6241 (GLIBC_2.17): Likewise.
6242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6243 (GLIBC_2.17): Likewise.
6244 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6245
6246 2012-09-25 Alan Modra <amodra@gmail.com>
6247
6248 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6249 Add release barrier before setting once_control to say
6250 initialisation is done. Add hints on lwarx. Use macro in
6251 place of isync.
6252 (clear_once_control): Add release barrier.
6253
6254 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6255
6256 [BZ #13629]
6257 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6258 specially.
6259 * math/s_clog10.c (__clog10): Likewise.
6260 * math/s_clog10f.c (__clog10f): Likewise.
6261 * math/s_clog10l.c (__clog10l): Likewise.
6262 * math/s_clogf.c (__clogf): Likewise.
6263 * math/s_clogl.c (__clogl): Likewise.
6264 * math/Makefile (libm-calls): Add x2y2m1.
6265 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6266 (__x2y2m1): Likewise.
6267 (__x2y2m1l): Likewise.
6268 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6269 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6272 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6273 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6274 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6275 * sysdeps/i386/fpu/libm-test-ulps: Update.
6276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6277
6278 [BZ #14621]
6279 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6280 int as type of variable DEPTH.
6281 (glob): Use size_t instead of int as type of variables NEWCOUNT
6282 and OLD_PATHC.
6283
6284 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6285
6286 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6287 Add s_sincosf-sse2.
6288 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6289 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6290 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6291 macros for using routine as __sincosf_ia32.
6292 Use macro for function declaration and weak_alias.
6293 * sysdeps/i386/fpu/libm-test-ulps: Update.
6294
6295 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6297
6298 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6299 subnormal argument.
6300 * math/s_cexpf.c (__cexpf): Likewise.
6301 * math/s_csinf.c (__csinf): Likewise.
6302 * math/s_csinhf.c (__csinhf): Likewise.
6303 * math/s_ctanf.c (__ctanf): Likewise.
6304 * math/s_ctanhf.c (__ctanhf): Likewise.
6305 * math/s_ccosh.c (__ccoshf): Likewise.
6306 * math/s_cexp.c (__cexpl): Likewise.
6307 * math/s_csin.c (__csin): Likewise.
6308 * math/s_csinh.c (__csinh): Likewise.
6309 * math/s_ctan.c (__ctan): Likewise.
6310 * math/s_ctanh.c (ctanh): Likewise.
6311 * math/s_ccoshl.c (__ccoshl): Likewise.
6312 * math/s_cexpl.c (__cexpl): Likewise.
6313 * math/s_csinl.c (__csinl): Likewise.
6314 * math/s_csinhl.c (__csinhl): Likewise.
6315 * math/s_ctanl.c (__ctanl): Likewise.
6316 * math/s_ctanhl.c (__ctanhl): Likewise.
6317
6318 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6319
6320 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6321 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6322 (_IO_off_t): Define to __off_t, not _G_off_t.
6323 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6324 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6325 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6326 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6327 type of __dummy and __dummy2 fields.
6328 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6329 (_G_ssize_t): Likewise.
6330 (_G_off_t): Likewise.
6331 (_G_pid_t): Likewise.
6332 (_G_uid_t): Likewise.
6333 (_G_wchar_t): Likewise.
6334 (_G_wint_t): Likewise.
6335 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6336 (_G_ssize_t): Likewise.
6337 (_G_off_t): Likewise.
6338 (_G_pid_t): Likewise.
6339 (_G_uid_t): Likewise.
6340 (_G_wchar_t): Likewise.
6341 (_G_wint_t): Likewise.
6342 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6343 (_G_ssize_t): Likewise.
6344 (_G_off_t): Likewise.
6345 (_G_pid_t): Likewise.
6346 (_G_uid_t): Likewise.
6347 (_G_wchar_t): Likewise.
6348 (_G_wint_t): Likewise.
6349
6350 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6351
6352 * malloc/arena.c: Include malloc-sysdep.h.
6353 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6354 is sufficient to shrink the heap or an unmap is needed.
6355 * sysdeps/generic/malloc-sysdep.h: New file. Define
6356 new function check_may_shrink_heap.
6357 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6358 new function check_may_shrink_heap.
6359
6360 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6361
6362 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6363 comments.
6364
6365 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6366
6367 * catgets/test-gencat.sh: Add "set -e".
6368 * elf/tst-pathopt.sh: Likewise.
6369 * grp/tst_fgetgrent.sh: Likewise.
6370 * iconvdata/run-iconv-test.sh: Likewise.
6371 * intl/tst-gettext.sh: Likewise.
6372 * intl/tst-gettext2.sh: Likewise.
6373 * intl/tst-gettext4.sh: Likewise.
6374 * intl/tst-gettext6.sh: Likewise.
6375 * intl/tst-translit.sh: Likewise.
6376 * io/ftwtest-sh: Likewise.
6377 * libio/test-freopen.sh: Likewise.
6378 * malloc/tst-mtrace.sh: Likewise.
6379 * posix/globtest.sh: Likewise.
6380 * posix/tst-getconf.sh: Likewise.
6381 * posix/wordexp-tst.sh: Likewise.
6382 * stdio-common/tst-printf.sh: Likewise.
6383 * stdio-common/tst-unbputc.sh: Likewise.
6384 * stdlib/tst-fmtmsg.sh: Likewise.
6385 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6386 * catgets/Makefile: Do not specify -e option when running
6387 testsuite shell scripts.
6388 * elf/Makefile: Likewise.
6389 * grp/Makefile: Likewise.
6390 * iconvdata/Makefile: Likewise.
6391 * intl/Makefile: Likewise.
6392 * io/Makefile: Likewise.
6393 * libio/Makefile: Likewise.
6394 * malloc/Makefile: Likewise.
6395 * posix/Makefile: Likewise.
6396 * stdio-common/Makefile: Likewise.
6397 * stdlib/Makefile: Likewise.
6398 * sysdeps/x86_64/Makefile: Likewise.
6399
6400 * io/ftwtest-sh: Add copyright header.
6401 * posix/globtest.sh: Likewise.
6402 * posix/tst-getconf.sh: Likewise.
6403 * posix/wordexp-tst.sh: Likewise.
6404 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6405
6406 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6407
6408 [BZ #13679]
6409 * Makeconfig (+link): Defined as $(+link-static) if
6410 $(build-shared) isn't yes.
6411 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6412 isn't yes.
6413 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6414
6415 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6416
6417 [BZ #14562]
6418 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6419 new chunk size with MALLOC_ALIGN_MASK.
6420
6421 2012-09-24 Joseph Myers <joseph@codesourcery.com>
6422
6423 [BZ #5044]
6424 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6425 <rounding-mode.h>.
6426 (__printf_fphex): Determine rounding using get_rounding_mode and
6427 round_away.
6428 * stdio-common/tst-printf-round.c (struct hex_test): New
6429 structure.
6430 (hex_tests): New variable.
6431 (test_hex_in_one_mode): New function.
6432 (do_test): Also run tests for hex float output.
6433
6434 2012-09-21 Joseph Myers <joseph@codesourcery.com>
6435
6436 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6437 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6438 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6439 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6440 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6441 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6442 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6443 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6444
6445 2012-09-20 Joseph Myers <joseph@codesourcery.com>
6446
6447 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6448 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6449 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6450 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6451
6452 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6453
6454 [BZ #14579]
6455 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6456 mode only.
6457 * elf/tst-rtld-load-self.sh: New test.
6458 * elf/Makefile: Run it.
6459
6460 2012-09-18 Joseph Myers <joseph@codesourcery.com>
6461
6462 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6463 (tst-writev-ENV): Remove.
6464 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6465
6466 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6467
6468 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6469
6470 2012-09-17 Joseph Myers <joseph@codesourcery.com>
6471
6472 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6473 unconditional.
6474 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6475 Likewise.
6476 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6477 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6478 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6479 Likewise.
6480
6481 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6482
6483 [BZ #14587]
6484 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6485 * config.make.in (have-cpp-asm-debuginfo): Removed.
6486 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6487 * configure: Regenerated.
6488
6489 2012-09-14 Joseph Myers <joseph@codesourcery.com>
6490
6491 [BZ #5044]
6492 * stdio-common/printf_fp.c: Include <stdbool.h> and
6493 <rounding-mode.h>.
6494 (___printf_fp): Determine rounding using get_rounding_mode and
6495 round_away.
6496 * stdio-common/tst-printf-round.c: New file.
6497 * stdio-common/Makefile (tests): Add tst-printf-round.
6498 (link-libm): New variable.
6499 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6500
6501 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6502
6503 [BZ #14576]
6504 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6505 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6506 Likewise.
6507 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6508 Likewise.
6509
6510 2012-09-13 Joseph Myers <joseph@codesourcery.com>
6511
6512 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6513 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6514 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6515 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6516
6517 2012-09-12 Joseph Myers <joseph@codesourcery.com>
6518
6519 [BZ #14518]
6520 * include/rounding-mode.h: New file.
6521 * sysdeps/generic/get-rounding-mode.h: Likewise.
6522 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6523 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6524 (MAX_VALUE): New macro.
6525 (MIN_VALUE): Likewise.
6526 (overflow_value): New function.
6527 (underflow_value): Likewise.
6528 (round_and_return): Use overflow_value and underflow_value to
6529 determine return values in overflow and underflow cases. Use
6530 round_away to determine rounding depending on rounding mode.
6531 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6532 determine return values in overflow and underflow cases.
6533 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6534 (struct test_results): New structure.
6535 (struct test): Use struct test_results to store expected results
6536 for all rounding modes.
6537 (TEST): Include expected results for all rounding modes.
6538 (test_in_one_mode): New function.
6539 (do_test): Use test_in_one_mode to compute and check results.
6540 Check results for all rounding modes.
6541 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6542 $(link-libm).
6543
6544 2012-12-09 Allan McRae <allan@archlinux.org>
6545
6546 * sysdeps/i386/fpu/libm-test-ulps: Update
6547
6548 2012-09-11 Joseph Myers <joseph@codesourcery.com>
6549
6550 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6551 (_G_int32_t): Likewise.
6552 (_G_uint16_t): Likewise.
6553 (_G_uint32_t): Likewise.
6554 (_G_HAVE_BOOL): Likewise.
6555 (_G_HAVE_ATEXIT): Likewise.
6556 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6557 (_G_HAVE_IO_FILE_OPEN): Likewise.
6558 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6559 (_G_int32_t): Likewise.
6560 (_G_uint16_t): Likewise.
6561 (_G_uint32_t): Likewise.
6562 (_G_HAVE_BOOL): Likewise.
6563 (_G_HAVE_ATEXIT): Likewise.
6564 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6565 (_G_HAVE_IO_FILE_OPEN): Likewise.
6566 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6567 (_G_int32_t): Likewise.
6568 (_G_uint16_t): Likewise.
6569 (_G_uint32_t): Likewise.
6570 (_G_HAVE_BOOL): Likewise.
6571 (_G_HAVE_ATEXIT): Likewise.
6572 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6573 (_G_HAVE_IO_FILE_OPEN): Likewise.
6574
6575 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6576
6577 * csu/libc-tls.c: Update copyright years.
6578
6579 2012-09-10 Joseph Myers <joseph@codesourcery.com>
6580
6581 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6582 [!_G_USING_THUNKS]: Remove conditional code.
6583 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6584 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6585
6586 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6587 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6588 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6589 (_G_VTABLE_LABEL_PREFIX): Likewise.
6590 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6591 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6592 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6593 (_G_VTABLE_LABEL_PREFIX): Likewise.
6594 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6595 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6596 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6597 (_G_VTABLE_LABEL_PREFIX): Likewise.
6598 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6599
6600 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6601
6602 * libio/Makefile: Include ../Makeconfig before tests.
6603 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6604 only if $(build-shared) is yes.
6605
6606 * iconv/gconv_db.c: Update copyright years.
6607
6608 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6609
6610 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6611 unwind info if defined PIC. Fix special cases description.
6612 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6613
6614 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6615 DP_HI_MASK entry.
6616 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6617
6618 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6619
6620 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6621
6622 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6623 is NULL.
6624
6625 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6626 (LDLIBS-tst-chk4): This.
6627 (LDFLAGS-tst-chk5): Renamed to ...
6628 (LDLIBS-tst-chk5): This.
6629 (LDFLAGS-tst-chk6): Renamed to ...
6630 (LDLIBS-tst-chk6): This.
6631 (LDFLAGS-tst-lfschk4): Renamed to ...
6632 (LDLIBS-tst-lfschk4): This.
6633 (LDFLAGS-tst-lfschk5): Renamed to ...
6634 (LDLIBS-tst-lfschk5): This.
6635 (LDFLAGS-tst-lfschk6): Renamed to ...
6636 (LDLIBS-tst-lfschk6): This.
6637
6638 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6639 on $(common-objpfx)soversions.mk.
6640
6641 2012-09-07 Joseph Myers <joseph@codesourcery.com>
6642
6643 [BZ #10014]
6644 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6645 example host name.
6646
6647 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6648
6649 * malloc/arena.c (arena_get_retry): New function that gets
6650 another arena for the caller to try its request on.
6651 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6652 current arena cannot fulfill the request.
6653 (__libc_memalign): Likewise.
6654 (__libc_memalign): Likewise.
6655 (__libc_pvalloc): Likewise.
6656 (__libc_calloc): Likewise.
6657
6658 2012-09-05 John Tobey <john.tobey@gmail.com>
6659
6660 [BZ #13542]
6661 * manual/arith.texi (Operations on Complex): Fix description
6662 of carg branch cut.
6663
6664 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6665
6666 [BZ #10014]
6667 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6668 host name.
6669
6670 [BZ #10038]
6671 * manual/memory.texi (Memory): Make order of menu items match
6672 order of sections.
6673
6674 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6675
6676 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6677 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6678 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6679
6680 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6681
6682 * csu/libc-tls.c (static_dtv): Renamed to ...
6683 (_dl_static_dtv): This. Make it global.
6684 (_dl_initial_dtv): Removed.
6685 (__libc_setup_tls): Updated.
6686 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6687 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6688 DL_INITIAL_DTV.
6689
6690 2012-09-06 Petr Machata <pmachata@redhat.com>
6691
6692 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6693 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6694 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6695 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6696
6697 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6698
6699 [BZ #14545]
6700 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6701 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6702 freeing dtv[-1].
6703
6704 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6705
6706 [BZ #14544]
6707 * Makeconfig (link-static-before-libc): Replace $(+prector)
6708 with $(+prectorT).
6709 (link-static-after-libc): Replace $(+postctor) with
6710 $(+postctorT).
6711 (link-bounded): Replace $(+prector)/$(+postctor) with
6712 $(+prectorT)/$(+postctorT).
6713 (+prectorT): New macro.
6714 (+postctorT): Likewise.
6715
6716 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6717
6718 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6719 (round_str): Handle values above the maximum for IBM long double
6720 as inexact.
6721 * stdlib/tst-strtod-round.c (tests): Regenerated.
6722
6723 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6724
6725 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6726 assembler flag.
6727 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6728 zarch_nohighgprs around the zarch optimized routines.
6729 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6730 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6731 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6732 for zarch.
6733
6734 2012-09-05 David S. Miller <davem@davemloft.net>
6735
6736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6737
6738 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6739 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6740 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6741 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6742 entries.
6743
6744 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6745
6746 * malloc/arena.c: Fold copyright years.
6747 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6748
6749 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6750
6751 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6752
6753 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6754
6755 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6756
6757 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6758
6759 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6760 change internal state upon failure.
6761
6762 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6763
6764 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6765 * malloc/memusage.c (mmap): Likewise.
6766 (mmap64, mremap): Likewise. Adjust name in comment.
6767
6768 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6769
6770 * libio/fileops.c: Fix typos in comments.
6771 * libio/oldfileops.c: Likewise.
6772 * libio/wfileops.c: Likewise.
6773
6774 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6775
6776 [BZ #1349]
6777 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6778 (tst-malloc-usable-ENV): Set environment for test case.
6779 * malloc/hooks.c (malloc_check_get_size): New function to get
6780 requested size.
6781 * malloc/malloc.c (musable): Use malloc_check_get_size.
6782 * malloc/tst-malloc-usable.c: New test case.
6783
6784 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6785
6786 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6787
6788 2012-09-05 Allan McRae <allan@archlinux.org>
6789
6790 [BZ #13966]
6791 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6792 determine header location.
6793 * configure: Regenerated.
6794
6795 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6796
6797 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6798 float format.
6799 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
6800 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6801 format.
6802 (test): Regenerate.
6803
6804 2012-09-04 David S. Miller <davem@davemloft.net>
6805
6806 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6807 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6808 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6809
6810 2012-09-04 Florian Weimer <fweimer@redhat.com>
6811
6812 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6813 failures.
6814
6815 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6816
6817 2012-09-04 Joseph Myers <joseph@codesourcery.com>
6818
6819 [BZ #9914]
6820 * libio/iogetdelim.c: Include <limits.h>.
6821 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6822 + len + 1 would overflow.
6823
6824 2012-09-03 Andreas Jaeger <aj@suse.de>
6825
6826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6827 * sysdeps/i386/fpu/libm-test-ulps: Update.
6828
6829 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6830
6831 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6832 Add s_sinf-sse2, s_conf-sse2.
6833
6834 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6835 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6836 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6837 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6838
6839 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6840 for using routine as __sinf_ia32.
6841 Use macro for function declaration and weak_alias.
6842 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6843 for using routine as __cosf_ia32.
6844 Use macro for function declaration and weak_alias.
6845
6846 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6847 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6848
6849 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6850 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6852
6853 * math/libm-test.inc (cos_test): Add more test cases.
6854 (sin_test): Likewise.
6855 (sincos_test): Likewise.
6856
6857 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6858
6859 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6860 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6861 hidden.
6862 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6863
6864 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6865
6866 [BZ #14538]
6867 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6868 first element of the GOT.
6869 (elf_machine_load_address): Return the difference between
6870 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6871
6872 2012-09-01 Allan McRae <allan@archlinux.org>
6873
6874 [BZ #13412]
6875 * configure.in (AWK): Require gawk version 3.0 or later.
6876 * configure: Regenerated.
6877
6878 2012-09-01 Joseph Myers <joseph@codesourcery.com>
6879
6880 * sysdeps/unix/sysv/linux/kernel-features.h
6881 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6882 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6883 [__NR_clock_getres]: Make code unconditional.
6884 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6885 (clock_getcpuclockid): Remove code left unreachable by removal of
6886 conditionals.
6887 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6888 code unconditional.
6889 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6890 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6891 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6892 Make code unconditional.
6893 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6894 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6895 * sysdeps/unix/sysv/linux/clock_settime.c
6896 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6897 conditional code.
6898 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6899 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6900
6901 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6902
6903 [BZ #14476]
6904 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6905 scripts/test-installation.pl.
6906
6907 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6908 and $ld_so_version if it is set.
6909
6910 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6911
6912 [BZ #14516]
6913 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6914 failure if reading from procfs failed.
6915 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6916
6917 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6918
6919 * sysdeps/unix/sysv/linux/kernel-features.h
6920 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6921 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6922 Remove conditional code.
6923 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6924 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6925 Remove conditional code.
6926 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6927 * sysdeps/unix/sysv/linux/i386/fxstat.c
6928 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6929 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6930 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6931 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6932 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6933 * sysdeps/unix/sysv/linux/i386/lxstat.c
6934 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6935 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6936 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6937 Remove conditional code.
6938 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6939 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6940 Remove conditional code.
6941 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6942 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6943 <kernel-features.h>.
6944 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6945 Remove.
6946 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6947 Remove conditional code.
6948 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6949 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6950 Remove conditional.
6951
6952 2012-08-27 Mike Frysinger <vapier@gentoo.org>
6953
6954 [BZ #5400]
6955 * NEWS: Add fixed bug number.
6956
6957 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6958
6959 [BZ #14519]
6960 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6961 underflowing exponent in case of negative sign.
6962 * stdlib/tst-strtod-round-data: Add more tests.
6963 * stdlib/tst-strtod-round.c (tests): Regenerated.
6964
6965 [BZ #3479]
6966 * stdlib/strtod_l.c (NDIG): Remove.
6967 (HEXNDIG): Likewise.
6968 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6969 smallest representable value.
6970 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6971 lie within an exact representation of 1/2 ulp of the result.
6972 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6973 unconditionally.
6974 (TENS_P9_IDX): Define unconditionally.
6975 (TENS_P9_SIZE): Likewise.
6976 (TENS_P10_IDX): Likewise.
6977 (TENS_P10_SIZE): Likewise.
6978 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6979 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6980 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6981 entries for 10^2^13 and 10^2^14.
6982 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6983 (TENS_P13_IDX): Define.
6984 (TENS_P13_SIZE): Likewise.
6985 (TENS_P14_IDX): Likewise.
6986 (TENS_P14_SIZE): Likewise.
6987 (_fpioconst_pow10): Change array size to
6988 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6989 unconditional.
6990 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6991 1024]: Add entries for 10^2^13 and 10^2^14.
6992 [LAST_POW10 > _LAST_POW10]: Remove #error.
6993 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6994 (_fpioconst_pow10): Change array size to
6995 FPIOCONST_POW10_ARRAY_SIZE.
6996 * stdlib/gen-fpioconst.c: New file.
6997 * stdlib/gen-tst-strtod-round.c: Likewise.
6998 * stdlib/tst-strtod-round-data: Likewise.
6999 * stdlib/tst-strtod-round.c: Likewise.
7000 * stdlib/Makefile (tests): Add tst-strtod-round.
7001
7002 [BZ #14459]
7003 * stdlib/strtod_l.c: Include <stdint.h>.
7004 (NDEBUG): Do not define.
7005 (round_and_return): Change EXPONENT parameter to type intmax_t.
7006 Rearrange calculations to avoid internal overflow possibilities.
7007 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7008 Rearrange calculations to avoid internal overflow possibilities.
7009 Assert that number fits inside MPNSIZE limbs.
7010 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7011 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7012 calculations and add assertions to avoid internal overflow
7013 possibilities. Add casts to avoid signed/unsigned operations.
7014 * stdlib/tst-strtod-overflow.c: New file.
7015 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7016
7017 2012-08-25 Marek Polacek <polacek@redhat.com>
7018
7019 * time/time.h: Fix some typos in comments.
7020
7021 2012-08-23 Roland McGrath <roland@hack.frob.com>
7022
7023 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7024 * posix/tst-rfc3484-2.c: Likewise.
7025 * posix/tst-rfc3484-3.c: Likewise.
7026
7027 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
7028
7029 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7030 (EF_ARM_ABI_FLOAT_HARD): Likewise.
7031
7032 2012-08-23 Joseph Myers <joseph@codesourcery.com>
7033
7034 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7035 #include of fxstatat64.c.
7036
7037 2012-08-22 Roland McGrath <roland@hack.frob.com>
7038
7039 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7040 * shadow/getspent_r.c: Likewise.
7041 * shadow/getspnam.c: Likewise.
7042 * shadow/getspnam_r.c: Likewise.
7043 * gshadow/getsgent.c: Likewise.
7044 * gshadow/getsgent_r.c: Likewise.
7045 * gshadow/getsgnam.c: Likewise.
7046 * gshadow/getsgnam_r.c: Likewise.
7047 * inet/getnetbyad.c: Likewise.
7048 * inet/getnetbyad_r.c: Likewise.
7049 * inet/getnetbynm.c: Likewise.
7050 * inet/getnetbynm_r.c: Likewise.
7051 * inet/getnetent.c: Likewise.
7052 * inet/getnetent_r.c: Likewise.
7053 * inet/getproto.c: Likewise.
7054 * inet/getproto_r.c: Likewise.
7055 * inet/getprtent.c: Likewise.
7056 * inet/getprtent_r.c: Likewise.
7057 * inet/getprtname.c: Likewise.
7058 * inet/getprtname_r.c: Likewise.
7059 * inet/getrpcbyname.c: Likewise.
7060 * inet/getrpcbyname_r.c: Likewise.
7061 * inet/getrpcbynumber.c: Likewise.
7062 * inet/getrpcbynumber_r.c: Likewise.
7063 * inet/getrpcent.c: Likewise.
7064 * inet/getrpcent_r.c: Likewise.
7065 * inet/getaliasent.c: Likewise.
7066 * inet/getaliasent_r.c: Likewise.
7067 * inet/getaliasname.c: Likewise.
7068 * inet/getaliasname_r.c: Likewise.
7069 * nscd/getgrgid_r.c: Likewise.
7070 * nscd/getgrnam_r.c: Likewise.
7071 * nscd/gethstbyad_r.c: Likewise.
7072 * nscd/gethstbynm3_r.c: Likewise.
7073 * nscd/getpwnam_r.c: Likewise.
7074 * nscd/getpwuid_r.c: Likewise.
7075 * nscd/getsrvbynm_r.c: Likewise.
7076 * nscd/getsrvbypt_r.c: Likewise.
7077 * nscd/gai.c: Likewise.
7078
7079 * configure.in (build_nscd): New substituted variable, set
7080 by --disable-build-nscd and defaults to $use_nscd.
7081 * configure: Regenerated.
7082 * config.make.in (build-nscd): New substituted variable.
7083 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7084 Change conditional to require [$(build-nscd) = yes] as well.
7085 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7086
7087 [BZ# 13696]
7088 * configure.in (use_nscd): New substituted variable, set by
7089 --disable-nscd. If enabled, define USE_NSCD.
7090 * configure: Regenerated.
7091 * config.h.in: Add USE_NSCD.
7092 * config.make.in (use-nscd): New substituted variable.
7093 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7094 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7095 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7096 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7097 (CFLAGS-getgrnam_r.c): Likewise.
7098 (CFLAGS-initgroups.c): Likewise.
7099 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7100 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7101 Variables removed.
7102 * inet/getnetgrent_r.c
7103 (nscd_setnetgrent): New function, broken out of ...
7104 (setnetgrent): ... here. Call it.
7105 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7106 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7107 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7108 * nscd/Makefile (routines, aux): Move definitions after include of
7109 Makeconfig. Conditionalize on [$(use-nscd) != no].
7110 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7111 Conditionalize on [USE_NSCD].
7112 (is_nscd, nscd_init_cb): Likewise.
7113 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7114 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7115 * nss/nss_db/db-init.c: Likewise.
7116 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7117 [USE_NSCD].
7118 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7119 (make_request): Use it.
7120 (cache_valid_p): New function.
7121 (__check_pf): Use it.
7122 * NEWS: Add item for --disable-nscd.
7123
7124 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7125
7126 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7127 to support sed >= 4.2.1-20-ga9bf076.
7128 * configure: Regenerated.
7129
7130 2012-08-22 Roland McGrath <roland@hack.frob.com>
7131
7132 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7133 Conditionalize whole body on [IREL].
7134
7135 2012-08-22 Jeff Law <law@redhat.com>
7136
7137 [BZ #14505]
7138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7139 if the family is PF_UNSPEC.
7140
7141 2012-08-22 Mike Frysinger <vapier@gentoo.org>
7142
7143 * Makerules (lib-version): Rename from V.
7144 (install-lib-nosubdir): Change V to lib-version.
7145
7146 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7147
7148 [BZ #14252]
7149 * powerpc32/power6/wcschr.c: New file.
7150 * powerpc32/power6/wcscpy.c: New file.
7151 * powerpc32/power6/wcsrchr.c: New file.
7152 * powerpc64/power6/wcschr.c: New file.
7153 * powerpc64/power6/wcscpy.c: New file.
7154 * powerpc64/power6/wcsrchr.c: New file.
7155
7156 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7157
7158 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7159 (two_way_short_needle): Use it.
7160 * string/strstr.c (AVAILABLE1_USES_J): Define.
7161 * string/strcasestr.c: Likewise.
7162
7163 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7164 array references.
7165 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7166
7167 [BZ #11607]
7168 * NEWS: Add an entry.
7169 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7170 define their defaults.
7171 (two_way_short_needle): Detect end-of-string on-the-fly.
7172 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7173 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7174 * string/bug-strcasestr1.c: New test.
7175 * string/Makefile: Run it.
7176
7177 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7178
7179 [BZ #11607]
7180 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7181 the first character.
7182
7183 2012-08-21 Roland McGrath <roland@hack.frob.com>
7184
7185 * csu/elf-init.c (__libc_csu_irel): Function removed.
7186 * csu/libc-start.c (apply_irel): New function.
7187 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7188
7189 2012-08-21 Joseph Myers <joseph@codesourcery.com>
7190
7191 * sysdeps/unix/sysv/linux/kernel-features.h
7192 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7193 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7194 <kernel-features.h>.
7195 [__NR_fadvise64_64]: Make code unconditional.
7196 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7197 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7198 !__NR_fadvise64_64)]: Likewise.
7199 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7200 !__NR_fadvise64_64))]: Likewise.
7201 [__NR_fadvise64]: Make code unconditional.
7202 [!__NR_fadvise64]: Remove conditional code.
7203 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7204 <kernel-features.h>.
7205 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7206 unconditional.
7207 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7208 conditional code.
7209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7210 not include <kernel-features.h>.
7211 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7212 unconditional.
7213 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7214 conditional code.
7215 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7216 include <kernel-features.h>.
7217 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7218 unconditional.
7219 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7220 conditional code.
7221
7222 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7223
7224 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7225 slight instruction rearrangements per scrollpipe analysis.
7226 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7227
7228 2012-08-20 Roland McGrath <roland@hack.frob.com>
7229
7230 * manual/syslog.texi (syslog; vsyslog, closelog):
7231 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7232 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7233
7234 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7235 DSOCAPS to match condition on defining it.
7236
7237 2012-08-20 Joseph Myers <joseph@codesourcery.com>
7238
7239 * sysdeps/unix/sysv/linux/kernel-features.h
7240 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7242 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7243 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7245 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7246 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7248 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7249 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7250
7251 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7252 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7253
7254 * sysdeps/unix/sysv/linux/kernel-features.h
7255 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7256 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7257 unconditional.
7258 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7259 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7260 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7261 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7262 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7263 Make code unconditional.
7264 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7265 (__mmap64) [!__NR_mmap2]: Likewise.
7266 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7267 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7268 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7269 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7270 [__NR_mmap2]: Make code unconditional.
7271 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7272 (__mmap64) [!__NR_mmap2]: Likewise.
7273
7274 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7275
7276 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7277
7278 2012-08-18 Andreas Jaeger <aj@suse.de>
7279
7280 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7281
7282 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7283
7284 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7285 * include/unistd.h (__have_sock_cloexec): Likewise.
7286 (__have_pipe2): Likewise.
7287 (__have_dup3): Likewise.
7288
7289 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7290
7291 [BZ #9685]
7292 * include/unistd.h (__have_pipe2): Change define into an extern int.
7293 (__have_dup3): Likewise.
7294 * socket/have_sock_cloexec.c: Include fcntl.h.
7295 (__have_pipe2): New variable.
7296 (__have_dup3): Likewise.
7297
7298 2012-08-17 Mike Frysinger <vapier@gentoo.org>
7299
7300 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7301
7302 2012-08-17 Marek Polacek <polacek@redhat.com>
7303
7304 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7305 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7306
7307 2012-08-17 Roland McGrath <roland@hack.frob.com>
7308
7309 * configure.in: Add AC_SUBST for sysheaders.
7310 * configure: Regenerated.
7311 * config.make.in (sysheaders): New substituted variable.
7312
7313 * sysdeps/unix/mkfifo.c: Moved ...
7314 * sysdeps/posix/mkfifo.c: ... here.
7315 * sysdeps/unix/mkfifoat.c: Moved ...
7316 * sysdeps/posix/mkfifoat.c: ... here.
7317
7318 * sysdeps/unix/utime.c: Moved ...
7319 * sysdeps/posix/utime.c: ... here.
7320
7321 * sysdeps/unix/time.c: Moved ...
7322 * sysdeps/posix/time.c: ... here.
7323 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7324 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7325
7326 * sysdeps/unix/nice.c: Moved ...
7327 * sysdeps/posix/nice.c: ... here.
7328
7329 * sysdeps/unix/alarm.c: Moved ...
7330 * sysdeps/posix/alarm.c: ... here.
7331
7332 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7333
7334 2012-08-17 Jeff Law <law@redhat.com>
7335
7336 * intl/Makefile (codeset_mo): New variable.
7337 ($(codeset_mo)): New target.
7338 (tst-codeset.out): Depend on that. Remove explicit rule.
7339 (tst-gettext3.out, tst-gettext5.out): Likewise.
7340 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7341 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7342 * intl/tst-codeset.sh: Remove.
7343 * intl/tst-gettext3.sh: Likewise.
7344 * intl/tst-gettext5.sh: Likewise.
7345
7346 2012-08-17 Roland McGrath <roland@hack.frob.com>
7347
7348 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7349 * sysdeps/unix/syscalls.list: ... here.
7350
7351 * sysdeps/posix/getaddrinfo.c
7352 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7353 (gaiconf_init, gaiconf_reload): Use them.
7354 [!_STATBUF_ST_NSEC]
7355 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7356 Define using time_t rather than struct timespec.
7357
7358 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7359 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7360 Macros removed.
7361 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7362 [!NO_THREADS].
7363 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7364 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7365 Likewise.
7366
7367 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7368 __libc_cleanup_push argument.
7369
7370 * bits/param.h: New file.
7371 * misc/sys/param.h: New file.
7372 * include/sys/param.h: New file.
7373 * misc/Makefile (headers): Add bits/param.h.
7374 * sysdeps/generic/sys/param.h: File removed.
7375 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7376 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7377 * sysdeps/mach/hurd/bits/param.h: New file.
7378 * sysdeps/mach/hurd/sys/param.h: File removed.
7379
7380 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7381 last change.
7382
7383 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7384 [_IO_MTSAFE_IO].
7385 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7386 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7387 New macros.
7388
7389 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7390 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7391 rather than -D_IO_MTSAFE_IO conditionally.
7392 * stdio-common/Makefile (CPPFLAGS): Likewise.
7393 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7394 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7395 Use $(libio-mtsafe).
7396 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7397 of -D_IO_MTSAFE_IO.
7398 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7399 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7400 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7401 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7402 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7403 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7404 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7405 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7406 (CFLAGS-fread_u_chk.c): Likewise.
7407 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7408 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7409 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7410 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7411 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7412 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7413 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7414 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7415 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7416
7417 * libio/Makefile: Test [$(libc-reentrant) = yes]
7418 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7419
7420 * Makeconfig
7421 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7422 * sysdeps/pthread/configure: File removed.
7423 * sysdeps/pthread/Makeconfig: New file.
7424 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7425 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7426
7427 2012-08-16 Gary Benson <gbenson@redhat.com>
7428
7429 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7430 unmapping the first object in a namespace.
7431
7432 2012-08-16 Roland McGrath <roland@hack.frob.com>
7433
7434 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7435 (__internal_setnetgrent): ... this. Add internal_function to
7436 definition. Add libc_hidden_def.
7437 (setnetgrent): Update caller.
7438 (internal_endnetgrent): Renamed to ...
7439 (__internal_endnetgrent): ... this. Add internal_function to
7440 definition. Add libc_hidden_def.
7441 (endnetgrent): Update caller.
7442 (internal_getnetgrent_r): Renamed to ...
7443 (__internal_getnetgrent_r): ... this. Add internal_function to
7444 definition. Add libc_hidden_def.
7445 (__getnetgrent_r): Update caller.
7446 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7447
7448 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7449
7450 * stdlib/longlong.h: Update from GCC.
7451
7452 2012-08-16 Roland McGrath <roland@hack.frob.com>
7453
7454 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7455 on _QL, which is set by umul_ppmm but never used.
7456 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7457 variables, which are set by GMP macros but never used.
7458 * stdio-common/_itowa.c (_itowa): Likewise.
7459 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7460 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7461
7462 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7463
7464 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7465 struct La_sh_regs is not constant.
7466 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7467 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7468 and struct La_sparc64_regs are not constant.
7469
7470 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7471
7472 * sysdeps/unix/sysv/linux/kernel-features.h
7473 (__ASSUME_POSIX_TIMERS): Remove.
7474 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7475 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7476 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7477 Make code unconditional.
7478 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7479 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7480 Make code unconditional.
7481 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7482 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7483 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7484 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7485 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7486 Make code unconditional.
7487 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7488 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7489 (__libc_missing_posix_timers): Remove.
7490
7491 2012-08-15 Roland McGrath <roland@hack.frob.com>
7492
7493 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7494 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7495
7496 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7497
7498 * elf/dl-sym.c: Include <stdlib.h>.
7499
7500 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7501 constants, which avoids warnings in 32-bit builds.
7502
7503 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7504 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7505
7506 * misc/lseek.c: File moved to ...
7507 * io/lseek.c: ... here.
7508
7509 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7510
7511 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7512 shifting LEN more than 31 bits at once.
7513
7514 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7515
7516 [BZ #14195]
7517 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7518 segmentation fault for a case of two empty input strings.
7519 * string/test-strncasecmp.c (check1): Renamed to...
7520 (bz12205): ...this.
7521 (bz14195): Add new testcase for two empty input strings and N > 0.
7522 (test_main): Call new testcase, adapt for renamed function.
7523
7524 2012-08-15 Andreas Jaeger <aj@suse.de>
7525
7526 [BZ #14090]
7527 * crypt/md5test2.c: New test, based on test supplied by Serge
7528 Belyshev <belyshev@depni.sinp.msu.ru>.
7529 * crypt/Makefile (xtests): Add md5test-giant..
7530 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7531
7532 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7533
7534 [BZ #14090]
7535 * crypt/md5.c (md5_process_block): Don't assume the buffer
7536 length is less than 2**32.
7537 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7538 length is less than 2**64.
7539
7540 2012-08-15 Roland McGrath <roland@hack.frob.com>
7541
7542 * string/str-two-way.h: Include <sys/param.h>.
7543 (MAX): Macro removed.
7544
7545 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7546 Move #define and #undef of memmove to just before and after
7547 including <string.h>.
7548
7549 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7550 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7551 and after including <string.h>. Move declarations of
7552 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7553 to before #include "string/memmove.c".
7554
7555 * include/dirent.h: Declare __getdirentries.
7556
7557 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7558 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7559
7560 2012-08-14 Mike Frysinger <vapier@gentoo.org>
7561
7562 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7563 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7564 * sysdeps/i386/configure: Regenerated.
7565 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7566 STABS_CURRENT_FILE, and STABS_FUN.
7567 (END): Remove call to STABS_FUN_END.
7568 (STABS_CURRENT_FILE1): Delete.
7569 (STABS_CURRENT_FILE): Likewise.
7570 (STABS_FUN): Likewise.
7571 (STABS_FUN_END): Likewise.
7572 (STABS_FUN2): Likewise.
7573 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7574 * sysdeps/x86_64/configure: Regenerated.
7575
7576 2012-08-14 Roland McGrath <roland@hack.frob.com>
7577
7578 * elf/dl-open.c: Include <atomic.h>.
7579 * elf/dl-lookup.c: Likewise.
7580
7581 2012-08-14 Joseph Myers <joseph@codesourcery.com>
7582
7583 * sysdeps/unix/sysv/linux/kernel-features.h
7584 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7585 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7586 unconditionally.
7587 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7588 unconditionally.
7589 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7590 condition on __ASSUME_CLONE_THREAD_FLAGS.
7591
7592 2012-08-14 Andreas Jaeger <aj@suse.de>
7593
7594 * sysdeps/i386/fpu/libm-test-ulps: Update.
7595
7596 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7597
7598 * include/atomic.h (atomic_exchange_and_add): Split into ...
7599 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7600 New atomic macros.
7601
7602 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7603
7604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7605
7606 2012-08-13 Jeff Law <law@redhat.com>
7607
7608 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7609 null byte in the output string.
7610
7611 2012-08-10 Joseph Myers <joseph@codesourcery.com>
7612
7613 * sysdeps/unix/sysv/linux/kernel-features.h
7614 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7615 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7616 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7617 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7618 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7619 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7620 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7621
7622 2012-08-09 Jeff Law <law@redhat.com>
7623
7624 [BZ #13939]
7625 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7626 When avoid_arena is set, don't retry in the that arena. Pick the
7627 next one, whatever it might be.
7628 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7629 (arena_lock): Pass in new parameter to arena_get2.
7630 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7631 arena_get2.
7632 (__libc_malloc): Unify retrying after main arena failure with
7633 __libc_memalign version.
7634 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7635
7636 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7637
7638 [BZ #14166]
7639 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7640 to __redirect_strstr.
7641 (__strstr_sse42): Use typeof __redirect_strstr.
7642 (__strstr_ia32): Likewise.
7643 (__libc_strstr): New prototype.
7644 (strstr): Renamed to ...
7645 (__libc_strstr): This.
7646 (strstr): New strong alias of __libc_strstr.
7647 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7648 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7649 __redirect_time.
7650 Include <time.h>.
7651 (__libc_time): New prototype.
7652 (time_ifunc): Replace time with __libc_time.
7653 (time): New strong alias and hidden definition of __libc_time.
7654 (__GI_time): Remove strong alias.
7655 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7656 Include <stddef.h>.
7657 (memmove): Redefined to __redirect_memmove.
7658 (__memmove_sse2): Use typeof __redirect_memmove.
7659 (__memmove_ssse3): Likewise.
7660 (__memmove_ssse3_back): Likewise.
7661 (__libc_memmove): New prototype.
7662 (memmove): Renamed to ...
7663 (__libc_memmove): This.
7664 (memmove): New strong alias of __libc_memmove.
7665
7666 2012-08-08 Mark Salter <msalter@redhat.com>
7667
7668 * elf/elf.h
7669 (R_MN10300_TLS_GD): Define.
7670 (R_MN10300_TLS_LD): Likewise.
7671 (R_MN10300_TLS_LDO): Likewise.
7672 (R_MN10300_TLS_GOTIE): Likewise.
7673 (R_MN10300_TLS_IE): Likewise.
7674 (R_MN10300_TLS_LE): Likewise.
7675 (R_MN10300_TLS_DTPMOD): Likewise.
7676 (R_MN10300_TLS_DTPOFF): Likewise.
7677 (R_MN10300_TLS_TPOFF): Likewise.
7678 (R_MN10300_SYM_DIFF): Likewise.
7679 (R_MN10300_ALIGN): Likewise.
7680 (R_MN10300_NUM): Update.
7681
7682 2012-08-08 Joseph Myers <joseph@codesourcery.com>
7683
7684 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7685 Remove.
7686
7687 2012-08-08 Roland McGrath <roland@hack.frob.com>
7688
7689 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7690
7691 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7692 sysdeps/unix -> sysdeps/posix move.
7693 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7694
7695 2012-08-07 Allan McRae <allan@archlinux.org>
7696
7697 [BZ #14303]
7698 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7699 (SUNOS_CPP): Likewise.
7700 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7701 not found.
7702 (open_input): Call CPP using execvp.
7703
7704 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7705
7706 * sysdeps/unix/sysv/linux/kernel-features.h
7707 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7708 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7709 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7710 (__ASSUME_WAITID_SYSCALL): Likewise.
7711 * sysdeps/unix/sysv/linux/dl-execstack.c
7712 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7713 code unconditional.
7714 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7715 conditional code.
7716 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7717 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7718 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7719 code.
7720 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7721 unconditional.
7722 [__ASSUME_WAITID_SYSCALL]: Likewise.
7723 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7724
7725 2012-08-07 Roland McGrath <roland@hack.frob.com>
7726
7727 * sysdeps/unix/closedir.c: Renamed to ...
7728 * sysdeps/posix/closedir.c: ... here.
7729 * sysdeps/unix/dirfd.c: Renamed to ...
7730 * sysdeps/posix/dirfd.c: ... here.
7731 * sysdeps/unix/dirstream.h: Renamed to ...
7732 * sysdeps/posix/dirstream.h: ... here.
7733 * sysdeps/unix/fdopendir.c: Renamed to ...
7734 * sysdeps/posix/fdopendir.c: ... here.
7735 * sysdeps/unix/opendir.c: Renamed to ...
7736 * sysdeps/posix/opendir.c: ... here.
7737 * sysdeps/unix/readdir.c: Renamed to ...
7738 * sysdeps/posix/readdir.c: ... here.
7739 * sysdeps/unix/readdir_r.c: Renamed to ...
7740 * sysdeps/posix/readdir_r.c: ... here.
7741 * sysdeps/unix/rewinddir.c: Renamed to ...
7742 * sysdeps/posix/rewinddir.c: ... here.
7743 * sysdeps/unix/seekdir.c: Renamed to ...
7744 * sysdeps/posix/seekdir.c: ... here.
7745 * sysdeps/unix/telldir.c: Renamed to ...
7746 * sysdeps/posix/telldir.c: ... here.
7747 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7748 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7749 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7750 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7751
7752 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7753 * bits/fcntl.h: ... here.
7754
7755 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7756 not 0.
7757 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7758 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7759 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7760 (struct flock): Move l_start, l_len to the beginning.
7761 Use __pid_t for l_pid.
7762 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7763 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7764 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7765 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7766 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7767 [__USE_LARGEFILE64] (struct flock64): New type.
7768 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7769
7770 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7771 * bits/dirent.h: ... here.
7772
7773 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7774 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7775
7776 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7777
7778 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7779 Change from 2.6.0 to 2.6.16.
7780 * sysdeps/unix/sysv/linux/configure: Regenerated.
7781 * sysdeps/unix/sysv/linux/kernel-features.h
7782 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7783 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7784 version.
7785 (__ASSUME_UTIMES): Likewise.
7786 (__ASSUME_CLONE_STOPPED): Remove.
7787 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7788 architectures, not kernel version.
7789 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7790 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7791 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7792 (__ASSUME_WAITID_SYSCALL): Likewise.
7793 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7794 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7795 * README: State 2.6.16 as minimum Linux kernel version. Do not
7796 refer to older versions.
7797
7798 2012-08-06 Roland McGrath <roland@hack.frob.com>
7799
7800 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7801 Define alphasort64 as an alias.
7802 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7803 Define versionsort64 as an alias.
7804 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7805 Define scandir64 as an alias.
7806 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7807 Define scandirat64 as an alias.
7808 * dirent/alphasort64.c (alphasort64):
7809 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7810 * dirent/versionsort64.c: Likewise.
7811 * dirent/scandir64.c: Likewise.
7812 * dirent/scandirat64.c: Likewise.
7813 * sysdeps/wordsize-64/alphasort.c: File removed.
7814 * sysdeps/wordsize-64/alphasort64.c: File removed.
7815 * sysdeps/wordsize-64/scandir.c: File removed.
7816 * sysdeps/wordsize-64/scandir64.c: File removed.
7817 * sysdeps/wordsize-64/scandirat.c: File removed.
7818 * sysdeps/wordsize-64/scandirat64.c: File removed.
7819 * sysdeps/wordsize-64/versionsort.c: File removed.
7820 * sysdeps/wordsize-64/versionsort64.c: File removed.
7821 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7822 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7823 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7824 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7825 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7826 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7827 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7828 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7829
7830 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7831 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7832 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7833 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7834 [defined __arch64__ || defined __sparcv9]
7835 (__INO_T_MATCHES_INO64_T): New macro.
7836 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7837 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7838 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7839 * sysdeps/unix/sysv/linux/bits/dirent.h
7840 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7841 (_DIRENT_MATCHES_DIRENT64): New macro.
7842
7843 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7844 Define lockf64 as an alias.
7845 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7846 Define fseeko64 as an alias.
7847 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7848 Define ftello64 as an alias.
7849 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7850 Define _IO_fgetpos64 and fgetpos64 as aliases.
7851 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7852 Define _IO_fsetpos64 and fsetpos64 as aliases.
7853 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7854 Conditionalize body on this.
7855 * libio/fseeko64.c: Likewise.
7856 * libio/ftello64.c: Likewise.
7857 * libio/iofgetpos64.c: Likewise.
7858 * libio/iofsetpos64.c: Likewise.
7859 * sysdeps/wordsize-64/lockf.c: File removed.
7860 * sysdeps/wordsize-64/lockf64.c: File removed.
7861 * sysdeps/wordsize-64/fseeko.c: File removed.
7862 * sysdeps/wordsize-64/fseeko64.c: File removed.
7863 * sysdeps/wordsize-64/ftello.c: File removed.
7864 * sysdeps/wordsize-64/ftello64.c: File removed.
7865 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7866 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7867 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7868 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7869 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7870 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7871 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7872 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7873 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7874 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7875 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7876 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7877 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7878 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7879
7880 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7881 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7882 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7883 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7884 [defined __arch64__ || defined __sparcv9]
7885 (__OFF_T_MATCHES_OFF64_T): New macro.
7886 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7887 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7889 (__OFF_T_MATCHES_OFF64_T): New macro.
7890
7891 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7892
7893 * stdlib/secure-getenv.c (__secure_getenv): Replace
7894 GLIBC_2_16 with GLIBC_2_17.
7895
7896 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7897
7898 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7899 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7900
7901 2012-08-03 David S. Miller <davem@davemloft.net>
7902
7903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7904
7905 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7906
7907 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7908 Remove.
7909 (__ASSUME_CORRECT_SI_PID): Likewise.
7910 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7911 (__ASSUME_TMPFS_NAME): Likewise.
7912 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7913 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7914 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7915 (HAVE_AUX_SECURE): Make definition unconditional.
7916 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7917 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7918
7919 2012-08-03 Roland McGrath <roland@hack.frob.com>
7920
7921 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7922 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7923 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7924 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7925 __eloop_threshold instead of SYMLOOP_MAX.
7926
7927 * sysdeps/generic/eloop-threshold.h: New file.
7928 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7929 of MAXSYMLINKS.
7930 * elf/chroot_canon.c (chroot_canon): Likewise.
7931
7932 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7933
7934 [BZ #13717]
7935 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7936 Change to 2.6.0 everywhere.
7937 * sysdeps/unix/sysv/linux/configure: Regenerated.
7938 * sysdeps/unix/sysv/linux/kernel-features.h
7939 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7940 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7941 kernel versions.
7942 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7943 (__ASSUME_FUTEX_REQUEUE): Remove.
7944 (__ASSUME_STATFS64): Define unconditionally.
7945 (__ASSUME_AT_SECURE): Likewise.
7946 (__ASSUME_CORRECT_SI_PID): Likewise.
7947 (__ASSUME_TGKILL): Define without depending on kernel version for
7948 i386.
7949 (__ASSUME_UTIMES): Likewise.
7950 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7951 kernel version.
7952 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7953 (__ASSUME_TMPFS_NAME): Likewise.
7954 * README: Update reference to Linux kernel versions.
7955
7956 2012-08-02 Marek Polacek <polacek@redhat.com>
7957
7958 [BZ# 14150]
7959 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7960 libc_cv_asm_type_prefix with %.
7961 * configure: Regenerated.
7962 * include/libc-symbols.h: Remove comment about
7963 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7964 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7965 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7966 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7967 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7968 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7969 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7970 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7971 * elf/tst-unique2mod1.c: Likewise.
7972 * elf/tst-unique1mod2.c: Likewise.
7973 * elf/tst-unique1mod1.c: Likewise.
7974 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7975 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7976 Replace ASM_TYPE_DIRECTIVE with .type.
7977 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7978 * sysdeps/i386/sysdep.h: Likewise.
7979 * sysdeps/x86_64/sysdep.h: Likewise.
7980 * sysdeps/sh/sysdep.h: Likewise.
7981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7982 Do not define ASM_TYPE_DIRECTIVE.
7983 * sysdeps/powerpc/sysdep.h: Likewise.
7984 * sysdeps/powerpc/powerpc32/sysdep.h:
7985 Replace ASM_TYPE_DIRECTIVE with .type.
7986 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7987 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7988 * sysdeps/i386/fpu/e_powf.S: Likewise.
7989 * sysdeps/i386/fpu/e_expl.S: Likewise.
7990 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7991 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7992 * sysdeps/i386/fpu/e_pow.S: Likewise.
7993 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7994 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7995 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7996 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7997 * sysdeps/i386/fpu/e_log2.S: Likewise.
7998 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7999 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8000 * sysdeps/i386/fpu/e_powl.S: Likewise.
8001 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8002 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8003 * sysdeps/i386/fpu/e_logl.S: Likewise.
8004 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8005 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8006 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8007 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8008 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8009 * sysdeps/i386/fpu/e_log.S: Likewise.
8010 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8011 * sysdeps/i386/fpu/e_logf.S: Likewise.
8012 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8013 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8014 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8015 * sysdeps/i386/fpu/e_log10.S: Likewise.
8016 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8017 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8018 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8019 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8020 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8021 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8022 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8023 * sysdeps/i386/i686/strtok.S: Likewise.
8024 * sysdeps/i386/i386-mcount.S: Likewise.
8025 * sysdeps/i386/strtok.S: Likewise.
8026 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8027 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8028 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8029 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8030 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8031 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8032 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8033 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8034 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8035 * sysdeps/x86_64/_mcount.S: Likewise.
8036 * sysdeps/x86_64/strtok.S: Likewise.
8037 * sysdeps/sh/_mcount.S: Likewise.
8038
8039 2012-08-01 Roland McGrath <roland@hack.frob.com>
8040
8041 * libio/iofopen.c: Include <fcntl.h>.
8042 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8043 (_IO_fopen64, fopen64): Define as aliases.
8044 * libio/iofopen64.c: Include <fcntl.h>.
8045 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8046 Conditionalize body on this.
8047 * sysdeps/wordsize-64/iofopen.c: File removed.
8048 * sysdeps/wordsize-64/iofopen64.c: File removed.
8049
8050 2012-08-01 Marek Polacek <polacek@redhat.com>
8051
8052 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8053 Use dlfcn directly instead of a variable.
8054 (binfmt-subdir): Do not define.
8055 (dlfcn): Likewise.
8056
8057 2012-08-01 Joseph Myers <joseph@codesourcery.com>
8058
8059 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8060 Remove all definitions.
8061 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8062 <kernel-features.h>.
8063 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8064 (miss_F_GETOWN_EX): Remove all definitions.
8065 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8066 macro definition.
8067 [!__ASSUME_FCNTL64]: Remove conditional code.
8068 [__ASSUME_FCNTL64]: Make code unconditional.
8069 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8070 <kernel-features.h>.
8071 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8072 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8073 (lockf64) [__NR_fcntl64]: Make code unconditional.
8074 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8075
8076 * sysdeps/unix/sysv/linux/kernel-features.h
8077 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8078 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8079 Make code unconditional.
8080 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8081 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8083 [__NR_vfork]: Make code unconditional.
8084 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8085 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8087 [__NR_vfork]: Make code unconditional.
8088 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8089 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8090
8091 2012-08-01 Roland McGrath <roland@hack.frob.com>
8092
8093 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8094 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8095
8096 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8097 Define mkstemp64 as an alias.
8098 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8099 Define mkstemps64 as an alias.
8100 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8101 Define mkostemp64 as an alias.
8102 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8103 Define mkostemps64 as an alias.
8104 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8105 Conditionalize body on this.
8106 * misc/mkostemp64.c: Likewise.
8107 * misc/mkostemps64.c: Likewise.
8108 * misc/mkstemps64.c: Likewise.
8109 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8110 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8111 * sysdeps/wordsize-64/mkostemp.c: File removed.
8112 * sysdeps/wordsize-64/mkstemp.c: File removed.
8113 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8114 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8115 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8116 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8117
8118 [BZ #14138]
8119 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8120 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8121 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8122 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8123
8124 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8125 compat_symbol macros from <shlib-compat.h> rather than the underlying
8126 default_symbol_version and symbol_version macros, so that DEFAULT
8127 lines in shlib-versions are respected.
8128 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8129
8130 2012-08-01 Florian Weimer <fweimer@redhat.com>
8131
8132 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8133 Declare with warn_unused_result.
8134 (setgid, setregid, setegid, setresgid): Likewise.
8135 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8136 Likewise.
8137 * WUR-REPORT: Remove set*id functions.
8138
8139 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8140
8141 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8142
8143 2012-07-31 Roland McGrath <roland@hack.frob.com>
8144
8145 * include/sys/socket.h (__libc_accept, __libc_accept4):
8146 Add attribute_hidden.
8147 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8148
8149 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8150 use of PTR_MANGLE.
8151 * inet/getnetgrent_r.c (setup): Likewise.
8152
8153 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8154
8155 2012-07-31 David S. Miller <davem@davemloft.net>
8156
8157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8158
8159 2012-07-31 Joseph Myers <joseph@codesourcery.com>
8160
8161 [BZ #13629]
8162 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8163 value between 1.0 and 2.0 and smaller part has absolute value less
8164 than 1.0.
8165 * math/s_clog10.c (__clog10): Likewise.
8166 * math/s_clog10f.c (__clog10f): Likewise.
8167 * math/s_clog10l.c (__clog10l): Likewise.
8168 * math/s_clogf.c (__clogf): Likewise.
8169 * math/s_clogl.c (__clogl): Likewise.
8170 * math/libm-test.inc (clog_test): Add more tests.
8171 (clog10_test): Likewise.
8172 * sysdeps/i386/fpu/libm-test-ulps: Update.
8173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8174
8175 2012-07-31 Florian Weimer <fweimer@redhat.com>
8176
8177 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8178 Exit with zero in case no suitable GID is found, and write a
8179 message to standard error.
8180
8181 2012-07-30 Roland McGrath <roland@hack.frob.com>
8182
8183 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8184 rather than to 1.
8185 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8186 (MAXPATHLEN): Removed.
8187 (NOGROUP, NODEV): New macros.
8188 (setbit, clrbit, isset, isclr): New macros.
8189 (howmany, roundup, powerof2): New macros.
8190 (DEV_BSIZE): New macro.
8191
8192 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8193 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8194
8195 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8196 definition on [!__NO_LONG_DOUBLE_MATH].
8197
8198 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8199 PTR_MANGLE and PTR_DEMANGLE.
8200
8201 * socket/accept4.c (accept4): Rename to __libc_accept4.
8202 Define accept4 as a weak alias.
8203
8204 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8205 on [_DIRENT_HAVE_D_TYPE].
8206 * io/ftw.c (ftw_dir): Likewise.
8207
8208 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8209
8210 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8211
8212 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8213 Use the BSD numbers rather than the arbitrary ones we had.
8214 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8215 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8216 (SIGXCPU, SIGXFSZ): New macros.
8217 (_NSIG): Now 32.
8218
8219 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8220 initializer on [_LIBC_REENTRANT].
8221
8222 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8223 definitions inside [_POSIX_MAPPED_FILES].
8224
8225 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8226
8227 * dirent/opendir.c: Include <fcntl.h>.
8228
8229 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8230 (__libc_getspecific): Likewise.
8231 (__libc_key_create): Likewise.
8232
8233 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8234 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8235 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8236 (tmpfile64): Define as alias.
8237 * sysdeps/wordsize-64/tmpfile.c: File removed.
8238 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8239 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8240 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8241
8242 * stdio-common/vfscanf.c: Include <stdbool.h>.
8243 * nss/makedb.c: Likewise.
8244 * stdio-common/_i18n_number.h: Likewise.
8245 * argp/argp-help.c: Likewise.
8246 * posix/wordexp.c: Likewise.
8247 * sysdeps/posix/spawni.c: Likewise.
8248 * nss/nss_files/files-initgroups.c: Likewise.
8249 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8250 * nss/nss_files/files-initgroups.c: Likewise.
8251 * nss/nss_db/db-netgrp.c: Likewise.
8252 * nss/nss_db/db-initgroups.c: Likewise.
8253 * io/fchmodat.c: Include <sys/stat.h>.
8254
8255 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8256 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8257
8258 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8259 [HAVE_MMAP].
8260
8261 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8262 Add multiple inclusion protection.
8263
8264 2012-07-27 David S. Miller <davem@davemloft.net>
8265
8266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8267
8268 2012-07-27 Gary Benson <gbenson@redhat.com>
8269
8270 [BZ #14298]
8271 * elf/rtld.c: Include <stap-probe.h>.
8272 (dl_main): Added static probes "init_start" and "init_complete".
8273 * elf/dl-load.c: Include <stap-probe.h>.
8274 (lose): Take new parameter "nsid".
8275 Added static probe "map_failed".
8276 (_dl_map_object_from_fd): Pass namespace id to lose.
8277 Added static probe "map_start".
8278 (open_verify): Pass namespace id to lose.
8279 * elf/dl-open.c: Include <stap-probe.h>.
8280 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8281 and "reloc_complete".
8282 * elf/dl-close.c: Include <stap-probe.h>.
8283 (_dl_close_worker): Added static probes "unmap_start" and
8284 "unmap_complete".
8285 * elf/rtld-debugger-interface.txt: New file documenting the above.
8286
8287 2012-07-26 Roland McGrath <roland@hack.frob.com>
8288
8289 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8290 rather than a string variable.
8291 * sunrpc/rpc_main.c (h_output): Likewise.
8292 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8293
8294 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8295
8296 * inet/check_native.c: New file.
8297
8298 2012-07-26 Joseph Myers <joseph@codesourcery.com>
8299
8300 [BZ #13629]
8301 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8302 if larger part has absolute value 1.0.
8303 * math/s_clog10.c (__clog10): Likewise.
8304 * math/s_clog10f.c (__clog10f): Likewise.
8305 * math/s_clog10l.c (__clog10l): Likewise.
8306 * math/s_clogf.c (__clogf): Likewise.
8307 * math/s_clogl.c (__clogl): Likewise.
8308 * math/libm-test.inc (clog_test): Add more tests.
8309 (clog10_test): Likewise.
8310 * sysdeps/i386/fpu/libm-test-ulps: Update.
8311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8312
8313 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8314 (pltexit): Likewise.
8315 (La_regs): Likewise.
8316 (La_retval): Likewise.
8317 (int_retval): Likewise.
8318 Update #error for removed macros to refer only to definitions in
8319 tst-audit.h.
8320 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8321 macro.
8322 (pltexit): Likewise.
8323 (La_regs): Likewise.
8324 (La_retval): Likewise.
8325 (int_retval): Likewise.
8326 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8327 macro.
8328 (pltexit): Likewise.
8329 (La_regs): Likewise.
8330 (La_retval): Likewise.
8331 (int_retval): Likewise.
8332 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8333 macro.
8334 (pltexit): Likewise.
8335 (La_regs): Likewise.
8336 (La_retval): Likewise.
8337 (int_retval): Likewise.
8338 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8339 macro.
8340 (pltexit): Likewise.
8341 (La_regs): Likewise.
8342 (La_retval): Likewise.
8343 (int_retval): Likewise.
8344 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8345 macro.
8346 (pltexit): Likewise.
8347 (La_regs): Likewise.
8348 (La_retval): Likewise.
8349 (int_retval): Likewise.
8350 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8351 macro.
8352 (pltexit): Likewise.
8353 (La_regs): Likewise.
8354 (La_retval): Likewise.
8355 (int_retval): Likewise.
8356 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8357 macro definitions in tst-audit.h.
8358 * sysdeps/i386/tst-audit.h: New file.
8359 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8360 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8361 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8362 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8363 * sysdeps/sh/tst-audit.h: Likewise.
8364 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8365 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8366 * sysdeps/x86_64/tst-audit.h: Likewise.
8367
8368 2012-07-26 Andreas Jaeger <aj@suse.de>
8369
8370 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8371 ptrace.
8372
8373 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8374 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8375 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8376 PTRACE_O_MASK.
8377 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8378 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8379 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8380
8381 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8382 value.
8383
8384 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8385 _sigsys.
8386 (si_call_addr, si_syscall, si_arch): Define new macro.
8387 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8388 _sigsys.
8389 (si_call_addr, si_syscall, si_arch): Define new marcro.
8390 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8391 _sigsys.
8392 (si_call_addr, si_syscall, si_arch): Define new macro.
8393 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8394 _sigsys.
8395 (si_call_addr, si_syscall, si_arch): Define new macro.
8396
8397 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8398
8399 [BZ #13717]
8400 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8401 Change to 2.4.21 where previously 2.4.1.
8402 * sysdeps/unix/sysv/linux/configure: Regenerated.
8403 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8404 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8405 Linux kernel version.
8406 (__ASSUME_STD_AUXV): Remove.
8407 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8408 kernel version.
8409 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8410 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8411 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8412 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8413 (__ASSUME_NETLINK_SUPPORT): Likewise.
8414 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8415 (__no_netlink_support): Remove conditional definition.
8416 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8417 Remove.
8418 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8419 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8420 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8421 (if_nameindex_ioctl): Remove.
8422 (if_nameindex_netlink): Do not handle __no_netlink_support.
8423 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8424 code.
8425 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8426 Remove conditional code.
8427 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8428 code.
8429 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8430 unconditional.
8431 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8432 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8433 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8434 Remove.
8435 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8436 [!__ASSUME_STD_AUXV]: Remove conditional code.
8437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8438 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8439 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8441 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8442 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8443 code.
8444 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8446 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8447 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8448 conditional code.
8449 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8451 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8452 code.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8454 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8455 conditional code.
8456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8457 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8458 code unconditional.
8459 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8460 conditional code.
8461 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8462 unconditional.
8463 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8464 conditional code.
8465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8466 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8467 unconditional.
8468 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8469 conditional code.
8470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8471 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8472 code unconditional.
8473 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8474 conditional code.
8475 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8476 unconditional.
8477 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8478 conditional code.
8479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8480 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8481 code unconditional.
8482 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8483 conditional code.
8484 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8485 unconditional.
8486 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8487 conditional code.
8488
8489 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8490
8491 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8492 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8493 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8494 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8495 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8496 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8497 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8498 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8499 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8500 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8501 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8502 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8503 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8504 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8505 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8506 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8507 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8508 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8509 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8510 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8511 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8512 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8513 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8514
8515 2012-07-25 Florian Weimer <fweimer@redhat.com>
8516
8517 * Versions.def: Add GLIBC_2.17.
8518 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8519 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8520 Introduce __libc_secure_getenv.
8521 * stdlib/Versions (2.17): Add secure_getenv
8522 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8523 * stdlib/secure-getenv.c: Rename __secure_getenv to
8524 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8525 symbol __secure_getenv for GLIBC_2.0.
8526 * stdlib/tst-secure-getenv.c: New.
8527 * stdlib/Makefile (tests): Add testcase.
8528 * manual/startup.texi (Environment Access): Document
8529 secure_getenv.
8530 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8531 __libc_secure_getenv.
8532 * inet/ruserpass.c (ruserpass): Likewise.
8533 * malloc/mtrace.c (mtrace): Likewise.
8534 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8535 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8536 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8537 * sysdeps/posix/tempname.c: Likewise. Evaluate
8538 HAVE_SECURE_GETENV.
8539 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8540 __secure_getenv to __libc_secure_getenv.
8541 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8543 Likewise.
8544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8545 Likewise.
8546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8548 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8553
8554 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8555
8556 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8557 (struct La_i86_retval): Likewise.
8558 (struct La_x86_64_regs): Likewise.
8559 (struct La_x86_64_retval): Likewise.
8560 (struct La_x32_regs): Likewise.
8561 (struct La_x32_retval): Likewise.
8562 (struct La_ppc32_regs): Likewise.
8563 (struct La_ppc32_retval): Likewise.
8564 (struct La_ppc64_regs): Likewise.
8565 (struct La_ppc64_retval): Likewise.
8566 (struct La_sh_regs): Likewise.
8567 (struct La_sh_retval): Likewise.
8568 (struct La_s390_32_regs): Likewise.
8569 (struct La_s390_32_retval): Likewise.
8570 (struct La_s390_64_regs): Likewise.
8571 (struct La_s390_64_retval): Likewise.
8572 (struct La_sparc32_regs): Likewise.
8573 (struct La_sparc32_retval): Likewise.
8574 (struct La_sparc64_regs): Likewise.
8575 (struct La_sparc64_retval): Likewise.
8576 (struct audit_ifaces): Remove architecture-specific pltenter and
8577 pltexit members.
8578 * sysdeps/i386/ldsodefs.h: New file.
8579 * sysdeps/powerpc/ldsodefs.h: Likewise.
8580 * sysdeps/s390/ldsodefs.h: Likewise.
8581 * sysdeps/sh/ldsodefs.h: Likewise.
8582 * sysdeps/sparc/ldsodefs.h: Likewise.
8583 * sysdeps/x86_64/ldsodefs.h: Likewise.
8584
8585 2012-07-25 Marek Polacek <polacek@redhat.com>
8586
8587 [BZ #6808]
8588 * math/libm-test.inc (yn_test): Add another test.
8589 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8590 to ERANGE when the result is +-Inf.
8591 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8592 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8593 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8594 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8595
8596 2012-07-24 Joseph Myers <joseph@codesourcery.com>
8597
8598 * conform/data/time.h-data (NULL): Use macro-constant. Require
8599 equal to 0.
8600 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8601 clock_t.
8602 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8603
8604 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8605
8606 * configure.in <sysdeps resolving>: Correct printing
8607 Implies_before.
8608 * configure: Regenerate.
8609
8610 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8611
8612 * math/w_ilogb.c: Include <limits.h>.
8613 * math/w_ilogbl.c: Likewise.
8614
8615 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8616
8617 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8618 va_copy. Document allowing for unavailable va_copy only as
8619 pre-C99 compatibility.
8620 * manual/string.texi (Copying and Concatenation): Use va_copy
8621 instead of __va_copy in concat example.
8622
8623 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8624
8625 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8626 (__sendto): Use create_address_port. Initialize APORT and deallocate
8627 it if not null.
8628
8629 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8630 with O_NOLINK passed to __file_name_lookup.
8631
8632 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8633 with O_NOLINK passed to __file_name_lookup.
8634
8635 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8636 negative N or less than NGIDS.
8637
8638 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8639 type to string_t. Set ERANGE as errno and return it if NAME is not big
8640 enough. Use memcpy instead of strncpy.
8641
8642 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8643
8644 * elf/Makefile (check-data): Remove.
8645 (localplt.data): New vpath directive.
8646 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8647 instead of $(check-data).
8648 * scripts/data/localplt-generic.data: Move to ...
8649 * sysdeps/generic/localplt.data: ... here.
8650 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8651 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8652 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8654 ... here.
8655 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8657 ... here.
8658 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8660 ... here.
8661 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8663 ... here.
8664 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8666 ... here.
8667 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8669 ... here.
8670
8671 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8672
8673 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8674 PPC32 and PPC64 files.
8675 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8676 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8677
8678 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8679
8680 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8681 __makecontext_ret to ...
8682 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8683 ... here and call exit if uc_link is NULL. New file.
8684 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8685 __makecontext_ret.S.
8686 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8687 __makecontext_ret to ...
8688 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8689 ... here and call exit if uc_link is NULL. New file.
8690 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8691 __makecontext_ret.S.
8692
8693 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8694
8695 * elf/elf.h (R_390_IRELATIVE): New definition.
8696 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8697 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8698 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8699 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8700 (elf_machine_lazy_rel): Likewise.
8701 * sysdeps/s390/dl-irel.h: New file.
8702 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8703 * sysdeps/s390/s390-64/memset.S: New asm code.
8704 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8705 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8706 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8707 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8708 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8709 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8710 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8711 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8712 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8713 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8714 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8715 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8716 * sysdeps/s390/s390-32/memset.S: New asm code.
8717 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8718
8719 2012-07-17 Marek Polacek <polacek@redhat.com>
8720
8721 [BZ #14349]
8722 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8723 * sysdeps/s390/s390-64/configure.in: Likewise.
8724 * sysdeps/sparc/configure.in: Likewise.
8725 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8726 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8727 * sysdeps/i386/configure.in: Likewise.
8728 * sysdeps/x86_64/configure.in: Likewise.
8729 * sysdeps/sh/configure.in: Likewise.
8730 * sysdeps/s390/s390-32/configure: Regenerated.
8731 * sysdeps/s390/s390-64/configure: Likewise.
8732 * sysdeps/x86_64/configure: Likewise.
8733 * sysdeps/sh/configure: Likewise.
8734 * sysdeps/powerpc/powerpc64/configure: Likewise.
8735 * sysdeps/powerpc/powerpc32/configure: Likewise.
8736 * sysdeps/sparc/configure: Likwise.
8737 * sysdeps/i386/configure: Likewise.
8738
8739 * elf/dl-open.c: Comment fixes.
8740
8741 2012-07-17 Joseph Myers <joseph@codesourcery.com>
8742
8743 * Makefile [CXX] (check-data): Remove.
8744 [CXX] (c++-types.data): New vpath directive.
8745 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8746 vpath. Do not allow for C++ type data being missing.
8747 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8748 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8749 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8750 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8751 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8752 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8753 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8755 ... here.
8756 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8758 ... here.
8759 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8761 ... here.
8762 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8764 ... here.
8765 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8767 ... here.
8768 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8770 ... here.
8771 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8773 ... here.
8774 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8776
8777 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8778 definitions to architecture-specific files.
8779 (TLS_IE): Likewise.
8780 (TLS_LD): Likewise.
8781 (TLS_GD): Likewise.
8782 * sysdeps/i386/tls-macros.h: New file.
8783 * sysdeps/powerpc/tls-macros.h: Likewise.
8784 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8785 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8786 * sysdeps/sh/tls-macros.h: Likewise.
8787 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8788 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8789 * sysdeps/x86_64/tls-macros.h: Likewise.
8790
8791 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8792
8793 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8794 zero value for regular exit case.
8795
8796 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8797 (__start_context): Preserve zero value for regular exit case.
8798
8799 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8800 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8801
8802 * manual/setjmp.texi (setcontext): Clarify normal process
8803 termination when uc_link is the null pointer.
8804 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8805 exit call.
8806
8807 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8808
8809 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8810 preprocessor. Test for each exception mask separately.
8811
8812 2012-07-16 Andreas Jaeger <aj@suse.de>
8813
8814 * po/ru.po: Update from translation team.
8815
8816 2012-07-15 Joseph Myers <joseph@codesourcery.com>
8817
8818 * conform/data/string.h-data (NULL): Use macro-constant. Require
8819 equal to 0.
8820 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8821 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8822 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8823 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8824 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8825
8826 2012-07-13 Andreas Jaeger <aj@suse.de>
8827
8828 * po/fr.po: Update from translation team.
8829
8830 2012-07-12 Marek Polacek <polacek@redhat.com>
8831
8832 [BZ #14173]
8833 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8834 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8835 loop condition.
8836
8837 2012-07-12 Joseph Myers <joseph@codesourcery.com>
8838
8839 [BZ #13717]
8840 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8841 Change to 2.4.1 where previously 2.4.0.
8842 * sysdeps/unix/sysv/linux/configure: Regenerated.
8843 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8844 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8845 version.
8846 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8847 (__ASSUME_AT_CLKTCK): Remove.
8848 (__ASSUME_AT_PAGESIZE): Likewise.
8849 (__ASSUME_AT_XID): Likewise.
8850 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8851 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8852 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8853 unconditionally.
8854 (HAVE_AUX_PAGESIZE): Likewise.
8855 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8856 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8857 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8858
8859 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8860
8861 [BZ #14307]
8862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8863 the temporary buffer used to invoke __gethostbyname2_r,
8864 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8865 host_data / struct gaih_addrtuple.
8866 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8867 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8868 header file nss/nsswitch.h.
8869 * nss/nsswitch.h (global scope): Add definition of implementation
8870 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8871 resolv/nss_dns/dns-host.c).
8872
8873 2012-07-11 Andreas Jaeger <aj@suse.de>
8874
8875 * po/fr.po: Update from translation team.
8876
8877 * po/sv.po: Update from translation team
8878 * po/fr.po: Another update from translation team.
8879
8880 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8881
8882 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8883 for subnormals or multiply small sinh result by itself.
8884 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8886
8887 2012-07-11 David S. Miller <davem@davemloft.net>
8888
8889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8890
8891 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8892
8893 [BZ #14347]
8894 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8895 (INTERNAL_MARK): Shift it here.
8896
8897 2012-07-10 Marek Polacek <polacek@redhat.com>
8898
8899 [BZ #14151]
8900 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8901 libc_cv_asm_global_directive with .globl.
8902 * configure: Regenerated.
8903 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8904 with .globl.
8905 * sysdeps/i386/configure: Regenerated.
8906 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8907 with .globl.
8908 * sysdeps/x86_64/configure: Regenerated.
8909 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8910 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8911 * elf/tst-unique2mod2.c: Likewise.
8912 * elf/tst-unique2mod1.c: Likewise.
8913 * elf/tst-unique1mod2.c: Likewise.
8914 * elf/tst-unique1mod1.c: Likewise.
8915 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8916 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8917 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8918 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8919 * sysdeps/mach/sysdep.h: Likewise.
8920 * sysdeps/i386/sysdep.h: Likewise.
8921 * sysdeps/i386/i386-mcount.S: Likewise.
8922 * sysdeps/x86_64/_mcount.S: Likewise.
8923 * sysdeps/x86_64/sysdep.h: Likewise.
8924 * sysdeps/sh/_mcount.S: Likewise.
8925 * sysdeps/sh/sysdep.h: Likewise.
8926 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8927 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8928 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8929 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8930 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8931 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8932 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8933 * locale/localeinfo.h: Likewise.
8934 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8935 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8936
8937 2012-07-09 Roland McGrath <roland@hack.frob.com>
8938
8939 [BZ #14336]
8940 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8941 system".
8942 * manual/message.texi (The Uniforum approach): Likewise.
8943 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8944 (glibc iconv Implementation): Likewise.
8945
8946 2012-07-09 Joseph Myers <joseph@codesourcery.com>
8947
8948 [BZ #14337]
8949 * math/s_clog.c (__clog): Avoid scaling a value down where that
8950 could result in underflow.
8951 * math/s_clog10.c (__clog10): Likewise.
8952 * math/s_clog10f.c (__clog10f): Likewise.
8953 * math/s_clog10l.c (__clog10l): Likewise.
8954 * math/s_clogf.c (__clogf): Likewise.
8955 * math/s_clogl.c (__clogl): Likewise.
8956 * math/libm-test.inc (clog_test): Add more tests.
8957 (clog10_test): Likewise.
8958 * sysdeps/i386/fpu/libm-test-ulps: Update.
8959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8960
8961 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8962
8963 [BZ #14283]
8964 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8965 by 7 not 8 to examine high bit of fractional part.
8966
8967 [BZ #14042]
8968 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8969 for call to __mcount_internal.
8970 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8971 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8972 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8973
8974 2012-07-06 Joseph Myers <joseph@codesourcery.com>
8975
8976 [BZ #14154]
8977 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8978 approximation for values within 0x1p-13f of an odd multiple of
8979 pi/4.
8980 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8981 exception. Add more tests.
8982 * sysdeps/i386/fpu/libm-test-ulps: Update.
8983
8984 [BZ #6778]
8985 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8986 inputs and return -1 for them. Do not check for +Inf in case not
8987 reachable for +Inf.
8988 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8989 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8990 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8991 and return -1 for them. Do not check for +Inf in case not
8992 reachable for +Inf.
8993 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8994 define.
8995 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8996 and return -1 for them. Do not check for +Inf in case not
8997 reachable for +Inf.
8998 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8999 spurious underflow.
9000 * sysdeps/i386/fpu/libm-test-ulps: Update.
9001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9002
9003 2012-07-06 Mike Frysinger <vapier@gentoo.org>
9004
9005 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9006
9007 2012-07-05 Joseph Myers <joseph@codesourcery.com>
9008
9009 [BZ #14157]
9010 [BZ #14331]
9011 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9012 could result in spurious underflow. Scale down values above
9013 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9014 * math/s_csqrtf.c (__csqrtf): Likewise.
9015 * math/s_csqrtl.c (__csqrtl): Likewise.
9016 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
9017 spurious underflow.
9018 * sysdeps/i386/fpu/libm-test-ulps: Update.
9019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9020
9021 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
9022
9023 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9024 xopen-msg.sed.
9025 * catgets/xopen-msg.awk: New file.
9026 * catgets/xopen-msg.sed: Removed.
9027
9028 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9029 po2text.sed.
9030 * intl/po2test.awk: New file.
9031 * intl/po2test.sed: Removed.
9032
9033 2012-07-04 Joseph Myers <joseph@codesourcery.com>
9034
9035 [BZ #14328]
9036 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9037 or multiply small sinh result by itself.
9038 * math/s_ctanf.c (__ctanf): Likewise.
9039 * math/s_ctanh.c (__ctanh): Likewise.
9040 * math/s_ctanhf.c (__ctanhf): Likewise.
9041 * math/s_ctanhl.c (__ctanhl): Likewise.
9042 * math/s_ctanl.c (__ctanl): Likewise.
9043 * math/libm-test.inc (ctan_test_tonearest): New function.
9044 (ctan_test_towardzero): Likewise.
9045 (ctan_test_downward): Likewise.
9046 (ctan_test_upward): Likewise.
9047 (ctanh_test_tonearest): Likewise.
9048 (ctanh_test_towardzero): Likewise.
9049 (ctanh_test_downward): Likewise.
9050 (ctanh_test_upward): Likewise.
9051 (main): Call these new functions.
9052 * sysdeps/i386/fpu/libm-test-ulps: Update.
9053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9054
9055 2012-07-03 Mike Frysinger <vapier@gentoo.org>
9056
9057 * .gitignore: Delete /ports entry.
9058
9059 2012-07-03 Andreas Jaeger <aj@suse.de>
9060
9061 * po/bg.po: Update from translation team.
9062 * po/cs.po: Likewise.
9063 * po/de.po: Likewise.
9064 * po/hr.po: Likewise.
9065 * po/nl.pl: Likewise.
9066 * po/pl.po: Likewise.
9067 * po/vi.po: Likewise.
9068
9069 2012-07-03 Joseph Myers <joseph@codesourcery.com>
9070
9071 * Makeconfig [!+link] (+link-before-libc): New variable.
9072 [!+link] (+link-after-libc): Likewise.
9073 [!+link] (+link-tests): Likewise.
9074 [!+link] (+link): Define in terms of $(+link-before-libc) and
9075 $(+link-after-libc).
9076 [!+link-static] (+link-static-before-libc): New variable.
9077 [!+link-static] (+link-static-after-libc): Likewise.
9078 [!+link-static] (+link-static-tests): Likewise.
9079 [!+link-static] (+link-static): Define in terms of
9080 $(+link-static-before-libc) and $(+link-static-after-libc).
9081 [build-shared] (link-libc-before-gnulib): New variable.
9082 [build-shared] (link-libc-tests): Likewise.
9083 [build-shared] (link-libc): Define in terms of
9084 $(link-libc-before-gnulib).
9085 [!build-shared] (link-libc-tests): New variable.
9086 (link-libc-static-tests): New variable.
9087 [!gnulib] (gnulib-arch): New variable.
9088 [!gnulib] (gnulib-tests): Likewise.
9089 [!gnulib] (static-gnulib-arch): Likewise.
9090 [!gnulib] (static-gnulib-tests): Likewise.
9091 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9092 Define with "=" instead of ":=".
9093 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9094 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9095 * Rules (binaries-all-notests): New variable.
9096 (binaries-all-tests): Likewise.
9097 (binaries-static-notests): Likewise.
9098 (binaries-static-tests): Likewise.
9099 (binaries-all): Define using $(binaries-all-notests) and
9100 $(binaries-all-tests).
9101 (binaries-static): Define using $(binaries-static-notests) and
9102 $(binaries-static-tests).
9103 (binaries-shared-tests): New variable.
9104 (binaries-shared-notests): Likewise.
9105 (binaries-shared): Remove variable.
9106 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9107 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9108 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9109 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9110 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9111 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9112 * elf/Makefile (sln-modules): New variable.
9113 (extra-objs): Add $(sln-modules:=.o).
9114 (ldconfig-modules): Add static-stubs.
9115 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9116 * elf/static-stubs.c: New file.
9117
9118 [BZ #14283]
9119 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9120 by 7 not 8 to examine high bit of fractional part. Use volatile
9121 variables when splitting into final array of floats if
9122 __FLT_EVAL_METHOD__ != 0.
9123 * math/libm-test.inc (cos_test): Add another test.
9124 (sin_test): Likewise.
9125 * sysdeps/i386/fpu/libm-test-ulps: Update.
9126
9127 [BZ #14273]
9128 * math/libm-test.inc (cosh_test): Add more tests.
9129
9130 * version.h (RELEASE): Set to "development".
9131 (VERSION): Set to "2.16.90".
9132
9133 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9134
9135 * NEWS: Update copyright. Remove last-updated date.
9136 Mention math library bug fixes and timezone data changes.
9137 * README: Mention GNU/Hurd, x32, and HPPA support status.
9138
9139 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9140
9141 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9142
9143 2012-06-27 Andreas Jaeger <aj@suse.de>
9144
9145 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9146
9147 2012-06-25 Andreas Jaeger <aj@suse.de>
9148
9149 * sysdeps/s390/fpu/libm-test-ulps: Update.
9150
9151 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9152 Thomas Schwinge <thomas@codesourcery.com>
9153
9154 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9155 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9156 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9157 fanotify_mark.
9158
9159 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9160
9161 * sysdeps/mach/start.c: Remove file.
9162 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9163 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9164 * sysdeps/sh/init-first.c: Likewise.
9165
9166 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9167 registers for frame unwinding purposes, add CFI directives.
9168 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9169 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9170 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9171 Likewise.
9172
9173 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9174 __fortify_fail returning.
9175 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9176
9177 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9178 sysdeps/sh/____longjmp_chk.S.
9179 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9180 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9181 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9182 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9183
9184 * sysdeps/sh/abort-instr.h: New file.
9185 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9186 process in case exit returns.
9187
9188 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9189 initialize the GOT register before use.
9190
9191 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9192 calculation of ARGC > 4.
9193
9194 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9195 meaningful names to some local labels.
9196
9197 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9198 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9199
9200 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9201 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9202 (__arch_compare_and_exchange_val_16_acq): Likewise.
9203 (__arch_compare_and_exchange_val_32_acq): Likewise.
9204 (atomic_exchange_and_add): Fix gUSA sequence.
9205 (atomic_add): Likewise.
9206 (atomic_add_negative): Likewise.
9207 (atomic_add_zero): Likewise.
9208 (atomic_bit_test_set): Likewise.
9209
9210 2012-06-22 Andreas Schwab <schwab@redhat.com>
9211
9212 [BZ #13579]
9213 * include/link.h (struct link_map): Add l_free_initfini.
9214 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9215 l_initfini.
9216 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9217 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9218 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9219 set.
9220
9221 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9222
9223 * configure.in: Use AC_LANG_SOURCE.
9224 * configure: Regenerate.
9225
9226 2012-06-22 Roland McGrath <roland@hack.frob.com>
9227
9228 * configure.in (libc_cv_localstatedir): New substituted variable.
9229 * configure: Regenerated.
9230 * config.make.in (localstatedir): New variable, substituted from
9231 libc_cv_localstatedir.
9232 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9233 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9234 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9235 * sysdeps/gnu/configure: Regenerated.
9236
9237 2012-06-21 Jeff Law <law@redhat.com>
9238
9239 [BZ #14277]
9240 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9241 free. Simplify list management for _LIBC case.
9242
9243 2012-06-21 Joseph Myers <joseph@codesourcery.com>
9244
9245 [BZ #14273]
9246 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9247 Clear sign bit of 64-bit integer value before comparing against
9248 overflow value.
9249
9250 * sysdeps/mach/configure: Regenerated.
9251
9252 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9253
9254 [BZ #14278]
9255 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9256
9257 2012-06-21 Jeff Law <law@redhat.com>
9258
9259 [BZ #13882]
9260 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9261 uint16_t for elements in the "seen" array to avoid char overflows.
9262 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9263 * elf/dl-open.c (dl_open_worker): Likewise.
9264
9265 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9266
9267 * scripts/list-sources.sh: Scan PORTS for translations.
9268 * po/libc.pot: Regenerated.
9269
9270 2012-06-21 Andreas Jaeger <aj@suse.de>
9271
9272 [BZ #12194]
9273 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9274 warning.
9275 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9276 * bits/byteswap-16.h (__bswap_16): Likewise.
9277 * bits/byteswap.h (__bswap_constant_16): Likewise.
9278
9279 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9280
9281 [BZ #14117]
9282 * sysdeps/i386/fpu_control.h: Removed.
9283 * sysdeps/x86_64/fpu_control.h: Moved to ...
9284 * sysdeps/x86/fpu_control.h: Here.
9285
9286 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9287 (_FPU_SETCW): Likewise.
9288
9289 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9290
9291 [BZ #14117]
9292 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9293 * sysdeps/x86/fpu/bits/mathinline.h: This.
9294 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9295
9296 [BZ #14050]
9297 [BZ #14117]
9298 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9299 functions if __x86_64__ is defined.
9300
9301 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9302
9303 * string/endian.h: Add !__ASSEMBLER__ condition for including
9304 conversion interfaces.
9305
9306 2012-06-15 Joseph Myers <joseph@codesourcery.com>
9307
9308 [BZ #14241]
9309 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9310 of ABS(x) in calculating zero to negative powers other than odd
9311 integers.
9312 * math/libm-test.inc (pow_test): Add more tests.
9313
9314 2012-06-15 Andreas Jaeger <aj@suse.de>
9315
9316 * manual/contrib.texi (Contributors): Update entry of Liubov
9317 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9318 Machado Filho.
9319
9320 2012-06-15 Cyril Hrubis <metan@ucw.cz>
9321
9322 * string/string.h: Add __wur to GNU version of strerror_r.
9323
9324 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9325
9326 [BZ #14229]
9327 * string/Makefile (tests): Add tst-strtok_r.
9328 * string/tst-strtok_r.c: New file.
9329 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9330 RAX_LP/RDX_LP on SAVE_PTR.
9331
9332 2012-06-14 Roland McGrath <roland@hack.frob.com>
9333
9334 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9335
9336 2012-06-14 Joseph Myers <joseph@codesourcery.com>
9337
9338 * libm_test.inc (csqrt_test): Allow more spurious underflow
9339 exceptions.
9340 (j0_test): Likewise.
9341 (j1_test): Likewise.
9342 (y0_test): Likewise.
9343 (y1_test): Likewise.
9344
9345 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9346
9347 * po/Makefile (libc.pot): Use UTF-8 charset.
9348
9349 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9350
9351 [BZ #14210]
9352 Suppress sign-conversion warning from FD_SET.
9353 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9354 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9355 not unsigned long int.
9356 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9357
9358 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9359
9360 [BZ #14050]
9361 [BZ #14117]
9362 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9363 __extern_always_inline instead of __extern_inline.
9364 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9365 (__signbit): Likewise.
9366 (__signbitl): Support C++ namespace.
9367 (lrintf): New inline function.
9368 (lrint): Likewise.
9369 (llrintf): Likewise.
9370 (llrint): Likewise.
9371 (fmaxf): Likewise.
9372 (fmax): Likewise.
9373 (fminf): Likewise.
9374 (fmin): Likewise.
9375 (rint): Likewise.
9376 (rintf): Likewise.
9377 (ceil): Likewise.
9378 (ceilf): Likewise.
9379 (floor): Likewise.
9380 (floorf): Likewise.
9381 (nearbyint): Likewise.
9382 (nearbyintf): Likewise.
9383
9384 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9385
9386 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9387 non-default versions.
9388
9389 2012-06-11 Roland McGrath <roland@hack.frob.com>
9390
9391 [BZ #14218]
9392 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9393
9394 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9395
9396 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9397 (FE_UPWARD, FE_DOWNWARD): Don't define.
9398 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9399 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9400
9401 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9402 reading it.
9403 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9404 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9405
9406 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9407
9408 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9409 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9410 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9411 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9412
9413 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9414
9415 [BZ #14117]
9416 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9417 * sysdeps/i386/fpu/Implies: New file.
9418 * sysdeps/x86_64/fpu/Implies: Likewise.
9419 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9420 * sysdeps/x86/fpu/bits/fenv.h: This.
9421
9422 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9423 __SSE_MATH__.
9424
9425 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9426
9427 [BZ #14134]
9428 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9429 character 0xffff that matches the last element of the
9430 conversion table.
9431
9432 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9433
9434 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9435 fmodl commit.
9436
9437 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9438
9439 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9440 values higher than 25.6283.
9441
9442 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9443
9444 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9445 subnormal exponent extraction and add some __builtin_expect.
9446 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9447 Fix for subnormal mantissa calculation.
9448
9449 2012-06-04 Mike Frysinger <vapier@gentoo.org>
9450
9451 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9452 cpu2 is -1 and errno is not ENOSYS.
9453
9454 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9455
9456 [BZ #14117]
9457 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9458 * sysdeps/x86/bits/string.h: This.
9459 * sysdeps/x86_64/bits/string.h: Removed.
9460
9461 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9462 if not compiling for x86-64, but compiling for >= i486.
9463
9464 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9465 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9466
9467 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9468 New macro from Linux kernel 3.4.0.
9469 (FP_XSTATE_MAGIC2): Likewise.
9470 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9471 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9472 (struct _fpx_sw_bytes): New struct.
9473 (struct _xsave_hdr): Likewise.
9474 (struct _ymmh_state): Likewise.
9475 (struct _xstate): Likewise.
9476
9477 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9478 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9479 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9480 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9481 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9482 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9483
9484 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9485 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9486 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9487 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9488 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9489 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9490
9491 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9492
9493 [BZ #13743]
9494 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9495 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9496 (sysdep_headers): Include sys/platform/ppc.h.
9497 * sysdeps/powerpc/test-gettimebase.c: Test for
9498 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9499 * manual/Makefile (appendices): Include platform.texi.
9500 * manual/contrib.texi (Contributors): Update @node pointers.
9501 * manual/maint.texi (Maintenance): Likewise.
9502 (Platform): New node.
9503 * manual/platform.texi: New file. Document the new features.
9504
9505 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9506 Jakub Jelinek <jakub@redhat.com>
9507
9508 [BZ #14188]
9509 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9510 where __builtin_expect is unavailable.
9511
9512 2012-06-03 David S. Miller <davem@davemloft.net>
9513
9514 * stdlib/longlong.h: Updated from GCC.
9515
9516 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9517
9518 [BZ #14042]
9519 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9520 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9521 __mcount_internal.
9522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9523 (GLIBC_2.16): Likewise.
9524
9525 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9526
9527 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9528
9529 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9530
9531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9532 (default-abi): New variable.
9533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9534 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9535 variable.
9536 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9537 Likewise.
9538 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9539 Likewise.
9540 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9541 Likewise.
9542
9543 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9544 definition. Document in comment.
9545
9546 2012-06-01 David S. Miller <davem@davemloft.net>
9547
9548 * stdlib/longlong.h: Updated from GCC.
9549
9550 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9551
9552 [BZ #14117]
9553 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9554 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9555 sys/debugreg.h sys/io.h here.
9556 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9557 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9558 sys/io.h.
9559 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9560 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9561 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9562 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9563 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9564 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9565
9566 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9567 Define only if __x86_64__ is defined.
9568
9569 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9570
9571 [BZ #14048]
9572 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9573 Use int64_t for variable i.
9574 * math/libm-test.inc (fmod_test): Add more tests.
9575
9576 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9577 z computation is not scheduled after fetestexcept.
9578 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9579 Use math_force_eval instead of asm to ensure calculation scheduled
9580 before exception test.
9581 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9582 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9583
9584 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9585
9586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9587 computation is not scheduled after fetestexcept.
9588
9589 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9590
9591 [BZ #14117]
9592 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9593 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9594
9595 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9596
9597 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9598 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9599
9600 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9601
9602 [BZ #14117]
9603 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9604 <bits/wordsize.h>.
9605 (__WCHAR_MIN): Support __WORDSIZE == 64.
9606 (__WCHAR_MAX): Likewise.
9607
9608 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9609 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9610
9611 [BZ #14183]
9612 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9613 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9614
9615 [BZ #14117]
9616 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9617 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9618
9619 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9620 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9621
9622 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9623 Defined to 1 if __x86_64__ isn't defined.
9624 (_STAT_VER_LINUX_OLD): New.
9625 (st_atime): Remove duplicate.
9626 (st_mtime): Likewise.
9627 (st_ctime): Likewise.
9628
9629 2012-05-31 David S. Miller <davem@davemloft.net>
9630
9631 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9632 entries.
9633
9634 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9635
9636 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9637 gen-libm-test.pl.
9638
9639 [BZ #14132]
9640 * elf/dl-reloc.c: Include <_itoa.h>.
9641 (_dl_reloc_bad_type): Remove use of INTUSE.
9642 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9643 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9644 * stdio-common/psiginfo.c (psiginfo): Likewise.
9645 * stdio-common/psignal.c (psignal): Likewise.
9646 * string/strsignal.c (strsignal): Likewise.
9647 * include/signal.h (_sys_siglist): Declare hidden proto.
9648 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9649 INTVARDEF with libc_hidden_data_def.
9650 * stdio-common/itoa-udigits.c: Likewise.
9651 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9652 (_itoa_lower_digits_internal): Remove declaration.
9653 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9654 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9655 (_sys_sigabbrev_internal): Remove aliases.
9656 (_sys_siglist): Define hidden alias.
9657
9658 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9659
9660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9661 bits/sysctl.h.
9662
9663 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9664
9665 [BZ #14117]
9666 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9667 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9668
9669 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9670 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9671 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9672 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9673 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9674 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9675
9676 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9677 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9678 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9679
9680 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9681 with __addr.
9682 (insw): Likewise.
9683 (insl): Likewise.
9684 (outsb): Likewise.
9685 (outsw): Likewise.
9686 (outsl): Likewise.
9687
9688 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9689 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9690 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9691
9692 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9693 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9694 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9695 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9696 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9697 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9698
9699 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9700 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9701
9702 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9703 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9704
9705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9707 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9708
9709 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9710 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9711 to ...
9712 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9713
9714 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9715 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9716 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9717
9718 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9719 for x86-64.
9720 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9721
9722 2012-05-31 Joseph Myers <joseph@codesourcery.com>
9723
9724 * math/math.h (M_El): Use two more decimal places.
9725 (M_LOG2El): Likewise.
9726 (M_LOG10El): Likewise.
9727 (M_LN2l): Likewise.
9728 (M_LN10l): Likewise.
9729 (M_PIl): Likewise.
9730 (M_PI_2l): Likewise.
9731 (M_PI_4l): Likewise.
9732 (M_1_PIl): Likewise.
9733 (M_2_PIl): Likewise.
9734 (M_2_SQRTPIl): Likewise.
9735 (M_SQRT2l): Likewise.
9736 (M_SQRT1_2l): Likewise.
9737
9738 2012-05-31 David S. Miller <davem@davemloft.net>
9739
9740 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9741 values between float registers.
9742 * sysdeps/sparc/sparc64/memset.S: Likewise.
9743 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9744
9745 2012-05-31 Mike Frysinger <vapier@gentoo.org>
9746
9747 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9748 -D_FORTIFY_SOURCE=1.
9749 (CPPFLAGS-tst-longjmp_chk.c): Define.
9750 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9751 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9752 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9753 CFLAGS-tst-wchar-h.c.
9754
9755 2012-05-31 Marek Polacek <polacek@redhat.com>
9756
9757 [BZ #14132]
9758 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9759 __endmntent_internal): Remove declaration.
9760 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9761 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9762 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9763
9764 2012-05-30 David S. Miller <davem@davemloft.net>
9765
9766 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9767 (___Q_simulate_exceptions): Use real FP ops rather than writing
9768 into the %fsr.
9769 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9770 Likewise.
9771
9772 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9773
9774 [BZ #14117]
9775 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9776 * sysdeps/x86/bits/xtitypes.h: This.
9777
9778 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9779 * sysdeps/x86/bits/wordsize.h: This.
9780
9781 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9782 * sysdeps/x86/bits/huge_vall.h: This.
9783
9784 * sysdeps/i386/bits/select.h: Removed.
9785 * sysdeps/x86_64/bits/select.h: Renamed to ...
9786 * sysdeps/x86/bits/select.h: This.
9787
9788 * sysdeps/i386/bits/setjmp.h: Removed.
9789 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9790 * sysdeps/x86/bits/setjmp.h: This.
9791
9792 * sysdeps/i386/bits/mathdef.h: Removed.
9793 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9794 * sysdeps/x86/bits/mathdef.h: This.
9795
9796 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9797
9798 [BZ #14132]
9799 * include/sys/socket.h (__connect_internal)
9800 (__libc_sa_len_internal): Remove declaration.
9801 (__connect, __libc_sa_len): Declare hidden_proto.
9802 (SA_LEN): Remove use of INTUSE.
9803 * socket/connect.c: Add libc_hidden_def.
9804 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9805 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9806 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9807 alias.
9808 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9809 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9810 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9811 of adding _internal alias.
9812
9813 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9814
9815 [BZ #14117]
9816 * sysdeps/i386/bits/link.h: Removed.
9817 * sysdeps/i386/bits/linkmap.h: Likewise.
9818 * sysdeps/x86_64/bits/link.h: Renamed to ...
9819 * sysdeps/x86/bits/link.h: This.
9820 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9821 * sysdeps/x86/bits/linkmap.h: This.
9822
9823 * sysdeps/i386/bits/endian.h: Removed.
9824 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9825 * sysdeps/x86/bits/endian.h: This.
9826
9827 * sysdeps/i386/bits/byteswap.h: Removed.
9828 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9829 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9830 * sysdeps/x86/bits/byteswap.h: This.
9831 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9832 * sysdeps/x86/bits/byteswap-16.h: This.
9833 * sysdeps/i386/Implies: Add x86.
9834 * sysdeps/x86_64/Implies: Likewise.
9835
9836 2012-05-30 David S. Miller <davem@davemloft.net>
9837
9838 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9839 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9840 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9841 (FP_TRAPPING_EXCEPTIONS): Define.
9842 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9843 (FP_TRAPPING_EXCEPTIONS): Define.
9844 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9845 subnormals only when inexact has been signalled or underflow
9846 exceptions are enabled.
9847 (_FP_PACK_CANONICAL): Likewise.
9848
9849 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9850
9851 [BZ #14183]
9852 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9853 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9854
9855 2012-05-30 Richard Henderson <rth@twiddle.net>
9856
9857 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9858 with #ifndef NOT_IN_libc.
9859
9860 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9861 marked to avoid plt entry.
9862
9863 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9864
9865 [BZ #14112]
9866 * Makeconfig (default-abi): New macro.
9867 (abi-includes): Likewise.
9868 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9869 $(abi-$(default-abi)-lib-soname) for soname if defined.
9870 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9871 abi-variants.
9872 * Makefile (installed-stubs): Likewise.
9873 * include/stubs-biarch.h: Removed.
9874 * scripts/lib-names.awk: Only handle one library at a time.
9875 * scripts/soversions.awk: Remove WORDSIZE support.
9876 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9877 entries.
9878 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9879 Removed.
9880 (syscall-list-default-condition): Likewise.
9881 (syscall-list-default-condition): Likewise.
9882 (syscall-list-includes): Likewise.
9883 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9884 syscall-list-* with abi-*. Handle undefined abi-variants.
9885 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9886 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9887 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9888 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9889 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9890 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9891 Removed.
9892 (syscall-list-32-options): Likewise.
9893 (syscall-list-32-condition): Likewise.
9894 (syscall-list-64-options): Likewise.
9895 (syscall-list-64-condition): Likewise.
9896 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9897 macro.
9898 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9899 Renamed to ...
9900 (abi-*): This.
9901 (abi-64-ld-soname): New macro.
9902 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9903 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9904 Renamed to ...
9905 (abi-*): This.
9906 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9907 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9908
9909 2012-05-30 Joseph Myers <joseph@codesourcery.com>
9910
9911 * sysdeps/unix/sysv/linux/kernel-features.h
9912 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9913 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9914 include <kernel-features.h>.
9915 [!__NR_ftruncate64]: Remove conditional code.
9916 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9917 [__NR_ftruncate64]: Make code unconditional.
9918 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9919 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9920 include <kernel-features.h>.
9921 [!__NR_ftruncate64]: Remove conditional code.
9922 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9923 [__NR_ftruncate64]: Make code unconditional.
9924 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9926 include <kernel-features.h>.
9927 [!__NR_ftruncate64]: Remove conditional code.
9928 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9929 [__NR_ftruncate64]: Make code unconditional.
9930 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9932 include <kernel-features.h>.
9933 [!__NR_ftruncate64]: Remove conditional code.
9934 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9935 [__NR_ftruncate64]: Make code unconditional.
9936 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9937
9938 * configure.in (libc_cv_fpie): Weaken to a compile test using
9939 LIBC_TRY_CC_OPTION.
9940 * configure: Regenerated.
9941
9942 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9943
9944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9948 Refreshed.
9949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9955 Refreshed.
9956
9957 2012-05-27 David S. Miller <davem@davemloft.net>
9958
9959 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9960 (___Q_zero): New.
9961 (__Q_simulate_exceptions): Return void. Change to simulate
9962 exceptions by writing into the %fsr.
9963 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9964 (__Qp_handle_exceptions): Likewise.
9965 (numbers): Delete.
9966 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9967 __Qp_handle_exceptions.
9968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9969 __Qp_handle_exceptions.
9970 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9971 as unused and give dummy FP_RND_NEAREST initializer.
9972 (FP_INHIBIT_RESULTS): Define.
9973 (___Q_simulate_exceptions): Update declaration.
9974 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9975 formatting.
9976 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9977 as unused and give dummy FP_RND_NEAREST initializer.
9978 (__Qp_handle_exceptions): Update declaration.
9979 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9980 formatting.
9981
9982 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9983
9984 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9985 the temporary FPU control word.
9986 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9987 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9988 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9989 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9990 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9991 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9992 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9993 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9994 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9995 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9996 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9997
9998 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9999
10000 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10001 fields.
10002
10003 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10004
10005 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10006 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10007 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10008 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10009 Likewise.
10010 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10011 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10012 Likewise.
10013
10014 2012-05-27 Ulrich Drepper <drepper@gmail.com>
10015
10016 * po/h.po: Update from translation team.
10017
10018 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
10019
10020 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10021
10022 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10023 handling of denormals.
10024 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10025 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10026 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10027 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10028 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10029 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10031 Likewise.
10032
10033 2012-05-26 Marek Polacek <polacek@redhat.com>
10034
10035 [BZ #14152]
10036 * math/libm-test.inc (fma_test): Don't always expect underflow
10037 exception.
10038
10039 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10040
10041 [BZ #12416]
10042 * elf/tst-execstack.c: Include stackinfo.h.
10043 (do_test): Adjust test case to ensure that pthread_getattr_np
10044 behaviour remains the same after marking stack executable.
10045
10046 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10047
10048 * sysdeps/unix/sysv/linux/kernel-features.h
10049 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10050 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10051 kernel-features.h.
10052 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10053 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10054 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10055 kernel-features.h.
10056 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10057 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10058
10059 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10060
10061 * configure.in: Define the default includes to being none.
10062 * configure: Regenerated.
10063
10064 2012-05-25 Roland McGrath <roland@hack.frob.com>
10065
10066 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10067 * sysdeps/x86_64/setjmp.S: Likewise.
10068 * sysdeps/i386/bsd-setjmp.S: Likewise.
10069 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10070 * sysdeps/i386/setjmp.S: Likewise.
10071 * sysdeps/i386/__longjmp.S: Likewise.
10072 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10073 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10074
10075 * include/stap-probe.h: New file.
10076 * configure.in: Handle --enable-systemtap.
10077 * configure: Regenerated.
10078 * config.h.in (USE_STAP_PROBE): New #undef.
10079 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10080 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10081 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10082
10083 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10084
10085 [BZ #13717]
10086 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10087 to 2.4.0 where earlier.
10088 * sysdeps/unix/sysv/linux/configure: Regenerated.
10089 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10090 <kernel-features.h>.
10091 [__ASSUME_32BITUIDS]: Make code unconditional.
10092 [!__ASSUME_32BITUIDS]: Remove conditional code.
10093 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10094 <kernel-features.h>.
10095 [__ASSUME_32BITUIDS]: Make code unconditional.
10096 [!__ASSUME_32BITUIDS]: Remove conditional code.
10097 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10098 [__ASSUME_32BITUIDS]: Make code unconditional.
10099 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10100 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10101 <kernel-features.h>.
10102 [__ASSUME_32BITUIDS]: Make code unconditional.
10103 [!__ASSUME_32BITUIDS]: Remove conditional code.
10104 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10105 <kernel-features.h>.
10106 [__ASSUME_32BITUIDS]: Make code unconditional.
10107 [!__ASSUME_32BITUIDS]: Remove conditional code.
10108 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10109 <kernel-features.h>.
10110 [__ASSUME_32BITUIDS]: Make code unconditional.
10111 [!__ASSUME_32BITUIDS]: Remove conditional code.
10112 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10113 <kernel-features.h>.
10114 [__ASSUME_32BITUIDS]: Make code unconditional.
10115 [!__ASSUME_32BITUIDS]: Remove conditional code.
10116 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10117 <kernel-features.h>.
10118 [__ASSUME_32BITUIDS]: Make code unconditional.
10119 [!__ASSUME_32BITUIDS]: Remove conditional code.
10120 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10121 <kernel-features.h>.
10122 [__ASSUME_32BITUIDS]: Make code unconditional.
10123 [!__ASSUME_32BITUIDS]: Remove conditional code.
10124 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10125 <kernel-features.h>.
10126 [__ASSUME_32BITUIDS]: Make code unconditional.
10127 [!__ASSUME_32BITUIDS]: Remove conditional code.
10128 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10129 <kernel-features.h>.
10130 [__ASSUME_32BITUIDS]: Make code unconditional.
10131 [!__ASSUME_32BITUIDS]: Remove conditional code.
10132 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10133 <kernel-features.h>.
10134 [__ASSUME_32BITUIDS]: Make code unconditional.
10135 [!__ASSUME_32BITUIDS]: Remove conditional code.
10136 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10137 <kernel-features.h>.
10138 [__ASSUME_32BITUIDS]: Make code unconditional.
10139 [!__ASSUME_32BITUIDS]: Remove conditional code.
10140 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10141 <kernel-features.h>.
10142 [__NR_setresgid] (__setresgid): Do not declare.
10143 [__ASSUME_32BITUIDS]: Make code unconditional.
10144 [!__ASSUME_32BITUIDS]: Remove conditional code.
10145 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10146 <kernel-features.h>.
10147 [__NR_setresuid] (__setresuid): Do not declare.
10148 [__ASSUME_32BITUIDS]: Make code unconditional.
10149 [!__ASSUME_32BITUIDS]: Remove conditional code.
10150 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10151 <kernel-features.h>.
10152 [__ASSUME_32BITUIDS]: Make code unconditional.
10153 [!__ASSUME_32BITUIDS]: Remove conditional code.
10154 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10155 <kernel-features.h>.
10156 [__ASSUME_32BITUIDS]: Make code unconditional.
10157 [!__ASSUME_32BITUIDS]: Remove conditional code.
10158 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10159 <kernel-features.h>.
10160 [__ASSUME_32BITUIDS]: Make code unconditional.
10161 [!__ASSUME_32BITUIDS]: Remove conditional code.
10162 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10163 <kernel-features.h>.
10164 [__ASSUME_32BITUIDS]: Make code unconditional.
10165 [!__ASSUME_32BITUIDS]: Remove conditional code.
10166 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10167 <kernel-features.h>.
10168 [__ASSUME_32BITUIDS]: Make code unconditional.
10169 [!__ASSUME_32BITUIDS]: Remove conditional code.
10170 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10171 <kernel-features.h>.
10172 [__ASSUME_32BITUIDS]: Make code unconditional.
10173 [!__ASSUME_32BITUIDS]: Remove conditional code.
10174 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10175 <kernel-features.h>.
10176 [__ASSUME_32BITUIDS]: Make code unconditional.
10177 [!__ASSUME_32BITUIDS]: Remove conditional code.
10178 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10179 <kernel-features.h>.
10180 [__ASSUME_32BITUIDS]: Make code unconditional.
10181 [!__ASSUME_32BITUIDS]: Remove conditional code.
10182 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10183 <kernel-features.h>.
10184 [__ASSUME_32BITUIDS]: Make code unconditional.
10185 [!__ASSUME_32BITUIDS]: Remove conditional code.
10186 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10187 <kernel-features.h>.
10188 [__ASSUME_32BITUIDS]: Make code unconditional.
10189 [!__ASSUME_32BITUIDS]: Remove conditional code.
10190 * sysdeps/unix/sysv/linux/kernel-features.h
10191 (__ASSUME_SETRESUID_SYSCALL): Remove.
10192 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10193 (__ASSUME_32BITUIDS): Likewise.
10194 (__ASSUME_LDT_WORKS): Likewise.
10195 (__ASSUME_O_DIRECTORY): Likewise.
10196 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10197 architecture but not kernel version.
10198 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10199 (__ASSUME_MMAP2_SYSCALL): Likewise.
10200 (__ASSUME_STAT64_SYSCALL): Likewise.
10201 (__ASSUME_IPC64): Likewise.
10202 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10203 <kernel-features.h>.
10204 [__ASSUME_32BITUIDS]: Make code unconditional.
10205 [!__ASSUME_32BITUIDS]: Remove conditional code.
10206 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10207 <kernel-features.h>.
10208 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10209 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10210 132096]: Remove conditional code.
10211 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10212 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10213 <kernel-features.h>.
10214 [__ASSUME_32BITUIDS]: Make code unconditional.
10215 [!__ASSUME_32BITUIDS]: Remove conditional code.
10216 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10217 <kernel-features.h>.
10218 [__ASSUME_32BITUIDS]: Make code unconditional.
10219 [!__ASSUME_32BITUIDS]: Remove conditional code.
10220 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10221 <kernel-features.h>.
10222 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10223 unconditional.
10224 (__setresgid): Do not declare.
10225 [__ASSUME_32BITUIDS]: Make code unconditional.
10226 [!__ASSUME_32BITUIDS]: Remove conditional code.
10227 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10228 <kernel-features.h>.
10229 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10230 unconditional.
10231 (__setresuid): Do not declare.
10232 [__ASSUME_32BITUIDS]: Make code unconditional.
10233 [!__ASSUME_32BITUIDS]: Remove conditional code.
10234 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10235 <kernel-features.h>.
10236 [__ASSUME_32BITUIDS]: Make code unconditional.
10237 [!__ASSUME_32BITUIDS]: Remove conditional code.
10238 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10239 <kernel-features.h>.
10240 [__ASSUME_32BITUIDS]: Make code unconditional.
10241 [!__ASSUME_32BITUIDS]: Remove conditional code.
10242
10243 2012-05-25 Richard Henderson <rth@twiddle.net>
10244
10245 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10246 dl_hwcap to ifunc resolver.
10247 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10248 elf_ifunc_invoke.
10249 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10250 dl_hwcap to ifunc resolver.
10251 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10252
10253 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10254
10255 [BZ #14153]
10256 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10257 for |x| <= 2**-26, not 2**-57.
10258 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10259 exception.
10260
10261 2012-05-24 Jeff Law <law@redhat.com>
10262
10263 * stdio-common/Makefile (tests): Add bug25.
10264 * stdio-common/bug25.c: New test.
10265
10266 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10267
10268 [BZ #13576]
10269 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10270 multiple of MALLOC_ALIGNMENT in size.
10271 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10272
10273 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10274
10275 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10276 Require >= 256.
10277 (FILENAME_MAX): Use macro-int-constant.
10278 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10279 (_IOFBF): Use macro-int-constant.
10280 (_IOLBF): Likewise.
10281 (_IONBF): Likewise.
10282 (SEEK_CUR): Likewise.
10283 (SEEK_END): Likewise.
10284 (SEEK_SET): Likewise.
10285 (TMP_MAX): Likewise.
10286 (EOF): Use macro-int-constant. Require < 0.
10287 (NULL): Use macro-constant. Require == 0.
10288 (stdin): Require type to be FILE *.
10289 (stdout): Likewise.
10290 (stderr): Likewise.
10291 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10292 macro-int-constant.
10293 (EXIT_SUCCESS): Likewise.
10294 (NULL): Use macro-constant. Require == 0.
10295 (RAND_MAX): Use macro-int-constant.
10296 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10297 [C99-based standards] (strtof): Require function.
10298 [C99-based standards] (strtold): Likewise.
10299 [C99-based standards] (strtoll): Likewise.
10300 [C99-based standards] (strtoull): Likewise.
10301 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10302 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10303 [ISO || ISO99 || ISO11] (math.h): Likewise.
10304 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10305 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10306 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10307
10308 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10309
10310 [BZ #14132]
10311 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10312 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10313 * intl/dgettext.c (DCGETTEXT): Likewise.
10314 * intl/gettext.c (DCGETTEXT): Likewise.
10315 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10316 * posix/regex_internal.h (gettext): Likewise.
10317 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10318 Remove declaration.
10319 * include/argz.h (__argz_count_internal)
10320 (__argz_stringify_internal): Remove declaration.
10321 (__argz_count, __argz_stringify): Declare hidden proto.
10322 * intl/dcgettext.c: Remove use of INTDEF.
10323 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10324 * string/argz-stringify.c: Likewise.
10325 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10326 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10327 Declare hidden proto.
10328 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10329 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10330 Declare hidden proto.
10331 * include/stdio.h (__asprintf_internal): Don't declare.
10332 (__asprintf): Don't define as macro. Declare hidden proto.
10333 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10334 (__fsetlocking): Declare hidden proto.
10335 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10336 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10337 hidden proto.
10338 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10339 (_IO_setlinebuf): Remove use of INTUSE.
10340 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10341 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10342 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10343 Remove declaration.
10344 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10345 (_IO_do_flush): Remove use of INTUSE.
10346 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10347 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10348 (_IO_adjust_column, _IO_least_wmarker)
10349 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10350 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10351 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10352 (_IO_default_doallocate, _IO_wdefault_doallocate)
10353 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10354 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10355 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10356 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10357 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10358 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10359 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10360 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10361 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10362 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10363 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10364 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10365 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10366 proto.
10367 (_IO_flush_all_internal, _IO_adjust_column_internal)
10368 (_IO_default_uflow_internal, _IO_default_finish_internal)
10369 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10370 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10371 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10372 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10373 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10374 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10375 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10376 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10377 (_IO_file_close_internal, _IO_file_close_it_internal)
10378 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10379 (_IO_file_init_internal, _IO_file_attach_internal)
10380 (_IO_file_fopen_internal, _IO_file_read_internal)
10381 (_IO_file_sync_internal, _IO_file_seek_internal)
10382 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10383 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10384 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10385 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10386 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10387 (_IO_list_all_internal, _IO_link_in_internal)
10388 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10389 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10390 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10391 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10392 (_IO_do_write_internal, _IO_padn_internal)
10393 (_IO_getline_info_internal, _IO_getline_internal)
10394 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10395 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10396 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10397 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10398 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10399 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10400 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10401 with libc_hidden_ver, remove use of INTUSE.
10402 * libio/genops.c: Likewise.
10403 * libio/freopen.c: Likewise.
10404 * libio/freopen64.c: Likewise.
10405 * libio/iofclose.c: Likewise.
10406 * libio/iofdopen.c: Likewise.
10407 * libio/iofflush.c: Likewise.
10408 * libio/iofflush_u.c: Likewise.
10409 * libio/iofgets.c: Likewise.
10410 * libio/iofgets_u.c: Likewise.
10411 * libio/iofopen.c: Likewise.
10412 * libio/iofopncook.c: Likewise.
10413 * libio/iofread.c: Likewise.
10414 * libio/iofread_u.c: Likewise.
10415 * libio/ioftell.c: Likewise.
10416 * libio/iofwrite.c: Likewise.
10417 * libio/iogetline.c: Likewise.
10418 * libio/iogets.c: Likewise.
10419 * libio/iogetwline.c: Likewise.
10420 * libio/iopadn.c: Likewise.
10421 * libio/iopopen.c: Likewise.
10422 * libio/ioseekoff.c: Likewise.
10423 * libio/ioseekpos.c: Likewise.
10424 * libio/iosetbuffer.c: Likewise.
10425 * libio/iosetvbuf.c: Likewise.
10426 * libio/ioungetc.c: Likewise.
10427 * libio/ioungetwc.c: Likewise.
10428 * libio/iovdprintf.c: Likewise.
10429 * libio/iovsprintf.c: Likewise.
10430 * libio/iovsscanf.c: Likewise.
10431 * libio/memstream.c: Likewise.
10432 * libio/obprintf.c: Likewise.
10433 * libio/oldfileops.c: Likewise.
10434 * libio/oldiofclose.c: Likewise.
10435 * libio/oldiofdopen.c: Likewise.
10436 * libio/oldiofopen.c: Likewise.
10437 * libio/oldiopopen.c: Likewise.
10438 * libio/oldstdfiles.c: Likewise.
10439 * libio/putc.c: Likewise.
10440 * libio/setbuf.c: Likewise.
10441 * libio/setlinebuf.c: Likewise.
10442 * libio/stdfiles.c: Likewise.
10443 * libio/strops.c: Likewise.
10444 * libio/vasprintf.c: Likewise.
10445 * libio/vscanf.c: Likewise.
10446 * libio/vsnprintf.c: Likewise.
10447 * libio/vswprintf.c: Likewise.
10448 * libio/wfiledoalloc.c: Likewise.
10449 * libio/wfileops.c: Likewise.
10450 * libio/wgenops.c: Likewise.
10451 * libio/wmemstream.c: Likewise.
10452 * libio/wstrops.c: Likewise.
10453 * libio/__fpurge.c: Likewise.
10454 * libio/__fsetlocking.c: Likewise.
10455 * assert/assert.c: Likewise.
10456 * debug/fgets_chk.c: Likewise.
10457 * debug/fgets_u_chk.c: Likewise.
10458 * debug/fread_chk.c: Likewise.
10459 * debug/fread_u_chk.c: Likewise.
10460 * debug/gets_chk.c: Likewise.
10461 * debug/obprintf_chk.c: Likewise.
10462 * debug/vasprintf_chk.c: Likewise.
10463 * debug/vdprintf_chk.c: Likewise.
10464 * debug/vsnprintf_chk.c: Likewise.
10465 * debug/vsprintf_chk.c: Likewise.
10466 * malloc/mtrace.c: Likewise.
10467 * misc/error.c: Likewise.
10468 * misc/syslog.c: Likewise.
10469 * stdio-common/asprintf.c: Likewise.
10470 * stdio-common/fxprintf.c: Likewise.
10471 * stdio-common/getw.c: Likewise.
10472 * stdio-common/isoc99_fscanf.c: Likewise.
10473 * stdio-common/isoc99_scanf.c: Likewise.
10474 * stdio-common/isoc99_vfscanf.c: Likewise.
10475 * stdio-common/isoc99_vscanf.c: Likewise.
10476 * stdio-common/isoc99_vsscanf.c: Likewise.
10477 * stdio-common/printf-prs.c: Likewise.
10478 * stdio-common/printf_fp.c: Likewise.
10479 * stdio-common/printf_fphex.c: Likewise.
10480 * stdio-common/printf_size.c: Likewise.
10481 * stdio-common/putw.c: Likewise.
10482 * stdio-common/scanf.c: Likewise.
10483 * stdio-common/sprintf.c: Likewise.
10484 * stdio-common/tmpfile.c: Likewise.
10485 * stdio-common/vfprintf.c: Likewise.
10486 * stdio-common/vfscanf.c: Likewise.
10487 * stdlib/strfmon_l.c: Likewise.
10488 * sunrpc/openchild.c: Likewise.
10489 * sunrpc/xdr_stdio.c: Likewise.
10490 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10491 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10492
10493 2012-05-24 Roland McGrath <roland@hack.frob.com>
10494
10495 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10496
10497 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10498 in the third column, to generate for the shared library an IFUNC
10499 that uses _dl_vdso_vsym.
10500 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10501 * Makeconfig (object-suffixes-noshared): New variable.
10502
10503 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10504 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10505 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10506 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10507
10508 [BZ #14132]
10509 * include/sys/time.h (__gettimeofday): Remove macro.
10510 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10511 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10512 Remove INTDEF.
10513 (__gettimeofday): Add libc_hidden_def.
10514 (gettimeofday): Add libc_hidden_weak.
10515 * sysdeps/mach/gettimeofday.c: Likewise.
10516 * sysdeps/posix/gettimeofday.c: Likewise.
10517 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10518 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10519 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10520 (__gettimeofday_internal): Remove strong_alias.
10521 (__gettimeofday): Add libc_hidden_def.
10522 (gettimeofday): Add libc_hidden_weak.
10523 * sysdeps/unix/syscalls.list (gettimeofday):
10524 Remove __gettimeofday_internal alias.
10525
10526 2012-05-24 Daniel Jacobowitz <drow@false.org>
10527 H.J. Lu <hongjiu.lu@intel.com>
10528
10529 [BZ #12495]
10530 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10531 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10532 (largebin_index_32_big): New.
10533 (largebin_index): Use it for 16-byte alignment.
10534 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10535 correction with front_misalign.
10536
10537 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10538
10539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10541 Likewise.
10542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10543 Likewise.
10544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10545 Likewise.
10546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10547 Likewise.
10548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10549 Likewise.
10550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10551 Likewise.
10552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10553 Likewise.
10554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10555 Likewise.
10556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10557 Likewise.
10558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10559 Likewise.
10560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10561 Likewise.
10562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10563 Likewise.
10564
10565 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10566 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10567
10568 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10569
10570 [BZ #10846]
10571 [BZ #14036]
10572 * math/libm-test.inc (exp_test): Add test from bug 14036.
10573 (pow_test): Add test from bug 10846.
10574
10575 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10576 and other flags.
10577 (special_function): Do not include flags in test name.
10578 (parse_args): Likewise.
10579 * sysdeps/i386/fpu/libm-test-ulps: Update.
10580 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10581 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10582 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10584
10585 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10586 exceptions.
10587 * math/libm-test.inc ("Philosophy"): Update comment about
10588 exception testing.
10589 (UNDERFLOW_EXCEPTION): New macro.
10590 (UNDERFLOW_EXCEPTION_OK): Likewise.
10591 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10592 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10593 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10594 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10595 (INVALID_EXCEPTION_OK): Update value.
10596 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10597 (OVERFLOW_EXCEPTION_OK): Likewise.
10598 (IGNORE_ZERO_INF_SIGN): Likewise.
10599 (test_exceptions): Handle underflow exceptions.
10600 (acos_test): Update for underflow exception expectations.
10601 (cexp_test): Likewise.
10602 (clog_test): Likewise.
10603 (clog10_test): Likewise.
10604 (csqrt_test): Likewise.
10605 (ctan_test): Likewise.
10606 (ctanh_test): Likewise.
10607 (exp_test): Likewise.
10608 (exp10_test): Likewise.
10609 (exp2_test): Likewise.
10610 (expm1_test): Likewise.
10611 (fma_test): Likewise.
10612 (j0_test): Likewise.
10613 (jn_test): Likewise.
10614 (nexttoward_test): Likewise.
10615 (pow_test): Likewise.
10616 (scalbn_test): Likewise.
10617 (scalbln_test): Likewise.
10618 (tan_test): Likewise.
10619 (y1_test): Likewise.
10620 * sysdeps/i386/fpu/libm-test-ulps: Update.
10621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10622
10623 2012-05-23 David S. Miller <davem@davemloft.net>
10624
10625 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10626 (__libc_sigaction): Remove unused local variables.
10627
10628 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10629
10630 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10631
10632 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10633
10634 mktime: avoid signed integer overflow
10635 * time/mktime.c (__mktime_internal): Do not mishandle the case
10636 where diff == INT_MIN.
10637
10638 mktime: simplify computation of average
10639 * time/mktime.c (ranged_convert): Use new time_t_avg function
10640 instead of rolling our own (probably-slower) code.
10641
10642 mktime: do not assume signed right shift propagates sign bit
10643 * time/mktime.c (isdst_differ): New static function.
10644 (__mktime_internal): No need to normalize tm_isdst now.
10645 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10646 tm_isdst values.
10647
10648 mktime: merge another wrapv change from gnulib
10649 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10650 from some compilers.
10651
10652 mktime: remove incorrect attempt at unusual arithmetics
10653 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10654 The code didn't really work on such machines anyway.
10655 (TYPE_MINIMUM): Assume two's complement.
10656 (twos_complement_arithmetic): Verify that long_int and time_t
10657 are two's complement (or unsigned, in the latter case).
10658
10659 mktime: check signed shifts on long_int and time_t, too
10660 * time/mktime.c (SHR): Check that shifts work as desired
10661 on the types long_int and time_t too, as SHR is used on
10662 such types.
10663
10664 mktime: do not assume 'long' is wide enough
10665 * time/mktime.c (verify): Move decl up.
10666 (long_int): New type.
10667 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10668 to remove assumption in the code that 'long' is wide enough to
10669 store year values. This assumption is not true on x32 and on
10670 some non-glibc platforms.
10671
10672 mktime: merge wrapv change from gnulib
10673 * time/mktime.c (WRAPV): New macro.
10674 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10675 (guess_time_tm, __mktime_internal): Do not assume that signed
10676 integer overflow wraps around; modern compilers generate code
10677 where this assumption is no longer valid.
10678
10679 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10680
10681 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10682 Replace "jmp L(pseudo_end)" with "ret".
10683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10684 Likewise.
10685
10686 2012-05-23 Andreas Jaeger <aj@suse.de>
10687
10688 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10689 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10690
10691 2012-05-23 Andreas Jaeger <aj@suse.de>
10692 Maximilian Attems <max@stro.at>
10693
10694 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10695 New macros.
10696
10697 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10698
10699 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10700 code so that pseudo_end is just ret and the stack pointer is
10701 correct also for static library in error case.
10702
10703 2012-05-23 Joseph Myers <joseph@codesourcery.com>
10704
10705 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10706 move to syscalls.list.
10707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10711
10712 * manual/install.texi (Running make install): Do not mention Linux
10713 kernel version for which pt_chown is not needed.
10714 (Linux): Do not mention problems with nscd with 2.0 kernels.
10715 * INSTALL: Regenerated.
10716
10717 2012-05-23 Andreas Jaeger <aj@suse.de>
10718
10719 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10720 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10721 macro.
10722 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10723 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10724 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10725 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10726 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10727 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10728 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10729 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10730 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10731 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10732 * sysdeps/unix/sysv/linux/bits/in.h
10733 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10734
10735 2012-05-22 Roland McGrath <roland@hack.frob.com>
10736
10737 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10738 (PREPARE_VERSION): Just use assert instead, it will be elided
10739 under [NDEBUG] anyway.
10740
10741 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10742
10743 * sysdeps/unix/sysv/linux/Makefile: Include
10744 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
10745 (sysdep_routines): Remove sysctl.
10746 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10747 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10748 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10749 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10750 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10751
10752 2012-05-22 Andreas Jaeger <aj@suse.de>
10753
10754 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10755 that pseudo_end is just ret and the stack pointer is correct also
10756 for static library in error case.
10757
10758 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10759
10760 [BZ #14122]
10761 * nss/nsswitch.c (defconfig_entries): New variable.
10762 (__nss_database_lookup): Don't leak defconfig entries.
10763 (nss_parse_service_list): Don't leak on error paths.
10764 (free_database_entries): New function.
10765 (free_defconfig): New function.
10766 (free_mem): Move common code to free_database_entries.
10767
10768 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10769
10770 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10771 Add arch_prctl.
10772 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10773
10774 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10775 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10776 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10777 New macro.
10778 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10779 (INTERNAL_SYSCALL_TYPES): Likewise.
10780 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10781 (LOAD_REGS_TYPES_[1-6]): Likewise.
10782 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10783 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10784
10785 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10786
10787 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10788 copysignl for GLIBC_2_0.
10789 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10790 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10791 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10792 logbl for GLIBC_2_0.
10793 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10794 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10795
10796 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10797
10798 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10799 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10800
10801 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10802 Use "neg %eax".
10803
10804 * time/mktime.c: Update copyright years.
10805
10806 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10807
10808 mktime: merge comment-quoting-style change from gnulib
10809 * time/mktime.c: Quote 'like this' in comments.
10810 The GNU coding standards suggest that we no longer quote `like this',
10811 as "`" and "'" are typically rendered asymmetrically nowadays.
10812 The typical gnulib style is to quote 'like this' when quoting
10813 code, and "like this" when quoting English.
10814
10815 * time/mktime.c (compile-command): Add "-I.".
10816
10817 mktime: merge mktime-internal.h change from gnulib
10818 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10819
10820 mktime: merge time_r change from gnulib
10821 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10822
10823 mktime: merge DEBUG change from gnulib
10824 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10825 case system <time.h> has a #define.
10826
10827 mktime: merge <sys/types.h> change from gnulib
10828 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10829 since <time.t> is now guaranteed to define time_t.
10830
10831 mktime: merge HAVE_CONFIG_H change from gnulib
10832 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10833
10834 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10835
10836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10837 Use "neg %eax".
10838
10839 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10840 __rlim_t cast.
10841 (struct rusage): Use anonymous union to pad each field to
10842 __syscall_slong_t.
10843
10844 2012-05-21 David S. Miller <davem@davemloft.net>
10845
10846 * Makefules (o-iterator): Remove .s cases.
10847 (compile-command.s): Delete.
10848 (COMPILE.s): Delete.
10849 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10850
10851 2012-05-21 Joseph Myers <joseph@codesourcery.com>
10852
10853 * configure.in (libc_cv_predef_stack_protector): Only consider
10854 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10855 * configure: Regenerated.
10856
10857 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10858
10859 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10860 New macro. Use R*LP on int and pointer.
10861 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
10862 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10863 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
10864 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10865
10866 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10867 [__WORDSIZE_TIME64_COMPAT32] instead of
10868 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10869 (struct utmp): Likewise.
10870 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10871 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10872 Renamed to ...
10873 (__WORDSIZE_TIME64_COMPAT32): This.
10874 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10875 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10876 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10877 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10878 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10879 (__WORDSIZE_TIME64_COMPAT32): New macro.
10880
10881 2012-05-21 Andreas Jaeger <aj@suse.de>
10882
10883 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10884 only if [SHARED]. Add prototype for __wcschr_ia32.
10885
10886 2012-05-21 Roland McGrath <roland@hack.frob.com>
10887
10888 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10889 of %rbp unmolested in the jmp_buf while mangling the low bits.
10890 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10891 unmolested high bits of %rbp while demangling the low bits.
10892 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10893
10894 2012-05-21 Andreas Jaeger <aj@suse.de>
10895
10896 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10897 * sunrpc/svc_simple.c: Use it for registerrpc.
10898 * sunrpc/xcrypt.c: Use it for passwd2des.
10899
10900 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10901
10902 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10903
10904 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10905 Don't define if [__SYSCALL_WORDSIZE != 32].
10906 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10907 New macro.
10908
10909 2012-05-21 Bruno Haible <bruno@clisp.org>
10910 Andreas Jaeger <aj@suse.de>
10911
10912 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10913 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10914 inptr and inend for must_buffer_ch.
10915 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10916 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10917 * stdio-common/Makefile (tests): Remove bug15.
10918 (bug15-ENV): Remove macro.
10919 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10920 anymore.
10921
10922 2012-05-19 Andreas Jaeger <aj@suse.de>
10923 Roland McGrath <roland@hack.frob.com>
10924
10925 * manual/contrib.texi: Completely rewritten. It contains now an
10926 alphabetical list of contributors and their contributions.
10927
10928 2012-05-21 Richard Henderson <rth@twiddle.net>
10929
10930 * misc/getauxval.c (__getauxval): Use unsigned long int.
10931 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10932 (getauxval): Use unsigned long int.
10933
10934 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10935
10936 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10937
10938 2012-05-21 Roland McGrath <roland@hack.frob.com>
10939
10940 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10941 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10942 __alignof__ (long double).
10943
10944 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10945
10946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10947
10948 2012-05-20 Richard Henderson <rth@twiddle.net>
10949
10950 * misc/getauxval.c: New file.
10951 * misc/sys/auxv.h: New file.
10952 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10953 (routines): Add getauxval.
10954 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10955 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10956 * elf/dl-sysdep.c (_dl_auxv): Remove.
10957 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10958 * elf/dl-support.c (_dl_auxv): New variable.
10959 (_dl_aux_init): Initialize it.
10960 * manual/startup.texi (Auxiliary Vector): New node.
10961 * sysdeps/generic/bits/hwcap.h: New file.
10962 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10963 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10964 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10965 * sysdeps/sparc/sysdep.h: ... here. Include it.
10966 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10967 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
10968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10969 Update.
10970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10973 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10978
10979 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10980
10981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10982
10983 2012-05-19 David S. Miller <davem@davemloft.net>
10984
10985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10986
10987 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10988
10989 [BZ #14123]
10990 * math/s_ccosh.c: Include <float.h>
10991 (__ccosh): Avoid internal overflow calculating sinh and cosh
10992 values before multiplying by sin and cos values.
10993 * math/s_ccoshf.c: Likewise.
10994 * math/s_ccoshl.c: Likewise.
10995 * math/s_csin.c: Likewise.
10996 * math/s_csinf.c: Likewise.
10997 * math/s_csinl.c: Likewise.
10998 * math/s_csinh.c: Likewise.
10999 * math/s_csinhf.c: Likewise.
11000 * math/s_csinhl.c: Likewise.
11001 * math/libm-test.inc (ccos_test): Add more tests.
11002 (ccosh_test): Likewise.
11003 (csin_test): Likewise.
11004 (csinh_test): Likewise.
11005 * sysdeps/i386/fpu/libm-test-ulps: Update.
11006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11007
11008 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11009
11010 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11011 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11012
11013 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11014
11015 2012-05-19 Joseph Myers <joseph@codesourcery.com>
11016
11017 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11018 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11019 * sysdeps/powerpc/soft-fp/Versions: Likewise.
11020 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11021 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11022 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11023 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11024 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11025 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11026 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11027 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11028 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11029 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11030 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11031 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11032 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11033 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11034 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11035 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11036 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11037 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11038 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11039 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11040 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11041 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11042 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11043 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11044 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11045 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11046 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11047 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11048
11049 2012-05-18 Andreas Jaeger <aj@suse.de>
11050
11051 * csu/.gitignore: Delete.
11052
11053 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11054
11055 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11056 (timex): Use __syscall_slong_t.
11057
11058 2012-05-18 Andreas Jaeger <aj@suse.de>
11059 Carlos O'Donell <carlos_odonell@mentor.com>
11060
11061 * manual/install.texi (Configuring and compiling): Update
11062 description about files modified in the source directory.
11063 * INSTALL: Regenerated.
11064
11065 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11066
11067 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11068 value. Use "or" to set return value to -1.
11069 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11070 negate return value.
11071
11072 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11073
11074 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11075 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11076 failure if the compiler has Graphite support disabled.
11077 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11078 Likewise.
11079 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11080 CFLAGS-memmove.c): Likewise.
11081 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11082 Likewise.
11083
11084 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11085
11086 * sysdeps/x86_64/x32/_itoa.h: New file.
11087
11088 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11089 getdents system call only if kernel and user dirents have the
11090 same d_ino and d_off.
11091
11092 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11093 LLONG_MAX != LONG_MAX.
11094 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11095 (_fitoa_word): Likewise.
11096
11097 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11098 years.
11099 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11100 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11101 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11102
11103 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11104 include <bits/wordsize.h>. Check __x86_64__ instead of
11105 __WORDSIZE.
11106 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11107 if __x86_64__ is defined. Use anonymous union on fpstate.
11108
11109 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11110 anonymous union.
11111
11112 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11113
11114 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11115 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11116 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11117 Refer to _rtld_local_ro instead of _rtld_global_ro.
11118 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11119 Likewise.
11120 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11121 Likewise.
11122 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11123 Likewise.
11124 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11125 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11126 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11127
11128 * sysdeps/powerpc/powerpc32/dl-machine.c
11129 (__elf_machine_runtime_setup) [PROF]: Don't reference
11130 _dl_prof_resolve.
11131
11132 2012-05-18 Andreas Jaeger <aj@suse.de>
11133
11134 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11135 function only available for GCCs before 3.4 since GCC 3.4
11136 introduced a builtin.
11137 (lrint): Likewise.
11138 (llrintf): Likewise.
11139 (llrint): Likewise.
11140 (fmaxf): Likewise.
11141 (fmax): Likewise.
11142 (fminf): Likewise.
11143 (fmin): Likewise.
11144 (rint): Likewise.
11145 (rintf): Likewise.
11146 (nearbyint): Likewise.
11147 (nearbyintf): Likewise.
11148 (ceil): Likewise.
11149 (ceilf): Likewise.
11150 (floor): Likewise.
11151 (floorf): Likewise.
11152
11153 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11154
11155 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11156 on both fields and cast pointer to __syscall_ulong_t.
11157
11158 * bits/types.h (__fsword_t): New type.
11159 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11160 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11161 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11162 (__FSWORD_T_TYPE): Likewise.
11163 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11164 (__FSWORD_T_TYPE): Likewise.
11165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11166 (__FSWORD_T_TYPE): Likewise.
11167 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11168 (__FSWORD_T_TYPE): Likewise.
11169 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11170 __SWORD_TYPE with __fsword_t.
11171 (statfs64): Likewise.
11172
11173 2012-05-17 David S. Miller <davem@davemloft.net>
11174
11175 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11176
11177 2012-05-17 Andreas Jaeger <aj@suse.de>
11178
11179 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11180 warning.
11181
11182 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11183
11184 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11185
11186 2012-05-17 Andreas Jaeger <aj@suse.de>
11187
11188 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11189 when it is used.
11190
11191 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11192
11193 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11194
11195 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11196
11197 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11198 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11199
11200 2012-05-17 Andreas Jaeger <aj@suse.de>
11201 Carlos O'Donell <carlos_odonell@mentor.com>
11202
11203 [BZ #14059]
11204 * sysdeps/x86_64/multiarch/init-arch.h
11205 (bit_YMM_Usable): Rename to...
11206 (bit_AVX_Usable): ... this.
11207 (bit_FMA4_Usable): New macro.
11208 (bit_XMM_state): New macro.
11209 (bit_YMM_state): New macro.
11210 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11211 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11212 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11213 (CPUID_OSXSAVE): New macro.
11214 (CPUID_AVX): New macro.
11215 (CPUID_FMA4): New macro.
11216 (index_YMM_Usable): Rename to...
11217 (index_AVX_Usable): ... this.
11218 (HAS_AVX): Use HAS_ARCH_FEATURE.
11219 (HAS_FMA4): Likewise.
11220 (HAS_YMM_USABLE): Remove.
11221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11222 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11223 are present.
11224 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11225 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11226 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11227 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11228 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11229
11230 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11231
11232 * math/libm-test.c: Support platforms without multiple rounding modes.
11233 * math/bug-nextafter.c: Support platforms without FP exceptions.
11234 * math/bug-nexttoward.c: Likewise.
11235 * math/test-fenv.c: Likewise.
11236 * math/test-misc.c: Likewise.
11237 * stdlib/bug-getcontext.c: Likewise.
11238
11239 2012-05-17 Andreas Jaeger <aj@suse.de>
11240
11241 * manual/examples/search.c (critter_cmp): Change signature to
11242 avoid warnings.
11243 * manual/string.texi (Collation Functions): Likewise.
11244
11245 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11246
11247 * bits/types.h: Fold copyright years.
11248 * bits/typesizes.h: Likewise.
11249 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11250 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11251 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11252 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11253 * time/time.h: Likewise.
11254
11255 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11256
11257 [BZ #208]
11258 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11259 in instead of returning them. Return void.
11260 (__libc_mallinfo): Accumulate over all arenas.
11261 (__malloc_stats): Adjust for change in int_mallinfo interface.
11262
11263 2012-05-16 Roland McGrath <roland@hack.frob.com>
11264
11265 [BZ #10375]
11266 * configure.in (NM): Add AC_CHECK_TOOL for it.
11267 (libc_extra_cflags): New substituted variable.
11268 Check for -fstack-protector being used implicitly.
11269 * configure: Regenerated.
11270 * config.make.in (config-extra-cflags): New variable,
11271 gets @libc_extra_cflags@.
11272 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11273
11274 [BZ #10375]
11275 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11276 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11277 * configure: Regenerated.
11278 * config.make.in (CPPUNDEFS): New substituted variable.
11279 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11280 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11281 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11282
11283 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11284
11285 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11286 (mq_attr): Use __syscall_slong_t.
11287
11288 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11289
11290 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11291 Check __x86_64__ instead of __WORDSIZE.
11292 (_STAT_VER_LINUX): Likewise.
11293 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11294 __syscall_ulong_t and __syscall_slong_t.
11295 (stat64): Likewise.
11296
11297 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11298
11299 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11300
11301 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11302
11303 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11304
11305 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11306
11307 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11308 __syscall_ulong_t.
11309
11310 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11311 include <bits/wordsize.h>. Check __x86_64__ instead of
11312 __WORDSIZE.
11313 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11314 defined.
11315 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11316
11317 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11318 include <bits/wordsize.h>. Check __x86_64__ instead of
11319 __WORDSIZE.
11320 (user_regs_struct): Use "__extension__ unsigned long long"
11321 instead of "unsigned long" if __x86_64__ is defined.
11322 (user): Likewise. Pad after pointer field if __ILP32__ is
11323 defined.
11324
11325 2012-05-16 Joseph Myers <joseph@codesourcery.com>
11326
11327 * configure.in (makeinfo): Require version 4.5 or later. Allow
11328 versions 5 to 9.
11329 * configure: Regenerated.
11330 * manual/install.texi (texinfo): Increase version requirement to
11331 4.5 or later.
11332 * INSTALL: Regenerated.
11333
11334 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11335
11336 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11337
11338 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11339
11340 * sysdeps/x86_64/x32/ffs.c: New file.
11341
11342 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11343 __syscall_ulong_t.
11344 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11345 defined. Use __syscall_ulong_t.
11346 (shminfo): Use __syscall_ulong_t.
11347 (shm_info): Likewise.
11348
11349 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11350 __syscall_ulong_t.
11351
11352 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11353 <bits/wordsize.h>.
11354 (msgqnum_t): Use __syscall_ulong_t.
11355 (msglen_t): Likewise.
11356 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11357 __syscall_ulong_t.
11358
11359 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11360 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11361
11362 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11363
11364 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11365 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11366
11367 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11368 __syscall_slong_t.
11369
11370 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11371 include <bits/wordsize.h>. Check __x86_64__ instead of
11372 __WORDSIZE.
11373
11374 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11375 "unsigned long long int" if __x86_64__ is defined.
11376 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11377
11378 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11379 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11380 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11381
11382 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11383 <stdint.h>.
11384 (GET_PC): Cast to uintptr_t first.
11385 (GET_FRAME): Likewise.
11386 (GET_STACK): Likewise.
11387
11388 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11389 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11390 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11391 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11392 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11393 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11394 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11395 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11396 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11397 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11398 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11399 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11400 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11401 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11402 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11403 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11404 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11405 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11406 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11407 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11408 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11409 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11410 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11411 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11412 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11413 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11414 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11415 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11416 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11417
11418 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11419
11420 * Makerules (+depfiles): Also collect depfiles from .oS in
11421 $(extra-objs).
11422 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11423 .oS, $(libnldbl-routines)).
11424
11425 * Makerules (native-compile-mkdep-flags): Define.
11426 * sunrpc/Makefile (extra-objs): Add $(addprefix
11427 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11428 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11429 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11430 calling $(make-target-directory).
11431
11432 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11433
11434 * bits/types.h (__snseconds_t): Removed.
11435 * time/time.h (struct timespec): Replace __snseconds_t with
11436 __syscall_slong_t.
11437 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11438 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11439 Likewise.
11440 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11441 (__SNSECONDS_T_TYPE): Likewise.
11442 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11443 (__SNSECONDS_T_TYPE): Likewise.
11444 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11445 (__SNSECONDS_T_TYPE): Likewise.
11446
11447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11448
11449 * sysdeps/mach/hurd/bits/typesizes.h
11450 (__SYSCALL_SLONG_TYPE): New macro.
11451 (__SYSCALL_ULONG_TYPE): Likewise.
11452
11453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11454
11455 * bits/types.h (__syscall_slong_t): New type.
11456 (__syscall_ulong_t): Likewise.
11457
11458 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11459 (__SYSCALL_ULONG_TYPE): Likewise.
11460 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11461 (__SYSCALL_SLONG_TYPE): Likewise.
11462 (__SYSCALL_ULONG_TYPE): Likewise.
11463 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11464 (__SYSCALL_SLONG_TYPE): Likewise.
11465 (__SYSCALL_ULONG_TYPE): Likewise.
11466 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11467 (__SYSCALL_SLONG_TYPE): Likewise.
11468 (__SYSCALL_ULONG_TYPE): Likewise.
11469
11470 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11471
11472 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11473 Add sigaltstack-offsets.sym.
11474 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11475 <sigaltstack-offsets.h>.
11476 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11477 longjmp_msg pointer.
11478 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11479 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11480 signal stack.
11481 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11482
11483 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11484
11485 * elf/stackguard-macros.h: Remove file.
11486 * sysdeps/generic/stackguard-macros.h: New file.
11487 * sysdeps/i386/stackguard-macros.h: Likewise.
11488 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11489 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11490 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11491 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11492 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11493 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11494 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11495 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11496 <elf/stackguard-macros.h>.
11497
11498 [BZ #14109]
11499 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11500 __aligned__ in attribute.
11501 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11502 (gregset_t): Likewise.
11503
11504 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11505
11506 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11507 * sysdeps/x86_64/64/Implies-after: Here. New file.
11508 * sysdeps/x86_64/x32/Implies-after: New file.
11509
11510 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11511
11512 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11513 and access return value for _dl_profile_fixup. Use R10_LP to
11514 load frame size.
11515
11516 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11517
11518 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11519
11520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11521
11522 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11523 * sysdeps/x86_64/x32/sysdep.h: New file.
11524
11525 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11526
11527 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11528 * sysdeps/x86_64/setjmp.S: Likewise.
11529
11530 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11531
11532 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11533 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11534 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11535 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11536 remove unused global constant.
11537
11538 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11539
11540 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11541 include of <not-cancel.h>.
11542
11543 2012-05-15 Roland McGrath <roland@hack.frob.com>
11544
11545 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11546
11547 2012-05-15 Jeff Law <law@redhat.com>
11548 Andreas Jaeger <aj@suse.de>
11549
11550 [BZ #13594]
11551 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11552 out from...
11553 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11554 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11555 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11556 code changing __hst_map_handle.map.
11557
11558 2012-05-15 Roland McGrath <roland@hack.frob.com>
11559
11560 * configure.in (sysnames): Look for Implies-before and Implies-after
11561 files.
11562 * configure: Regenerated.
11563
11564 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11565
11566 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11567 8-byte data alignment with LP_SIZE alignment.
11568
11569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11570
11571 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11572 into R10_LP.
11573
11574 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11575
11576 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11577
11578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11579
11580 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11581 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11582 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11583 Likewise.
11584 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11585
11586 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11587
11588 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11589 (stackinfo_sub_sp): Likewise.
11590
11591 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11592
11593 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11594 RAX_LP.
11595
11596 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11597
11598 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11599 into R*_LP.
11600
11601 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11602
11603 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11604 sizes into R*_LP.
11605
11606 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11607
11608 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11609
11610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11611
11612 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11613 into R11_LP and load __x86_64_shared_cache_size_half into
11614 R8_LP.
11615
11616 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11617
11618 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11619 R8_LP.
11620
11621 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11622
11623 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11624 logb for POWER7.
11625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11626 logbf for POWER7.
11627 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11628 logbl for POWER7.
11629 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11630 powerpc32/power7/fpu/s_logb.c via #include.
11631 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11632 powerpc32/power7/fpu/s_logbf.c via #include.
11633 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11634 powerpc32/power7/fpu/s_logbl.c via #include.
11635
11636 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11637
11638 * README.libm: Remove file.
11639
11640 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11641
11642 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11643 count for x32. Use R*_LP and omit operand-size suffix.
11644
11645 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11646
11647 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11648 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11649 * sysdeps/x86_64/x32/shlib-versions: New file.
11650
11651 2012-05-14 Roland McGrath <roland@hack.frob.com>
11652
11653 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11654 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11655 Use _dl_fatal_printf instead.
11656
11657 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11658
11659 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11660 set if not set by the user. Do not allow for being unset.
11661 * sysdeps/unix/sysv/linux/configure: Regenerated.
11662
11663 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11664
11665 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11666 the `q' suffix from lea and replace .quad with ASM_ADDR.
11667
11668 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11669
11670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11671 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11672 instead of $17.
11673 (PTR_DEMANGLE): Likewise.
11674
11675 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11676
11677 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11678 (LP_OP): Likewise.
11679 (ASM_ADDR): Likewise.
11680 (RAX_LP): Likewise.
11681 (RBP_LP): Likewise.
11682 (RBX_LP): Likewise.
11683 (RCX_LP): Likewise.
11684 (RDI_LP): Likewise.
11685 (RSI_LP): Likewise.
11686 (RSP_LP): Likewise.
11687 (R8_LP): Likewise.
11688 (R9_LP): Likewise.
11689 (R10_LP): Likewise.
11690 (R10_LP): Likewise.
11691 (R11_LP): Likewise.
11692 (R12_LP): Likewise.
11693 (R13_LP): Likewise.
11694 (R14_LP): Likewise.
11695 (R15_LP): Likewise.
11696
11697 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11698
11699 * sysdeps/x86_64/x32/dl-machine.h: New file.
11700
11701 2012-05-14 Andreas Jaeger <aj@suse.de>
11702
11703 * manual/Makefile (subdir): Remove export of subdir.
11704 (all): Remove target.
11705 (.PHONY): Remove all from list.
11706 (mkinstalldirs): Remove.
11707 (.PHONY): Remove installdirs from list.
11708 ($(inst_infodir)/libc.info): Use make-target-directory.
11709 (installdirs): Remove.
11710 (subdir_%): Remove.
11711 (glibc-targets): Remove.
11712 (lib): Remove.
11713 (stubs): Remove.
11714 ($(objpfx)stubs ../po/manual.pot): Remove.
11715 ($(objpfx)stamp%): Remove.
11716 (make-target-directory): Remove.
11717 (subdir_install): Remove.
11718 (routines): Remove.
11719 (aux): Remove.
11720 (sources): Remove.
11721 (objects): Remove.
11722 (headers): Remove.
11723
11724 [BZ #13750]
11725 * manual/.gitignore: Remove, it's not needed anymore.
11726 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11727 all files in it.
11728 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11729 directory.
11730 (texis): Renamed to $(objpfx)texis.
11731 (texis-path): New, contains path to generated files.
11732 (chapters.%): Use texis-path for complete path, add extra argument
11733 libc-texinfo.sh.
11734 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11735 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11736 (summary,texi, stamp-summary): Use complete path of
11737 files. Generate files in build dir.
11738 (dir-add.texi): Build in build dir.
11739 (libm-err.texi,stamp-libm-err): Likewise.
11740 (version.texi, stamp-version): Likewise.
11741 (.%c.texi): Likewise.
11742 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11743 (mostlyclean): Remove target.
11744 (realclean): Remove target.
11745 (generated): Add new variable with contents from mostlyclean and
11746 realclean, remove entries duplicated in common-mostlyclean, add
11747 stamp-libm-err and stamp-version.
11748 (generated-dirs): Add libc directory.
11749 ($(inst_infodir)/libc.info): Install files from build dir.
11750
11751 * manual/install.texi (Configuring and compiling): Adjust since
11752 the info files are not part of the tar ball anymore.
11753
11754 2012-05-14 Andreas Jaeger <aj@suse.de>
11755
11756 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11757 variable.
11758
11759 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11760
11761 [BZ #13717]
11762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11763 to 2.2.0 where earlier.
11764 * sysdeps/unix/sysv/linux/configure: Regenerated.
11765 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11766 Remove conditional code.
11767 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11768 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11769 Remove conditional code.
11770 [!__NR_lchown]: Likewise.
11771 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11772 [__NR_lchown]: Likewise.
11773 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11774 comment referencing __ASSUME_LCHOWN_SYSCALL.
11775 * sysdeps/unix/sysv/linux/i386/sigaction.c
11776 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11777 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11778 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11779 Remove conditional code.
11780 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11781 (__protocol_available): Remove #if 0 code.
11782 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11783 conditional code.
11784 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11785 * sysdeps/unix/sysv/linux/kernel-features.h
11786 (__ASSUME_GETCWD_SYSCALL): Don't define.
11787 (__ASSUME_REALTIME_SIGNALS): Likewise.
11788 (__ASSUME_PREAD_SYSCALL): Likewise.
11789 (__ASSUME_PWRITE_SYSCALL): Likewise.
11790 (__ASSUME_POLL_SYSCALL): Likewise.
11791 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11792 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11793 non-SPARC.
11794 (__ASSUME_SIOCGIFNAME): Don't define.
11795 (__ASSUME_MSG_NOSIGNAL): Likewise.
11796 (__ASSUME_SENDFILE): Define unconditionally.
11797 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11798 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11799 conditional code.
11800 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11801 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11802 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11803 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11804 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11805 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11806 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11808 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11809 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11811 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11814 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11817 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11820 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11823 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11824 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11826 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11829 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11830 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11831 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11832 Remove conditional code.
11833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11834 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11835 Remove conditional code.
11836 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11837 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11838 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11839 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11840 Remove conditional code.
11841 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11842 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11843 Remove conditional code.
11844 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11845 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11846 Remove conditional code.
11847 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11848 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11849 Remove conditional code.
11850 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11851 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11852 Remove conditional code.
11853 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11854 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11855 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11856 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11857 * sysdeps/unix/sysv/linux/sigaction.c
11858 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11859 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11860 * sysdeps/unix/sysv/linux/sigpending.c
11861 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11862 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11863 * sysdeps/unix/sysv/linux/sigprocmask.c
11864 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11865 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11866 * sysdeps/unix/sysv/linux/sigsuspend.c
11867 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11868 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11869 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11870 (__libc_missing_rt_sigs): Remove.
11871 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11872 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11873 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11874 Remove conditional code.
11875 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11876 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11877 return 1.
11878 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11879 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11880 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11881 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11882
11883 2012-05-14 Andreas Jaeger <aj@suse.de>
11884
11885 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11886 it's not used in glibc.
11887 (__coshm1): Likewise.
11888 (__acosh1p): Likewise.
11889 (__sgn): Likewise.
11890
11891 * manual/string.texi (Copying and Concatenation): Add missing
11892 variable in concat example.
11893 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11894
11895 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11896
11897 [BZ #14103]
11898 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11899 __builtin_clzl with __builtin_clzll.
11900
11901 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11902
11903 [BZ #14104]
11904 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11905 libc_freeres_ptr.
11906
11907 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11908
11909 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11910 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11911 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11912 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11913
11914 2012-05-14 Mike Frysinger <vapier@gentoo.org>
11915
11916 * NEWS: Update ia64 info.
11917
11918 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11919
11920 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11921 used as bcopy.
11922
11923 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11924
11925 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11926 * sysdeps/unix/syscalls.list (dup3): Likewise.
11927 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11928 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11929
11930 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11931
11932 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11933 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11934
11935 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11936
11937 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11938 thread pointer.
11939 (TLS_IE): Use mov/add instead of movq/addq to load thread
11940 pointer.
11941 (TLS_GD_PREFIX): New.
11942 (TLS_GD): Use it.
11943
11944 2012-05-11 David S. Miller <davem@davemloft.net>
11945
11946 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11947 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11948 (_FPU_SETCW): Likewise.
11949
11950 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11951
11952 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11953 is 32-byte aligned.
11954
11955 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11956
11957 [BZ #11837]
11958 * iconvdata/gb18030.c: Update tables.
11959 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11960 characters specially.
11961 (BODY for TO_LOOP): Add encoding of missing ranges.
11962
11963 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11964
11965 [BZ #13673]
11966 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11967 * sysdeps/mach/hurd/dup3.c: Likewise.
11968 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11969 * sysdeps/powerpc/memmove.c:: Likewise.
11970
11971 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11972
11973 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11974 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11975
11976 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11977
11978 * elf/elf.h (R_X86_64_RELATIVE64): New.
11979 (R_X86_64_NUM): Updated.
11980 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11981 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11982 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11983 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11984 tst-quad1pie tst-quad2pie
11985 (modules-names): Add tst-quadmod1 tst-quadmod2.
11986 ($(objpfx)tst-quad1): New dependency.
11987 ($(objpfx)tst-quad2): Likewise.
11988 ($(objpfx)tst-quad1pie): Likewise.
11989 ($(objpfx)tst-quad2pie): Likewise.
11990 * sysdeps/x86_64/tst-quad1.c: New file.
11991 * sysdeps/x86_64/tst-quad1pie.c: New file.
11992 * sysdeps/x86_64/tst-quad2.c: Likewise.
11993 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11994 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11995 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11996 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11997 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11998
11999 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12000
12001 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12002 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12003 * streams/stropts.h (t_scalar_t): Define type.
12004
12005 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12006 (_PATH_PRESERVE): Set to "/var/lib".
12007 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12008
12009 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12010 instead of int.
12011
12012 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12013 if __dir_mkfile succeeded.
12014
12015 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12016 checking for _hurd_dtablesize. Unlock it right after having
12017 finished _hurd_dtable allocation.
12018
12019 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12020
12021 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12022 * sysdeps/mach/hurd/configure: Regenerated.
12023 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12024 special-casing to...
12025 * sysdeps/gnu/configure.in: ... this new file.
12026 * sysdeps/unix/sysv/linux/configure: Regenerated.
12027 * sysdeps/gnu/configure: New generated file.
12028
12029 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12030 for Linux: use nsec instead of usec, as well as:
12031 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12032 members of type struct timespec.
12033 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12034 New macros.
12035 (struct stat64): Likewise.
12036 (_STATBUF_ST_NSEC): New macro.
12037 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12038
12039 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12040 __strtoul_internal rather than strtoul.
12041
12042 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12043
12044 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12045 and reject them.
12046
12047 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12048
12049 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12050 which preserves existing values.
12051 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12052
12053 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12054
12055 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12056 TIMEOUT values. Return EINVAL for NFDS values either negative or
12057 greater than FD_SETSIZE.
12058
12059 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12060
12061 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12062 allocated, call __vm_protect to finish enabling the existing space, and
12063 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12064 allocate the remainder.
12065
12066 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12067
12068 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12069 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12070
12071 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12072
12073 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12074 sysdeps/mach/hurd/readlink.c.
12075
12076 * posix/tst-sysconf.c (posix_options): Only use
12077 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12078 _POSIX_SYNCHRONIZED_IO when they are defined
12079 * sysdeps/mach/hurd/bits/posix_opt.h:
12080 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12081 (_XOPEN_REALTIME): Undefine macro.
12082 (_XOPEN_REALTIME_THREADS): Undefine macro.
12083 (_XOPEN_SHM): Undefine macro.
12084 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12085 macro to -1.
12086 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12087 macro to -1.
12088 (_POSIX_ASYNC_IO): Undefine macro.
12089 (_POSIX_PRIORITIZED_IO): Undefine macro.
12090 (_POSIX_SPIN_LOCKS): Define macro to -1.
12091
12092 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12093 SA_NODEFER, SA_RESETHAND.
12094 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12095 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12096 F_DUPFD_CLOEXEC.
12097
12098 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12099
12100 * elf/Makefile (pldd-modules): Define unconditionally.
12101
12102 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12103
12104 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12105
12106 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12107
12108 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12109 Return ENOENT when name is empty.
12110 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12111
12112 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12113
12114 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12115
12116 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12117
12118 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12119
12120 Fix mlock in all cases except non-readable pages.
12121 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12122 instead of VM_PROT_ALL as parameter to __vm_wire function.
12123
12124 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12125 (__mkdir): When path is `/', just fail with EEXIST.
12126 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12127
12128 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12129
12130 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12131 <sys/uio.h> (for writev).
12132 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12133 and <sys/param.h> (for MIN).
12134
12135 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12136
12137 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12138 REQUESTED_TIME. Properly set the remaining time and return EINTR
12139 if interrupted.
12140
12141 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12142
12143 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12144 Depend on against $(link-rpcuserlibs).
12145
12146 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12147
12148 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12149 (__libc_stack_end): Do not use attribute_relro.
12150 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12151 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
12152 to libthread-provided value.
12153 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12154 attribute_relro.
12155
12156 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12157
12158 [BZ #3748]
12159 * bits/libc-lock.h (__libc_once_get): New macro.
12160 * sysdeps/mach/bits/libc-lock.h: Likewise.
12161 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12162 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12163 instead of using implementation details.
12164
12165 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12166 * libio/freopen.c: Likewise.
12167 * libio/freopen64.c: Likewise.
12168 * misc/syslog.c: Likewise.
12169 * nscd/connections.c: Likewise.
12170 * nscd/netgroupcache.c: Likewise.
12171 * sysdeps/posix/getcwd.c: Likewise.
12172
12173 2012-05-10 Roland McGrath <roland@hack.frob.com>
12174
12175 * math/w_ilogbf.c: Add #include <limits.h>.
12176
12177 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12178
12179 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
12180 path instead of returning without unlocking.
12181
12182 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12183 immediate-write ioctls.
12184 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12185
12186 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12187
12188 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12189 __builtin_frame_address instead of making assumptions about the
12190 location of the return address relative to DATA. Force early load of
12191 the return address.
12192 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12193 __builtin_frame_address.
12194
12195 dup3 for GNU Hurd.
12196 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12197 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12198 implement dup3 and do some further code clean-ups.
12199 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12200 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12201
12202 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12203
12204 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12205
12206 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12207 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12208 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12209 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12210 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12211 d->port.lock.
12212
12213 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12214 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12215 when handler == SIG_ERR, not when handler != SIG_ERR.
12216
12217 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12218
12219 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12220 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12221 definitions.
12222
12223 accept4 for GNU Hurd.
12224 * include/sys/socket.h (__libc_accept4): New prototype.
12225 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12226 to implement __libc_accept4.
12227 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12228 __libc_accept4.
12229 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12230
12231 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12232 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12233 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12234 signal-defines.sym.
12235
12236 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12237
12238 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12239
12240 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12241
12242 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12243 assertion on O_CLOEXEC flag.
12244 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12245 * hurd/intern-fd.c: Likewise.
12246 * hurd/port2fd.c: Likewise.
12247
12248 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12249
12250 [BZ #3906]
12251 * bits/in.h (IPV6_PKTINFO): Define new macro.
12252 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12253
12254 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12255
12256 [BZ #13954]
12257 [BZ #13955]
12258 [BZ #13956]
12259 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12260 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12261 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12262 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12263 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12264 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12265 * math/libm-test.inc (logb_test) : Additional logb tests.
12266
12267 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12268 Andreas Jaeger <aj@suse.de>
12269
12270 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12271 * configure: Regenerated.
12272 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12273 * config.make.in (link-obsolete-rpc): New substituted variable.
12274 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12275 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12276 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12277 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12278 so that libc.a contains the symbols.
12279 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12280 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12281 * sunrpc/auth_none.c: Likewise.
12282 * sunrpc/auth_unix.c: Likewise.
12283 * sunrpc/authdes_prot.c: Likewise.
12284 * sunrpc/authuxprot.c: Likewise.
12285 * sunrpc/clnt_gen.c: Likewise.
12286 * sunrpc/clnt_perr.c: Likewise.
12287 * sunrpc/clnt_raw.c: Likewise.
12288 * sunrpc/clnt_simp.c: Likewise.
12289 * sunrpc/clnt_tcp.c: Likewise.
12290 * sunrpc/clnt_udp.c: Likewise.
12291 * sunrpc/clnt_unix.c: Likewise.
12292 * sunrpc/des_crypt.c: Likewise.
12293 * sunrpc/des_soft.c: Likewise.
12294 * sunrpc/get_myaddr.c: Likewise.
12295 * sunrpc/key_call.c: Likewise.
12296 * sunrpc/key_prot.c: Likewise.
12297 * sunrpc/netname.c: Likewise.
12298 * sunrpc/pm_getmaps.c: Likewise.
12299 * sunrpc/pm_getport.c: Likewise.
12300 * sunrpc/pmap_clnt.c: Likewise.
12301 * sunrpc/pmap_prot.c: Likewise.
12302 * sunrpc/pmap_prot2.c: Likewise.
12303 * sunrpc/pmap_rmt.c: Likewise.
12304 * sunrpc/publickey.c: Likewise.
12305 * sunrpc/rpc_cmsg.c: Likewise.
12306 * sunrpc/rpc_common.c: Likewise.
12307 * sunrpc/rpc_dtable.c: Likewise.
12308 * sunrpc/rpc_prot.c: Likewise.
12309 * sunrpc/rpc_thread.c: Likewise.
12310 * sunrpc/rtime.c: Likewise.
12311 * sunrpc/svc.c: Likewise.
12312 * sunrpc/svc_auth.c: Likewise.
12313 * sunrpc/svc_raw.c: Likewise.
12314 * sunrpc/svc_run.c: Likewise.
12315 * sunrpc/svc_tcp.c: Likewise.
12316 * sunrpc/svc_udp.c: Likewise.
12317 * sunrpc/svc_unix.c: Likewise.
12318 * sunrpc/svcauth_des.c: Likewise.
12319 * sunrpc/xcrypt.c: Likewise.
12320 * sunrpc/xdr.c: Likewise.
12321 * sunrpc/xdr_array.c: Likewise.
12322 * sunrpc/xdr_float.c: Likewise.
12323 * sunrpc/xdr_intXX_t.c: Likewise.
12324 * sunrpc/xdr_mem.c: Likewise.
12325 * sunrpc/xdr_rec.c: Likewise.
12326 * sunrpc/xdr_ref.c: Likewise.
12327 * sunrpc/xdr_sizeof.c: Likewise.
12328 * sunrpc/xdr_stdio.c: Likewise.
12329
12330 2012-05-10 Roland McGrath <roland@hack.frob.com>
12331
12332 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12333 change. Update copyright years.
12334
12335 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12336
12337 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12338
12339 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12340 Joseph Myers <joseph@codesourcery.com>
12341 Paul Pluzhnikov <ppluzhnikov@google.com>
12342
12343 [BZ #14012]
12344 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12345 requiring rpcgen.
12346 [cross-compiling] (extra-libs): Likewise.
12347 [cross-compiling] (extra-libs-others): Likewise.
12348 [cross-compiling] (librpcsvc-routines): Likewise.
12349 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12350 [cross-compiling] (omit-deps): Likewise.
12351 (sunrpc-CPPFLAGS): New variable.
12352 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12353 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12354 (cross-rpcgen-objs): New variable.
12355 (extra-objs): Append $(cross-rpcgen-objs).
12356 ($(cross-rpcgen-objs)): New rule.
12357 ($(objpfx)cross-rpcgen): Likewise.
12358 (rpcgen-cmd): Define to use $(built-program-file). Expand
12359 comment.
12360 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12361 ($(objpfx)x%.stmp): Likewise.
12362 * sunrpc/proto.h [IS_IN_build] (_): Define.
12363 [IS_IN_build] (_libc_intl_domainname): Likewise.
12364
12365 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12366
12367 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12368 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12369 and R_X86_64_TPOFF64.
12370
12371 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12372
12373 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12374 sysdeps/unix/sysv/syscalls.list.
12375 (stime): Likewise.
12376 (utime): Likewise.
12377 * sysdeps/unix/sysv/syscalls.list: Remove file.
12378
12379 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12380
12381 [BZ #3440]
12382 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12383 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12384 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12385 (__LC_IDENTIFICATION): Make these macros useful in #if
12386 expressions, as required by C99.
12387
12388 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12389
12390 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12391 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12392 after this.
12393
12394 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12395
12396 * stdlib/longlong.h: Updated from GCC.
12397
12398 2012-05-09 Andreas Jaeger <aj@suse.de>
12399
12400 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12401 default is first entry.
12402 (run_mode): Set type.
12403 (main): Remove informal message about syslog.
12404 (options): Fix typo.
12405
12406 [BZ #14053]
12407 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12408 to asm.
12409 (lrint): Likewise.
12410 (llrintf): Likewise.
12411 (llrint): Likewise.
12412 (rint): Likewise.
12413 (rintf): Likewise.
12414 (nearbyint): Likewise.
12415 (nearbyintf): Likewise.
12416
12417 2012-05-09 Andreas Jaeger <aj@suse.de>
12418 Pedro Alves <palves@redhat.com>
12419
12420 * nscd/nscd.c (run_mode): Use enum.
12421 (main): Cleanup coding style issue.
12422
12423 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
12424 Andreas Jaeger <aj@suse.de>
12425
12426 * nscd/nscd.c (go_background): Replaced with...
12427 (run_mode): ... this.
12428 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12429 (options): Add -F --foreground.
12430 (main): Implement it.
12431 (parse_opt): Parse it.
12432
12433 2012-05-09 Andreas Jaeger <aj@suse.de>
12434
12435 [BZ #14083]
12436 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12437 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12438 -Wconversion warning.
12439 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12440 Likewise.
12441
12442 2012-05-09 Joseph Myers <joseph@codesourcery.com>
12443
12444 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12445 == 0.
12446 (LC_ALL): Use macro-int-constant.
12447 (LC_COLLATE): Likewise.
12448 (LC_CTYPE): Likewise.
12449 (LC_MESSAGES): Likewise.
12450 (LC_MONETARY): Likewise.
12451 (LC_NUMERIC): Likewise.
12452 (LC_TIME): Likewise.
12453 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12454 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12455 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12456 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12457 Specify type.
12458 [C99-based standards] (float_t): Expect type.
12459 [C99-based standards] (double_t): Expect type.
12460 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12461 type.
12462 [C99-based standards] (HUGE_VALL): Likewise.
12463 [C99-based standards] (INFINITY): Likewise.
12464 [C99-based standards] (NAN): Likewise.
12465 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12466 [C99-based standards] (FP_NAN): Likewise.
12467 [C99-based standards] (FP_NORMAL): Likewise.
12468 [C99-based standards] (FP_SUBNORMAL): Likewise.
12469 [C99-based standards] (FP_ZERO): Likewise.
12470 [C99-based standards] (FP_FAST_FMA): Use
12471 optional-macro-int-constant. Specify type. Require == 1.
12472 [C99-based standards] (FP_FAST_FMAF): Likewise.
12473 [C99-based standards] (FP_FAST_FMAL): Likewise.
12474 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12475 [C99-based standards] (FP_ILOGBNAN): Likewise.
12476 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12477 Specify type.
12478 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12479 [C99-based standards] (math_errhandling): Specify type.
12480 [ISO99 || ISO11] (signgam): Do not allow.
12481 [non-C99-based standards] (copysignf): Do not allow.
12482 [non-C99-based standards] (exp2f): Likewise.
12483 [non-C99-based standards] (log2f): Likewise.
12484 [non-C99-based standards] (modff): Allow.
12485 [non-C99-based standards] (erff): Do not allow.
12486 [non-C99-based standards] (erfcf): Likewise.
12487 [non-C99-based standards] (gammaf): Likewise.
12488 [non-C99-based standards] (hypotf): Likewise.
12489 [non-C99-based standards] (j0f): Likewise.
12490 [non-C99-based standards] (j1f): Likewise.
12491 [non-C99-based standards] (jnf): Likewise.
12492 [non-C99-based standards] (lgammaf): Likewise.
12493 [non-C99-based standards] (tgammaf): Likewise.
12494 [non-C99-based standards] (y0f): Likewise.
12495 [non-C99-based standards] (y1f): Likewise.
12496 [non-C99-based standards] (ynf): Likewise.
12497 [non-C99-based standards] (isnanf): Likewise.
12498 [non-C99-based standards] (acoshf): Likewise.
12499 [non-C99-based standards] (asinhf): Likewise.
12500 [non-C99-based standards] (atanhf): Likewise.
12501 [non-C99-based standards] (cbrtf): Likewise.
12502 [non-C99-based standards] (expm1f): Likewise.
12503 [non-C99-based standards] (ilogbf): Likewise.
12504 [non-C99-based standards] (log1pf): Likewise.
12505 [non-C99-based standards] (logbf): Likewise.
12506 [non-C99-based standards] (nextafterf): Likewise.
12507 [non-C99-based standards] (remainderf): Likewise.
12508 [non-C99-based standards] (rintf): Likewise.
12509 [non-C99-based standards] (scalbf): Likewise.
12510 [non-C99-based standards] (copysignl): Likewise.
12511 [non-C99-based standards] (exp2l): Likewise.
12512 [non-C99-based standards] (log2l): Likewise.
12513 [non-C99-based standards] (modfl): Allow.
12514 [non-C99-based standards] (erfl): Do not allow.
12515 [non-C99-based standards] (erfcl): Likewise.
12516 [non-C99-based standards] (gammal): Likewise.
12517 [non-C99-based standards] (hypotl): Likewise.
12518 [non-C99-based standards] (j0l): Likewise.
12519 [non-C99-based standards] (j1l): Likewise.
12520 [non-C99-based standards] (jnl): Likewise.
12521 [non-C99-based standards] (lgammal): Likewise.
12522 [non-C99-based standards] (tgammal): Likewise.
12523 [non-C99-based standards] (y0l): Likewise.
12524 [non-C99-based standards] (y1l): Likewise.
12525 [non-C99-based standards] (ynl): Likewise.
12526 [non-C99-based standards] (isnanl): Likewise.
12527 [non-C99-based standards] (acoshl): Likewise.
12528 [non-C99-based standards] (asinhl): Likewise.
12529 [non-C99-based standards] (atanhl): Likewise.
12530 [non-C99-based standards] (cbrtl): Likewise.
12531 [non-C99-based standards] (expm1l): Likewise.
12532 [non-C99-based standards] (ilogbl): Likewise.
12533 [non-C99-based standards] (log1pl): Likewise.
12534 [non-C99-based standards] (logbl): Likewise.
12535 [non-C99-based standards] (nextafterl): Likewise.
12536 [non-C99-based standards] (remainderl): Likewise.
12537 [non-C99-based standards] (rintl): Likewise.
12538 [non-C99-based standards] (scalbl): Likewise.
12539 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12540 [non-C99-based standards] (FP_*): Do not allow.
12541 [C99-based standards] (FP_*): Change to
12542 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12543 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12544 allow.
12545 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12546 (SIG_ERR): Likewise.
12547 [X/Open-based standards] (SIG_HOLD): Likewise.
12548 (SIG_IGN): Likewise.
12549 (SIGABRT): Use macro-int-constant. Specify type. Require
12550 positive value.
12551 (SIGFPE): Likewise.
12552 (SIGILL): Likewise.
12553 (SIGINT): Likewise.
12554 (SIGSEGV): Likewise.
12555 (SIGTER): Likewise.
12556 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12557 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12558 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12559 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12560 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12561 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12562 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12563 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12564 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12565 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12566 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12567 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12568 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12569 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12570 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12571 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12572 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12573 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12574 [X/Open-based standards] (SIGTRAP): Likewise.
12575 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12576 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12577 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12578 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12579 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12580 allow.
12581
12582 2012-05-08 Ian Wienand <ianw@vmware.com>
12583
12584 [BZ #14080]
12585 * time/tzset.c (__tzset_parse_tz): Update default rules for
12586 daylight time changes in the Energy Policy Act of 2005.
12587
12588 2012-05-09 Andreas Jaeger <aj@suse.de>
12589
12590 [BZ #13983]
12591 * elf/ldconfig.c (parse_conf): Change string to make clear that
12592 ldconfig only issued a warning if ld.so.conf does not exist.
12593
12594 2012-05-08 David S. Miller <davem@davemloft.net>
12595
12596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12597 movxtod instead of popping the value on the stack.
12598
12599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12600
12601 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12602
12603 * config.h.in: Add HAVE_ARM_PCS_VFP.
12604
12605 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
12606
12607 [BZ #13979]
12608 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12609 checking but the checks are disabled for any reason.
12610
12611 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12612
12613 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12614 and ELF64_R_TYPE with ELFW(R_TYPE).
12615
12616 2012-05-08 Joseph Myers <joseph@codesourcery.com>
12617
12618 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12619 (ulimit): Likewise.
12620
12621 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12622 (settimeofday): Likewise.
12623
12624 2012-05-08 Mike Frysinger <vapier@gentoo.org>
12625
12626 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12627 a struct th_u2 inside the union, and move tu_block/tu_code into
12628 a new th_u3 union of tu_block/tu_code inside of that. Move
12629 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12630 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12631 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12632 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12633 (th_stuff): Change to th_u1.tu_stuff.
12634 (th_data): Define.
12635 (th_msg): Change to th_u1.th_u2.tu_data.
12636
12637 2012-05-07 David S. Miller <davem@davemloft.net>
12638
12639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12640
12641 [BZ #14074]
12642 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12643 (SETUP_PIC_REG): Use it.
12644 (SETUP_PIC_REG_LEAF): Use it.
12645
12646 2012-05-07 Joseph Myers <joseph@codesourcery.com>
12647
12648 [BZ #13885]
12649 [BZ #13923]
12650 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12651 USE_AS_EXPM1L.
12652 (EXPL_FINITE): Likewise.
12653 (FLDLOG): Likewise.
12654 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12655 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12656 e_expl.S.
12657 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12658 USE_AS_EXPM1L.
12659 (EXPL_FINITE): Likewise.
12660 (FLDLOG): Likewise.
12661 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12662 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12663 e_expl.S.
12664 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12665 test of -max_value argument for long double.
12666 * sysdeps/i386/fpu/libm-test-ulps: Update.
12667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12668
12669 2012-05-06 David S. Miller <davem@davemloft.net>
12670
12671 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12672 quad soft-float symbols whose references which are compiler
12673 generated.
12674 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12675
12676 2012-05-06 Joseph Myers <joseph@codesourcery.com>
12677
12678 [BZ #13884]
12679 [BZ #13914]
12680 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12681 USE_AS_EXP10L.
12682 (EXPL_FINITE): Likewise.
12683 (FLDLOG): Likewise.
12684 (c0): Likewise.
12685 (c1): Likewise.
12686 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12687 Adjust comments for base varying.
12688 (__expl_finite): Change alias to EXPL_FINITE.
12689 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12690 e_expl.S.
12691 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12692 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12693 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12694 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12695 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12696 USE_AS_EXP10L.
12697 (EXPL_FINITE): Likewise.
12698 (FLDLOG): Likewise.
12699 (c0): Likewise.
12700 (c1): Likewise.
12701 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12702 Adjust comments for base varying.
12703 (__expl_finite): Change alias to EXPL_FINITE.
12704 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12705 tests for bugs.
12706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12707
12708 [BZ #14064]
12709 * math/libm-test.inc (check_float_internal): Correct ulp
12710 calculation for subnormal expected results.
12711
12712 2012-05-06 Andreas Jaeger <aj@suse.de>
12713
12714 * Makeconfig (+math-flags): New, set to -frounding-math.
12715 (+cflags): Add +math-flags so that all of glibc gets compiled with
12716 it.
12717
12718 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12719
12720 2012-05-05 Joseph Myers <joseph@codesourcery.com>
12721
12722 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12723 Disable one test.
12724
12725 [BZ #13787]
12726 [BZ #13922]
12727 [BZ #14036]
12728 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12729 (__ieee754_expl): Allow for and saturate large arguments.
12730 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12731 (u_threshold): Likewise.
12732 (__exp): Call __ieee754_exp before checking for overflow and
12733 underflow.
12734 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12735 (u_threshold): Likewise.
12736 (__expf): Call __ieee754_expf before checking for overflow and
12737 underflow.
12738 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12739 (u_threshold): Likewise.
12740 (__expl): Call __ieee754_expl before checking for overflow and
12741 underflow.
12742 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12743 (__ieee754_expl): Allow for and saturate large arguments.
12744 * math/libm-test.inc (exp_test): Add another test. Do not allow
12745 missing overflow exception on overflow.
12746 (expm1_test): Do not allow missing overflow exception on overflow.
12747
12748 * sysdeps/i386/fpu/e_expl.c: Move to ...
12749 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12750 rather than using inline asm.
12751 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12752 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12753 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12754
12755 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12756 (nice): Likewise.
12757 (poll): Likewise.
12758 (signal): Likewise.
12759 (time): Likewise.
12760 (times): Likewise.
12761
12762 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12763
12764 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12765 sysdeps/unix/common/syscalls.list.
12766 (fchmod): Likewise.
12767 (fchown): Likewise.
12768 (ftruncate): Likewise.
12769 (getrusage): Likewise.
12770 (gettimeofday): Likewise.
12771 (setpgid): Likewise.
12772 (setregid): Likewise.
12773 (setreuid): Likewise.
12774 (sigaction): Likewise.
12775 (truncate): Likewise.
12776 (vhangup): Likewise.
12777 * sysdeps/unix/common/syscalls.list: Remove file.
12778 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12779 * sysdeps/unix/sysv/linux/Implies: Likewise.
12780
12781 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12782
12783 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12785 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12786 Moved to ...
12787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12788 Here.
12789 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12790 to ...
12791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12792 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12793 to ...
12794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12795 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12796 to ...
12797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12798 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12799 to ...
12800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12801 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12802 to ...
12803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12804 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12805 to ...
12806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12807 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12808 to ...
12809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12810 Here.
12811 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12812 to ...
12813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12814 Here.
12815 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12816 to ...
12817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12818 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12819 Moved to ...
12820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12821 Here.
12822 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12823 to ...
12824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12825
12826 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12827
12828 * sysdeps/unix/common/bits/dirent.h: Remove file.
12829 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12830
12831 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12832 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12833 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12834 * sysdeps/unix/bsd/isatty.c: Likewise.
12835 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12836 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12837 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12838
12839 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12840
12841 [BZ #13563]
12842 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12843 long double comparison inaccuracies.
12844 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12846
12847 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12848
12849 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12850 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12851
12852 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12853
12854 [BZ #14049]
12855 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12856 nonzero digits before rounding a hex value.
12857 * stdlib/tst-strtod.c (tests): Add another test.
12858
12859 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12860
12861 * sysdeps/s390/fpu/libm-test-ulps: Update.
12862
12863 2012-05-03 Andreas Jaeger <aj@suse.de>
12864
12865 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12866 does not get optimized out.
12867 (malloc_opt_barrier): New.
12868
12869 2012-05-03 Andreas Jaeger <aj@suse.de>
12870 Roland McGrath <roland@hack.frob.com>
12871
12872 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
12873 intermediate file deletion.
12874 (generated): Add .symlist files.
12875
12876 2012-05-03 Joseph Myers <joseph@codesourcery.com>
12877
12878 [BZ #13775]
12879 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12880 Redirect under this condition.
12881 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12882 [__USE_GNU] (__dprintf_chk): Not under this condition.
12883 [__USE_GNU] (__vdprintf_chk): Likewise.
12884 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12885 under this condition.
12886 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12887 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12888 [__USE_XOPEN2K8] (vdprintf): Likewise.
12889 [__USE_GNU] (__dprintf_chk): Not under this condition.
12890 [__USE_GNU] (__vdprintf_chk): Likewise.
12891 [__USE_GNU] (dprintf): Likewise.
12892 [__USE_GNU] (vdprintf): Likewise.
12893
12894 2012-05-03 Roland McGrath <roland@hack.frob.com>
12895
12896 * elf/Makefile (common-generated): Set this instead of generated for
12897 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12898 $(all-built-dso)-derived lists.
12899
12900 2012-05-03 Andreas Jaeger <aj@suse.de>
12901
12902 * sysdeps/i386/fpu/libm-test-ulps: Update.
12903
12904 * FAQ: Removed.
12905 * FAQ.in: Likewise.
12906 * scripts/gen-FAQ.pl: Likewise.
12907 * manual/install.texi (Installation): Point to online location of
12908 FAQ.
12909 * Makefile (files-for-dist): Remove FAQ.
12910 (FAQ): Remove.
12911
12912 2012-05-02 Allan McRae <allan@archlinux.org>
12913
12914 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12915 (LDFLAGS-reldepmod5.so): Likewise.
12916 (LDFLAGS-reldep6mod1.so): Likewise.
12917 (LDFLAGS-reldep6mod4.so): Likewise.
12918 (LDFLAGS-reldep8mod3.so): Likewise.
12919 (LDFLAGS-unload4mod1.so): Likewise.
12920 (LDFLAGS-unload4mod2.so): Likewise.
12921 (LDFLAGS-tst-initorder): Likewise.
12922 (LDFLAGS-tst-initordera2.so): Likewise.
12923 (LDFLAGS-tst-initordera3.so): Likewise.
12924 (LDFLAGS-tst-initordera4.so): Likewise.
12925 (LDFLAGS-tst-initorderb2.so): Likewise.
12926 (LDFLAGS-noload): Likewise.
12927 (LDFLAGS-next): Likewise.
12928 (LDFLAGS-order2mod1.so): Likewise.
12929 (LDFLAGS-order2mod2.so): Likewise.
12930 (LDFLAGS-tst-initorder2): Likewise.
12931 (LDFLAGS-tst-initorder2a.so): Likewise.
12932 (LDFLAGS-tst-initorder2b.so): Likewise.
12933 (LDFLAGS-tst-initorder2c.so): Likewise.
12934 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12935
12936 2012-05-02 David S. Miller <davem@davemloft.net>
12937
12938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12939
12940 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12941
12942 [BZ #14055]
12943 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12944
12945 2012-05-02 Andreas Jaeger <aj@suse.de>
12946
12947 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12948 since we manipulate rounding mode.
12949 (CPPFLAGS-test-idouble.c): Likewise.
12950 (CPPFLAGS-test-ifloat.c): Likewise.
12951 (CFLAGS-test-ldouble.c): Likewise.
12952 (CFLAGS-test-double.c): Likewise.
12953 (CFLAGS-test-float.c): Likewise.
12954 (CFLAGS-test-misc.c): Likewise.
12955 (CFLAGS-test-test-fenv.c): Likewise.
12956
12957 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12958
12959 [BZ #2550]
12960 [BZ #2570]
12961 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12962 comparisons to determine direction to adjust input.
12963
12964 2012-05-01 Roland McGrath <roland@hack.frob.com>
12965
12966 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12967 output to the target.
12968
12969 * scripts/localplt.awk: New file.
12970 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12971 (check-localplt-CFLAGS): Variable removed.
12972 ($(all-built-dso:=.jmprel)): New static pattern rule.
12973 (generated): Add those targets.
12974 (localplt-built-dso): New variable.
12975 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12976
12977 * elf/check-localplt.c: File removed.
12978
12979 * scripts/check-execstack.awk: New file.
12980 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12981 (check-execstack-CFLAGS): Variable removed.
12982 ($(objpfx)check-execstack.h): Target removed.
12983 ($(objpfx)execstack-default): New target.
12984 (generated): Add that instead of check-execstack.h.
12985 ($(all-built-dso:=.phdr)): New static pattern rule.
12986 (generated): Add those targets.
12987 * elf/check-execstack.c: File removed.
12988
12989 * scripts/check-textrel.awk: New file.
12990 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12991 (check-textrel-CFLAGS): Variable removed.
12992 (all-built-dso): Use := to define.o
12993 ($(all-built-dso:=.dyn)): New static pattern rule.
12994 (generated): Add those targets.
12995 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12996 * config.make.in (READELF): New substituted variable.
12997 * elf/check-textrel.c: File removed.
12998
12999 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13000
13001 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13002 allow.
13003 * conform/data/ctype.h-data [C99-based standards] (isblank):
13004 Expect function.
13005 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13006 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13007 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13008 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13009 Specify type. Require positive value.
13010 (EILSEQ): Likewise.
13011 (ERANGE): Likewise.
13012 [ISO || POSIX] (EILSEQ): Do not expect.
13013 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13014 Specify type. Require positive value.
13015 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13016 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13017 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13018 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13019 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13020 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13021 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13022 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13023 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13024 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13025 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13026 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13027 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13028 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13029 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13030 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13031 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13032 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13033 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13034 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13035 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13036 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13037 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13038 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13039 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13040 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13041 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13042 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13043 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13044 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13045 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13046 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13047 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13048 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13049 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13050 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13051 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13052 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13053 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13054 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13055 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13056 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13057 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13058 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13059 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13060 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13061 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13062 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13063 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13064 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13065 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13066 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13067 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13068 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13069 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13070 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13071 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13072 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13073 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13074 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13075 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13076 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13077 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13078 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13079 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13080 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13081 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13082 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13083 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13084 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13085 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13086 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13087 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13088 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13089 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13090 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13091 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13092 Require >= 2.
13093 (FLT_ROUNDS): Expect as macro, not constant.
13094 (FLT_MANT_DIG): Use macro-int-constant.
13095 (DBL_MANT_DIG): Likewise.
13096 (LDBL_MANT_DIG): Likewise.
13097 (FLT_DIG): Likewise.
13098 (DBL_DIG): Likewise.
13099 (LDBL_DIG): Likewise.
13100 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13101 (DBL_MIN_EXP): Likewise.
13102 (LDBL_MIN_EXP): Likewise.
13103 (FLT_MAX_EXP): Use macro-int-constant.
13104 (DBL_MAX_EXP): Likewise.
13105 (LDBL_MAX_EXP): Likewise.
13106 (FLT_MAX_10_EXP): Likewise.
13107 (DBL_MAX_10_EXP): Likewise.
13108 (LDBL_MAX_10_EXP): Likewise.
13109 (FLT_MAX): Use macro-constant.
13110 (DBL_MAX): Likewise.
13111 (LDBL_MAX): Likewise.
13112 (FLT_EPSILON): Use macro-constant. Give upper bound.
13113 (DBL_EPSILON): Likewise.
13114 (LDBL_EPSILON): Likewise.
13115 (FLT_MIN): Likewise.
13116 (DBL_MIN): Likewise.
13117 (LDBL_MIN): Likewise.
13118 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13119 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13120 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13121 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13122 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13123 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13124 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13125 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13126 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13127 [ISO11] (FLT_TRUE_MIN): Likewise.
13128 [ISO11] (LDBL_TRUE_MIN): Likewise.
13129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13130 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13131 (SCHAR_MIN): Use macro-int-constant. Specify type.
13132 (SCHAR_MAX): Likewise.
13133 (UCHAR_MAX): Likewise.
13134 (CHAR_MIN): Likewise.
13135 (CHAR_MAX): Likewise.
13136 (MB_LEN_MAX): Use macro-int-constant.
13137 (SHRT_MIN): Use macro-int-constant. Specify type.
13138 (SHRT_MAX): Likewise.
13139 (USHRT_MAX): Likewise.
13140 (INT_MAX): Likewise.
13141 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13142 bound negative.
13143 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13144 bound with "U".
13145 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13146 bound with "L".
13147 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13148 bound negative. Suffix upper bound with "L".
13149 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13150 bound with "UL".
13151 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13152 Specify type.
13153 [C99-based standards] (LLONG_MAX): Likewise.
13154 [C99-based standards] (ULLONG_MAX): Likewise.
13155 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13156 == 0.
13157 [ISO11] (max_align_t): Require type.
13158 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13159
13160 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13161 from $CFLAGS, without defining away __attribute__ calls.
13162 (checknamespace): Use $CFLAGS_namespace.
13163
13164 * conform/conformtest.pl (@keywords): Only include C99 keywords
13165 for standards based on C99 or C11.
13166
13167 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13168 Disable tests.
13169 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13170 UNIX98]: Likewise.
13171
13172 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13173 usability of symbols in #if.
13174
13175 * conform/conformtest.pl: If macro or constant types start
13176 "promoted:", expect the symbol to be of the following type
13177 promoted by the integer promotions.
13178
13179 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13180 in one place. Also handle "macro-constant".
13181
13182 * conform/conformtest.pl: Only accept expected macro values with
13183 "==". Parse all "macro" lines in one place.
13184 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13185
13186 * conform/conformtest.pl: Handle braced types on "constant" lines
13187 instead of handling "typed-constant".
13188 * conform/data/signal.h-data: Use "constant" instead of
13189 "typed-constant".
13190
13191 * conform/conformtest.pl: Handle "optional-" at start of lines in
13192 one place rather than duplicating several cases. Handle each
13193 format of "macro" line with initial "optional-".
13194
13195 * conform/conformtest.pl: Only accept expected constant or
13196 optional-constant values with "==". Parse all "constant" lines in
13197 one place. Parse all "optional-constant" lines in one place.
13198 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13199 * conform/data/fmtmsg.h-data: Likewise.
13200 * conform/data/netinet/in.h-data: Likewise.
13201 * conform/data/tar.h-data: Likewise.
13202 * conform/data/limits.h-data: Use "==" form on "constant" and
13203 "optional-constant" lines.
13204
13205 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13206 Use -std=c99 for XOPEN2K.
13207 (@knownproblems): Remove.
13208 (newtoken): Don't check %isknown.
13209
13210 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13211 Do not expect macro.
13212 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13213 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13214 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13215 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13216 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13217 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13218 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13219 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13220 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13221 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13222 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13223 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13224 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13225 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13226 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13227 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13228 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13229 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13230 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13231 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13232 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13233 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13234 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13235 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13236 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13237 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13238 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13239 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13240 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13241 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13242 [XPG3] (acosh): Likewise.
13243 [XPG3] (asinh): Likewise.
13244 [XPG3] (atanh): Likewise.
13245 [XPG3] (cbrt): Likewise.
13246 [XPG3] (expm1): Likewise.
13247 [XPG3] (ilogb): Likewise.
13248 [XPG3] (log1p): Likewise.
13249 [XPG3] (logb): Likewise.
13250 [XPG3] (nextafter): Likewise.
13251 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13252 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13253 [XPG3] (remainder): Likewise.
13254 [XPG3] (rint): Likewise.
13255 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13256 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13257 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13258 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13259 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13260 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13261 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13262 [UNIX98 || XOPEN2K] (scalb): Expect.
13263 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13264 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13265 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13266 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13267 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13268 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13269 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13270 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13271 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13272 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13273 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13274 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13275 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13276 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13277 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13278 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13279 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13280 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13281 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13282 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13283 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13284 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13285 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13286 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13287 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13288 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13289 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13290 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13291 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13292 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13293 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13294 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13295 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13296 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13297 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13298 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13299 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13300 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13301 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13302 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13303 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13304 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13305 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13306 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13307 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13308 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13309 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13310 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13311 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13312 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13313 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13314 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13315 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13316 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13317 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13318 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13319 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13320 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13321 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13322 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13323 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13324 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13325 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13326 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13327 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13328 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13329 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13330 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13331 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13332 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13333 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13334 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13335 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13336 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13337 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13338 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13339 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13340 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13341 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13342 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13343 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13344 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13345 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13346 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13347 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13348 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13349 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13350 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13351 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13352 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13353 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13354 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13355 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13356 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13357 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13358 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13359 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13360 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13361 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13362 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13363 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13364 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13365 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13366 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13367 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13368 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13369 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13370 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13371 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13372 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13373 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13374 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13375 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13376 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13377 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13378 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13379 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13380 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13381 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13382 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13383 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13384 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13385 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13386 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13387 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13388 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13389 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13390 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13391 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13392 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13393 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13394 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13395 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13396 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13397 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13398 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13399 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13400
13401 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13402 _XOPEN_SOURCE_EXTENDED for XPG4.
13403
13404 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13405
13406 * Makeconfig (localtime): Remove variable.
13407 (inst_localtime-file): Likewise.
13408
13409 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13410
13411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13412 Update.
13413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13414 Update.
13415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13416 Update.
13417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13418 Update.
13419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13420 Update.
13421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13422 Update.
13423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13424 Update.
13425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13426 Update.
13427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13428 Update.
13429
13430 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13431
13432 [BZ #2550]
13433 [BZ #2570]
13434 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13435 comparisons to determine direction to adjust input.
13436 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13437 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13438 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13439 Likewise.
13440 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13441 Likewise.
13442 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13443 Likewise.
13444 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13445 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13446 Likewise.
13447 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13448 Likewise.
13449 * math/libm-test.inc (nexttoward_test): Add more tests.
13450
13451 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13452
13453 [BZ #14040]
13454 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13455 in version GLIBC_2.1, not GLIBC_2.0.
13456 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13457 Likewise.
13458
13459 2012-04-30 Joseph Myers <joseph@codesourcery.com>
13460
13461 [BZ #13942]
13462 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13463 (1 - x) * (1 + x).
13464 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13465 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13466 * math/libm-test.inc (acos_test): Add more tests.
13467 (asin_test): Likewise.
13468 * sysdeps/i386/fpu/libm-test-ulps: Update.
13469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13470
13471 [BZ #14034]
13472 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13473 of square root.
13474 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13475 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13476 * math/libm-test.inc (acos_test_tonearest): New function.
13477 (acos_test_towardzero): Likewise.
13478 (acos_test_downward): Likewise.
13479 (acos_test_upward): Likewise.
13480 (asin_test_tonearest): Likewise.
13481 (asin_test_towardzero): Likewise.
13482 (asin_test_downward): Likewise.
13483 (asin_test_upward): Likewise.
13484 (main): Call the new functions.
13485 * sysdeps/i386/fpu/libm-test-ulps: Update.
13486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13487
13488 [BZ #13884]
13489 [BZ #13924]
13490 * math/e_exp10.c: Include <float.h>.
13491 (__ieee754_exp10): Handle underflow here rather than multiplying
13492 large negative argument by M_LN10.
13493 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13494 of __ieee754_expf.
13495 * math/e_exp10l.c: Include <float.h>.
13496 (__ieee754_exp10l): Handle underflow here rather than multiplying
13497 large negative argument by M_LN10l.
13498 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13499 spurious overflow exception on underflow.
13500
13501 2012-04-29 Marek Polacek <polacek@redhat.com>
13502
13503 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13504 (__fortify_function): New macro.
13505 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13506 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13507 __extern_always_inline.
13508 * libio/bits/stdio2.h: Likewise.
13509 * libio/bits/stdio.h: Likewise.
13510 * string/string.h: Likewise.
13511 * string/bits/string3.h: Likewise.
13512 * include/stdio.h: Likewise.
13513 * stdlib/bits/stdlib.h: Likewise.
13514 * stdlib/stdlib.h: Likewise.
13515 * rt/bits/mqueue2.h: Likewise.
13516 * rt/mqueue.h: Likewise.
13517 * posix/bits/unistd.h: Likewise.
13518 * posix/unistd.h: Likewise.
13519 * io/bits/poll2.h: Likewise.
13520 * io/bits/fcntl2.h: Likewise.
13521 * io/fcntl.h: Likewise.
13522 * io/sys/poll.h: Likewise.
13523 * misc/bits/syslog.h: Likewise.
13524 * misc/bits/syslog-ldbl.h: Likewise.
13525 * misc/sys/syslog.h: Likewise.
13526 * socket/bits/socket2.h: Likewise.
13527 * socket/sys/socket.h: Likewise.
13528 * debug/tst-chk1.c: Likewise.
13529 * wcsmbs/bits/wchar2.h: Likewise.
13530 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13531 * wcsmbs/wchar.h: Likewise.
13532
13533 2012-04-29 Andreas Jaeger <aj@suse.de>
13534
13535 * Makerules (tests): Remove enable-check-abi protection.
13536 (check-abi-warn): Remove.
13537 (check-abi-%): Remove check-abi-warn usage.
13538
13539 * configure.in: Remove check-abi configure option.
13540 * configure: Regenerated.
13541 * config.make.in (enable-check-abi): Remove.
13542
13543 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13544
13545 [BZ #14033]
13546 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13547 double functions to double *_finite functions.
13548
13549 [BZ #13941]
13550 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13551 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13552 LDBL_MIN_EXP.
13553 * stdio-common/Makefile (tests): Add tst-sprintf3.
13554 * stdio-common/tst-sprintf3.c: New file.
13555
13556 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13557 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13558
13559 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13560
13561 * conform/conformtest.pl: Remove duplicate typed-constant
13562 handling.
13563
13564 2012-04-28 David S. Miller <davem@davemloft.net>
13565
13566 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13567 (check-abi-%): Remove AWK script prerequisite and explicit
13568 abilist directory.
13569 (check-abi): Rewrite to just diff the symlist with the abilist.
13570 (config-tls, config-abi-config): Delete, no longer used.
13571 (update-abi-%): Remove AWK script and explicit abilist directory.
13572 (update-abi): Rewrite to simply compare and conditionally copy the
13573 symlist and the sysdep abilist file. Remove update-abi-config
13574 checks.
13575 * abilist/ld.abilist: Remove.
13576 * abilist/libBrokenLocale.abilist: Remove.
13577 * abilist/libanl.abilist: Remove.
13578 * abilist/libcrypt.abilist: Remove.
13579 * abilist/libdl.abilist: Remove.
13580 * abilist/librt.abilist: Remove.
13581 * abilist/libthread_db.abilist: Remove.
13582 * abilist/libutil.abilist: Remove.
13583 * scripts/extract-abilist.awk: Remove.
13584 * scripts/merge-abilist.awk: Remove.
13585 * sysdeps/generic/libcidn.abilist: New file.
13586 * sysdeps/generic/libnss_compat.abilist: New file.
13587 * sysdeps/generic/libnss_db.abilist: New file.
13588 * sysdeps/generic/libnss_dns.abilist: New file.
13589 * sysdeps/generic/libnss_files.abilist: New file.
13590 * sysdeps/generic/libnss_hesiod.abilist: New file.
13591 * sysdeps/generic/libnss_nis.abilist: New file.
13592 * sysdeps/generic/libnss_nisplus.abilist: New file.
13593 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13594 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13595 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13596 file.
13597 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13598 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13599 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13600 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13601 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13602 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13603 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13604 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13605 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13606 file.
13607 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13608 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13609 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13610 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13611 file.
13612 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13613 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13614 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13615 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13616 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13617 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13618 file.
13619 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13620 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13621 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13622 file.
13623 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13625 New file.
13626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13627 New file.
13628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13629 New file.
13630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13631 New file.
13632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13633 New file.
13634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13635 New file.
13636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13637 New file.
13638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13639 New file.
13640 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13641 New file.
13642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13643 New file.
13644 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13645 New file.
13646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13647 New file.
13648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13649 New file.
13650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13651 file.
13652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13653 New file.
13654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13655 New file.
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13657 file.
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13659 New file.
13660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13661 New file.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13663 file.
13664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13665 New file.
13666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13667 New file.
13668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13669 New file.
13670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13671 New file.
13672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13673 New file.
13674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13675 New file.
13676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13678 file.
13679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13680 New file.
13681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13682 file.
13683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13684 file.
13685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13686 file.
13687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13688 file.
13689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13690 file.
13691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13692 New file.
13693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13694 file.
13695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13696 file.
13697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13698 New file.
13699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13700 file.
13701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13703 file.
13704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13705 New file.
13706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13707 file.
13708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13709 file.
13710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13711 file.
13712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13713 file.
13714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13715 file.
13716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13717 New file.
13718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13719 file.
13720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13721 file.
13722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13723 New file.
13724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13725 file.
13726 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13727 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13728 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13729 file.
13730 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13731 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13732 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13733 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13734 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13735 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13736 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13737 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13738 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13739 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13742 file.
13743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13744 New file.
13745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13746 file.
13747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13748 file.
13749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13750 file.
13751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13752 file.
13753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13754 file.
13755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13756 New file.
13757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13758 New file.
13759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13760 file.
13761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13762 New file.
13763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13764 file.
13765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13767 file.
13768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13769 New file.
13770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13771 file.
13772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13773 file.
13774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13775 file.
13776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13777 file.
13778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13779 file.
13780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13781 New file.
13782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13783 New file.
13784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13785 file.
13786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13787 New file.
13788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13789 file.
13790
13791 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13792
13793 * conform/conformtest.pl: Fix typo in handling typed-constant from
13794 allow-header.
13795
13796 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13797
13798 * README: Cut down references to pre-2.6 Linux kernels and
13799 Linuxthreads. Update lists of configurations in libc and ports
13800 and sort alphabetically. Say "or newer" with Linux kernel version
13801 requirements.
13802
13803 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13804
13805 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13806
13807 [BZ #887]
13808 * math/libm-test.inc (logb_test_downward): New test to expose
13809 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13810 rounding mode.
13811
13812 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13813
13814 [BZ #14027]
13815 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13816 to be done.
13817 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13818 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13819
13820 2012-04-26 Joseph Myers <joseph@codesourcery.com>
13821
13822 * sysdeps/unix/i386/brk.S: Remove file.
13823 * sysdeps/unix/i386/dl-brk.S: Likewise.
13824 * sysdeps/unix/i386/pipe.S: Likewise.
13825 * sysdeps/unix/i386/sigreturn.S: Likewise.
13826 * sysdeps/unix/i386/syscall.S: Likewise.
13827 * sysdeps/unix/i386/vfork.S: Likewise.
13828 * sysdeps/unix/i386/wait.S: Likewise.
13829
13830 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13831 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13832
13833 * configure.in (arm*-none*): Do not allow without
13834 --enable-hacker-mode.
13835 (netbsd*): Remove case setting base_os.
13836 (386bsd*): Likewise.
13837 (freebsd*): Likewise.
13838 (bsdi*): Likewise.
13839 (osf*): Likewise.
13840 (sunos*): Likewise.
13841 (ultrix*): Likewise.
13842 (newsos*): Likewise.
13843 (dynix*): Likewise.
13844 (*bsd*): Likewise.
13845 (sysv*): Likewise.
13846 (isc*): Likewise.
13847 (esix*): Likewise.
13848 (sco*): Likewise.
13849 (minix*): Likewise.
13850 (irix4*): Likewise.
13851 (irix6*): Likewise.
13852 (solaris[2-9]*): Likewise.
13853 (none): Likewise.
13854 * configure: Regenerated.
13855
13856 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13857
13858 [BZ #11521]
13859 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13860 overflow or cancellation in calculating denominator.
13861 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13862 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13863 down expression to avoid unexpected rounding in newer GCCs.
13864 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13865
13866 2012-04-26 David S. Miller <davem@davemloft.net>
13867
13868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13869 long-double compat symbols.
13870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13883
13884 2012-04-25 David S. Miller <davem@davemloft.net>
13885
13886 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13887 HWCAP_* values only after the memory barriers have been defined.
13888 (atomic_full_barrier): Define.
13889 (atomic_read_barrier): Define.
13890 (atomic_write_barrier): Define.
13891
13892 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13893
13894 * shlib-versions: Add libgcc_s version information.
13895 * sysdeps/generic/libgcc_s.h: Remove.
13896 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13897 libgcc_s.h.
13898 * sysdeps/gnu/unwind-resume.c: Likewise.
13899 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13900
13901 2012-04-25 David S. Miller <davem@davemloft.net>
13902
13903 * sysdeps/unix/sparc/brk.S: Delete.
13904 * sysdeps/unix/sparc/dl-brk.S: Delete.
13905 * sysdeps/unix/sparc/pipe.S: Delete.
13906 * sysdeps/unix/sparc/sysdep.S: Delete.
13907 * sysdeps/unix/sparc/sysdep.h: Delete.
13908 * sysdeps/unix/sparc/vfork.S: Delete.
13909 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13910 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13911 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13912 ret_ERRVAL, r0, r1, MOVE): Define.
13913 (JUMPTARGET): Remove.
13914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13915 sysdeps/unix/sparc/sysdep.h
13916 (ENTRY, END): Remove.
13917 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13918
13919 2012-04-25 Joseph Myers <joseph@codesourcery.com>
13920
13921 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13922 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13923 -DIS_IN_build.
13924
13925 * timezone/README: Update upstream location and email address for
13926 tzcode and tzdata.
13927 * timezone/zdump.c: Update from tzcode 2012b.
13928 * timezone/zic.c: Likewise.
13929
13930 * configure.in (libc_cv_as_needed): Remove test.
13931 * configure: Regenerated.
13932 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13933 conditional definition.
13934 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13935 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13936 * config.make.in (have-as-needed): Remove variable.
13937
13938 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13939 Paul Pluzhnikov <ppluzhnikov@google.com>
13940
13941 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13942 strings correctly.
13943
13944 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13945
13946 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13947 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13948 * sysdeps/sh/strlen.S: Likewise.
13949
13950 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13951
13952 * sysdeps/unix/fork.S: Remove file.
13953 * sysdeps/unix/i386/fork.S: Likewise.
13954 * sysdeps/unix/sparc/fork.S: Likewise.
13955
13956 * sysdeps/unix/system.c: Remove file.
13957 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13958
13959 * sysdeps/unix/getegid.S: Remove file.
13960 * sysdeps/unix/geteuid.S: Likewise.
13961
13962 2012-04-24 Roland McGrath <roland@hack.frob.com>
13963
13964 * scripts/check-localplt.awk: New file.
13965 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13966 of diff.
13967 * scripts/data/localplt-generic.data: Add a comment.
13968
13969 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13970 NODE when __dir_mkfile failed.
13971 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13972 Reported by Ludovic Courtès <ludo@gnu.org>.
13973
13974 2012-04-24 Andreas Jaeger <aj@suse.de>
13975
13976 * Makerules (common-clean): Also remove gen-as-const-headers
13977 files.
13978
13979 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13980
13981 * Makerules (native-compile): Do not change working directory for
13982 build. Use $(OUTPUT_OPTION) in command.
13983 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13984
13985 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13986
13987 [BZ #13886]
13988 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13989 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13990 * math/libm-test.inc (floor_test): Add more tests.
13991 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13992
13993 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13994
13995 * sysdeps/unix/getdents.c: Remove file.
13996 * sysdeps/unix/sysv/getdents.c: Likewise.
13997 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13998
13999 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14000 sysdeps/unix/mman/syscalls.list.
14001 (mmap): Likewise.
14002 (mprotect): Likewise.
14003 (msync): Likewise.
14004 (munmap): Likewise.
14005 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14006 * sysdeps/unix/mman/syscalls.list: Remove.
14007 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14008
14009 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14010 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14011 * configure: Regenerated.
14012 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14013 $(libgcc_s_suffix).
14014 * config.make.in (libgcc_s_suffix): Remove variable.
14015
14016 2012-04-23 Joseph Myers <joseph@codesourcery.com>
14017
14018 * sysdeps/unix/sysv/gethostname.c: Move to ...
14019 * sysdeps/posix/gethostname.c: ... here.
14020
14021 * sysdeps/unix/execve.S: Remove file.
14022
14023 * sysdeps/unix/_exit.S: Remove file.
14024
14025 2012-04-23 Andreas Jaeger <aj@suse.de>
14026
14027 [BZ #13739]
14028 * manual/Makefile: Remove make dist support, there's no
14029 need for a stand-alone documentation tar ball.
14030 (TEXI2DVI): Define always, it's not in Makeconfig.
14031 (dist): Removed.
14032 (tar-it): Removed.
14033 (edition): Removed.
14034 (glibc-doc-$(edition).tar): Removed
14035 (%.Z): Removed.
14036 (%.gz): Removed.
14037 (%.uu): Removed.
14038 (ETAGS): Remove, it's in Makeconfig.
14039 (move-if-change): Remove, it's in Makeconfig.
14040
14041 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
14042
14043 [BZ #13970]
14044 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14045 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14046 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14047 (strtod_l, strtof_l, strtold_l): Remove __wur.
14048 It is not necessarily an error to ignore strtol's return value.
14049 One can reliably look at the stored endptr to decide whether
14050 the number had valid syntax.
14051
14052 2012-04-21 Andreas Jaeger <aj@suse.de>
14053
14054 [BZ #13739]
14055 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14056
14057 2012-04-21 Joseph Myers <joseph@codesourcery.com>
14058
14059 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14060 * sysdeps/unix/sysv/Versions: Remove file.
14061
14062 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14063
14064 [BZ #13927]
14065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14066
14067 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
14068
14069 [BZ #7064]
14070 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14071 version from __vm86.
14072
14073 2012-04-20 Joseph Myers <joseph@codesourcery.com>
14074
14075 * sysdeps/unix/common/lxstat.c: Remove file.
14076 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14077
14078 * sysdeps/unix/sysv/Makefile: Remove file.
14079
14080 * sysdeps/unix/sysv/direct.h: Remove file.
14081
14082 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14083 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14084 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14085 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14086 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14087 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14088 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14089
14090 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14091
14092 * sysdeps/unix/xmknod.c: Remove file.
14093 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14094
14095 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14096
14097 * sysdeps/unix/sysv/i386/time.S: Remove file.
14098
14099 * sysdeps/unix/fxstat.c: Remove file.
14100 * sysdeps/unix/xstat.c: Likewise.
14101 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14102
14103 * sysdeps/unix/sysv/sigaction.c: Remove file.
14104
14105 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14106 (sysdep_headers): Remove variable.
14107 [termio.h not in sysdep_headers] (generated): Likewise.
14108 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14109 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14110 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14111 * sysdeps/unix/sysv/tcflow.c: Likewise.
14112 * sysdeps/unix/sysv/tcflush.c: Likewise.
14113 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14114 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14115 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14116 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14117 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14118
14119 * sysdeps/unix/siglist.c: Remove file.
14120
14121 * sysdeps/unix/getppid.S: Remove file.
14122
14123 * sysdeps/unix/mkdir.c: Remove file.
14124 * sysdeps/unix/rmdir.c: Likewise.
14125
14126 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14127
14128 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14129 ERR_MAX value.
14130 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14131 errlist-compat value.
14132
14133 2012-04-18 David S. Miller <davem@davemloft.net>
14134
14135 * sysdeps/generic/memcopy.h (reg_char): Delete.
14136 * debug/strcat_chk.c: Use char, not reg_char.
14137 * debug/strcpy_chk.c: Likewise.
14138 * debug/strncat_chk.c: Likewise.
14139 * debug/strncpy_chk.c: Likewise.
14140 * string/memchr.c: Likewise.
14141 * string/memrchr.c: Likewise.
14142 * string/rawmemchr.c: Likewise.
14143 * string/strcat.c: Likewise.
14144 * string/strchr.c: Likewise.
14145 * string/strchrnul.c: Likewise.
14146 * string/strcmp.c: Likewise.
14147 * string/strcpy.c: Likewise.
14148 * string/strncat.c: Likewise.
14149 * string/strncmp.c: Likewise.
14150 * string/strncpy.c: Likewise.
14151
14152 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14153
14154 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14155 __builtin_memcopy is called when src and dest ranges are known to not
14156 overlap.
14157
14158 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14159
14160 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14161 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14162 fwd_align_merge macro call.
14163 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14164 bwd_align_merge macro call.
14165 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14166
14167 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14168
14169 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14170 bwd_align_merge macros.
14171 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14172 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14173 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14174
14175 2012-04-18 David S. Miller <davem@davemloft.net>
14176
14177 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14178
14179 2012-04-18 Andreas Jaeger <aj@suse.de>
14180
14181 [BZ# 6794]
14182 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14183 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14184 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14185
14186 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14187 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14188 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14189
14190 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14191 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14192 Adjust for changed ldbl-128 files.
14193
14194 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14195 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14196 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14197
14198 2012-04-17 David S. Miller <davem@davemloft.net>
14199
14200 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14201
14202 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14203
14204 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14205 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14206 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14207 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14208 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14209 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14210
14211 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14212
14213 [BZ #6794]
14214 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14215 * math/libm-test.inc: Add ilogb errno and exception tests.
14216 * math/w_ilogb.c: New file: ilogb wrapper.
14217 * math/w_ilogbf.c: New file: ilogbf wrapper.
14218 * math/w_ilogbl.c: New file: ilogbl wrapper.
14219 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14220 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14221 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14222 exception being thrown with 0.0 as argument.
14223 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14224 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14225 exception being thrown with 0.0 as argument.
14226 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14227 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14228 exception being thrown with 0.0 as argument.
14229 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14230 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14231 exception being thrown with 0.0 as argument.
14232 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14233 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14234 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14235 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14236 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14237 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14238 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14239 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14240 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14241
14242 2012-04-17 Petr Baudis <pasky@ucw.cz>
14243
14244 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14245 with altivec.
14246
14247 2012-04-16 Marek Polacek <polacek@redhat.com>
14248
14249 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14250
14251 2012-04-16 Marek Polacek <polacek@redhat.com>
14252
14253 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14254 operands of fdivp instruction.
14255
14256 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14257
14258 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14259 * elf/tst-auditmod3b.c: Likewise.
14260 * elf/tst-auditmod4b.c: Likewise.
14261 * elf/tst-auditmod5b.c: Likewise.
14262 * elf/tst-auditmod6b.c: Likewise.
14263 * elf/tst-auditmod6c.c: Likewise.
14264 * elf/tst-auditmod7b.c: Likewise.
14265 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14266 * sysdeps/x86_64/preconfigure.in: Likewise.
14267 * sysdeps/x86_64/preconfigure: Regenerated.
14268
14269 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14270
14271 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14272 __ILP32__.
14273
14274 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
14275
14276 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14277 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14278
14279 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14280
14281 [BZ #13973]
14282 * locale/iso-639.def: Fix gl language name. Spotted by
14283 Yaron Shahrabani.
14284
14285 2012-04-12 Roland McGrath <roland@hack.frob.com>
14286
14287 [BZ #2074]
14288 * libio/libio.h (__io_write_fn): Update comment.
14289
14290 2012-04-12 Petr Baudis <pasky@ucw.cz>
14291
14292 [BZ #2074]
14293 * stdio.texi (Hook Functions): The user provided writer function
14294 is not allowed to return -1.
14295
14296 2012-04-11 David S. Miller <davem@davemloft.net>
14297
14298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14299
14300 2012-04-11 Mike Frysinger <vapier@gentoo.org>
14301
14302 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14303 Add a leading slash to rtkaio.
14304
14305 2012-04-11 Jim Meyering <meyering@redhat.com>
14306
14307 [BZ #11959]
14308 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14309 It is not necessarily an error to ignore fwrite's return
14310 value. One can reliably use ferror to test for errors after
14311 the fact.
14312
14313 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14314
14315 * bits/types.h (__snseconds_t): New type.
14316 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14317
14318 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14319 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14320 (__SNSECONDS_T_TYPE): Likewise.
14321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14322 (__SNSECONDS_T_TYPE): Likewise.
14323 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14324 (__SNSECONDS_T_TYPE): Likewise.
14325
14326 2012-04-10 Andreas Jaeger <aj@suse.de>
14327
14328 [BZ #2636]
14329 * manual/time.texi (Processor Time): Return type of times is
14330 elapsed real time since an arbitrary point in the past.
14331 (CPU Time): Move CLK_TCK from here...
14332 (Processor Time): ...to here. Correct description.
14333 * manual/conf.texi (Constants for Sysconf): Correct description of
14334 _SC_CLK_TCK.
14335
14336 2012-04-10 David S. Miller <davem@davemloft.net>
14337
14338 [BZ #13967]
14339 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14340 where the is a gap between DT_REL(A) and DT_JMPREL.
14341
14342 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14343
14344 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14345 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14346 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14347
14348 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14349
14350 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14351 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14352 (dl_main): Handle --inhibit-cache.
14353 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14354 _dl_inhibit_cache.
14355 * elf/dl-load.c (_dl_map_object): Use it.
14356 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14357
14358 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14359
14360 [BZ #13872]
14361 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14362 (__ieee754_powl): Saturate large exponents rather than testing for
14363 overflow of y*log2(x).
14364 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14365 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14366 exceptions.
14367
14368 [BZ #11521]
14369 * math/s_ctan.c: Include <float.h>.
14370 (__ctan): Avoid internal overflow or cancellation in calculating
14371 denominator.
14372 * math/s_ctanf.c: Likewise.
14373 * math/s_ctanl.c: Likewise.
14374 * math/s_ctanh.c: Likewise.
14375 * math/s_ctanhf.c: Likewise.
14376 * math/s_ctanhl.c: Likewise.
14377 * math/libm-test.inc (ctan_test): Add more tests.
14378 (ctanh_test): Likewise.
14379 * sysdeps/i386/fpu/libm-test-ulps: Update.
14380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14381
14382 2012-04-09 Andreas Jaeger <aj@suse.de>
14383
14384 [BZ #6894]
14385 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14386 is an optional BSD extension.
14387
14388 [BZ #10254]
14389 * manual/stdio.texi (Opening Streams): Document additional fopen
14390 parameters.
14391
14392 2012-04-09 Roland McGrath <roland@hack.frob.com>
14393
14394 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14395 %eax without telling the compiler.
14396
14397 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14398
14399 [BZ # 13963]
14400 * manual/install.texi: Use sourceware.org.
14401
14402 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14403
14404 [BZ #13873]
14405 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14406 (__ieee754_pow): Generate overflow and underflow using huge*huge
14407 and tiny*tiny rather than just returning constant infinity or zero
14408 for large exponents.
14409 * math/libm-test.inc (pow_test): Require overflow exceptions for
14410 applicable cases of large exponents.
14411
14412 [BZ #706]
14413 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14414 (__ieee754_pow): Use iterative multiplication algorithm only for
14415 integer exponents with absolute value below 1024. Check for odd
14416 integer exponents when using algorithm for real exponents.
14417 * math/libm-test.inc (pow_test): Add more tests.
14418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14419
14420 2012-04-08 Joseph Myers <joseph@codesourcery.com>
14421
14422 [BZ #13705]
14423 * math/libm-test.inc (exp_test): Do not allow overflow exception
14424 on underflow test.
14425
14426 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14427
14428 [BZ #13705]
14429 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14430 instead of __kernel_standard_f.
14431
14432 2012-04-08 Mike Frysinger <vapier@gentoo.org>
14433
14434 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14435 * sysdeps/x86_64/memset_chk.S: Likewise.
14436
14437 2012-04-08 Andreas Jaeger <aj@suse.de>
14438
14439 [BZ #10153]
14440 * manual/startup.texi (Environment Access): Describe return value
14441 for putenv and setenv.
14442
14443 [BZ #6895]
14444 * manual/filesys.texi (Directory Entries): Add description for
14445 DT_LNK.
14446
14447 [BZ #6890]
14448 * manual/filesys.texi (Directory Entries): Clarify that it's file
14449 system not operating system in the description of DT_UNKNOWN.
14450
14451 [BZ #6578]
14452 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14453
14454 2012-04-08 Stephen Compall <s11@member.fsf.org>
14455
14456 [BZ #6649]
14457 * manual/llio.texi (Opening and Closing Files): Add cross
14458 reference to explain mode argument.
14459
14460 2012-04-07 Mike Frysinger <vapier@gentoo.org>
14461
14462 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14463 * sysdeps/x86_64/memset_chk.S: Likewise.
14464
14465 2012-04-07 David S. Miller <davem@davemloft.net>
14466
14467 * elf/elf.h (R_SPARC_WDISP10): Define.
14468 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14469 R_SPARC_SIZE32.
14470 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14471 R_SPARC_SIZE64 and R_SPARC_H34.
14472
14473 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14474
14475 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14476 conditions and remove no longer applicable assertion.
14477
14478 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14479
14480 * bits/byteswap.h: Include <features.h>.
14481 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14482 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14483
14484 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14485
14486 * bits/byteswap.h (__bswap_16): Removed.
14487 Include <bits/byteswap-16.h> to get __bswap_16.
14488 * sysdeps/i386/bits/byteswap.h: Likewise.
14489 * sysdeps/s390/bits/byteswap.h: Likewise.
14490 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14491 * bits/byteswap-16.h: New file.
14492 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14493 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14494 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14495 * string/Makefile (headers): Add bits/byteswap-16.h.
14496
14497 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14498
14499 [BZ #13895]
14500 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14501 extra indirection.
14502 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14503 * nss/tst-nss-static.c: New.
14504
14505 2012-04-06 Robert Millan <rmh@gnu.org>
14506
14507 [BZ #6486]
14508 * manual/llio.texi (File Position Primitive): lseek
14509 refers to WHENCE when it really means OFFSET.
14510
14511 2012-04-06 Andreas Jaeger <aj@suse.de>
14512
14513 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14514 strncmp declarations.
14515
14516 * abilist/libc.abilist: Add __poll and __ppoll.
14517
14518 2012-04-05 David S. Miller <davem@davemloft.net>
14519
14520 * scripts/check-local-headers.sh: Accept a host triplet in the
14521 path matched by the exclude regexp.
14522
14523 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14524 definition.
14525 * sysdeps/powerpc/powerpc32/dl-machine.h
14526 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14527 * sysdeps/s390/s390-32/dl-machine.h
14528 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14529 * sysdeps/sparc/sparc32/dl-machine.h
14530 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14531 * sysdeps/sparc/sparc64/dl-machine.h
14532 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14533
14534 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14535 lazy binding.
14536 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14537 undefined symbol errors.
14538
14539 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14540 DT_NEEDED entries.
14541
14542 2012-04-05 Michael Matz <matz@suse.de>
14543
14544 [BZ #13592]
14545 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14546
14547 2012-04-05 Andreas Jaeger <aj@suse.de>
14548
14549 [BZ #13908]
14550 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14551 comment.
14552
14553 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14554
14555 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14556 which ROUND is no valid rounding mode.
14557
14558 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14559
14560 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14561 read again.
14562 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14563
14564 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14565
14566 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14567 an exception using FPU order intentionally.
14568
14569 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14570
14571 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14572 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14573 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14574 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14575
14576 2012-04-05 Simon Josefsson <simon@josefsson.org>
14577
14578 [BZ #12340]
14579 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14580 EINVAL when BUFLEN is too smal.
14581
14582 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14583
14584 [BZ #13553]
14585 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14586 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14587
14588 2012-04-03 Andreas Jaeger <aj@suse.de>
14589
14590 [BZ #13938]
14591 * manual/setjmp.texi (System V contexts): Fix sentence.
14592
14593 [BZ #13926]
14594 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14595 New macro for this case.
14596 [!__GNUC__] (__bswap_64): New inline function for this case.
14597 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14598 * bits/byteswap.h: Likewise.
14599 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14600 ull, guard with __GLIBC_HAVE_LONG_LONG.
14601
14602 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14603 __GLIBC_HAVE_LONG_LONG.
14604
14605 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14606 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14607
14608 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14609
14610 [BZ #13691]
14611 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14612 inptr and inend, rather than using last_ch.
14613
14614 2012-04-02 David S. Miller <davem@davemloft.net>
14615
14616 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14617 * stdio-common/printf-parse.h (read_int): Change return type to
14618 'int', return -1 on INT_MAX overflow.
14619 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14620 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14621 overflows INT_MAX. Check for overflow of in-format-string precision
14622 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14623 SIZE_MAX not INT_MAX for integer overflow test.
14624 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14625 skip the construct in the format string but do not record anything.
14626 * stdio-common/bug22.c: Adjust to test both width/prevision
14627 INT_MAX overflow as well as total length INT_MAX overflow. Check
14628 explicitly for proper errno values.
14629
14630 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14631
14632 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14633 CHAR_MAX.
14634 * string/test-strcmp.c [! WIDE]: Likewise.
14635 * time/tst-mktime2.c: Likewise for INT_MAX.
14636 * string/test-string.h: #include <sys/param.h> for MIN.
14637
14638 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14639 * sysdeps/i386/init-first.c (init): Likewise.
14640 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14641 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14642 * sysdeps/sh/init-first.c (init): Likewise.
14643
14644 2012-04-01 Ulrich Drepper <drepper@gmail.com>
14645
14646 * po/ru.po: Update from translation team.
14647 * po/vi.po: Likewise.
14648
14649 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14650
14651 * resolv/nss_dns/dns-host.c: Merge copyright years.
14652
14653 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14654
14655 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14656 Optimize memcpy with prefetch if
14657 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14658 src, dst pointers have unequal 16 byte alignments.
14659
14660 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14661
14662 [BZ #13928]
14663 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14664 from a CNAME entry and return the minimum ttl for the query.
14665 (gaih_getanswer_slice): Likewise.
14666
14667 2012-03-30 Jeff Law <law@redhat.com>
14668
14669 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14670 due to long keys.
14671 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14672 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14673
14674 * resolv/nss_dns/dns-host.c: Update copyright year.
14675
14676 2012-03-30 Ulrich Drepper <drepper@gmail.com>
14677
14678 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
14679 requests to save a system call. Fix check that all bytes are sent.
14680
14681 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14682 comments for sendmmsg.
14683
14684 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14685
14686 [BZ #13691]
14687 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14688 with only 1 character between 0x0041 and 0x01b0.
14689 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14690 * wcsmbs/tst-mbsnrtowcs.c: New file.
14691
14692 2012-03-29 David S. Miller <davem@davemloft.net>
14693
14694 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14695 small copies by hand.
14696
14697 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14698
14699 [BZ #13761]
14700 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14701 _nss_compat_initgroups_dyn): Fall back to malloc/free
14702 for large group memberships.
14703
14704 2012-03-28 David S. Miller <davem@davemloft.net>
14705
14706 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14707 that branches into memcpy.
14708 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14709 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14710 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14711 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14713 bits.
14714 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14715 implementation too.
14716 * sysdeps/sparc/mempcpy.S: New file.
14717
14718 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14719 the IFUNC routine in the libc case.
14720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14721
14722 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14723 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14724 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14725 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14726 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14727 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14728 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14729 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14730
14731 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14732 loop to 256 bytes instead of 64 bytes and fix test signedness.
14733
14734 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14735 * sysdeps/sparc/sparc32/Makefile: rather than here...
14736 * sysdeps/sparc/sparc64/Makefile: and here.
14737
14738 2012-03-28 Ulrich Drepper <drepper@gmail.com>
14739
14740 * malloc/mallocbug.c: Avoid warnings about unused variables.
14741
14742 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14743
14744 [BZ #13760]
14745 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14746 in the right place. Discard and retry query if response is
14747 larger than input buffer size.
14748
14749 2012-03-28 Joseph Myers <joseph@codesourcery.com>
14750
14751 [BZ #369]
14752 [BZ #2678]
14753 [BZ #3866]
14754 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14755 x for large integer exponent.
14756 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14757 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14758 sign of result as needed afterwards.
14759 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14760 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14761 result for underflowing pow the same as for overflow.
14762 (__kernel_standard_l): Handle powl overflow and underflow here
14763 rather than calling __kernel_standard.
14764 * math/libm-test.inc (pow_test): Add more tests.
14765
14766 [BZ #3868]
14767 [BZ #13879]
14768 [BZ #13910]
14769 [BZ #13911]
14770 [BZ #13912]
14771 [BZ #13913]
14772 [BZ #13915]
14773 [BZ #13916]
14774 [BZ #13917]
14775 [BZ #13918]
14776 [BZ #13919]
14777 [BZ #13920]
14778 [BZ #13921]
14779 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14780 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14781 (__kernel_standard_l): New function.
14782 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14783 __kernel_standard.
14784 * math/w_acosl.c (__acosl): Likewise.
14785 * math/w_asinl.c (__asinl): Likewise.
14786 * math/w_atan2l.c (__atan2l): Likewise.
14787 * math/w_atanhl.c (__atanhl): Likewise.
14788 * math/w_coshl.c (__coshl): Likewise.
14789 * math/w_exp10l.c (__exp10l): Likewise.
14790 * math/w_exp2l.c (__exp2l): Likewise.
14791 * math/w_fmodl.c (__fmodl): Likewise.
14792 * math/w_hypotl.c (__hypotl): Likewise.
14793 * math/w_j0l.c (__j0l, __y0l): Likewise.
14794 * math/w_j1l.c (__j1l, __y1l): Likewise.
14795 * math/w_jnl.c (__jnl, __ynl): Likewise.
14796 * math/w_lgammal.c (__lgammal): Likewise.
14797 * math/w_log10l.c (__log10l): Likewise.
14798 * math/w_log2l.c (__log2l): Likewise.
14799 * math/w_logl.c (__logl): Likewise.
14800 * math/w_powl.c (__powl): Likewise.
14801 * math/w_remainderl.c (__remainderl): Likewise.
14802 * math/w_scalbl.c (sysv_scalbl): Likewise.
14803 * math/w_sinhl.c (__sinhl): Likewise.
14804 * math/w_sqrtl.c (__sqrtl): Likewise.
14805 * math/w_tgammal.c (__tgammal): Likewise.
14806 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14807 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14808 * math/libm-test.inc (acos_test): Add more tests.
14809 (acosh_test): Likewise.
14810 (asin_test): Likewise.
14811 (atanh_test): Likewise.
14812 (exp_test): Likewise.
14813 (exp10_test): Likewise.
14814 (exp2_test): Likewise.
14815 (expm1_test): Likewise.
14816 (lgamma_test): Likewise.
14817 (log_test): Likewise.
14818 (log10_test): Likewise.
14819 (log1p_test): Likewise.
14820 (log2_test): Likewise.
14821 (pow_test): Do not allow some spurious overflow exceptions.
14822 (sqrt_test): Add more tests.
14823 (tgamma_test): Likewise.
14824 (y0_test): Likewise.
14825 (y1_test): Likewise.
14826 (yn_test): Likewise.
14827
14828 2012-03-27 Anton Blanchard <anton@samba.org>
14829
14830 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14831 MAP_HUGETLB.
14832 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14833 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14834 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14835
14836 2012-03-27 David S. Miller <davem@davemloft.net>
14837
14838 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14839
14840 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14841 have-as-vis3 check.
14842
14843 2012-03-27 Andreas Jaeger <aj@suse.de>
14844
14845 * sysdeps/x86_64/elf/configure.in: Moved to ...
14846 * sysdeps/x86_64/configure.in: ... here.
14847 * sysdeps/x86_64/elf/start.S: Moved to ...
14848 * sysdeps/x86_64/start.S: ... here.
14849 * sysdeps/x86_64/elf/configure: Delete.
14850
14851 * sysdeps/x86_64/configure.in: Merge contents from
14852 sysdeps/i386/configure.in (without i686 check).
14853
14854 * sysdeps/i386/elf/Versions: Merge into ...
14855 * sysdeps/i386/Versions: ... this.
14856 * sysdeps/i386/elf/Versions: Delete file.
14857 * sysdeps/i386/elf/start.S: Moved to ...
14858 * sysdeps/i386/start.S: ...here.
14859 * sysdeps/i386/elf/configure.in: Merge into...
14860 * sysdeps/i386/configure.in: ...here.
14861 * sysdeps/i386/elf/configure.in: Delete file.
14862 * sysdeps/i386/elf/configure: Delete file.
14863
14864 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14865 * debug/backtracesyms.c: ... here.
14866 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14867 * debug/backtracesymsfd.c: ... here.
14868 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14869 * sysdeps/generic/ifunc-sel.h: ... here.
14870
14871 * sysdeps/unix/i386/start.c: Delete file.
14872 * sysdeps/unix/sparc/start.c: Delete file.
14873 * sysdeps/unix/start.c: Delete file.
14874
14875 * sysdeps/sh/elf/configure.in: Moved to ...
14876 * sysdeps/sh/configure.in: ... here.
14877 * sysdeps/sh/elf/start.S: Moved to ...
14878 * sysdeps/sh/start.S: ... here.
14879 * sysdeps/sh/elf/configure: Delete file.
14880
14881 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14882 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14883 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14884 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14885 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14886 * sysdeps/powerpc/powerpc64/start.S: here.
14887 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14888 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14889 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14890 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14891 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14892
14893 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14894 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14895 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14896 * sysdeps/powerpc/powerpc32/start.S: ... here.
14897 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14898 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14899 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14900
14901 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14902 * sysdeps/powerpc/ifunc-sel.h: ... here.
14903 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14904 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14905
14906 * sysdeps/sparc/elf/configure.in: Moved to ...
14907 * sysdeps/sparc/configure.in: ... here.
14908 * sysdeps/sparc/elf/configure: Delete file.
14909 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14910 * sysdeps/sparc/sparc32/start.S: ... here.
14911 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14912 * sysdeps/sparc/sparc64/start.S: ... here.
14913 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14914 * sysdeps/sparc/sparc32/Makefile: ... this.
14915 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14916 * sysdeps/sparc/sparc64/Makefile: ... this.
14917
14918 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14919 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14920 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14921 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14922 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14923 * sysdeps/s390/s390-32/setjmp.S: ... here.
14924 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14925 * sysdeps/s390/s390-32/configure.in: ... here.
14926 * sysdeps/s390/s390-32/elf/configure: Delete file.
14927 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14928 * sysdeps/s390/s390-32/start.S: ... here.
14929
14930 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14931 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14932 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14933 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14934 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14935 * sysdeps/s390/s390-64/setjmp.S: ... here.
14936 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14937 * sysdeps/s390/s390-64/configure.in: ... here
14938 * sysdeps/s390/s390-64/elf/configure: Delete file.
14939 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14940 * sysdeps/s390/s390-64/start.S: ... here.
14941 * sysdeps/s390/s390-64/elf/configure: Delete.
14942
14943 * configure.in: Remove support for elf directories in sysdeps.
14944
14945 * configure: Regenerated.
14946 * sysdeps/i386/configure: Regenerated.
14947 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14948 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14949 * sysdeps/s390/s390-32/configure: Regenerated.
14950 * sysdeps/s390/s390-64/configure: Regenerated.
14951 * sysdeps/sh/configure: Regenerated.
14952 * sysdeps/sparc/configure: Regenerated.
14953 * sysdeps/x86_64/configure: Regenerated.
14954
14955 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14956
14957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14958
14959 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14960 denormal result into account.
14961
14962 2012-03-25 Roland McGrath <roland@hack.frob.com>
14963
14964 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14965 Reported by Allan McRae <allan@archlinux.org>.
14966
14967 2012-03-23 Jeff Law <law@redhat.com>
14968
14969 * nss/getnssent.c (__nss_getent): Fix typo.
14970
14971 2012-03-23 David S. Miller <davem@davemloft.net>
14972
14973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14974
14975 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14976
14977 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14978 to pad to uint64_t for each field.
14979 (dl_tls_index): Replace unsigned long with uint64_t.
14980
14981 2012-03-23 Daniel Jacobowitz <dmj@google.com>
14982 Paul Pluzhnikov <ppluzhnikov@google.com>
14983
14984 [BZ #6528]
14985 * grp/Makefile (otherlibs): Don't set it.
14986 * inet/Makefile (otherlibs): Likewise.
14987 * login/Makefile (otherlibs): Likewise.
14988 * nscd/Makefile (otherlibs): Likewise.
14989 * posix/Makefile (otherlibs): Likewise.
14990 * pwd/Makefile (otherlibs): Likewise.
14991 * rt/Makefile (otherlibs): Likewise.
14992 * sunrpc/Makefile (otherlibs): Likewise.
14993 * nss/Makefile (otherlibs): Likewise.
14994 Add libnss_files to routines and static-only-routines.
14995 ($(objpfx)getent): Remove rule.
14996 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14997 static-only-routines.
14998
14999 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15000
15001 [BZ #13892]
15002 * math/s_cexp.c: Include <float.h>.
15003 (__cexp): Handle exp result overflowing not necessarily
15004 overflowing both real and imaginary parts of result.
15005 * math/s_cexpf.c: Likewise.
15006 * math/s_cexpl.c: Likewise.
15007 * math/libm-test.inc (cexp_test): Add more tests.
15008 * sysdeps/i386/fpu/libm-test-ulps: Update.
15009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15010
15011 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15012
15013 * include/link.h (ELFW): New macro.
15014 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15015 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15016
15017 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15018
15019 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15020 with uint64_t.
15021
15022 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15023
15024 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15025 declaration.
15026 (struct La_x32_retval): Likewise.
15027
15028 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15029
15030 * sysdeps/x86_64/preconfigure.in: New file.
15031 * sysdeps/x86_64/preconfigure: New generated file.
15032
15033 2012-03-22 Joseph Myers <joseph@codesourcery.com>
15034
15035 [BZ #13824]
15036 * math/e_exp2l.c: Include <float.h>.
15037 (__ieee754_exp2l): Handle overflow and underflow cases
15038 separately. Only pass fractional part of argument to
15039 __ieee754_expl.
15040 * math/libm-test.inc (exp2_test): Add more tests.
15041
15042 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15043 negating x to take absolute value.
15044 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15045 Likewise.
15046 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15047 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15048 Likewise.
15049 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15050 computing low part if x was negated.
15051 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15052
15053 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15054
15055 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15056 la_x32_gnu_pltexit.
15057 (pltexit): Cast int_retval to ptrdiff_t.
15058 * elf/tst-auditmod3b.c: Likewise.
15059 * elf/tst-auditmod4b.c: Likewise.
15060 * elf/tst-auditmod5b.c: Likewise.
15061 * elf/tst-auditmod6b.c: Likewise.
15062 * elf/tst-auditmod6c.c: Likewise.
15063 * elf/tst-auditmod7b.c: Likewise.
15064
15065 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15066 and x32_gnu_pltexit.
15067
15068 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15069 __ELF_NATIVE_CLASS.
15070 (La_x32_regs): New macro.
15071 (La_x32_retval): Likewise.
15072 (la_x32_gnu_pltenter): New function prototype.
15073 (la_x32_gnu_pltexit): Likewise.
15074
15075 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15076
15077 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15078 exponent.
15079
15080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15081
15082 * configure.in (libc_cv_cc_nofma): Check for option to disable
15083 generation of FMA instructions.
15084 * configure: Regenerate.
15085 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15086 * sysdeps/ieee754/dbl-64/Makefile: New file.
15087 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15088 Remove brandred-fma4.
15089 (CFLAGS-brandred-fma4.c): Remove.
15090 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15091 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15092 define.
15093 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15094 define.
15095
15096 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15097
15098 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15099 LLONG_MAX != LONG_MAX.
15100 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15101 (_fitoa_word): Likewise.
15102 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15103 LLONG_MAX != LONG_MAX.
15104 * stdio-common/_itowa.h: Include <_itoa.h>.
15105 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15106 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15107 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15108 only if not defined.
15109 (_ITOA_WORD_TYPE): Likewise.
15110 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15111 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15112
15113 2012-03-21 David S. Miller <davem@davemloft.net>
15114
15115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15116
15117 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15118
15119 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15120 of x86_64 when setting libc_cv_slibdir, libdir and
15121 libc_cv_localedir.
15122 * sysdeps/unix/sysv/linux/configure: Regenerated.
15123
15124 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15125
15126 * manual/lang.texi (Old Varargs): Remove section.
15127 (How Variadic): Update menu.
15128 (va_start): Do not mention varargs.h.
15129
15130 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15131 Joseph Myers <joseph@codesourcery.com>
15132
15133 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15134 link test.
15135 * configure: Regenerated.
15136
15137 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15138
15139 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15140 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15141 conformtest.pl
15142
15143 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15144
15145 * NOTES: Remove.
15146 * Makefile (files-for-dist): Remove NOTES.
15147 (NOTES): Remove rule.
15148 * README: Don't refer to NOTES.
15149 * manual/creature.texi: Don't include macros.texi.
15150 * manual/intro.texi (creature.texi): Remove comment referring to
15151 NOTES.
15152
15153 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15154 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15155 * configure: Regenerated.
15156 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15157 LIBC_TRY_CC_OPTION.
15158 (libc_cv_as_i686): Likewise.
15159 (libc_cv_cc_avx): Likewise.
15160 (libc_cv_cc_sse2avx): Likewise.
15161 (libc_cv_cc_fma4): Likewise.
15162 (libc_cv_cc_novzeroupper): Likewise.
15163 * sysdeps/i386/configure: Regenerated.
15164
15165 [BZ #13883]
15166 * sysdeps/i386/fpu/s_cexp.S: Remove.
15167 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15168 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15169 * math/libm-test.inc (cexp_test): Add more tests.
15170 * sysdeps/i386/fpu/libm-test-ulps: Update.
15171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15172
15173 2012-03-21 Allan McRae <allan@archlinux.org>
15174
15175 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15176
15177 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15178
15179 [BZ #13871]
15180 * math/w_exp2.c: Do not include <float.h>.
15181 (o_threshold, u_threshold): Remove.
15182 (__exp2): Calculate result before checking finiteness and calling
15183 __kernel_standard.
15184 * math/w_exp2f.c: Likewise.
15185 * math/w_exp2l.c: Likewise.
15186 * math/libm-test.inc (exp2_test): Require overflow exception for
15187 1e6 input.
15188
15189 [BZ #3866]
15190 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15191 range of signed 64-bit integers before using fistpll. Remove
15192 checks for whether integers fit in mantissa bits.
15193 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15194 the range of signed 32-bit integers before using fistpl. Remove
15195 checks for whether integers fit in mantissa bits.
15196 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15197 (__ieee754_powl): Test for y outside the range of signed 64-bit
15198 integers before using fistpll. Reduce 64-bit values to 63-bit
15199 ones as needed.
15200 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15201 divide-by-zero is raised for zero to large negative powers.
15202 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15203 (__ieee754_powl): Test for y outside the range of signed 64-bit
15204 integers before using fistpll. Reduce 64-bit values to 63-bit
15205 ones as needed.
15206 * math/libm-test.inc (pow_test): Add more tests.
15207
15208 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15209
15210 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15211 <stdio-common/_itoa.h>.
15212 * debug/segfault.c: Likewise.
15213 * elf/dl-cache.c: Likewise.
15214 * elf/dl-minimal.c: Likewise.
15215 * elf/dl-misc.c: Likewise.
15216 * elf/dl-sysdep.c: Likewise.
15217 * elf/dl-version.c: Likewise.
15218 * elf/rtld.c: Likewise.
15219 * hurd/hurdsock.c: Likewise.
15220 * hurd/lookup-retry.c: Likewise.
15221 * malloc/malloc.c: Likewise.
15222 * malloc/mtrace.c: Likewise.
15223 * nscd/nscd_getgr_r.c: Likewise.
15224 * nscd/nscd_getpw_r.c: Likewise.
15225 * nscd/nscd_getserv_r.c: Likewise.
15226 * posix/getopt_init.c: Likewise.
15227 * posix/wordexp.c: Likewise.
15228 * stdio-common/_itoa.c: Likewise.
15229 * stdio-common/printf_fphex.c: Likewise.
15230 * stdio-common/vfprintf.c: Likewise.
15231 * string/_strerror.c: Likewise.
15232 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15233 * sysdeps/i386/i686/hp-timing.h: Likewise.
15234 * sysdeps/mach/_strerror.c: Likewise.
15235 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15236 * sysdeps/mach/hurd/sethostid.c: Likewise.
15237 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15238 * sysdeps/mach/xpg-strerror.c: Likewise.
15239 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15240 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15241 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15242 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15243 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15244 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15245 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15246 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15247 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15248 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15249 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15250 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15251 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15252 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15253 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15254 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15255 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15256 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15257 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15258 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15259 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15260
15261 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15262
15263 * stdio-common/_itoa.h: Moved to ...
15264 * sysdeps/generic/_itoa.h: Here.
15265
15266 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15267
15268 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15269 instead of "_itoa.h" and "_itowa.h".
15270 * stdio-common/vfprintf.: Likewise.
15271
15272 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15273
15274 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15275 <bits/wordsize.h>.
15276 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15277 (__signbit): Likwise.
15278 (llrintf): Likwise.
15279 (llrint): Likwise.
15280
15281 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15282
15283 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15284 __WORDSIZE != 64.
15285
15286 2012-03-20 Joseph Myers <joseph@codesourcery.com>
15287
15288 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15289 OVERFLOW_EXCEPTION_OK.
15290 * math/libm-test.inc ("Philosophy"): Update comment about
15291 exception testing.
15292 (OVERFLOW_EXCEPTION): Define.
15293 (OVERFLOW_EXCEPTION_OK): Likewise.
15294 (INVALID_EXCEPTION_OK): Renumber.
15295 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15296 (IGNORE_ZERO_INF_SIGN): Likewise.
15297 (test_exceptions): Handle FE_OVERFLOW.
15298 (exp10_test): Expect overflow exceptions.
15299 (exp2_test): Likewise.
15300 (expm1_test): Likewise.
15301 (nextafter_test): Likewise.
15302 (pow_test): Likewise.
15303 (scalbn_test): Likewise.
15304 (scalbln_test): Likewise.
15305
15306 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15307
15308 * sysdeps/x86_64/bits/atomic.h
15309 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15310 64bit integer.
15311 (atomic_exchange_acq): Likewise.
15312 (__arch_exchange_and_add_body): Likewise.
15313 (__arch_add_body): Likewise.
15314 (atomic_add_negative): Likewise.
15315 (atomic_add_zero): Likewise.
15316
15317 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15318
15319 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15320 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15321
15322 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15323
15324 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15325 Check __x86_64__ instead of __WORDSIZE.
15326
15327 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15328
15329 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15330
15331 2012-03-19 David S. Miller <davem@davemloft.net>
15332
15333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15334
15335 * sysdeps/sparc/fpu/fenv_private.h: New file.
15336 * sysdeps/sparc/fpu/math_private.h: Use it.
15337 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15338 Remove.
15339 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15340 (libc_feholdexcept_setroundl): Remove.
15341 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15342 Remove.
15343 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15344 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15345
15346 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15347
15348 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15349 int64_t instead of long int.
15350 (INSERT_WORDS64): Likwise.
15351
15352 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15353
15354 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15355 _Unwind_GetCFA return to _Unwind_Ptr first.
15356
15357 2012-03-19 Joseph Myers <joseph@codesourcery.com>
15358
15359 [BZ #13629]
15360 * math/s_clog.c: Include <float.h>.
15361 (__clog): Scale large or subnormal inputs.
15362 * math/s_clogf.c: Likewise.
15363 * math/s_clogl.c: Likewise.
15364 * math/s_clog10.c: Include <float.h>.
15365 (M_LOG10_2): Define.
15366 (__clog10): Scale large or subnormal inputs.
15367 * math/s_clog10f.c: Likewise.
15368 * math/s_clog10l.c: Likewise.
15369 * math/libm-test.inc (clog_test): Add more tests.
15370 (clog10_test): Likewise.
15371 * sysdeps/i386/fpu/libm-test-ulps: Update.
15372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15373
15374 [BZ #11451]
15375 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15376 x and y.
15377 * math/libm-test.inc (atan2_test): Add another test.
15378
15379 * Makerules (common-objdir-compile): Remove.
15380 * sysdeps/unix/Makefile (config-generated): Do not add
15381 $(unix-generated) to variable.
15382 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15383 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15384 Remove rule.
15385 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15386 Likewise.
15387 [generic bits/local_lim.h] (before-compile): Do not append to
15388 variable.
15389 [generic bits/local_lim.h] (common-generated): Likewise.
15390 [generic sys/param.h] (before-compile): Do not append to variable.
15391 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15392 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15393 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15394 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15395 include.
15396 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15397 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15398 [generic sys/param.h] ($(addprefix
15399 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15400 [generic sys/param.h] (common-generated): Do not append to
15401 variable.
15402 [generic sys/param.h] (sysdep_headers): Likewise.
15403 [generic bits/errno.h] (before-compile): Do not append to
15404 variable.
15405 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15406 rule.
15407 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15408 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15409 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15410 [generic bits/errno.h] (common-generated): Do not append to
15411 variable.
15412 [generic bits/ioctls.h] (before-compile): Do not append to
15413 variable.
15414 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15415 rule.
15416 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15417 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15418 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15419 rule.
15420 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15421 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15422 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15423 [generic bits/ioctls.h] (common-generated): Do not append to
15424 variable.
15425 [generic sys/syscall.h] (syscall.h): Remove variable.
15426 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15427 rule.
15428 [generic sys/syscall.h] (before-compile): Do not append to
15429 variable.
15430 [generic sys/syscall.h] (common-generated): Likewise.
15431 * sysdeps/unix/errnos-tmpl.c: Remove file.
15432 * sysdeps/unix/errnos.awk: Likewise.
15433 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15434 * sysdeps/unix/ioctls.awk: Likewise.
15435 * sysdeps/unix/mk-local_lim.c: Likewise.
15436 * sysdeps/unix/snarf-ioctls: Likewise.
15437
15438 2012-03-19 Richard Henderson <rth@twiddle.net>
15439
15440 * sysdeps/i386/fpu/fenv_private.h: New file.
15441 * sysdeps/i386/fpu/math_private.h: Use it.
15442 (math_opt_barrier, math_force_eval): Remove.
15443 (libc_feholdexcept_setround_53bit): Remove.
15444 (libc_feupdateenv_53bit): Remove.
15445 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15446 (math_opt_barrier, math_force_eval): Remove.
15447 (libc_feholdexcept): Remove.
15448 (libc_feholdexcept_setround): Remove.
15449 (libc_fetestexcept, libc_fesetenv): Remove.
15450 (libc_feupdateenv_test): Remove.
15451 (libc_feupdateenv, libc_feholdsetround): Remove.
15452 (libc_feresetround): Remove.
15453
15454 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15455 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15456
15457 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15458 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15459 (libc_feupdateenv_testl): New.
15460 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15461 (libc_feupdateenv_testf): New.
15462 (libc_feupdateenv): Use libc_feupdateenv_test.
15463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15464 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15465
15466 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15467 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15468 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15469 (libc_feresetround_noex): New.
15470 (libc_feresetround_noexf): New.
15471 (libc_feresetround_noexl): New.
15472 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15473 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15474 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15475 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15476 SET_RESTORE_ROUND.
15477 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15478 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15479 (__cos): Likewise.
15480 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15481 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15482 SET_RESTORE_ROUND_NOEX.
15483 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15484 SET_RESTORE_ROUND_NOEXF.
15485 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15486 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15487 (libc_feholdsetroundf): New.
15488 (libc_feresetround, libc_feresetroundf): New.
15489
15490 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15491 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15492 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15493
15494 * sysdeps/generic/math_private.h: Include <fenv.h>.
15495 (default_libc_feholdexcept): New.
15496 (default_libc_feholdexcept_setround): New.
15497 (default_libc_fesetenv, default_libc_feupdateenv): New.
15498 (libc_feholdexcept): Only define if undefined.
15499 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15500 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15501 (libc_feholdexcept_setroundl): Likewise.
15502 (libc_feholdexcept_setround_53bit): Likewise.
15503 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15504 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15505 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15506 (libc_feupdateenv_53bit): Likewise.
15507 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15508 (libc_feholdexcept): Convert from macro to inline function.
15509 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15510 (libc_fesetenv, libc_feupdateenv): Likewise.
15511
15512 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15513 not previously defined.
15514 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15515 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15516 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15517 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15518 * sysdeps/ieee754/flt-32/math_private.h: New file.
15519 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15520 math_private.h below SET_FLOAT_WORD.
15521 (__isnan, __isinf_ns, __finite): Remove.
15522 (__isnanf, __isinf_nsf, __finitef): Remove.
15523
15524 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15525
15526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15527
15528 2012-03-17 David S. Miller <davem@davemloft.net>
15529
15530 [BZ #6471]
15531 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15532 for 2.16.
15533
15534 2012-03-16 David S. Miller <davem@davemloft.net>
15535
15536 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15537 warnings.
15538
15539 [BZ #6471]
15540 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15541 properly.
15542 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15543 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15544 sysdep_routines when subdir is sysvipc.
15545 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15546 __getshmlba helper.
15547
15548 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15549
15550 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15551
15552 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15553 [__LP64__].
15554
15555 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15556
15557 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15558 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15559 (__lround): Renamed to ...
15560 (__llround): This. Replace long int with long long int.
15561 Define lround functions as aliases of llround functions.
15562 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15563
15564 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15565
15566 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15567 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15568 adresses to uintptr_t. Replace "long int" and "unsigned long
15569 int" with "greg_t" on va_arg.
15570
15571 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15572
15573 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15574 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15575
15576 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15577 Move e_machine check before EI_CLASS check. Handle x32
15578 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15579 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15580 SKIP_EM_IA_64 and include
15581 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15582
15583 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15584 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15585 (add_system_dir): New macro.
15586
15587 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15588 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15589
15590 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15591
15592 [BZ #2551]
15593 [BZ #2552]
15594 [BZ #2553]
15595 [BZ #2554]
15596 [BZ #2562]
15597 [BZ #2563]
15598 [BZ #2565]
15599 [BZ #2566]
15600 [BZ #2576]
15601 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15602 (y0): Likewise.
15603 * math/w_j0f.c (j0f): Likewise.
15604 (y0f): Likewise.
15605 * math/w_j0l.c (__j0l): Likewise.
15606 (__y0l): Likewise.
15607 * math/w_j1.c (j1): Likewise.
15608 (y1): Likewise.
15609 * math/w_j1f.c (j1f): Likewise.
15610 (y1f): Likewise.
15611 * math/w_j1l.c (__j1l): Likewise.
15612 (__y1l): Likewise.
15613 * math/w_jn.c (jn): Likewise.
15614 (yn): Likewise.
15615 * math/w_jnf.c (jnf): Likewise.
15616 (ynf): Likewise.
15617 * math/w_jnl.c (__jnl): Likewise.
15618 (__ynl): Likewise.
15619 * math/libm-test.inc (j0_test): Add more tests.
15620 (j1_test): Likewise.
15621 (jn_test): Likewise. Add trailing semicolon to existing test.
15622 (y0_test): Likewise.
15623 (y1_test): Likewise.
15624 * sysdeps/i386/fpu/libm-test-ulps: Update.
15625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15626
15627 [BZ #13851]
15628 [BZ #13854]
15629 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15630 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15631 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15632 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15633 (__tanl): Set errno for infinite argument.
15634 * sysdeps/i386/fpu/mptan.c: Remove.
15635 * sysdeps/i386/fpu/s_tan.S: Likewise.
15636 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15637 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15638 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15639 * math/libm-test.inc (tan_test): Add more tests and enable more
15640 tests for double and long double.
15641 * sysdeps/i386/fpu/libm-test-ulps: Update.
15642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15643
15644 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15645
15646 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15647 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15648
15649 2012-03-16 Roland McGrath <roland@hack.frob.com>
15650
15651 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15652 * configure.in: Use it for both main tree and add-ons.
15653 * configure: Regenerated.
15654
15655 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15656
15657 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15658
15659 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15660
15661 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15662 in comment.
15663
15664 [BZ #13851]
15665 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15666 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15667 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15668 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15669 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15670 infinite argument.
15671 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15672 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15673 != 0 for prec == 2.
15674 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15675 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15676 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15677 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15678 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15679 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15680 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15681 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15682 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15683 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15684 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15685 * math/libm-test.inc (cos_test): Add more tests and enable more
15686 tests for long double.
15687 (sin_test): Likewise.
15688 (sincos_test): Likewise.
15689 * sysdeps/i386/fpu/libm-test-ulps: Update.
15690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15691
15692 2012-03-16 David S. Miller <davem@davemloft.net>
15693
15694 * sysdeps/sparc/fpu/math_private.h: New file.
15695
15696 2012-03-15 David S. Miller <davem@davemloft.net>
15697
15698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15699 file.
15700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
15701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15702 file.
15703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15709 sysdep routines.
15710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15711
15712 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15713 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15714
15715 * sysdeps/sparc/sparc-ifunc.h: New file.
15716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15717 sparc-ifunc.h
15718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15720 Likewise.
15721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15722 Likewise.
15723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15727 Likewise.
15728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
15732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15733 Likewise.
15734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15735 Likewise.
15736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15741 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15742 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15754 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15755 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15756 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15757 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15759 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15760
15761 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15762
15763 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15764 scaling.
15765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15766
15767 2012-03-15 Andreas Jaeger <aj@suse.de>
15768
15769 [BZ #13852]
15770 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15771 ieee754/flt-32 implementation for sin, cos and sincos.
15772 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15773 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15774 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15775 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15776 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15777 ieee754/flt-32 implementation for tan.
15778
15779 * math/libm-test.inc (cos_test): Enable some large input tests for
15780 float as well
15781 (sin_test): Likewise.
15782 (sincos_test): Likewise.
15783 (tan_test): Add tests for large input.
15784
15785 * sysdeps/i386/fpu/libm-test-ulps: Update.
15786
15787 2012-03-15 Andreas Jaeger <aj@suse.de>
15788
15789 [BZ #13658]
15790 * math/libm-test.inc (cos_test): Add more test cases.
15791 (sin_test): Likewise.
15792 (sincos_test): Likewise.
15793
15794 2012-03-15 Andreas Jaeger <aj@suse.de>
15795
15796 [BZ #13837]
15797 * math/libm-test.inc (cos_test): Add a test case for large input
15798 value.
15799 (sin_test): Likewise.
15800 (sincos_test): Likewise.
15801
15802 2012-03-15 Andreas Jaeger <aj@suse.de>,
15803 Joseph Myers <joseph@codesourcery.com>
15804
15805 [BZ #13658]
15806 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
15807 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15808 * sysdeps/i386/fpu/branred.c: Likewise.
15809 * sysdeps/i386/fpu/dosincos.c: Likewise.
15810 * sysdeps/i386/fpu/mpa.c: Likewise.
15811 * sysdeps/i386/fpu/s_cos.S: Likewise.
15812 * sysdeps/i386/fpu/s_sin.S: Likewise.
15813 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15814 * sysdeps/i386/fpu/sincos32.c: Likewise.
15815
15816 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15817 Define.
15818 (libc_feupdateenv_53bit): Define.
15819 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15820 Define.
15821 (libc_feupdateenv_53bit): Define.
15822
15823 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15824 53 bit (without extend i386 double precision).
15825
15826 * math/libm-test.inc (sincos_test): Add tests for large input.
15827 (sin): Likewise.
15828 (cos): Likewise.
15829
15830 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15831
15832 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15833
15834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15835
15836 2012-03-15 David S. Miller <davem@davemloft.net>
15837
15838 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15839 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15840 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15841 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
15853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15854 file.
15855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
15856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15857 file.
15858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
15859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15860 file.
15861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
15862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15863 file.
15864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15865 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15866 fmin/fmax sysdep routines.
15867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15868
15869 2012-03-14 David S. Miller <davem@davemloft.net>
15870
15871 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15872 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15873 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15875 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15876 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15877 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15878 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15879 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15880 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15881 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15885 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15886 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15887 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15889 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15890 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15891 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15892 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15893 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15894 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15895 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15896 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15897 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15898 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
15899 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15900 routines.
15901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15902 file.
15903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
15904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15905 file.
15906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
15907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15908 file.
15909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
15910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15911 file.
15912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
15913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15914 file.
15915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
15916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15917 file.
15918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15919 file.
15920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15921 file.
15922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15923 file.
15924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15925 New file.
15926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15927 file.
15928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15929 file.
15930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
15931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15932 file.
15933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
15934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15935 file.
15936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
15937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15938 file.
15939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
15940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15941 VIS3 routines.
15942
15943 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15944 New file.
15945
15946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15947
15948 * sysdeps/sparc/configure.in: New file.
15949 * sysdeps/sparc/configure: Generate.
15950 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15951 * configure: Regenerate.
15952 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15953 * config.make.in (have-as-vis3): New.
15954 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15955 available use -Av9d instead of -Av9a.
15956 * sysdeps/sparc/sparc64/Makefile: Likewise.
15957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
15958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15959 New file.
15960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15961 file.
15962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15963 New file.
15964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15965 file.
15966 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15967 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15968 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15969 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15970 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15971
15972 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15973 fzeros/fnegs to load 0x80000000 into a float register instead of
15974 using the stack.
15975 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15976
15977 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15978
15979 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15980 bits/syscall.h.
15981 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15982 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15983 ($(inst_includedir)/bits/syscall.h): Remove rule.
15984 ($(objpfx)bits/syscall.d): Include instead of
15985 $(objpfx)syscall-list.d.
15986 (generated): Change syscall-list.h and syscall-list.d to
15987 bits/syscall.h and bits/syscall.d.
15988
15989 2012-03-14 Roland McGrath <roland@hack.frob.com>
15990
15991 [BZ #13846]
15992 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15993
15994 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15995
15996 [BZ #13841]
15997 * math/s_csqrt.c: Include <float.h>.
15998 (__csqrt): Scale large or subnormal inputs.
15999 * math/s_csqrtf.c: Likewise.
16000 * math/s_csqrtl.c: Likewise.
16001 * math/libm-test.inc (csqrt_test): Add more tests.
16002 * sysdeps/i386/fpu/libm-test-ulps: Update.
16003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16004
16005 [BZ #13840]
16006 * math/libm-test.inc (hypot_test): Add more tests.
16007
16008 2012-03-13 David S. Miller <davem@davemloft.net>
16009
16010 [BZ #13840]
16011 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16012 double-precision for the calculation instead of scaling.
16013
16014 2012-03-13 Joseph Myers <joseph@codesourcery.com>
16015
16016 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16017 manipulate bits before adding and subtracting TWO52[sx].
16018 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16019 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16020 Likewise.
16021 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16022
16023 2012-03-13 David S. Miller <davem@davemloft.net>
16024
16025 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16026 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16027 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16028 rtld-global-offsets.h
16029 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16030
16031 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16032 large parameters.
16033
16034 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16035
16036 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16037 'err' in the ifdef scope in which it is actually used.
16038
16039 * nss/nss_db/db-init.c: Include string.h
16040
16041 2012-03-12 David S. Miller <davem@davemloft.net>
16042
16043 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16044 masking out of the most significant byte of random value used.
16045 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16046 Fix coding style in previous change.
16047
16048 * sysdeps/unix/sysv/linux/kernel-features.h
16049 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16050 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16051 expression.
16052 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16053 later.
16054
16055 2012-03-11 David S. Miller <davem@davemloft.net>
16056
16057 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16058 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16059 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16060 for 'resultvar' otherwise things get truncated on 64-bit.
16061
16062 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16063 Fix masking out of the most significant byte of random value used.
16064
16065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16066
16067 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16068
16069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16070
16071 2012-03-09 David S. Miller <davem@davemloft.net>
16072
16073 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16074 variables with appropriate CPP guards.
16075 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16076 frame pointer, not the stack pointer. Correct layout comments. Fix test
16077 on resulting framesize and the management of the outregs buffer for pltexit.
16078 Preserve floating point return values across _dl_call_pltexit call.
16079 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16080 framesize and the management of the outregs buffer for pltexit.
16081 Preserve floating point return values across _dl_call_pltexit
16082 call.
16083 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16084 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16085 (print_exit): Fix format string for return register value.
16086
16087 2012-03-10 Joseph Myers <joseph@codesourcery.com>
16088
16089 * sunrpc/Makefile (others): Add rpcgen.
16090 ($(objpfx)rpcgen): Remove special build rule and dependency on
16091 libc.
16092 * sunrpc/rpcgen.c: New file.
16093
16094 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16095
16096 [BZ #13673]
16097 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16098 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16099 * sysdeps/i386/crti.S: Likewise.
16100 * sysdeps/i386/crtn.S: Likewise.
16101 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16102 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16103 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16104 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16105 * sysdeps/sh/crti.S: Likewise.
16106 * sysdeps/sh/crtn.S: Likewise.
16107 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16108
16109 [BZ #13673]
16110 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16111 with URL.
16112 * locale/programs/locfile-kw.gperf: Likewise.
16113 * locale/programs/charmap-kw.h: Regenerated.
16114 * locale/programs/locfile-kw.h: Likewise.
16115
16116 [BZ #13673]
16117 * intl/plural.y: Replace FSF snail mail address with URL.
16118 * intl/plural.c: Regenerated.
16119
16120 2012-03-09 Richard Henderson <rth@twiddle.net>
16121
16122 * include/math_private.h: Remove file.
16123 * math/math_private.h: Move file ...
16124 * sysdeps/generic/math_private.h: ... here.
16125
16126 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16127 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16128 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16129
16130 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
16131 and <math_private.h>.
16132 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16133 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16134 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16135 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16136 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16137 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16138 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16140 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16141 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16142 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16143 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16144 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16145 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16146 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16147 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16148 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16149 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16150 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16151 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16152 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16153 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16154 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16156 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16157 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16158 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16159 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16160 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16161 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16162 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16163 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16164 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16165 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16166 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16167 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16168 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16169 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16170 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16171 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16172 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16173 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16174 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16175 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16176 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16177 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16178 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16179 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16180 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16181 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16182 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16183 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16184 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16185 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16186 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16187 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16188 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16189 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16190 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16191 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16192 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16193 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16194 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16195 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16196 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16197 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16198 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16199 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16200 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16201 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16202 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16203 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16204 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16205 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16206 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16207 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16208 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16209 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16210 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16211 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16212 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16213 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16214 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16215 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16216 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16217 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16218 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16219 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16220 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16221 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16222 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16223 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16224 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16225 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16226 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16227 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16228 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16229 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16230 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16231 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16232 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16233 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16234 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16235 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16236 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16237 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16238 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16239 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16240 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16241 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16242 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16243 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16244 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16245 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16246 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16247 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16248 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16249 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16250 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16251 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16252 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16253 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16254 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16255 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16256 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16257 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16258 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16259 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16260 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16261 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16262 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16263 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16264 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16265 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16266 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16267 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16268 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16269 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16270 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16271 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16272 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16273 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16274 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16275 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16276 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16277 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16278 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16279 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16280 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16281 * sysdeps/ieee754/k_standard.c: Likewise.
16282 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16283 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16284 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16285 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16286 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16287 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16288 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16289 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16290 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16291 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16292 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16293 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16294 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16295 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16296 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16297 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16298 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16299 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16300 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16301 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16302 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16303 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16304 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16305 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16306 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16307 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16308 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16309 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16310 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16311 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16312 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16313 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16314 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16315 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16316 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16317 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16318 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16319 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16320 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16321 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16322 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16323 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16324 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16325 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16326 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16327 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16328 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16329 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16330 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16331 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16332 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16333 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16334 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16335 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16336 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16337 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16338 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16339 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16340 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16341 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16342 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16343 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16344 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16345 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16346 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16347 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16348 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16349 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16350 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16351 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16352 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16353 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16354 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16355 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16356 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16357 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16358 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16359 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16360 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16361 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16362 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16363 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16364 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16365 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16366 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16367 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16368 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16369 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16370 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16371 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16372 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16373 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16374 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16375 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16376 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16377 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16378 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16379 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16380 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16381 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16382 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16383 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16384 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16385 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16386 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16387 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16388 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16389 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16390 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16391 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16392 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16393 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16394 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16395 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16396 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16397 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16398 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16399 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16400 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16401 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16402 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16403 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16404 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16405 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16406 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16407 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16408 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16409 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16410 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16411 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16412 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16413 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16414 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16415 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16416 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16417 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16418 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16419 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16420 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16421 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16422 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16423 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16424 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16425 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16426 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16427 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16428 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16429 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16430 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16431 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16432 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16433 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16434 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16435 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16436 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16437 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16438 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16439 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16440 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16441 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16442 * sysdeps/ieee754/s_lib_version.c: Likewise.
16443 * sysdeps/ieee754/s_matherr.c: Likewise.
16444 * sysdeps/ieee754/s_signgam.c: Likewise.
16445 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16446 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16447 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16448 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16449 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16450 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16451 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16452 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16453 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16454 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16455 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16456 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16457 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16458 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16459 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16460 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16461 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16462 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16463 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16464 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16465 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16466
16467 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16468
16469 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16470 * sunrpc/rpc_main.c: Likewise.
16471 * sunrpc/rpc_svcout.c: Likewise.
16472
16473 2012-03-09 David S. Miller <davem@davemloft.net>
16474
16475 * include/math_private.h: New file.
16476
16477 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16478
16479 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16480 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16481 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16482 from <bits/socket_type.h>.
16483 (enum __socket_type): Don't define here.
16484 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16486 bits/socket_type.h.
16487
16488 [BZ #13566]
16489 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16490 checking __USE_GNU.
16491
16492 * Makerules ($(inst_includedir)/%.h): New rule.
16493 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16494 (install-others): Remove variable setting.
16495 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16496
16497 2012-03-08 Richard Henderson <rth@twiddle.net>
16498
16499 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16500 from macro to inline function; merge with the
16501 !__LIBC_INTERNAL_MATH_INLINES version.
16502 (__ieee754_sqrtf): Likewise.
16503
16504 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16505 to inline function.
16506 (__rintf, __floor, __floorf): Likewise.
16507
16508 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16509 macro to inline function.
16510 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16511
16512 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16513 not <math/math_private.h>.
16514
16515 2012-03-08 David S. Miller <davem@davemloft.net>
16516
16517 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16518 copyright year.
16519 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16520
16521 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16522
16523 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16524 normalization.
16525 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16526 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16527
16528 2012-03-08 Ulrich Drepper <drepper@gmail.com>
16529
16530 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16531 be defined individually, they must be defined as a block. Define
16532 S for printing a string instead of hidint the different by using a
16533 macro for adding the 'l'.
16534 * stdio-common/tst-fphex-wide.c: Adjust.
16535
16536 2012-03-07 Marek Polacek <polacek@redhat.com>
16537
16538 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16539
16540 2012-03-08 Marek Polacek <polacek@redhat.com>
16541
16542 [BZ #13806]
16543 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16544 * stdio-common/tst-fphex.c: Define a few macros to make the
16545 test reusable. Use them.
16546 * stdio-common/tst-fphex-wide.c: New file.
16547
16548 2012-03-08 Joseph Myers <joseph@codesourcery.com>
16549
16550 [BZ #6911]
16551 * manual/macros.texi (gnusystems): New macro.
16552 (nongnusystems): Likewise.
16553 (gnulinuxhurdsystems): Likewise.
16554 (gnuhurdsystems): Likewise..
16555 (gnulinuxsystems): Likewise.
16556 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16557 variants of the GNU system, not "GNU system".
16558 * manual/conf.texi: Likewise.
16559 * manual/errno.texi: Likewise. Update example of errno macro
16560 expansion.
16561 * manual/filesys.texi: Likewise.
16562 (getumask): Document as specific to GNU/Hurd.
16563 * manual/install.texi: Likewise. Reword some references to
16564 GNU/Linux.
16565 * manual/intro.texi: Likewise.
16566 * manual/io.texi: Likewise.
16567 (File Name Portability): Detail which constraints are inapplicable
16568 to all GNU systems and which are only inapplicable to GNU/Hurd.
16569 * manual/job.texi: Likewise.
16570 * manual/llio.texi: Likewise.
16571 (O_NOCTTY): Document as present on GNU/Linux.
16572 * manual/maint.texi: Likewise.
16573 * manual/memory.texi: Likewise.
16574 * manual/pattern.texi: Likewise.
16575 * manual/pipe.texi: Likewise.
16576 * manual/process.texi: Likewise.
16577 * manual/resource.texi: Likewise.
16578 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16579 child on GNU/Hurd.
16580 * manual/setjmp.texi: Likewise.
16581 * manual/signal.texi: Likewise.
16582 * manual/startup.texi: Likewise.
16583 * manual/stdio.texi: Likewise.
16584 * manual/terminal.texi: Likewise.
16585 (ONLCR): Document as POSIX.
16586 (OXTABS): Document availability on GNU/Linux as XTABS.
16587 (ONOEOT): Document availability separately from other bits.
16588 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16589 * manual/time.texi: Likewise.
16590 * manual/users.texi: Likewise.
16591 * INSTALL: Regenerated.
16592 * sysdeps/gnu/errlist.c: Regenerated.
16593
16594 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16595 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16596 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16597 puts.
16598 * configure: Regenerated.
16599
16600 2012-03-07 Joseph Myers <joseph@codesourcery.com>
16601
16602 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16603 default includes instead of AC_HEADER_CHECK.
16604 * sysdeps/i386/configure: Regenerated.
16605
16606 [BZ #10716]
16607 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16608 * math/s_cacoshf.c (__cacoshf): Likewise.
16609 * math/s_cacoshl.c (__cacoshl): Likewise.
16610 * math/s_casinh.c (__casinh): Set signs of result from argument.
16611 * math/s_casinhf.c (__casinhf): Likewise.
16612 * math/s_casinhl.c (__casinhl): Likewise.
16613 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16614 (casinh_test): Add more tests.
16615 * sysdeps/i386/fpu/libm-test-ulps: Update.
16616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16617
16618 2012-03-07 Ulrich Drepper <drepper@gmail.com>
16619
16620 * po/zh_TW.po: Update from translation team.
16621
16622 * login/Makefile (distribute): Remove variable.
16623 * catgets/Makefile: Likewise.
16624 * mach/Makefile: Likewise.
16625 * malloc/Makefile: Likewise.
16626 * misc/Makefile: Likewise.
16627 * iconv/Makefile: Likewise.
16628 * nscd/Makefile: Likewise.
16629 * hurd/Makefile: Likewise.
16630 * manual/Makefile: Likewise.
16631 * locale/Makefile: Likewise.
16632 * intl/Makefile: Likewise.
16633 * conform/Makefile: Likewise.
16634 * nss/Makefile: Likewise.
16635 * time/Makefile: Likewise.
16636 * soft-fp/Makefile: Likewise.
16637 * dirent/Makefile: Likewise.
16638 * gmon/Makefile: Likewise.
16639 * po/Makefile: Likewise.
16640 * rt/Makefile: Likewise.
16641 * socket/Makefile: Likewise.
16642 * math/Makefile: Likewise.
16643 * signal/Makefile: Likewise.
16644 * debug/Makefile: Likewise.
16645 * elf/Makefile: Likewise.
16646 * timezone/Makefile: Likewise.
16647 * stdlib/Makefile: Likewise.
16648 * iconvdata/Makefile: Likewise.
16649 * sunrpc/Makefile: Likewise.
16650 * io/Makefile: Likewise.
16651 * argp/Makefile: Likewise.
16652 * inet/Makefile: Likewise.
16653 * hesiod/Makefile: Likewise.
16654 * grp/Makefile: Likewise.
16655 * csu/Makefile: Likewise.
16656 * wctype/Makefile: Likewise.
16657 * crypt/Makefile: Likewise.
16658 * libio/Makefile: Likewise.
16659 * string/Makefile: Likewise.
16660 * nis/Makefile: Likewise.
16661 * resolv/Makefile: Likewise.
16662 * stdio-common/Makefile: Likewise.
16663 * wcsmbs/Makefile: Likewise.
16664 * dlfcn/Makefile: Likewise.
16665 * posix/Makefile: Likewise.
16666
16667 [BZ #6959]
16668 * timezone/Makefile: Don't install timezone files, just the programs
16669 and scripts.
16670
16671 2012-03-06 Ulrich Drepper <drepper@gmail.com>
16672
16673 * nss/databases.def: Add missing gshadow entry.
16674
16675 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16676
16677 2012-03-06 Marek Polacek <polacek@redhat.com>
16678
16679 [BZ #13726]
16680 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16681 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16682 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16683 * stdio-common/tst-long-dbl-fphex.c: New file.
16684
16685 2012-03-06 David S. Miller <davem@davemloft.net>
16686
16687 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16688 (set_obp_int): New function.
16689 (get_obp_int): New function.
16690 (__get_clockfreq_via_dev_openprom): Likewise.
16691 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16692 Avoid unused variable warnings on 'val' and use builtin_expect.
16693 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16694 __builtin_expect.
16695 (INLINE_CLONE_SYSCALL): Likewise.
16696
16697 2012-03-05 David S. Miller <davem@davemloft.net>
16698
16699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16700
16701 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16702
16703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16704
16705 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16706 only for |x| >= 40.
16707 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16708
16709 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
16710
16711 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16712 Replace gettimeofday with __vdso_gettimeofday.
16713
16714 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16715 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16716 __vdso_clock_gettime and __vdso_getcpu.
16717
16718 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16719 time with __vdso_time.
16720
16721 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16722
16723 * manual/lang.texi (size_t): Note types to which size_t may be
16724 equivalent with the GNU C Library, but do not describe when
16725 differences between them are significant.
16726
16727 2012-03-05 Andreas Jaeger <aj@suse.de>
16728
16729 * sysdeps/i386/fpu/libm-test-ulps: Update.
16730
16731 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16732
16733 [BZ #3976]
16734 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16735 (__ieee754_pow): Save and restore rounding mode and use
16736 round-to-nearest for main computations.
16737 * math/libm-test.inc (pow_test_tonearest): New function.
16738 (pow_test_towardzero): Likewise.
16739 (pow_test_downward): Likewise.
16740 (pow_test_upward): Likewise.
16741 (main): Call the new functions.
16742 * sysdeps/i386/fpu/libm-test-ulps: Update.
16743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16744
16745 [BZ #3976]
16746 * math/libm-test.inc (cosh_test_tonearest): New function.
16747 (cosh_test_towardzero): Likewise.
16748 (cosh_test_downward): Likewise.
16749 (cosh_test_upward): Likewise.
16750 (sinh_test_tonearest): Likewise.
16751 (sinh_test_towardzero): Likewise.
16752 (sinh_test_downward): Likewise.
16753 (sinh_test_upward): Likewise.
16754 (main): Call the new functions.
16755 * sysdeps/i386/fpu/libm-test-ulps: Update.
16756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16757
16758 2012-03-05 Tom de Vries <tom@codesourcery.com>
16759
16760 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16761 default stack guard is set in last bytes.
16762 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16763
16764 2012-03-05 Kees Cook <keescook@chromium.org>
16765
16766 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
16767
16768 [BZ #13656]
16769 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16770 possibly allocate from heap instead of stack.
16771 * stdio-common/bug-vfprintf-nargs.c: New file.
16772 * stdio-common/Makefile (tests): Add nargs overflow test.
16773
16774 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16775
16776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16777
16778 2012-03-03 Marek Polacek <polacek@redhat.com>
16779
16780 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16781 * math/math_private.h: Likewise.
16782 * stdlib/tst-strtod.c: Likewise.
16783 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16784 * sysdeps/x86_64/bits/atomic.h: Likewise.
16785
16786 2012-03-02 David S. Miller <davem@davemloft.net>
16787
16788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16792 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16793 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16794 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16795 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16796
16797 2012-03-02 Roland McGrath <roland@hack.frob.com>
16798
16799 [BZ #13792]
16800 * manual/examples/README: New file, says the example source files
16801 can be used under GPL>=2.
16802 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16803 line containing just "*/".
16804 * manual/examples/add.c: Add copyright header (GPL>=2).
16805 * manual/examples/argp-ex1.c: Likewise.
16806 * manual/examples/argp-ex2.c: Likewise.
16807 * manual/examples/argp-ex3.c: Likewise.
16808 * manual/examples/argp-ex4.c: Likewise.
16809 * manual/examples/atexit.c: Likewise.
16810 * manual/examples/db.c: Likewise.
16811 * manual/examples/dir.c: Likewise.
16812 * manual/examples/dir2.c: Likewise.
16813 * manual/examples/execinfo.c: Likewise.
16814 * manual/examples/filecli.c: Likewise.
16815 * manual/examples/filesrv.c: Likewise.
16816 * manual/examples/fmtmsgexpl.c: Likewise.
16817 * manual/examples/genpass.c: Likewise.
16818 * manual/examples/inetcli.c: Likewise.
16819 * manual/examples/inetsrv.c: Likewise.
16820 * manual/examples/isockad.c: Likewise.
16821 * manual/examples/longopt.c: Likewise.
16822 * manual/examples/memopen.c: Likewise.
16823 * manual/examples/memstrm.c: Likewise.
16824 * manual/examples/mkfsock.c: Likewise.
16825 * manual/examples/mkisock.c: Likewise.
16826 * manual/examples/mygetpass.c: Likewise.
16827 * manual/examples/pipe.c: Likewise.
16828 * manual/examples/popen.c: Likewise.
16829 * manual/examples/rprintf.c: Likewise.
16830 * manual/examples/search.c: Likewise.
16831 * manual/examples/select.c: Likewise.
16832 * manual/examples/setjmp.c: Likewise.
16833 * manual/examples/sigh1.c: Likewise.
16834 * manual/examples/sigusr.c: Likewise.
16835 * manual/examples/stpcpy.c: Likewise.
16836 * manual/examples/strdupa.c: Likewise.
16837 * manual/examples/strftim.c: Likewise.
16838 * manual/examples/strncat.c: Likewise.
16839 * manual/examples/subopt.c: Likewise.
16840 * manual/examples/swapcontext.c: Likewise.
16841 * manual/examples/termios.c: Likewise.
16842 * manual/examples/testopt.c: Likewise.
16843 * manual/examples/testpass.c: Likewise.
16844 * manual/examples/timeval_subtract.c: Likewise.
16845
16846 [BZ #13792]
16847 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16848 function to ...
16849 * manual/timeval_subtract.c.texi: ... here, new file.
16850
16851 2012-03-02 David S. Miller <davem@davemloft.net>
16852
16853 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16854
16855 2012-03-02 Joseph Myers <joseph@codesourcery.com>
16856
16857 [BZ #3976]
16858 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16859 (__sin): Save and restore rounding mode and use round-to-nearest
16860 for all computations.
16861 (__cos): Save and restore rounding mode and use round-to-nearest
16862 for all computations.
16863 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16864 <fenv.h>.
16865 (tan): Save and restore rounding mode and use round-to-nearest for
16866 all computations.
16867 * math/libm-test.inc (cos_test_tonearest): New function.
16868 (cos_test_towardzero): Likewise.
16869 (cos_test_downward): Likewise.
16870 (cos_test_upward): Likewise.
16871 (sin_test_tonearest): Likewise.
16872 (sin_test_towardzero): Likewise.
16873 (sin_test_downward): Likewise.
16874 (sin_test_upward): Likewise.
16875 (tan_test_tonearest): Likewise.
16876 (tan_test_towardzero): Likewise.
16877 (tan_test_downward): Likewise.
16878 (tan_test_upward): Likewise.
16879 (main): Call the new functions.
16880 * sysdeps/i386/fpu/libm-test-ulps: Update.
16881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16882
16883 [BZ #10135]
16884 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16885 small n, then large n, before computing and testing k+n.
16886 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16887 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16888 Likewise.
16889 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16890 Likewise.
16891 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16892 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16893 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16894 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16895 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16896 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16897 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16898 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16899 * math/libm-test.inc (scalbn_test): Add more tests.
16900 (scalbln_test): Likewise.
16901
16902 * manual/filesys.texi (mode_t): Describe constraints on size and
16903 signedness, not exact equivalence to a particular type.
16904 (ino_t): Likewise.
16905 (ino64_t): Likewise.
16906 (dev_t): Likewise.
16907 (nlink_t): Likewise.
16908 (blkcnt_t): Likewise.
16909 (blkcnt64_t): Likewise.
16910 * manual/llio.texi (off_t): Likewise.
16911
16912 [BZ #3976]
16913 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16914 (__ieee754_exp): Save and restore rounding mode and use
16915 round-to-nearest for all computations.
16916 * math/libm-test.inc (exp_test_tonearest): New function.
16917 (exp_test_towardzero): Likewise.
16918 (exp_test_downward): Likewise.
16919 (exp_test_upward): Likewise.
16920 (main): Call the new functions.
16921 * sysdeps/i386/fpu/libm-test-ulps: Update.
16922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16923
16924 2012-03-01 Chris Demetriou <cgd@google.com>
16925
16926 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16927 have predictable order.
16928
16929 2012-03-01 David S. Miller <davem@davemloft.net>
16930
16931 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16932
16933 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16934 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16935 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16936 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16937
16938 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16939 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16940 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16942 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16943 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16944 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16945 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16946 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16947
16948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16949
16950 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16951 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16952 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16953
16954 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16955 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16956 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16957 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16958 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16959 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16960 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16961 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16962 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16963 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16964 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16965 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16967 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16968 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16969 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16970 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16971 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16972 * sysdeps/sparc/elf/configure: Regenerated.
16973
16974 2012-03-01 Joseph Myers <joseph@codesourcery.com>
16975
16976 * configure.in (AS, LD): Require binutils 2.20 or later.
16977 * configure: Regenerated.
16978 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16979 as required minimum version.
16980 * INSTALL: Regenerated.
16981
16982 [BZ #2541]
16983 [BZ #4108]
16984 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16985 before squaring exponent.
16986 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16987 bottom long double and 27 bits of top long double before squaring
16988 exponent.
16989 * math/libm-test.inc (erfc_test): Add more tests.
16990 * sysdeps/i386/fpu/libm-test-ulps: Update.
16991 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16993
16994 2012-03-01 Kai Tietz <ktietz@redhat.com>
16995
16996 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16997 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16998 containing bit-fields.
16999 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17000 * soft-fp/single.h (_FP_UNION_S): Likewise.
17001 * soft-fp/double.h (_FP_UNION_D): Likewise.
17002
17003 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17004
17005 [BZ #13786]
17006 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17007 not include ../strcmp.S.
17008 [USE_AS_STRNCASECMP_L]: Likewise.
17009 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17010 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17011 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17012 (__strncasecmp_l_ia32): Define as alias to
17013 __strncasecmp_l_nonascii.
17014
17015 [BZ #5794]
17016 * math/libm-test.inc (expm1_test): Add test for bug 5794.
17017 * sysdeps/i386/fpu/libm-test-ulps: Update.
17018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17019
17020 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17022
17023 2012-02-29 Jeff Law <law@redhat.com>
17024
17025 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17026 out of bounds read.
17027
17028 2012-02-29 Marek Polacek <polacek@redhat.com>
17029
17030 [BZ #13706]
17031 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17032 * elf/Makefile: Add rules to run tst-unused-dep.out.
17033
17034 2012-02-28 David S. Miller <davem@davemloft.net>
17035
17036 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17037 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17038 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17039 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17040 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17041 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17042
17043 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17044
17045 * math/libm-test.inc (llround_test): Move one test from
17046 lround_test. Use TEST_f_L in moved test.
17047 (lround_test): Move misplaced test to llround_test. Add testcase
17048 from bug 2561.
17049
17050 2012-02-28 Ulrich Drepper <drepper@gmail.com>
17051
17052 * sysdeps/x86_64/fpu/e_expf.S: New file.
17053 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17054
17055 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17056
17057 [BZ #13637]
17058 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17059 of remain_len that may cause incomplete multi-byte character and
17060 false match.
17061 * posix/bug-regex33.c: New file.
17062 * posix/Makefile (tests): Add bug-regex33.
17063
17064 2012-02-28 Joseph Myers <joseph@codesourcery.com>
17065
17066 * manual/macros.texi: New file.
17067 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17068 * manual/libc.texinfo: Include macros.texi.
17069 * manual/creatute.texi: Likewise.
17070 * manual/install.texi: Likewise.
17071 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17072 @glibcadj{} in references to the GNU C Library.
17073 * manual/charset.texi: Likewise.
17074 * manual/conf.texi: Likewise.
17075 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17076 when not using those macros.
17077 * manual/creature.texi: Likewise.
17078 * manual/crypt.texi: Likewise.
17079 * manual/errno.texi: Likewise.
17080 * manual/filesys.texi: Likewise.
17081 * manual/header.texi: Likewise.
17082 * manual/install.texi: Likewise.
17083 * manual/intro.texi: Likewise.
17084 * manual/io.texi: Likewise.
17085 * manual/job.texi: Likewise.
17086 * manual/lang.texi: Likewise.
17087 * manual/libc.texiinfo: Likewise.
17088 * manual/llio.texi: Likewise.
17089 * manual/locale.texi: Likewise.
17090 * manual/maint.texi: Likewise.
17091 * manual/math.texi: Likewise.
17092 * manual/memory.texi: Likewise.
17093 * manual/message.texi: Likewise.
17094 * manual/nss.texi: Likewise.
17095 * manual/pattern.texi: Likewise.
17096 * manual/process.texi: Likewise.
17097 * manual/resource.texi: Likewise.
17098 * manual/search.texi: Likewise.
17099 * manual/setjmp.texi: Likewise.
17100 * manual/signal.texi: Likewise.
17101 * manual/socket.texi: Likewise.
17102 * manual/startup.texi: Likewise.
17103 * manual/stdio.texi: Likewise.
17104 * manual/string.texi: Likewise.
17105 * manual/sysinfo.texi: Likewise.
17106 * manual/syslog.texi: Likewise.
17107 * manual/terminal.texi: Likewise.
17108 * manual/time.texi: Likewise.
17109 * manual/users.texi: Likewise.
17110 * INSTALL: Regenerated.
17111 * NOTES: Regenerated.
17112 * sysdeps/gnu/errlist.c: Regenerated.
17113
17114 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17115
17116 * include/dirent.h: Include <dirstream.h> before
17117 <dirent/dirent.h>.
17118
17119 2012-02-28 David S. Miller <davem@davemloft.net>
17120
17121 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17122 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17123 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17124 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17125
17126 2012-02-27 David S. Miller <davem@davemloft.net>
17127
17128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17130 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17131 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17132
17133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17134 frame pointer instead of stack pointer relative arg slot.
17135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17136 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17137 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17138
17139 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17140
17141 [BZ #3992]
17142 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17143
17144 2012-02-27 David S. Miller <davem@davemloft.net>
17145
17146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17150 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17151 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17152 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17153 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17154
17155 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17156
17157 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17158 later. Allow versions 5-9.
17159 * configure: Regenerated.
17160 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17161 required minimum version and 4.6 as recommended version. Do not
17162 mention bugs in GCC 2.7 and 2.8.
17163 * INSTALL: Regenerated.
17164
17165 2012-02-27 David S. Miller <davem@davemloft.net>
17166
17167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17171 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17172 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17173 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17174 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17175
17176 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17177 manipulate bits before adding and subtracting TWO112[sx].
17178 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17179
17180 2012-02-27 Roland McGrath <roland@hack.frob.com>
17181
17182 [BZ #13775]
17183 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17184 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17185 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17186 being in POSIX, because they are in 1003.1-2008.
17187
17188 * rt/tst-aio.c: Include <fcntl.h>.
17189 * rt/tst-aio7.c: Likewise.
17190 * rt/tst-aio64.c: Likewise.
17191
17192 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17193
17194 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17195
17196 * manual/install.texi (--with-headers): Describe headers as
17197 interface headers, not private headers.
17198 (Specific advice for GNU/Linux systems): Describe use of headers
17199 from "make headers_install", not private headers from older
17200 kernels.
17201 * INSTALL: Regenerated.
17202 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17203 Change to 2.6.19.
17204 * sysdeps/unix/sysv/linux/configure: Regenerated.
17205
17206 * manual/llio.texi (fclean): Remove documentation.
17207
17208 * manual/Makefile (libc-texi-generated): New variable. Include
17209 version.texi.
17210 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17211 $(libc-texi-generated), not duplicated list of files.
17212 (version.texi, stamp-version): New rules.
17213 (realclean): Remove $(libc-texi-generated), not individual files
17214 from that list. Do not remove dir-add.texinfo.
17215 * manual/libc.texinfo: Comment out uses of edition numbers and
17216 references to printed manual. Remove last-updated dates.
17217 (EDITION): Comment out.
17218 (ISBN): Likewise.
17219 (VERSION, UPDATED): Remove.
17220 (version.texi): Include.
17221
17222 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17223
17224 * sysdeps/posix/spawni.c: Include <signal.h>.
17225 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17226 * sysdeps/pthread/aio_fsync.c: Likewise.
17227
17228 2012-02-26 Ulrich Drepper <drepper@gmail.com>
17229
17230 * conform/Makefile (tests): Run only when not cross-compiling and
17231 when fast-check is not defined.
17232
17233 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17234 * conform/data/limits.h-data: Fixes for POSIX2008.
17235 * conform/run-conformtest.sh: Run all tests.
17236 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17237 headers.
17238 * include/bits/dlfcn.h: Likewise.
17239 * include/langinfo.h: Likewise.
17240 * include/monetary.h: Likewise.
17241 * include/sys/poll.h: Likewise.
17242
17243 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17244 for __USE_GNU.
17245 * posix/spawn.h: Define __need_sigset_t.
17246 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17247 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17248 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17249 to get sigevent_t only.
17250 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17251 only for __USE_GNU.
17252 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17253 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17254 process_vm_writev only for __USE_GNU.
17255 * termios/termios.h: Declare tcgetsid also for POSIX2008.
17256
17257 * conform/Makefile: For now ignore errors from run-conformtest.
17258 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17259 POSIX to avoid namespace pollution. Don't prepend headers.
17260 * conform/data/aio.h-data: Fixes for POSIX testing.
17261 * conform/data/fcntl.h-data: Likewise.
17262 * conform/data/glob.h-data: Likewise.
17263 * conform/data/grp.h-data: Likewise.
17264 * conform/data/pthread.h-data: Likewise.
17265 * conform/data/pwd.h-data: Likewise.
17266 * conform/data/signal.h-data: Likewise.
17267 * conform/data/spawn.h-data: Likewise.
17268 * conform/data/stdio.h-data: Likewise.
17269 * conform/data/stdlib.h-data: Likewise.
17270 * conform/data/stropts.h-data: Likewise.
17271 * conform/data/sys/mman.h-data: Likewise.
17272 * conform/data/sys/stat.h-data: Likewise.
17273 * conform/data/sys/types.h-data: Likewise.
17274 * conform/data/sys/wait.h-data: Likewise.
17275 * conform/data/time.h-data: Likewise.
17276 * conform/data/unistd.h-data: Likewise.
17277 * conform/data/utime.h-data: Likewise.
17278
17279 * io/sys/stat.h: fchmod was always in POSIX.
17280 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17281 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17282 * rt/aio.h: Define __need_timespec before including <time.h>.
17283 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17284 struct. Add forward declaration of pthread_attr_t and use it in
17285 sigevent.
17286 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17287 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17288 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17289 always remove CLK_TCK definition.
17290
17291 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17292
17293 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17294
17295 2012-02-25 Ulrich Drepper <drepper@gmail.com>
17296
17297 * conform/run-conformtest.sh: New file.
17298 * conform/Makefile: Run run-conformtest for tests.
17299 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17300 support.
17301
17302 * conform/data/uchar.h-data: New file.
17303 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17304 * conform/data/arpa/inet.h-data: Likewise.
17305 * conform/data/assert.h-data: Likewise.
17306 * conform/data/complex.h-data: Likewise.
17307 * conform/data/cpio.h-data: Likewise.
17308 * conform/data/ctype.h-data: Likewise.
17309 * conform/data/dirent.h-data: Likewise.
17310 * conform/data/dlfcn.h-data: Likewise.
17311 * conform/data/errno.h-data: Likewise.
17312 * conform/data/fcntl.h-data: Likewise.
17313 * conform/data/float.h-data: Likewise.
17314 * conform/data/fmtmsg.h-data: Likewise.
17315 * conform/data/fnmatch.h-data: Likewise.
17316 * conform/data/ftw.h-data: Likewise.
17317 * conform/data/glob.h-data: Likewise.
17318 * conform/data/grp.h-data: Likewise.
17319 * conform/data/iconv.h-data: Likewise.
17320 * conform/data/inttypes.h-data: Likewise.
17321 * conform/data/langinfo.h-data: Likewise.
17322 * conform/data/libgen.h-data: Likewise.
17323 * conform/data/limits.h-data: Likewise.
17324 * conform/data/locale.h-data: Likewise.
17325 * conform/data/math.h-data: Likewise.
17326 * conform/data/monetary.h-data: Likewise.
17327 * conform/data/mqueue.h-data: Likewise.
17328 * conform/data/ndbm.h-data: Likewise.
17329 * conform/data/net/if.h-data: Likewise.
17330 * conform/data/netdb.h-data: Likewise.
17331 * conform/data/netinet/in.h-data: Likewise.
17332 * conform/data/nl_types.h-data: Likewise.
17333 * conform/data/poll.h-data: Likewise.
17334 * conform/data/pthread.h-data: Likewise.
17335 * conform/data/pwd.h-data: Likewise.
17336 * conform/data/regex.h-data: Likewise.
17337 * conform/data/sched.h-data: Likewise.
17338 * conform/data/search.h-data: Likewise.
17339 * conform/data/semaphore.h-data: Likewise.
17340 * conform/data/setjmp.h-data: Likewise.
17341 * conform/data/signal.h-data: Likewise.
17342 * conform/data/spawn.h-data: Likewise.
17343 * conform/data/stdarg.h-data: Likewise.
17344 * conform/data/stdio.h-data: Likewise.
17345 * conform/data/stdlib.h-data: Likewise.
17346 * conform/data/string.h-data: Likewise.
17347 * conform/data/strings.h-data: Likewise.
17348 * conform/data/stropts.h-data: Likewise.
17349 * conform/data/sys/ipc.h-data: Likewise.
17350 * conform/data/sys/mman.h-data: Likewise.
17351 * conform/data/sys/msg.h-data: Likewise.
17352 * conform/data/sys/resource.h-data: Likewise.
17353 * conform/data/sys/select.h-data: Likewise.
17354 * conform/data/sys/sem.h-data: Likewise.
17355 * conform/data/sys/shm.h-data: Likewise.
17356 * conform/data/sys/socket.h-data: Likewise.
17357 * conform/data/sys/stat.h-data: Likewise.
17358 * conform/data/sys/statvfs.h-data: Likewise.
17359 * conform/data/sys/time.h-data: Likewise.
17360 * conform/data/sys/timeb.h-data: Likewise.
17361 * conform/data/sys/times.h-data: Likewise.
17362 * conform/data/sys/types.h-data: Likewise.
17363 * conform/data/sys/uio.h-data: Likewise.
17364 * conform/data/sys/un.h-data: Likewise.
17365 * conform/data/sys/utsname.h-data: Likewise.
17366 * conform/data/sys/wait.h-data: Likewise.
17367 * conform/data/syslog.h-data: Likewise.
17368 * conform/data/tar.h-data: Likewise.
17369 * conform/data/termios.h-data: Likewise.
17370 * conform/data/utime.h-data: Likewise.
17371 * conform/data/utmpx.h-data: Likewise.
17372 * conform/data/varargs.h-data: Likewise.
17373 * conform/data/wchar.h-data: Likewise.
17374 * conform/data/wctype.h-data: Likewise.
17375 * conform/data/wordexp.h-data: Likewise.
17376
17377 * include/stropts.h: New file.
17378 * include/uchar.h: New file.
17379 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17380 * include/assert.h: Likewise.
17381 * include/ctype.h: Likewise.
17382 * include/dirent.h: Likewise.
17383 * include/dlfcn.h: Likewise.
17384 * include/fcntl.h: Likewise.
17385 * include/fnmatch.h: Likewise.
17386 * include/glob.h: Likewise.
17387 * include/grp.h: Likewise.
17388 * include/libio.h: Likewise.
17389 * include/locale.h: Likewise.
17390 * include/math.h: Likewise.
17391 * include/net/if.h: Likewise.
17392 * include/netdb.h: Likewise.
17393 * include/netinet/in.h: Likewise.
17394 * include/pthread.h: Likewise.
17395 * include/pwd.h: Likewise.
17396 * include/regex.h: Likewise.
17397 * include/sched.h: Likewise.
17398 * include/search.h: Likewise.
17399 * include/setjmp.h: Likewise.
17400 * include/signal.h: Likewise.
17401 * include/stdio.h: Likewise.
17402 * include/stdlib.h: Likewise.
17403 * include/string.h: Likewise.
17404 * include/sys/cdefs.h: Likewise.
17405 * include/sys/mman.h: Likewise.
17406 * include/sys/msg.h: Likewise.
17407 * include/sys/resource.h: Likewise.
17408 * include/sys/select.h: Likewise.
17409 * include/sys/socket.h: Likewise.
17410 * include/sys/stat.h: Likewise.
17411 * include/sys/statvfs.h: Likewise.
17412 * include/sys/time.h: Likewise.
17413 * include/sys/times.h: Likewise.
17414 * include/sys/uio.h: Likewise.
17415 * include/sys/utsname.h: Likewise.
17416 * include/sys/wait.h: Likewise.
17417 * include/termios.h: Likewise.
17418 * include/time.h: Likewise.
17419 * include/ulimit.h: Likewise.
17420 * include/unistd.h: Likewise.
17421 * include/utime.h: Likewise.
17422 * include/wchar.h: Likewise.
17423 * include/wctype.h: Likewise.
17424 * include/wordexp.h: Likewise.
17425
17426 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17427
17428 * time/time.h: TIME_UTC must be a macro.
17429 Make timespec_get available for ISO C11 only as well.
17430
17431 2012-02-24 Ulrich Drepper <drepper@gmail.com>
17432
17433 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17434 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17435
17436 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17437
17438 * configure.in: Use -o not -a in test for unsupported multi-arch.
17439
17440 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17441
17442 * manual/texinfo.tex: Update to version 2012-01-19.16.
17443
17444 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17445
17446 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17447
17448 2012-02-24 Roland McGrath <roland@hack.frob.com>
17449
17450 [BZ #13738]
17451 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17452 * manual/fdl-1.3.texi: New file.
17453 * manual/fdl-1.1.texi: File removed.
17454
17455 [BZ #13738]
17456 * manual/libc.texinfo (FDL_VERSION): New @set.
17457 Use it for mention of FDL in cover text.
17458 (Documentation License): Use it in @include file name.
17459
17460 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17461 Roland McGrath <roland@hack.frob.com>
17462
17463 [BZ #5461]
17464 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17465 not LONG_LONG_MAX and LONG_LONG_MIN.
17466 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17467 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17468 name.
17469 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17470
17471 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17472
17473 [BZ #2547]
17474 [BZ #11365]
17475 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17476 manipulate bits before adding and subtracting TWO23[sx].
17477 * math/libm-test.inc (nearbyint_test): Add more tests.
17478
17479 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17480
17481 [BZ #2548]
17482 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17483 bits before adding and subtracting TWO23[sx].
17484 * math/libm-test.inc (rint_test): Add more tests.
17485 (rint_test_tonearest): Likewise.
17486 (rint_test_towardzero): Likewise.
17487 (rint_test_downward): Likewise.
17488 (rint_test_upward: Likewise.
17489
17490 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17491
17492 [BZ #10110]
17493 * include/stdc-predef.h: New file. Extracted from features.h.
17494 * include/features.h: Include stdc-predef.h.
17495 * Makefile (headers): Add stdc-predef.h.
17496 * CONFORMANCE (Compiler limitations): Update.
17497
17498 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17499
17500 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17501
17502 2012-02-21 David S. Miller <davem@davemloft.net>
17503
17504 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17505 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17506
17507 2012-02-20 David S. Miller <davem@davemloft.net>
17508
17509 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17510 using a normal save/restore sequence, rather than allocating a
17511 dummy stack frame just to store a frame pointer and restore.
17512 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17513
17514 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17515
17516 * manual/install.texi: Fix stray word in line-wrapped comment.
17517
17518 2012-02-20 David S. Miller <davem@davemloft.net>
17519
17520 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17521 both binutils and gcc support GOTDATA.
17522
17523 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17524 "rd %pc" in the PIC register setup sequences.
17525
17526 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17527 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17528 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17529 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17530 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17532 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17533 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17534 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17535 (SYSCALL_ERROR_HANDLER): Likewise.
17536 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17537 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17539 (SYSCALL_ERROR_HANDLER): Likewise.
17540
17541 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17542 (HAVE_GCC_GOTDATA): New.
17543 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17544 relocation support in both binutils and gcc.
17545 * sysdeps/sparc/elf/configure: Regenerate.
17546
17547 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17548 * sysdeps/sparc/sparc32/elf/configure: Delete.
17549 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17550 * sysdeps/sparc/sparc64/elf/configure: Delete.
17551 * sysdeps/sparc/elf/configure.in: New file.
17552 * sysdeps/sparc/elf/configure: Generate.
17553
17554 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17555 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17556 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17557 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17558 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17559
17560 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17561
17562 * manual/install.texi: Do not mention specific glibc version
17563 numbers.
17564 * manual/libc.texinfo (VERSION, UPDATED): Update.
17565 (@copying): Use @copyright{} and range of years.
17566
17567 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17568
17569 [BZ #13695]
17570 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17571 [crti.S not in sysdirs] (generated): Do not append.
17572 [crti.S not in sysdirs] (omit-deps): Likewise.
17573 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17574 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17575 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17576 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17577 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17578 Likewise.
17579 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17580 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17581 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17582 * csu/defs.awk: Remove file.
17583 * sysdeps/generic/initfini.c: Likewise.
17584 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17585 variable.
17586 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17587 Likewise.
17588
17589 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17590
17591 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17592 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17593 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17595 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17596 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17597 <bits/epoll.h>.
17598 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17599 (__EPOLL_PACKED): Define to empty if not defined by
17600 <bits/epoll.h>.
17601 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17603 bits/epoll.h.
17604
17605 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17606
17607 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17608 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17609 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17610 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17611 <bits/timerfd.h>.
17612 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17614 bits/timerfd.h.
17615
17616 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17617
17618 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17619 in C locale.
17620 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17621 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17622 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17624
17625 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17626
17627 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17628 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17629
17630 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17631
17632 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17633 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17634 defined.
17635 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17636 Likewise.
17637 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17638 entry for 2.16.
17639
17640 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17641
17642 * math/w_acos.c: Use non-signaling floating-point comparisons.
17643 * math/w_acosf.c: Likewise.
17644 * math/w_acosh.c: Likewise.
17645 * math/w_acoshf.c: Likewise.
17646 * math/w_acoshl.c: Likewise.
17647 * math/w_acosl.c: Likewise.
17648 * math/w_asin.c: Likewise.
17649 * math/w_asinf.c: Likewise.
17650 * math/w_asinl.c: Likewise.
17651 * math/w_atanh.c: Likewise.
17652 * math/w_atanhf.c: Likewise.
17653 * math/w_atanhl.c: Likewise.
17654 * math/w_exp2.c: Likewise.
17655 * math/w_exp2f.c: Likewise.
17656 * math/w_exp2l.c: Likewise.
17657 * math/w_j0.c: Likewise.
17658 * math/w_j0f.c: Likewise.
17659 * math/w_j0l.c: Likewise.
17660 * math/w_j1.c: Likewise.
17661 * math/w_j1f.c: Likewise.
17662 * math/w_j1l.c: Likewise.
17663 * math/w_jn.c: Likewise.
17664 * math/w_jnf.c: Likewise.
17665 * math/w_log.c: Likewise.
17666 * math/w_log10.c: Likewise.
17667 * math/w_log10f.c: Likewise.
17668 * math/w_log10l.c: Likewise.
17669 * math/w_log2.c: Likewise.
17670 * math/w_log2f.c: Likewise.
17671 * math/w_log2l.c: Likewise.
17672 * math/w_logf.c: Likewise.
17673 * math/w_logl.c: Likewise.
17674 * math/w_sqrt.c: Likewise.
17675 * math/w_sqrtf.c: Likewise.
17676 * math/w_sqrtl.c: Likewise.
17677 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17678 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17679 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17680 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17681 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17682
17683 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17684
17685 [BZ #9739]
17686 * manual/string.texi (strnlen): Use correct parameter name in
17687 equivalent expression.
17688
17689 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17690
17691 [BZ #11174]
17692 * manual/users.texi (seteuid): Consistently use neweuid for
17693 argument name.
17694
17695 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17696
17697 [BZ #13704]
17698 * manual/nss.texi (Services in the NSS configuration): Correct
17699 list of services in example configuration file.
17700
17701 2012-02-19 Nick Bowler <nbowler@draconx.ca>
17702
17703 [BZ #11322]
17704 * manual/arith.texi: Remove statements about negative zero
17705 behaving identically to zero.
17706
17707 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17708
17709 [BZ #5993]
17710 * manual/install.texi: Do not document upgrading from libc5.
17711
17712 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17713
17714 [BZ #4596]
17715 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17716
17717 2012-02-18 David S. Miller <davem@davemloft.net>
17718
17719 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17720 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17721 %o7 across the call.
17722 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17723 instead.
17724 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17725 SETUP_PIC_REG_LEAF.
17726 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17727 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17728 * sysdeps/sparc/crtn.S: Likewise.
17729
17730 2012-02-17 Ulrich Drepper <drepper@gmail.com>
17731
17732 * aout/Makefile: Remove.
17733
17734 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17735
17736 [BZ #13058]
17737 * manual/examples/argp-ex1.c (main): Format definition in GNU
17738 style.
17739 * manual/examples/argp-ex2.c (main): Likewise.
17740 * manual/examples/argp-ex3.c (main): Likewise.
17741 * manual/examples/argp-ex4.c (main): Likewise.
17742 * manual/examples/longopt.c (main): Use new-style prototype
17743 definition.
17744 * manual/examples/strncat.c (main): Specify return type and use
17745 (void) for arguments.
17746 * manual/examples/subopt.c (main): Use char **argv argument.
17747
17748 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17749
17750 [BZ #5077]
17751 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17752 rounding modes.
17753
17754 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17755
17756 [BZ #6907]
17757 * manual/string.texi (strchr): Change when strchrnul is
17758 recommended.
17759
17760 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17761
17762 [BZ #174]
17763 * manual/locale.texi (setlocale): Document LOCPATH.
17764
17765 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17766
17767 [BZ #10210]
17768 * manual/process.texi (execle): Move @dots{} before last argument.
17769
17770 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
17771
17772 [BZ #12047]
17773 * manual/charset.texi (Generic Charset Conversion): Fix typo
17774 (LC_TYPE -> LC_CTYPE).
17775
17776 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17777
17778 [BZ #5805]
17779 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17780 (scalbnf): Likewise.
17781 (scalbnl): Likewise.
17782 (scalbln): Likewise.
17783 (scalblnf): Likewise.
17784 (scalblnl): Likewise.
17785 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17786 (vwarnx): Likewise.
17787 (verr): Likewise.
17788 (verrx): Likewise.
17789 * manual/filesys.texi (telldir): Use braces around return type.
17790 * manual/llio.texi (mmap): Add space after comma.
17791 (mmap64): Likewise.
17792 * manual/math.texi (jn): Use @var{} on parameter names.
17793 (jnf): Likewise.
17794 (jnl): Likewise.
17795 (yn): Likewise.
17796 (ynf): Likewise.
17797 (ynl): Likewise.
17798 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17799 line.
17800 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17801 "...".
17802 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17803 (sched_get_priority_max): Likewise.
17804 * manual/signal.texi (sigvec): Add space after comma.
17805 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17806 names.
17807 (if_indextoname): Likewise.
17808 (if_freenameindex): Likewise.
17809 (sendto): Use ',' instead of '.' in prototype.
17810 * manual/startup.texi (syscall): Use @dots{} instead of literal
17811 "...".
17812 * manual/stdio.texi (__fpending): Separate initial words of
17813 paragraph from @deftypefun line.
17814 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17815 "...".
17816 (vsyslog): Use @var{} on parameter names.
17817 * manual/terminal.texi (stty): Use @var{} on parameter names.
17818 * manual/users.texi (getutmp): Use @var{} on parameter names.
17819 (getutmpx): Likewise.
17820
17821 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17822
17823 [BZ #6884]
17824 * manual/stdio.texi (fopen): Fix typos in description of
17825 ",ccs=STRING".
17826
17827 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17828
17829 [BZ #4026]
17830 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17831 get clock_id definition.
17832
17833 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
17834
17835 [BZ #4822]
17836 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17837 (madvise): Cast every argument to void on its own.
17838
17839 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17840
17841 [BZ #9902]
17842 * manual/startup.texi (Exit Status): Fix typo.
17843
17844 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17845
17846 [BZ #10140]
17847 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17848 * manual/examples/argp-ex2.c: Likewise.
17849 * manual/examples/argp-ex3.c: Likewise.
17850
17851 2012-02-16 Richard Henderson <rth@redhat.com>
17852
17853 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17854 * sysdeps/s390/s390-32/initfini.c: Remove.
17855 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17856 * sysdeps/s390/s390-64/initfini.c: Remove.
17857
17858 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17859
17860 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17861 compiler output for sysdeps/generic/initfini.c.
17862 * sysdeps/sh/elf/initfini.c: Remove file.
17863
17864 2012-02-16 David S. Miller <davem@davemloft.net>
17865
17866 [BZ #11494]
17867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17868
17869 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17870 * sysdeps/sparc/crti.S: New file.
17871 * sysdeps/sparc/crtn.S: New file.
17872 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17873 * sysdeps/sparc/sparc64/Makefile: Likewise.
17874
17875 2012-02-15 Mike Frysinger <vapier@gentoo.org>
17876
17877 [BZ #3335]
17878 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17879
17880 2012-02-15 Roland McGrath <roland@hack.frob.com>
17881
17882 [BZ #4822]
17883 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17884
17885 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17886 (write, read, close): Likewise.
17887 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17888
17889 2012-02-15 Joseph Myers <joseph@codesourcery.com>
17890
17891 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17892 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17893 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17894 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17895 <bits/signalfd.h>.
17896 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17898 bits/signalfd.h.
17899
17900 2012-02-14 Marek Polacek <polacek@redhat.com>
17901
17902 * sysdeps/x86_64/crti.S: New file.
17903 * sysdeps/x86_64/crtn.S: New file.
17904 * sysdeps/x86_64/elf/initfini.c: Remove file.
17905
17906 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17907
17908 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17909 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17910 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17911 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17912 <bits/inotify.h>.
17913 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17914 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17915 bits/inotify.h.
17916
17917 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17918
17919 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17920 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17921 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17922 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17923 <bits/eventfd.h>.
17924 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17926 bits/eventfd.h.
17927
17928 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17929
17930 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17931 __feraiseexcept instead of feraiseexcept.
17932
17933 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17934 nanosleep invocations.
17935 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17936 strings, and add error checking for a nanosleep invocations.
17937
17938 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17939
17940 Replace FSF snail mail address with URLs, as per GNU coding standards.
17941 Most of the snail mail addresses were wrong anyway, and omitting
17942 them makes the source code easier to maintain. Almost all of the
17943 changes are to license notices and to locale LC_IDENTIFICATION
17944 addresses, except for this one:
17945 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17946 not its snail mail address.
17947
17948 2012-02-09 Richard Henderson <rth@twiddle.net>
17949
17950 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17951 of kernel-features.h.
17952
17953 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17954
17955 2012-02-08 Marek Polacek <polacek@redhat.com>
17956
17957 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17958 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17959 * sysdeps/gnu/_G_config.h: Likewise.
17960 * sysdeps/generic/_G_config.h: Likewise.
17961
17962 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17963
17964 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17965 tests.
17966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17967
17968 * sysdeps/powerpc/powerpc32/crti.S: New file.
17969 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17970 * sysdeps/powerpc/powerpc64/crti.S: New file.
17971 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17972
17973 * Makeconfig (have-initfini): Don't set.
17974 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17975 * configure.in (nopic_initfini): Don't substitute.
17976 * config.h.in (HAVE_INITFINI): Don't #undef.
17977 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17978 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17979
17980 2012-02-08 Joseph Myers <joseph@codesourcery.com>
17981
17982 Support crti.S and crtn.S provided directly by architectures.
17983 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17984 [crti.S in sysdirs] (omit-deps): Likewise.
17985 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17986 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17987 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17988 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17989 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17990 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17991 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17992 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17993 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17994 compiler output for sysdeps/generic/initfini.c.
17995 * sysdeps/i386/elf/Makefile: Remove file.
17996 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17997
17998 2012-02-07 Marek Polacek <polacek@redhat.com>
17999
18000 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18001 * sysdeps/gnu/_G_config.h: Likewise.
18002 * sysdeps/mach/hurd/_G_config.h: Likewise.
18003
18004 2012-02-07 Marek Polacek <polacek@redhat.com>
18005
18006 * math/Makefile (tests): Add tst-CMPLX2.
18007 * math/tst-CMPLX2.c: New file.
18008
18009 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18010
18011 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18012
18013 * math/libm-test.inc (jn_test): Add missing L suffix.
18014
18015 2012-02-06 Marek Polacek <polacek@redhat.com>
18016
18017 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18018 * sysdeps/i386/fpu/e_powf.S: Likewise.
18019 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18020 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18021 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18022 * sysdeps/i386/fpu/e_pow.S: Likewise.
18023 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18024 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18025 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18026 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18027 * sysdeps/i386/fpu/e_log2.S: Likewise.
18028 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18029 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18030 * sysdeps/i386/fpu/e_powl.S: Likewise.
18031 * sysdeps/i386/fpu/s_log1p.S: Likewise.
18032 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18033 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18034 * sysdeps/i386/fpu/e_logl.S: Likewise.
18035 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18036 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18037 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18038 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18039 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18040 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18041 * sysdeps/i386/fpu/e_log.S: Likewise.
18042 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18043 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18044 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18045 * sysdeps/i386/fpu/e_logf.S: Likewise.
18046 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18047 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18048 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18049 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18050 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18051 * sysdeps/i386/fpu/e_log10.S: Likewise.
18052 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18053 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18054 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18055 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18056 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18057 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18058 * sysdeps/i386/asm-syntax.h: Likewise.
18059 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18060 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18061 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18062 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18063 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18064 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18065 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18066 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18067 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18068 * sysdeps/powerpc/sysdep.h: Likewise.
18069 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18070 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18071
18072 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18073
18074 [BZ #411]
18075 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18076
18077 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18078
18079 * sysdeps/i386/sysdep.h: Include <features.h>.
18080 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18081 version.
18082
18083 2012-02-05 Joseph Myers <joseph@codesourcery.com>
18084
18085 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18086 Define.
18087 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18088 LOAD_PIC_REG_STR.
18089
18090 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18091
18092 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18093 (SETUP_PIC_REG): Use GET_PC_THUNK.
18094 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18095 macro.
18096
18097 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18098
18099 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18100 for non-PIC compilation.
18101 (SETUP_PIC_REG): Add .p2align directive.
18102 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18103 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18104 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18105 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18106 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18107 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18108 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18109 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18110 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18111 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18112 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18113 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18114 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18115 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18116 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18117 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18118 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18119 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18120 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18121 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18122 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18123 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18124 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18125 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18126 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18127 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18128 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18129 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18130 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18131 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18132 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18133 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18134 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18135 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18136 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18137 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18138 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18139 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18140 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18141 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18142 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18143
18144 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18145
18146 * math/tst-CMPLX.c: Include <stdio.h>.
18147
18148 2012-01-31 Joseph Myers <joseph@codesourcery.com>
18149
18150 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18151 float.
18152 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18153 * sysdeps/sparc/bits/mathdef.h: Likewise.
18154
18155 2012-01-31 Marek Polacek <polacek@redhat.com>
18156
18157 * libio/libio.h: Don't define _PARAMS.
18158 * locale/programs/config.h: Don't define PARAMS.
18159 * stdlib/strtol_l.c: Likewise.
18160 (__strtol_l): Remove PARAMS from the prototype.
18161
18162 2012-01-31 Ulrich Drepper <drepper@gmail.com>
18163
18164 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18165 names. Just use the correct names. Remove unnecessary wrapper
18166 functions.
18167 * malloc/arena.c: Likewise.
18168 * malloc/hooks.c: Likewise.
18169
18170 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18171 ARENA_TEST says not to. Simplify test for creation of a new arena.
18172 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18173
18174 2012-01-30 Ulrich Drepper <drepper@gmail.com>
18175
18176 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18177 into tail calls.
18178 (update_get_addr): New function.
18179 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18180 GET_ADDR_MODULE parameter.
18181
18182 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18183
18184 * crypt/cert.c: Remove __STDC__ conditionals.
18185 * crypt/crypt-entry.c: Likewise.
18186 * crypt/crypt_util.c: Likewise.
18187 * libio/filedoalloc.c: Likewise.
18188 * libio/fileops.c: Likewise.
18189 * libio/genops.c: Likewise.
18190 * libio/iofclose.c: Likewise.
18191 * libio/iofdopen.c: Likewise.
18192 * libio/iofopen.c: Likewise.
18193 * libio/iofopen64.c: Likewise.
18194 * libio/iogetdelim.c: Likewise.
18195 * libio/iopopen.c: Likewise.
18196 * libio/obprintf.c: Likewise.
18197 * libio/oldfileops.c: Likewise.
18198 * libio/oldiofclose.c: Likewise.
18199 * libio/oldiofdopen.c: Likewise.
18200 * libio/oldiofopen.c: Likewise.
18201 * libio/oldiopopen.c: Likewise.
18202 * libio/wfiledoalloc.c: Likewise.
18203 * libio/wgenops.c: Likewise.
18204 * locale/programs/xmalloc.c: Likewise.
18205 * misc/syslog.c: Likewise.
18206 * stdio-common/xbug.c: Likewise.
18207 * string/memchr.c: Likewise.
18208 * string/memcmp.c: Likewise.
18209 * string/memrchr.c: Likewise.
18210 * string/rawmemchr.c: Likewise.
18211 * sysdeps/posix/getcwd.c: Likewise.
18212 * time/strftime_l.c: Likewise.
18213
18214 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18215
18216 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18217 * config.make.in (config-cflags-sse2avx): Define.
18218 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18219 Fix typo.
18220
18221 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18222
18223 * scripts/config.guess: Update from upstream config git repository.
18224 * scripts/config.sub: Likewise.
18225
18226 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18227
18228 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18229 (EM_NUM): Update.
18230 (R_TILEPRO_*, R_TILEGX_*): New macros.
18231
18232 * scripts/firstversions.awk: Fix bug in version range handling.
18233
18234 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18235
18236 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18237
18238 * include/sys/epoll.h: New file.
18239 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18240 libc_hidden_def.
18241
18242 2012-01-28 Ulrich Drepper <drepper@gmail.com>
18243
18244 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18245 Avoid unnecessary __WORDSIZE == 64 test.
18246 (fmaxf): Use VEX format if possible.
18247 (fmax): Likewise.
18248 (fminf): Likewise.
18249 (fmin): Likewise.
18250
18251 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18252 * math/math_private.h: Remove libc_fegetround* and
18253 libc_fesetround*.
18254 * sysdeps/i386/configure.in: Check for -msse2avx.
18255 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18256 also if SSE2AVX is defined.
18257 Remove libc_fegetround* and libc_fesetround*.
18258 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18259 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18260 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18261 of HAS_YMM_USABLE.
18262 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18263 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18264 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18265 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18266 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18267
18268 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18269
18270 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18271
18272 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18273 size is not set.
18274 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18275
18276 2012-01-27 Ulrich Drepper <drepper@gmail.com>
18277
18278 [BZ #13618]
18279 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18280 relocation.
18281 * Makeconfig (libm): Define.
18282 * elf/Makefile: Add rules to build and run tst-relsort1.
18283 * elf/tst-relsort1.c: New file.
18284 * elf/tst-relsort1mod1.c: New file.
18285 * elf/tst-relsort1mod2.c: New file.
18286
18287 2012-01-27 Joseph Myers <joseph@codesourcery.com>
18288
18289 * math/s_ldexp.c: Remove __STDC__ conditionals.
18290 * math/s_ldexpf.c: Likewise.
18291 * math/s_ldexpl.c: Likewise.
18292 * math/s_nextafter.c: Likewise.
18293 * math/s_nexttowardf.c: Likewise.
18294 * math/s_significand.c: Likewise.
18295 * math/s_significandf.c: Likewise.
18296 * math/s_significandl.c: Likewise.
18297 * math/w_jnl.c: Likewise.
18298 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18299 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18300 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18301 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18302 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18303 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18304 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18305 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18306 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18307 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18308 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18309 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18310 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18311 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18312 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18313 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18314 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18315 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18316 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18317 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18318 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18319 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18320 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18321 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18322 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18323 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18324 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18325 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18326 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18327 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18328 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18329 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18330 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18331 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18332 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18333 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18334 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18335 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18336 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18337 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18338 * sysdeps/ieee754/k_standard.c: Likewise.
18339 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18340 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18341 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18342 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18343 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18344 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18346 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18347 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18348 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18349 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18350 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18351 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18352 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18354 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18355 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18356 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18357 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18358 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18359 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18360 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18361 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18362 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18363 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18364 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18365 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18366 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18367 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18368 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18369 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18370 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18371 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18372 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18373 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18374 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18375 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18376 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18377 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18378 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18379 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18380 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18381 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18382 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18383 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18384 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18385 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18386 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18387 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18388 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18389 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18390 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18391 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18392 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18393 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18394 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18395 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18396 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18397 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18398 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18399 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18400 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18401 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18402 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18403 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18404 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18405 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18406 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18407 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18408 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18409 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18410 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18411 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18412 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18413 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18414 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18415 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18416 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18417 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18418 * sysdeps/ieee754/s_matherr.c: Likewise.
18419 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18420 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18421 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18422 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18423
18424 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18425
18426 * crypt/md5.h: Remove __STDC__ conditionals.
18427 * libio/libioP.h: Likewise.
18428 * locale/programs/config.h: Likewise.
18429 * sysdeps/generic/sysdep.h: Likewise.
18430 * sysdeps/i386/asm-syntax.h: Likewise.
18431 * sysdeps/s390/asm-syntax.h: Likewise.
18432 * sysdeps/unix/sysdep.h: Likewise.
18433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18435
18436 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18437
18438 * libio/libio.h: Remove __STDC__ conditionals.
18439 * malloc/obstack.h: Likewise.
18440 * math/complex.h: Likewise.
18441 * math/math.h: Likewise.
18442 * sysdeps/generic/_G_config.h: Likewise.
18443 * sysdeps/gnu/_G_config.h: Likewise.
18444 * sysdeps/mach/hurd/_G_config.h: Likewise.
18445 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18446 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18447 * sysdeps/sparc/bits/mathdef.h: Likewise.
18448
18449 2012-01-26 Ulrich Drepper <drepper@gmail.com>
18450
18451 [BZ #13583]
18452 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18453 Clean up HAS_* macros.
18454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18455 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18456 possible.
18457 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18458 HAS_AVX.
18459 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18460 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18461 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18462 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18463 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18464
18465 2012-01-25 Joseph Myers <joseph@codesourcery.com>
18466
18467 * elf/tst-unique3.cc (gets): Remove declaration.
18468 * elf/tst-unique3lib.cc (gets): Likewise.
18469 * elf/tst-unique3lib2.cc (gets): Likewise.
18470 * elf/tst-unique4.cc (gets): Likewise.
18471
18472 2012-01-24 Ulrich Drepper <drepper@gmail.com>
18473
18474 * include/stdio.h: Add C++ protection. Add gets declarations and
18475 definitions.
18476 * debug/tst-chk1.c: Don't declare gets here.
18477 * stdio-common/tst-gets.c: Likewise.
18478
18479 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18480
18481 * posix/glob: Remove directory.
18482
18483 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18484
18485 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18486
18487 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18488
18489 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18490 of the non-standard EPFNOSUPPORT.
18491
18492 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18493
18494 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18495 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18496 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18497
18498 2012-01-21 Ulrich Drepper <drepper@gmail.com>
18499
18500 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18501
18502 2012-01-20 Ulrich Drepper <drepper@gmail.com>
18503
18504 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18505 transient errors.
18506 * nscd/grpcache.c (cache_addgr): Likewise.
18507 * nscd/hstcache.c (cache_addhst): Likewise.
18508 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18509 * nscd/pwdcache.c (cache_addpw): Likewise.
18510 * nscd/servicescache.c (cache_addserv): Likewise.
18511
18512 2012-01-16 Ulrich Drepper <drepper@gmail.com>
18513
18514 * malloc/malloc.c: Various cleanups.
18515 * malloc/hooks.c: Likewise.
18516
18517 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18518 * stdlib/bug-fmtmsg1.c: New file.
18519
18520 * stdlib/fmtmsg.c (init): Add missing unlock.
18521 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18522
18523 2012-01-12 Marek Polacek <polacek@redhat.com>
18524
18525 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18526 and _GNU_SOURCE.
18527
18528 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18529
18530 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18531 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18532 macro to ensure uniqueness of label name.
18533 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18534 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18535
18536 2012-01-11 Ulrich Drepper <drepper@gmail.com>
18537
18538 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18539
18540 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18541 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18542 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18543 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18544
18545 2012-01-10 Ulrich Drepper <drepper@gmail.com>
18546
18547 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18548
18549 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18550 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18551 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18552
18553 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18554
18555 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
18556 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18557 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18558 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
18559
18560 * math/bits/math-finite.h: Add ldexp support.
18561
18562 2012-01-10 Marek Polacek <polacek@redhat.com>
18563
18564 * locale/programs/localedef.h (show_archive_content): Add noreturn
18565 attribute.
18566
18567 2012-01-09 Ulrich Drepper <drepper@gmail.com>
18568
18569 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18570
18571 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18572
18573 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18574
18575 * io/Makefile (headers): Add bits/poll2.h.
18576
18577 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18578
18579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18580 typo #include statement.
18581
18582 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18583
18584 * include/sys/cdefs.h: Define __attribute_alloc_size.
18585 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18586 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18587 * elf/pldd.c: Likewise.
18588 * iconv/iconv_charmap.c: Likewise.
18589 * iconv/iconvconfig.c: Likewise.
18590 * iconv/strtab.c: Likewise.
18591 * locale/programs/locale.c: Likewise.
18592 * locale/programs/localedef.h: Likewise.
18593 * locale/programs/simple-hash.c: Likewise.
18594 * nscd/nscd.h: Likewise.
18595 * nss/makedb.c: Likewise.
18596 * sysdeps/generic/ldconfig.h: Likewise.
18597 * locale/programs/localedef.c: Remove xmalloc prototype.
18598 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18599
18600 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18601
18602 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18603 appropriate.
18604
18605 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18606
18607 * math/Makefile (tests): Add tst-CMPLX.
18608 * math/tst-CMPLX.c: New file.
18609
18610 * math/complex.h (CMPLXL): Fix typo.
18611
18612 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18613 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18614 GLIBC_2.16.
18615 * debug/tst-chk1.c: Add poll and ppoll tests.
18616 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18617 * include/sys/poll.h: Add hidden proto for ppoll.
18618 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18619 * sysdeps/mach/hurd/ppoll.c: Likewise.
18620 * io/ppoll.c: Likewise.
18621 * debug/poll_chk.c: New file.
18622 * debug/ppoll_chk.c: New file.
18623 * include/bits/poll2.h: New file.
18624 * io/bits/poll2.h: New file.
18625
18626 [BZ #1350]
18627 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18628
18629 * configure.in: static is always set to yes. Remove.
18630 * config.make.in: Don't set build-static.
18631 * Makeconfig: Remove use of build-static.
18632 * dlfcn/Makefile: Likewise.
18633 * elf/Makefile: Likewise.
18634 * math/Makefile: Likewise.
18635 * misc/Makefile: Likewise.
18636 * nptl/Makefile: Likewise.
18637 * sysdeps/mach/hurd/Makefile: Likewise.
18638
18639 * configure.in: PWD_P is not used anymore.
18640 * config.make.in: Remove PWD_P entry.
18641
18642 * configure.in: Remove last remnants of RANLIB.
18643 No need to check for signed size_t anymore.
18644 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18645 and IA-64.
18646 Remove __builtin_expect test because we require at least gcc 3.4.
18647 * aclocal.m4: Likewise.
18648
18649 * wcsmbs/mbrtoc16.c: Implement using towc function.
18650 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18651 * wcsmbs/wcsmbsload.c: Likewise.
18652 * iconv/gconv_simple.c: Likewise.
18653 * iconv/gconv_int.h: Likewise.
18654 * iconv/gconv_builtin.h: Likewise.
18655 * iconv/iconv_prog.c: Remove CHAR16 handling.
18656
18657 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18658
18659 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18660
18661 * configure.in: Remove --with-elf and --enable-bounded options.
18662 Dont set base_machine for ia64. More non-ELF conditions removed.
18663 Remove testing and setting of leading underscore information.
18664 * config.make.in (build-bounded): Set to no.
18665 * config.h.in: Remove NO_UNDERSCORES entry.
18666 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18667 them.
18668 * csu/start.c: Remove !NO_UNDERSCORE code.
18669 * locale/localeinfo.h: Likewise.
18670 * sysdeps/generic/machine-gmon.h: Likewise.
18671 * sysdeps/generic/sysdep.h: Likewise.
18672 * sysdeps/i386/sysdep.h: Likewise.
18673 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18674 * sysdeps/mach/sysdep.h: Likewise.
18675 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18676 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18677 * sysdeps/sh/sysdep.h: Likewise.
18678 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18679 * sysdeps/unix/i386/sysdep.S: Likewise.
18680 * sysdeps/unix/sparc/start.c: Likewise.
18681 * sysdeps/unix/sparc/sysdep.S: Likewise.
18682 * sysdeps/unix/sparc/sysdep.h: Likewise.
18683 * sysdeps/unix/start.c: Likewise.
18684 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18685 * sysdeps/x86_64/sysdep.h: Likewise.
18686
18687 2012-01-07 Ulrich Drepper <drepper@gmail.com>
18688
18689 [BZ #13553]
18690 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18691 for non-gcc.
18692 * argp/argp-fmtstream.h: Use const instead __const.
18693 * argp/argp.h: Likewise.
18694 * assert/assert.h: Likewise.
18695 * bits/fenv.h: Likewise.
18696 * bits/sched.h: Likewise.
18697 * bits/sigset.h: Likewise.
18698 * bits/sigthread.h: Likewise.
18699 * catgets/nl_types.h: Likewise.
18700 * conform/data/pthread.h-data: Likewise.
18701 * crypt/crypt-private.h: Likewise.
18702 * crypt/crypt.h: Likewise.
18703 * crypt/crypt_util.c: Likewise.
18704 * ctype/ctype.h: Likewise.
18705 * debug/execinfo.h: Likewise.
18706 * debug/mbsnrtowcs_chk.c: Likewise.
18707 * debug/mbsrtowcs_chk.c: Likewise.
18708 * debug/wcsnrtombs_chk.c: Likewise.
18709 * debug/wcsrtombs_chk.c: Likewise.
18710 * debug/wcstombs_chk.c: Likewise.
18711 * dirent/dirent.h: Likewise.
18712 * dlfcn/dlfcn.h: Likewise.
18713 * elf/neededtest4.c: Likewise.
18714 * grp/grp.h: Likewise.
18715 * gshadow/gshadow.h: Likewise.
18716 * iconv/gconv.h: Likewise.
18717 * iconv/gconv_int.h: Likewise.
18718 * iconv/gconv_simple.c: Likewise.
18719 * iconv/iconv.h: Likewise.
18720 * iconv/loop.c: Likewise.
18721 * iconv/skeleton.c: Likewise.
18722 * include/aio.h: Likewise.
18723 * include/aliases.h: Likewise.
18724 * include/argz.h: Likewise.
18725 * include/arpa/inet.h: Likewise.
18726 * include/assert.h: Likewise.
18727 * include/dirent.h: Likewise.
18728 * include/dlfcn.h: Likewise.
18729 * include/execinfo.h: Likewise.
18730 * include/fcntl.h: Likewise.
18731 * include/fenv.h: Likewise.
18732 * include/glob.h: Likewise.
18733 * include/grp.h: Likewise.
18734 * include/libintl.h: Likewise.
18735 * include/mntent.h: Likewise.
18736 * include/netdb.h: Likewise.
18737 * include/pwd.h: Likewise.
18738 * include/rpc/netdb.h: Likewise.
18739 * include/sched.h: Likewise.
18740 * include/search.h: Likewise.
18741 * include/shadow.h: Likewise.
18742 * include/signal.h: Likewise.
18743 * include/stdio.h: Likewise.
18744 * include/stdlib.h: Likewise.
18745 * include/string.h: Likewise.
18746 * include/sys/socket.h: Likewise.
18747 * include/sys/stat.h: Likewise.
18748 * include/sys/statfs.h: Likewise.
18749 * include/sys/statvfs.h: Likewise.
18750 * include/sys/syslog.h: Likewise.
18751 * include/sys/time.h: Likewise.
18752 * include/sys/uio.h: Likewise.
18753 * include/time.h: Likewise.
18754 * include/unistd.h: Likewise.
18755 * include/utmp.h: Likewise.
18756 * include/wchar.h: Likewise.
18757 * include/wctype.h: Likewise.
18758 * inet/aliases.h: Likewise.
18759 * inet/arpa/inet.h: Likewise.
18760 * inet/netinet/ether.h: Likewise.
18761 * inet/netinet/in.h: Likewise.
18762 * intl/libintl.h: Likewise.
18763 * io/bits/fcntl2.h: Likewise.
18764 * io/fcntl.h: Likewise.
18765 * io/ftw.h: Likewise.
18766 * io/sys/poll.h: Likewise.
18767 * io/sys/stat.h: Likewise.
18768 * io/sys/statfs.h: Likewise.
18769 * io/sys/statvfs.h: Likewise.
18770 * io/utime.h: Likewise.
18771 * libio/bits/stdio.h: Likewise.
18772 * libio/bits/stdio2.h: Likewise.
18773 * libio/libio.h: Likewise.
18774 * libio/libioP.h: Likewise.
18775 * libio/stdio.h: Likewise.
18776 * locale/lc-ctype.c: Likewise.
18777 * locale/locale.h: Likewise.
18778 * login/utmp.h: Likewise.
18779 * malloc/arena.c: Likewise.
18780 * malloc/malloc.c: Likewise.
18781 * malloc/malloc.h: Likewise.
18782 * malloc/mcheck.c: Likewise.
18783 * malloc/mtrace.c: Likewise.
18784 * math/bits/mathcalls.h: Likewise.
18785 * math/fenv.h: Likewise.
18786 * math/math_private.h: Likewise.
18787 * misc/bits/error.h: Likewise.
18788 * misc/bits/syslog.h: Likewise.
18789 * misc/err.h: Likewise.
18790 * misc/error.h: Likewise.
18791 * misc/fstab.h: Likewise.
18792 * misc/mntent.h: Likewise.
18793 * misc/regexp.h: Likewise.
18794 * misc/search.h: Likewise.
18795 * misc/sgtty.h: Likewise.
18796 * misc/sys/mman.h: Likewise.
18797 * misc/sys/syslog.h: Likewise.
18798 * misc/sys/uio.h: Likewise.
18799 * misc/sys/xattr.h: Likewise.
18800 * misc/ttyent.h: Likewise.
18801 * nis/rpcsvc/ypclnt.h: Likewise.
18802 * nss/nss.h: Likewise.
18803 * posix/bits/unistd.h: Likewise.
18804 * posix/fnmatch.h: Likewise.
18805 * posix/glob.h: Likewise.
18806 * posix/sched.h: Likewise.
18807 * posix/spawn.h: Likewise.
18808 * posix/sys/wait.h: Likewise.
18809 * posix/unistd.h: Likewise.
18810 * posix/wordexp.h: Likewise.
18811 * pwd/pwd.h: Likewise.
18812 * resolv/netdb.h: Likewise.
18813 * resource/sys/resource.h: Likewise.
18814 * rt/aio.h: Likewise.
18815 * rt/bits/mqueue2.h: Likewise.
18816 * rt/mqueue.h: Likewise.
18817 * shadow/shadow.h: Likewise.
18818 * signal/signal.h: Likewise.
18819 * socket/send.c: Likewise.
18820 * socket/sendto.c: Likewise.
18821 * socket/sys/socket.h: Likewise.
18822 * stdio-common/printf.h: Likewise.
18823 * stdlib/bits/stdlib.h: Likewise.
18824 * stdlib/fmtmsg.h: Likewise.
18825 * stdlib/monetary.h: Likewise.
18826 * stdlib/stdlib.h: Likewise.
18827 * stdlib/ucontext.h: Likewise.
18828 * streams/stropts.h: Likewise.
18829 * string/argz.h: Likewise.
18830 * string/bits/string2.h: Likewise.
18831 * string/string.h: Likewise.
18832 * string/strings.h: Likewise.
18833 * sunrpc/rpc/auth.h: Likewise.
18834 * sunrpc/rpc/auth_des.h: Likewise.
18835 * sunrpc/rpc/clnt.h: Likewise.
18836 * sunrpc/rpc/netdb.h: Likewise.
18837 * sunrpc/rpc/pmap_clnt.h: Likewise.
18838 * sunrpc/rpc/xdr.h: Likewise.
18839 * sysdeps/generic/inttypes.h: Likewise.
18840 * sysdeps/generic/net/if.h: Likewise.
18841 * sysdeps/generic/sys/swap.h: Likewise.
18842 * sysdeps/gnu/net/if.h: Likewise.
18843 * sysdeps/gnu/utmpx.h: Likewise.
18844 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18845 * sysdeps/i386/i486/bits/string.h: Likewise.
18846 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18847 * sysdeps/s390/bits/string.h: Likewise.
18848 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18849 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18850 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18851 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18852 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18853 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18854 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18855 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18856 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18857 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18858 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18859 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18860 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18861 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18862 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18863 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18864 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18865 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18866 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18867 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18868 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18869 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18870 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18871 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18872 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18873 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18874 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18875 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18876 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18877 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18878 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18879 * sysvipc/sys/ipc.h: Likewise.
18880 * sysvipc/sys/msg.h: Likewise.
18881 * sysvipc/sys/sem.h: Likewise.
18882 * sysvipc/sys/shm.h: Likewise.
18883 * termios/termios.h: Likewise.
18884 * time/sys/time.h: Likewise.
18885 * time/time.h: Likewise.
18886 * wcsmbs/bits/wchar2.h: Likewise.
18887 * wcsmbs/uchar.h: Likewise.
18888 * wcsmbs/wchar.h: Likewise.
18889 * wctype/wctype.h: Likewise.
18890
18891 [BZ #13551]
18892 * Makeconfig: Remove all but ELF support including AIX support.
18893 * Makerules: Likewise.
18894 * config.h.in: Likewise.
18895 * config.make.in: Likewise.
18896 * configure: Likewise.
18897 * configure.in: Likewise.
18898 * csu/Makefile: Likewise.
18899 * csu/version.c: Likewise.
18900 * debug/Makefile: Likewise.
18901 * dlfcn/Makefile: Likewise.
18902 * elf/Makefile: Likewise.
18903 * extra-lib.mk: Likewise.
18904 * iconv/Makefile: Likewise.
18905 * include/libc-symbols.h: Likewise.
18906 * include/shlib-compat.h: Likewise.
18907 * resolv/Makefile: Likewise.
18908 * resolv/res_libc.c: Likewise.
18909 * rt/Makefile: Likewise.
18910 * sysdeps/i386/asm-syntax.h: Likewise.
18911 * sysdeps/i386/sysdep.h: Likewise.
18912 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18913 * sysdeps/mach/sysdep.h: Likewise.
18914 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18915 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18916 * sysdeps/s390/asm-syntax.h: Likewise.
18917 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18918 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18919 * sysdeps/sh/sysdep.h: Likewise.
18920 * sysdeps/unix/sparc/sysdep.h: Likewise.
18921 * sysdeps/wordsize-32/divdi3.c: Likewise.
18922 * sysdeps/x86_64/sysdep.h: Likewise.
18923
18924 * argp/Versions: Remove _argp_unlock_xxx.
18925
18926 [BZ #13559]
18927 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18928 * abilist/libBrokenLocale.abilist: Likewise.
18929 * abilist/libanl.abilist: Likewise.
18930 * abilist/libc.abilist: Likewise.
18931 * abilist/libcrypt.abilist: Likewise.
18932 * abilist/libdl.abilist: Likewise.
18933 * abilist/libm.abilist: Likewise.
18934 * abilist/libnsl.abilist: Likewise.
18935 * abilist/libpthread.abilist: Likewise.
18936 * abilist/libresolv.abilist: Likewise.
18937 * abilist/librt.abilist: Likewise.
18938 * abilist/libthread_db.abilist: Likewise.
18939 * abilist/libutil.abilist: Likewise.
18940 * abilist/libnss_db.abilist: New file.
18941
18942 * scripts/abilist.awk: Add support for indirect functions.
18943
18944 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18945
18946 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18947
18948 * shlib-versions: Remove entries for ports architectures.
18949
18950 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18951 files in ports.
18952 * elf/stackguard-macros.h: Remove support for IA-64.
18953 * elf/tst-auditmod1.c: Likewise.
18954 * sysdeps/generic/ldsodefs.h: Likewise.
18955
18956 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18957 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18958 configure files.
18959
18960 [BZ #13552]
18961 * configure.in: Remove --enable-omitfp support.
18962 * FAQ.in: Adjust.
18963 * config.make.in: Likewise.
18964 * Makeconfig: Likewise.
18965 * manual/install.texi: Likewise.
18966
18967 In case anyone cares, the IA-64 architecture could move to ports.
18968 * sysdeps/ia64/*: Removed.
18969 * sysdeps/unix/sysv/linux/ia64/*: Removed.
18970 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
18971
18972 [BZ #13555]
18973 * configure.in: Remove entries for unsupported architectures.
18974
18975 [BZ #13533]
18976 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18977 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18978 routines.
18979 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18980 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18981 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18982 fall back to using wcrtomb.
18983 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18984 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18985 renaming.
18986 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18987 * wcsmbs/tst-c16c32-1.c: New file.
18988
18989 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18990 local variable.
18991
18992 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18993
18994 * elf/tst-unique3.cc: Add explicit declaration of gets.
18995 * elf/tst-unique3lib.cc: Likewise.
18996 * elf/tst-unique3lib2.cc: Likewise.
18997 * elf/tst-unique4.cc: Likewise.
18998
18999 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19000
19001 2012-01-06 Joseph Myers <joseph@codesourcery.com>
19002
19003 [BZ #13566]
19004 * assert/assert.h (static_assert): Don't define for C++.
19005 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19006 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19007
19008 2012-01-03 Ulrich Drepper <drepper@gmail.com>
19009
19010 * iconv/loop.c (single loop): Fix assertion in storing of
19011 remaining bytes.
19012
19013 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19014
19015 2012-01-01 Ulrich Drepper <drepper@gmail.com>
19016
19017 * posix/getconf.c: Update copyright year.
19018 * nss/getent.c: Likewise.
19019 * nss/makedb.c: Likewise.
19020 * iconv/iconvconfig.c: Likewise.
19021 * iconv/iconv_prog.c: Likewise.
19022 * elf/ldconfig.c: Likewise.
19023 * elf/pldd.c: Likewise.
19024 * elf/sotruss.ksh: Likewise.
19025 * catgets/gencat.c: Likewise.
19026 * csu/version.c: Likewise.
19027 * elf/ldd.bash.in: Likewise.
19028 * elf/sprof.c (print_version): Likewise.
19029 * locale/programs/locale.c: Likewise.
19030 * locale/programs/localedef.c: Likewise.
19031 * login/programs/pt_chown.c: Likewise.
19032 * nscd/nscd.c (print_version): Likewise.
19033 * debug/xtrace.sh: Likewise.
19034 * malloc/memusage.sh: Likewise.
19035 * malloc/mtrace.pl: Likewise.
19036 * debug/catchsegv.sh: Likewise.
19037
19038 2011-12-30 Jakub Jelinek <jakub@redhat.com>
19039
19040 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19041 pure attribute.
19042
19043 2011-12-24 Ulrich Drepper <drepper@gmail.com>
19044
19045 [BZ #13533]
19046 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19047 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19048 transformations.
19049 * iconv/gconv_int.h: Likewise.
19050 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19051 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19052 from libc for GLIBC_2.16.
19053 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19054 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19055 * wcsmbs/uchar.h: Really define mbstate_t.
19056 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19057 * wcsmbs/c16rtomb.c: New file.
19058 * wcsmbs/mbrtoc16.c: New file.
19059 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19060 for C/POSIX locale.
19061 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19062 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19063
19064 * wcsmbs/wchar.h: Add missing __restrict.
19065
19066 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19067
19068 [BZ #13532]
19069 * time/Makefile (routines): Add timespec_get.
19070 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19071 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19072 timespec for ISO C11.
19073 * time/timespec_get.c: New file.
19074 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19075 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19076
19077 [BZ #13531]
19078 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19079 * stdlib/stdlib.h: Declare aligned_alloc.
19080 * Versions.def: Add GLIBC_2.16 for libc.
19081 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19082
19083 [BZ 13527]
19084 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19085 ISO C11.
19086
19087 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
19088 code.
19089
19090 [BZ #13528]
19091 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19092
19093 [BZ #13529]
19094 * assert/assert.h (static_assert): Define.
19095
19096 * version.h: Update for 2.16 development version.
19097
19098 [BZ #13526]
19099 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19100 _ISOC11_SOURCE.
19101
19102 * version.h (RELEASE): Bump for 2.15 release.
19103 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19104
19105 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19106 Patch by Marek Polacek <mpolacek@redhat.com>.
19107
19108 * bits/byteswap.h: Protect long long constants with __extension__.
19109 * sysdeps/i386/bits/byteswap.h: Likewise.
19110 * sysdeps/ia64/bits/byteswap.h: Likewise.
19111 * sysdeps/s390/bits/byteswap.h: Likewise.
19112 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19113
19114 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19115
19116 [BZ #13540]
19117 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19118 destination buffer.
19119 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19120
19121 2011-12-23 Marek Polacek <polacek@redhat.com>
19122
19123 * elf/dl-addr.c (determine_info): Add inline keyword.
19124 * elf/tst-auditmod4b.c (check_avx): Likewise.
19125 * elf/tst-auditmod6b.c (check_avx): Likewise.
19126 * elf/tst-auditmod6c.c (check_avx): Likewise.
19127 * elf/tst-auditmod7b.c (check_avx): Likewise.
19128
19129 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19130
19131 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19132 !__SSE_MATH__.
19133
19134 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19135
19136 [BZ #13540]
19137 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19138 processing for last bytes.
19139
19140 2011-08-06 Bruno Haible <bruno@clisp.org>
19141
19142 [BZ #13061]
19143 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19144 U+0385, not to U+1FEE.
19145
19146 [BZ #13062]
19147 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19148 entry for U+00A5 U+0301.
19149
19150 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19151
19152 [BZ #13166]
19153 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19154 buffer for the output is too small.
19155
19156 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19157 optimization.
19158
19159 [BZ #13185]
19160 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19161 SSE flags if possible.
19162
19163 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19164
19165 [BZ #13540]
19166 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19167 processing for last bytes.
19168
19169 2011-12-22 Joseph Myers <joseph@codesourcery.com>
19170
19171 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19172 (syscall-list-default-options, syscall-list-default-condition)
19173 (syscall-list-includes): Define.
19174 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19175 list of ABIs and options and #if conditions for each ABI. Do not
19176 handle common syscalls between ABIs specially.
19177 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19178 Remove.
19179 (syscall-list-variants, syscall-list-32bit-options)
19180 (syscall-list-32bit-condition, syscall-list-64bit-options)
19181 (syscall-list-64bit-condition): Define.
19182 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19183 (syscall-list-variants, syscall-list-32bit-options)
19184 (syscall-list-32bit-condition, syscall-list-64bit-options)
19185 (syscall-list-64bit-condition): Define.
19186 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19187 Remove.
19188 (syscall-list-variants, syscall-list-32bit-options)
19189 (syscall-list-32bit-condition, syscall-list-64bit-options)
19190 (syscall-list-64bit-condition): Define.
19191 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19192 Remove.
19193 (syscall-list-variants, syscall-list-32bit-options)
19194 (syscall-list-32bit-condition, syscall-list-64bit-options)
19195 (syscall-list-64bit-condition): Define.
19196
19197 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19198
19199 * locale/iso-639.def: Add brx entry.
19200
19201 [BZ #13328]
19202 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19203 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19204
19205 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19206 __feraiseexcept_renamed.
19207
19208 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19209
19210 [BZ #13538]
19211 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19212 EPOLLET with unsigned values.
19213 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19214 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19215
19216 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19217 to large cancellation.
19218 * math/s_cacoshf.c: Likewise.
19219 * math/s_cacoshl.c: Likewise.
19220
19221 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19222
19223 [BZ #13305]
19224 [BZ #12786]
19225 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19226 * math/s_cacoshf.c: Likewise.
19227 * math/s_cacoshl.c: Likewise.
19228
19229 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19230
19231 [BZ #13439]
19232 * iconv/gconv.h: Define __GCONV_SWAP.
19233 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19234 * iconvdata/utf-16.c: Likewise.
19235 * iconvdata/utf-32.c: Likewise.
19236
19237 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19238
19239 [BZ #13524]
19240 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19241 numerator after shifting it by one limb.
19242
19243 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19244
19245 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19246 under [__USE_EXTERN_INLINES].
19247
19248 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19249
19250 [BZ #13446]
19251 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19252
19253 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19254
19255 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19256 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19257 optimized code.
19258 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19259 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19260 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19261 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19262 for strncasecmp/strncasecmp_l compilation.
19263 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19264 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19265
19266 2011-12-08 Marek Polacek <mpolacek@redhat.com>
19267
19268 [BZ #13484]
19269 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19270 of __asm__.
19271
19272 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19273
19274 [BZ #13506]
19275 * time/tzfile.c (__tzfile_read): Check values from file header.
19276
19277 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19278
19279 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19280 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19281 * powerpc/powerpc32/dl-start.S: Likewise.
19282 * powerpc/powerpc32/elf/start.S: Likewise.
19283 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19284 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19285 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19286 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19287 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19288 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19289 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19290 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19291 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19292 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19293 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19294 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19295 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19296 * powerpc/powerpc32/memset.S: Likewise.
19297 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19298 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19299 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19300 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19301 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19302 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19303 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19304 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19305 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19306 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19307 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19308 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19309 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19310
19311 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19312
19313 * math/libm-test.inc: Added more nearbyint tests.
19314 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19315 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19316 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19317 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19318
19319 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19320
19321 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19322 FD_CLOEXEC.
19323
19324 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19325
19326 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19327 Add wcscpy-ssse3 wcscpy-c.
19328 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19329 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19330 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19331 * sysdeps/x86_64/wcschr.S: New file.
19332 * sysdeps/x86_64/wcsrchr.S: New file.
19333 * string/test-strcmp.c: Remove checking of wcscmp function for
19334 wrong alignments.
19335 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19336 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19337 wcsrchr-sse2 wcsrchr-c.
19338 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19339 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19340 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19341 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19342 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19343 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19344 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19345 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19346 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19347 * wcsmbc/wcschr.c (WCSCHR): New macro.
19348
19349 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19350
19351 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19352 * wcsmbs/test-wcsrchr.c: New file.
19353 * string/test-strrchr.c: Add wcsrchr support.
19354 (WIDE): New macro.
19355 * wcsmbs/test-wcscpy.c: New file.
19356 * string/test-strcpy.c: Add wcscpy support.
19357 (WIDE): New macro.
19358
19359 2011-12-10 Ulrich Drepper <drepper@gmail.com>
19360
19361 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19362 the inner loop.
19363
19364 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19365
19366 [BZ #13472]
19367 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19368
19369 2011-12-04 Ulrich Drepper <drepper@gmail.com>
19370
19371 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19372 Minor optimizations.
19373
19374 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19375 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19376 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19377
19378 2011-12-03 Ulrich Drepper <drepper@gmail.com>
19379
19380 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19381 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19382 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19383 for gcc to avoid warnings.
19384 * inet/Makefile (tests): Add tst-checks.
19385 * inet/tst-checks.c: New file.
19386
19387 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19388 warning.
19389
19390 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19391 __wmemcmp_sse2.
19392
19393 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19394 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19395
19396 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19397
19398 2011-12-02 Ulrich Drepper <drepper@gmail.com>
19399
19400 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19401 problem.
19402
19403 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19404
19405 2011-11-29 Joseph Myers <joseph@codesourcery.com>
19406
19407 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19408 conditional on GCC version.
19409 (__arch_compare_and_exchange_val_8_acq)
19410 (__arch_compare_and_exchange_val_16_acq)
19411 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19412 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19413 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19414
19415 2011-12-02 Joseph Myers <joseph@codesourcery.com>
19416
19417 * sysdeps/sh/backtrace.c: New file.
19418
19419 2011-12-02 Andreas Schwab <schwab@redhat.com>
19420
19421 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19422 parenthesis.
19423
19424 2011-12-01 Andreas Schwab <schwab@redhat.com>
19425
19426 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19427 falling back to utime.
19428
19429 2011-11-30 Andreas Schwab <schwab@redhat.com>
19430
19431 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19432 expectations for float.
19433
19434 2011-11-29 Andreas Schwab <schwab@redhat.com>
19435
19436 * locale/weight.h (findidx): Add parameter len.
19437 * locale/weightwc.h (findidx): Likewise.
19438 * posix/fnmatch_loop.c (FCT): Adjust caller.
19439 * posix/regcomp.c (build_equiv_class): Likewise.
19440 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19441 * posix/regexec.c (check_node_accept_bytes): Likewise.
19442 * string/strcoll_l.c (STRCOLL): Likewise.
19443 * string/strxfrm_l.c (STRXFRM): Likewise.
19444
19445 2011-11-17 Ulrich Drepper <drepper@gmail.com>
19446
19447 * Makefile.in: Remove CVSOPT handling.
19448 * configure.in: Remove use of AC_REVISION.
19449 * iconvdata/Makefile (distribute): No need to filter out CVS.
19450 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19451 handling.
19452
19453 2011-11-16 Andreas Schwab <schwab@redhat.com>
19454
19455 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19456 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19457 [USE_AS_STRNCASECMP_L]: Likewise.
19458 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19459 NO_TLS_DIRECT_SEG_REFS.
19460 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19461 Fix argument offsets for non-PIC.
19462 [USE_AS_STRNCASECMP_L]: Likewise.
19463 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19464 NO_TLS_DIRECT_SEG_REFS.
19465
19466 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19467
19468 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19469 O_CLOEXEC.
19470 * locale/loadlocale.c (_nl_load_locale): Likewise.
19471
19472 2011-11-15 Andreas Schwab <schwab@redhat.com>
19473
19474 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19475 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19476 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19477 (SYSCALL_GETTIME): Set errno on error.
19478
19479 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19480 count references to noai6ai_cached.
19481
19482 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19483
19484 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19485
19486 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19487 FD_CLOEXEC for /proc/self/maps.
19488
19489 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19490 FD_CLOEXEC for /proc/meminfo.
19491
19492 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19493 gai.conf.
19494
19495 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19496 FD_CLOEXEC for given file.
19497
19498 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19499
19500 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19501 FD_CLOEXEC for /etc/hosts.
19502 (_gethtent): Likewise.
19503
19504 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19505
19506 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19507 cancellation and set FD_CLOEXEC for /etc/netgroup.
19508
19509 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19510 reading /etc/publickey.
19511
19512 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19513 allow cancellation when reading /etc/group.
19514
19515 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19516 cancellation.
19517 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19518
19519 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19520 when using data file.
19521
19522 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19523
19524 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19525 (write_nis_obj): Use "c" and "e" in fopen.
19526
19527 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19528
19529 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19530
19531 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19532
19533 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19534
19535 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19536 locale.alias.
19537
19538 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19539
19540 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19541
19542 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19543
19544 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19545 file parsing and set FD_CLOEXEC.
19546
19547 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19548
19549 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19550
19551 2011-11-14 Andreas Schwab <schwab@redhat.com>
19552
19553 * malloc/arena.c (arena_get2): Don't call reused_arena when
19554 _int_new_arena failed.
19555
19556 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19557
19558 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19559 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19560 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19561 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19562 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19563 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19564 to compile strcasecmp and strncasecmp.
19565 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19566 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19567
19568 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19569
19570 2011-11-13 Ulrich Drepper <drepper@gmail.com>
19571
19572 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19573 locale-defines.sym to gen-as-const-headers.
19574 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19575 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19576 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19577 to compile strcasecmp and strncasecmp.
19578 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19579 strcasecmp_l and strncasecmp_l.
19580 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19581 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19582 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19583 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19584 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19585 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19586 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19587 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19588 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19589 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19590 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19591
19592 2011-11-12 Ulrich Drepper <drepper@gmail.com>
19593
19594 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19595 result of SYSDEP_GETTIME_CPU to retval.
19596 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19597 parameter list to macro. Remove trailing semicolon. Adjust users.
19598
19599 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19600 variable.
19601
19602 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19603 mantissa words.
19604 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19605
19606 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19607 from unused variable.
19608
19609 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19610 DWARF definitions.
19611 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19612 for assembling.
19613
19614 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19615 over namespaces.
19616
19617 * sunrpc/rpc_prot.c (rejected): Fix case value.
19618
19619 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19620 unsigned long long int to avoid warnings in shift.
19621
19622 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19623 of use of trans.
19624 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19625 variable tmp.
19626
19627 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19628 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19629 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19630
19631 * nis/nis_table.c (nis_list): Use variable of correct type for
19632 result of __follow_path call.
19633
19634 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19635
19636 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19637 of math functions ceil, trunc, floor, round, and sqrt, when
19638 avaliable on the platform.
19639 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19640 name clash.
19641 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19642 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19643 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19644
19645 2011-10-30 Marek Polacek <mpolacek@redhat.com>
19646
19647 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19648 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19649
19650 2011-11-11 Roland McGrath <roland@hack.frob.com>
19651
19652 * include/unistd.h: Fix __readlink return type.
19653 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19654
19655 2011-11-11 Ulrich Drepper <drepper@gmail.com>
19656
19657 * stdlib/ucontext.h: Undo last change for makecontext.
19658
19659 2011-11-11 Andreas Schwab <schwab@redhat.com>
19660
19661 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19662
19663 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19664 * setjmp/setjmp.h: Mark functions as non-leaf.
19665 * setjmp/bits/setjmp2.h: Likewise.
19666 * stdlib/ucontext.h: Likewise.
19667
19668 2011-11-10 Andreas Schwab <schwab@redhat.com>
19669
19670 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19671 (reused_arena): Don't check arena limit.
19672 (arena_get2): Atomically check arena limit.
19673
19674 2011-11-08 Ulrich Drepper <drepper@gmail.com>
19675
19676 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19677 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19678
19679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19680 instructions.
19681
19682 2011-11-07 Andreas Schwab <schwab@redhat.com>
19683
19684 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19685 handler when locking.
19686
19687 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19688 Fix size of allocated buffer.
19689
19690 2011-11-04 Andreas Schwab <schwab@redhat.com>
19691
19692 [BZ #10103]
19693 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19694 declarations for long double functions.
19695 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19696
19697 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19698
19699 2011-11-03 Andreas Schwab <schwab@redhat.com>
19700
19701 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19702 installed.
19703
19704 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19705 is disabled.
19706
19707 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19708
19709 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19710
19711 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19712
19713 * include/alloca.h (stackinfo_alloca_round): Define.
19714 (extend_alloca): Use it.
19715 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19716 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19717 here.
19718
19719 * scripts/check-local-headers.sh: Ignore libaudit.h.
19720
19721 * nscd/Makefile (extra-objs): Make recursively expanded.
19722
19723 2011-11-01 Ulrich Drepper <drepper@gmail.com>
19724
19725 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19726 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19727
19728 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19729 * posix/tst-rfc3484-2.c: Likewise.
19730 * posix/tst-rfc3484-3.c: Likewise.
19731
19732 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19733 process_vm_writev.
19734 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19735 process_vm_writev.
19736 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19737 process_vm_writev from libc using GLIBC_2.15 version.
19738
19739 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19740
19741 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19742
19743 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19744 stack usage.
19745
19746 2011-10-31 Ulrich Drepper <drepper@gmail.com>
19747
19748 [BZ #13367]
19749 * nss/getent.c (initgroups_keys): Show error message in case no group
19750 names are given.
19751
19752 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19753 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19754 __bump_nl_timestamp.
19755 * nscd/connections (nscd_init): When host database is served open
19756 netlink socket and request notification about configuration changes.
19757 (main_loop_poll): Track netlink file descriptor and bump timestamp
19758 in case data becomes available.
19759 (main_loop_epoll): Likewise.
19760 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19761 (database_pers_head): Add extra_data fileds.
19762 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19763 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19764 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19765 Adjust caller.
19766 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19767 in6ai data, call __free_in6ai.
19768 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19769 Add -DHAVE_NETLINK.
19770 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19771 interface information. Reuse previous data if netlink timestamp
19772 is not changed.
19773 (__bump_nl_timestamp): New function.
19774 (__free_in6ai): New function.
19775
19776 2011-10-30 Ulrich Drepper <drepper@gmail.com>
19777
19778 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19779 close_not_cancel_no_status here.
19780 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19781
19782 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19783
19784 [BZ #13276]
19785 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19786 return value.
19787
19788 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
19789 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19790 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19791
19792 2011-07-03 Andreas Jaeger <aj@suse.de>
19793
19794 [BZ #10709]
19795 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19796 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19797 * math/libm-test.inc (sin_test): Add test case.
19798
19799 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19800
19801 [BZ #13337]
19802 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19803 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19804
19805 * elf/chroot_canon.c (chroot_canon): Cleanups.
19806
19807 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19808
19809 [BZ #13335]
19810 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19811 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19812
19813 * string/test-strchr.c: Make usable for strchrnul testing.
19814 * string/test-strchrnul.c: New file.
19815 * string/Makefile (strop-tests): Add strchrnul.
19816
19817 * po/it.po: Update from translation team.
19818 * po/es.po: Likewise.
19819
19820 2011-10-28 Ulrich Drepper <drepper@gmail.com>
19821
19822 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19823 the three constants needed as parameters. Drop the others.
19824 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19825 __m128i_strloadu_tolower.
19826 Create and initialize variable zero and use it in all the places
19827 where _mm_setzero_si128 was used.
19828
19829 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19830 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19831 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19832 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19833 anymore.
19834 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19835 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19836 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19837 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19838 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19839 __mpranred, __mptan.
19840 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19841 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19842 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19843 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19844 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19845 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19846 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19847 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19848 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19849
19850 2011-10-28 Andreas Schwab <schwab@redhat.com>
19851
19852 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19853 redefine if SHARED.
19854 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19855
19856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19857 wide char related routines to wcsmbs subdir.
19858
19859 2011-10-27 Andreas Schwab <schwab@redhat.com>
19860
19861 [BZ #13344]
19862 * misc/sys/cdefs.h (__THROWNL): Define.
19863 * posix/unistd.h: Use __THREADNL instead of __THREAD
19864 for memory synchronization functions.
19865
19866 2011-10-26 Roland McGrath <roland@hack.frob.com>
19867
19868 [BZ #13349]
19869 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19870 doesn't exist.
19871 * manual/stdio.texi (Obstack Streams): Node removed.
19872
19873 2011-10-26 Andreas Schwab <schwab@redhat.com>
19874
19875 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19876 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19877 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19878
19879 * math/math_private.h (math_force_eval): Allow non-addressable
19880 arguments.
19881 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19882
19883 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19884
19885 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19886 file is not needed.
19887
19888 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19889 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19890 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19891 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19892 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19893 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19894 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19895 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19896 Add AVX variants.
19897 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19898 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19899 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19900 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19901 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19902 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19903 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19904 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19905 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19906 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19907 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19908 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19909 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19910 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19911 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19912 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19913 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19914 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19915 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19916
19917 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19918 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19919
19920 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19921 place. Use VEX encoding when compiling for AVX.
19922
19923 2011-10-25 Andreas Schwab <schwab@redhat.com>
19924
19925 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19926 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19927
19928 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19929
19930 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19931
19932 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
19933 useless if() expression.
19934 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19935 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19936 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19937 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19938 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19939 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19940 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19941 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19942 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19943 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19944 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19945 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19946 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19947 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19948 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19949 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19950 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19951 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19952 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19953
19954 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19955
19956 2011-10-25 Andreas Schwab <schwab@redhat.com>
19957
19958 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19959 condition.
19960 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19961
19962 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19963
19964 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19965 .text section. Avoid duplicate constants.
19966 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19967 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19968 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19969 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19970 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19971 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19972 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19973 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19974 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19975 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19976 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19977 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19978 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19979 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19980 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19981 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19982 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19983 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19984 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19985 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19986 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19987 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19988 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19989 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19990 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19991 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19992 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19993 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19994 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19995 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19996 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19997 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19998 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19999 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20000 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20001 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20002 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20003 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20004 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20005 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20006 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20007 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20008 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20009 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20010 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20011
20012 2011-10-24 Ulrich Drepper <drepper@gmail.com>
20013
20014 * sysdeps/x86_64/dla.h: Move to ...
20015 * sysdeps/x86_64/fpu/dla.h: ...here.
20016 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20017 situations. Use __builtin_fma only for gcc 4.6 and up.
20018
20019 * config.make.in: Add have-mfma4 entry.
20020 * configure.in: Substitute libc_cv_cc_fma4.
20021 * math/Makefile (dbl-only-routines): Add sincostab.
20022 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20023 Use __sincostab not sincos.
20024 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20025 name is a macro.
20026 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20027 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20028 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20029 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
20030 using __copysign.
20031 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
20032 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
20033 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20034 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20035 and __inv.
20036 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20037 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20038 __copysign.
20039 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20040 define aliases when function name is a macro.
20041 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20042 sysdeps/ieee754/dbl-64/sincos.tbl.
20043 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20044 fma4-enabled routines.
20045 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20046 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20047 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20048 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20049 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20050 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20051 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20052 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20053 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20054 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20055 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20056 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20057 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20058 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20059 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20060 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20061 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20062 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20063 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20064 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20065 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20066 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20067 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20068 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20069 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20070 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20071 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20072 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20073 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20074 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20075
20076 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20077 rename.
20078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20079 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20081 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20083 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20084 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20085 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20086
20087 2011-10-24 Andreas Schwab <schwab@redhat.com>
20088
20089 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20090
20091 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20092
20093 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20094
20095 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20096 prediction.
20097 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20098
20099 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20100 Remove unused variable magic_bits.
20101 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20102
20103 * string/strnlen.c: Define and use STRNLEN macro.
20104 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20105 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20106 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20107 * wcsmbs/wcslen.c: Define and use WCSLEN.
20108 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20109 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20110 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20111 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20112 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20113 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20114 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20115
20116 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20117
20118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20119 strnlen-sse2-no-bsf.
20120 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20121 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20122 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20123 Add strnlen support.
20124 (USE_AS_STRNLEN): New macro.
20125 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20126 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20127 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20128 * sysdeps/x86_64/wcslen.S: New file.
20129
20130 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20131
20132 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20133 XMM-moves are used for copying on small sizes.
20134
20135 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20136
20137 * wcsmbs/Makefile (strop-tests): Add wcschr.
20138 * wcsmbs/test-wcschr.c: New file.
20139 * string/test-strchr.c: Update.
20140 Add wcschr support.
20141 (WIDE): New macro.
20142
20143 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20144
20145 * wcsmbs/Makefile (strop-tests): Add wcslen.
20146 * wcsmbs/test-wcslen.c: New file.
20147 * string/test-strlen.c: Update.
20148 Add wcslen support.
20149 (WIDE): New macro.
20150
20151 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20152
20153 * po/it.po: Update from translation team.
20154
20155 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20156
20157 * sysdeps/x86_64/wcscmp.S: Update.
20158 Fix wrong comparison semantics.
20159 wcscmp shall use signed comparison not unsigned.
20160 Don't use substraction to avoid overflow bug.
20161 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20162 * wcsmbc/wcscmp.c: Likewise.
20163 * string/test-strcmp.c: Likewise.
20164 Add new tests to check cases with negative values.
20165
20166 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20167
20168 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20169 * sysdeps/x86_64/dla.h: ...here. New file.
20170 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20171 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20172 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20175 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20176 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20177 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20178 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20179
20180 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20181
20182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20183 __ynl_finite aliases.
20184
20185 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20186
20187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20188
20189 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20190 define DLA_FMA.
20191 [DLA_FMA] (EMULV): Use DLA_FMA.
20192 [DLA_FMA] (MUL12): Use EMULV.
20193 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20194 that are not needed.
20195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20199 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20200 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20201 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20202
20203 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20204
20205 * math/s_nan.c: Undef __nan.
20206 * math/s_nanf.c: Undef __nanf.
20207 * math/s_nanl.c: Undef __nanl.
20208 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20209 "math_private.h".
20210
20211 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20212
20213 * math/s_catan.c: Add branch predictions.
20214 * math/s_catanf.c: Likewise.
20215 * math/s_catanh.c: Likewise.
20216 * math/s_catanhf.c: Likewise.
20217 * math/s_catanhl.c: Likewise.
20218 * math/s_catanl.c: Likewise.
20219 * math/s_cexp.c: Likewise.
20220 * math/s_cexpf.c: Likewise.
20221 * math/s_cexpl.c: Likewise.
20222 * math/s_clog.c: Likewise.
20223 * math/s_clog10.c: Likewise.
20224 * math/s_clog10f.c: Likewise.
20225 * math/s_clog10l.c: Likewise.
20226 * math/s_clogf.c: Likewise.
20227 * math/s_clogl.c: Likewise.
20228 * math/s_csqrt.c: Likewise.
20229 * math/s_csqrtf.c: Likewise.
20230 * math/s_csqrtl.c: Likewise.
20231 * math/s_ctanf.c: Likewise.
20232 * math/s_ctanh.c: Likewise.
20233 * math/s_ctanhf.c: Likewise.
20234 * math/s_ctanhl.c: Likewise.
20235 * math/s_ctanl.c: Likewise.
20236
20237 * math/math_private.h: Define __nan, __nanf, __nanl.
20238 * math/s_cacosh.c: Include <math_private.h>.
20239 * math/s_cacoshl.c: Likewise.
20240 * math/s_casinh.c: Likewise.
20241 * math/s_casinhf.c: Likewise.
20242 * math/s_casinhl.c: Likewise.
20243 * math/s_ccos.c: Rely entire on ccosh.
20244 * math/s_ccosf.c: Rely entire on ccoshf.
20245 * math/s_ccosl.c: Rely entirely on ccoshl.
20246 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20247 Remove tests for FE_INVALID.
20248 * math/s_ccoshf.c: Likewise.
20249 * math/s_ccoshl.c: Likewise.
20250 * math/s_csin.c: Likewise.
20251 * math/s_csinf.c: Likewise.
20252 * math/s_csinh.c Likewise.
20253 * math/s_csinhf.c: Likewise.
20254 * math/s_csinhl.c: Likewise.
20255 * math/s_csinl.c: Likewise.
20256 * math/s_ctan.c: Likewise.
20257 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20258 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20259 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20260
20261 2011-10-21 Ulrich Drepper <drepper@gmail.com>
20262
20263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20264 compilation problems.
20265
20266 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20267 __builtin_expect.
20268
20269 2011-10-20 Ulrich Drepper <drepper@gmail.com>
20270
20271 * sysdeps/i386/configure.in: Test for -mfma4 option.
20272 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20273 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20274 COMMON_CPUID_INDEX_80000001.
20275 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20276 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20277 use it if FMA3 is not supported.
20278 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20279
20280 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20281 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20282
20283 2011-10-20 Andreas Schwab <schwab@redhat.com>
20284
20285 [BZ #12892]
20286 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20287 it would create a cycle with a link time dependency.
20288
20289 2011-10-19 Ulrich Drepper <drepper@gmail.com>
20290
20291 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20292 instruction.
20293 * string/Makefile (strop-tests): Add rawmemchr.
20294 * string/test-rawmemchr.c: New file.
20295
20296 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20297 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20298 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20299 when compiling str{,n}casecmp and when AVX is available. Hook up
20300 new optimized code in initializers.
20301
20302 2011-10-19 Andreas Schwab <schwab@redhat.com>
20303
20304 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20305 __feraiseexcept instead of feraiseexcept.
20306
20307 2011-10-18 Ulrich Drepper <drepper@gmail.com>
20308
20309 * math/math_private.h: Define defaults for libc_fetestexcept and
20310 libc_feupdateenv.
20311 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20312 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20313 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20314 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20315 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20316 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20317 libc_fetestexcept and libc_feupdateenv.
20318
20319 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20320 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20321 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20322 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20323 libc_feholdexcept_setround.
20324
20325 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20326 Add s_nearbyint-c and s_nearbyintf-c.
20327 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20328 nearbyintf inlines.
20329 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20330 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20331 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20332 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20333
20334 * math/math_private.h: Define defaults for libc_fegetround,
20335 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20336 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20337 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20338 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20339 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20340 standard functions.
20341 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20342 Remove comments and hacks for old compiler versions.
20343 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20344 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20345 libc_feholdexceptl.
20346
20347 2011-10-18 Andreas Schwab <schwab@redhat.com>
20348
20349 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20350 (__feraiseexcept_renamed): Add __NTH.
20351 (feraiseexcept): Add __NTH. Rename local variables to fix
20352 namespace violations.
20353
20354 2011-10-17 Ulrich Drepper <drepper@gmail.com>
20355
20356 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20357
20358 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20359
20360 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20361 recently added interfaces.
20362 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20363
20364 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20365 about macro parameter expansion.
20366
20367 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20368 __NO_MATH_INLINES is defined. Cleanups.
20369
20370 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20371 and __floorf is target has SSE4.1.
20372 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20373 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20374 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20375 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20376
20377 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20378 name.
20379 (floorf): Likewise.
20380
20381 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20382
20383 2011-10-17 Andreas Schwab <schwab@redhat.com>
20384
20385 * misc/sys/cdefs.h: Fix last change.
20386
20387 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20388 database lookup.
20389
20390 2011-10-16 Ulrich Drepper <drepper@gmail.com>
20391
20392 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20393
20394 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20395 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20396 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20397 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20398 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20399 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20400 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20401 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20402 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20403 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20404 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20405 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20406 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20407 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20408 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20409 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20410 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20411 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20412 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20413 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20414 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20415 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20416
20417 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20418 ceil, ceilf, floor, floorf.
20419
20420 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20421 Perform IRELATIVE relocations last.
20422
20423 * elf/do-rel.h: Add another parameter nrelative, replacing the
20424 local variable with the same name. Change name of the function
20425 to end in Rel or Rela (uppercase).
20426 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20427 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20428 elf_dynamic_do_##reloc function.
20429
20430 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20431
20432 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20433 is sufficient, at least on modern CPUs.
20434
20435 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20436
20437 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20438 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20439
20440 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20441 __expl_finite.
20442 * math/bits/math-finite.h: Add entries for exp.
20443 * math/e_expl.c: Add __*_finite alias.
20444 * sysdeps/i386/fpu/e_exp.S: Likewise.
20445 * sysdeps/i386/fpu/e_expf.S: Likewise.
20446 * sysdeps/i386/fpu/e_expl.c: Likewise.
20447 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20448 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20449 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20450 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20451 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20452 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20453 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20454
20455 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20456 is sufficient, at least on modern CPUs.
20457
20458 * ctype/ctype-info.c (__ctype_init): Define.
20459 * include/ctype.h (__ctype_init): Declare.
20460 (__ctype_b_loc): The variable is always initialized.
20461 (__ctype_toupper_loc): Likewise.
20462 (__ctype_tolower_loc): Likewise.
20463 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20464 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20465
20466 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20467
20468 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20469
20470 * configure.in: Also look in $cxxmachine/include for C++ system
20471 headers.
20472
20473 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20474
20475 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20476 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20477 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20478 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20479 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20480 (USE_AS_WMEMCMP): New macro.
20481 Fixing indents.
20482 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20483 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20484 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20485 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20486 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20487 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20488 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20489 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20490 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20491 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20492 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20493 (USE_AS_WMEMCMP): New macro.
20494 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20495 * sysdeps/string/test-memcmp.c: Update.
20496 Fix simple_wmemcmp.
20497 Add new tests.
20498 * wcsmbs/wmemcmp.c: Update.
20499 (WMEMCMP): New macro.
20500 Fix overflow bug.
20501
20502 2011-10-12 Andreas Jaeger <aj@suse.de>
20503
20504 [BZ #13268]
20505 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20506
20507 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20508
20509 * libio/iofwide.c (do_length): Avoid warning.
20510
20511 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20512
20513 2011-10-14 Ulrich Drepper <drepper@gmail.com>
20514
20515 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20516
20517 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20518 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20519 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20520 * sysdeps/i386/i686/fpu/e_log.S: New file.
20521 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20522 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20523
20524 * ctype/ctype.h: Add support for inlined isXXX functions when
20525 compiling C++ code.
20526
20527 2011-10-14 Andreas Schwab <schwab@redhat.com>
20528
20529 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20530
20531 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20532
20533 2011-10-13 Roland McGrath <roland@hack.frob.com>
20534
20535 [BZ #13291]
20536 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20537
20538 2011-10-13 Andreas Schwab <schwab@redhat.com>
20539
20540 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20541 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20542 feraiseexcept.
20543
20544 * sysdeps/x86_64/memrchr.S: Check for zero size.
20545
20546 * string/stratcliff.c: Add memrchr tests.
20547
20548 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20549
20550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20551 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20552 rawmemchr-sse2 rawmemchr-sse2-bsf.
20553 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20554 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20555 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20556 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20557 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20558 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20559 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20560 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20561 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20562 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20563 * string/memrchr.c (MEMRCHR): New macro.
20564
20565 2011-10-12 Ulrich Drepper <drepper@gmail.com>
20566
20567 Add integration with gcc's -ffinite-math-only and optimize wrapper
20568 functions in libm.
20569 * Versions.def: Define GLIBC_2.15 version for libm.
20570 * math/Makefile (headers): Add bits/math-finite.h.
20571 * math/bits/math-finite.h: New file.
20572 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20573 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20574 * math/e_acoshl.c: Add __*_finite alias.
20575 * math/e_acosl.c: Likewise.
20576 * math/e_asinl.c: Likewise.
20577 * math/e_atan2l.c: Likewise.
20578 * math/e_atanhl.c: Likewise.
20579 * math/e_coshl.c: Likewise.
20580 * math/e_exp10.c: Likewise.
20581 * math/e_exp10f.c: Likewise.
20582 * math/e_exp10l.c: Likewise.
20583 * math/e_exp2l.c: Likewise.
20584 * math/e_fmodl.c: Likewise.
20585 * math/e_gammal_r.c: Likewise.
20586 * math/e_hypotl.c: Likewise.
20587 * math/e_j0l.c: Likewise.
20588 * math/e_j1l.c: Likewise.
20589 * math/e_jnl.c: Likewise.
20590 * math/e_lgammal_r.c: Likewise.
20591 * math/e_log10l.c: Likewise.
20592 * math/e_log2l.c: Likewise.
20593 * math/e_logl.c: Likewise.
20594 * math/e_powl.c: Likewise.
20595 * math/e_sinhl.c: Likewise.
20596 * math/e_sqrtl.c: Likewise.
20597 * math/e_scalb.c: Completely rewritten and optimized.
20598 * math/e_scalbf.c: Likewise.
20599 * math/e_scalbl.c: Likewise.
20600 * math/w_acos.c: Likewise.
20601 * math/w_acosf.c: Likewise.
20602 * math/w_acosl.c: Likewise.
20603 * math/w_acosh.c: Likewise.
20604 * math/w_acoshf.c: Likewise.
20605 * math/w_acoshl.c: Likewise.
20606 * math/w_asin.c: Likewise.
20607 * math/w_asinf.c: Likewise.
20608 * math/w_asinl.c: Likewise.
20609 * math/w_atan2.c: Likewise.
20610 * math/w_atan2f.c: Likewise.
20611 * math/w_atan2l.c: Likewise.
20612 * math/w_atanh.c: Likewise.
20613 * math/w_atanhf.c: Likewise.
20614 * math/w_atanhl.c: Likewise.
20615 * math/w_exp10.c: Likewise.
20616 * math/w_exp10f.c: Likewise.
20617 * math/w_exp10l.c: Likewise.
20618 * math/w_fmod.c: Likewise.
20619 * math/w_fmodf.c: Likewise.
20620 * math/w_fmodl.c: Likewise.
20621 * math/w_j0.c: Likewise.
20622 * math/w_j0f.c: Likewise.
20623 * math/w_j0l.c: Likewise.
20624 * math/w_j1.c: Likewise.
20625 * math/w_j1f.c: Likewise.
20626 * math/w_j1l.c: Likewise.
20627 * math/w_jn.c: Likewise.
20628 * math/w_jnf.c: Likewise.
20629 * math/w_log.c: Likewise.
20630 * math/w_logf.c: Likewise.
20631 * math/w_logl.c: Likewise.
20632 * math/w_log10.c: Likewise.
20633 * math/w_log10f.c: Likewise.
20634 * math/w_log10l.c: Likewise.
20635 * math/w_log2.c: Likewise.
20636 * math/w_log2f.c: Likewise.
20637 * math/w_log2l.c: Likewise.
20638 * math/w_pow.c: Likewise.
20639 * math/w_powf.c: Likewise.
20640 * math/w_powl.c: Likewise.
20641 * math/w_remainder.c: Likewise.
20642 * math/w_remainderf.c: Likewise.
20643 * math/w_remainderl.c: Likewise.
20644 * math/w_scalb.c: Likewise.
20645 * math/w_scalbf.c: Likewise.
20646 * math/w_scalbl.c: Likewise.
20647 * math/w_sqrt.c: Likewise.
20648 * math/w_sqrtf.c: Likewise.
20649 * math/w_sqrtl.c: Likewise.
20650 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20651 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20652 used.
20653 * math/math_private.h: Declare __kernel_standard_f.
20654 * math/w_cosh.c: Remove cruft and optimize a bit.
20655 * math/w_coshf.c: Likewise.
20656 * math/w_coshl.c: Likewise.
20657 * math/w_exp2.c: Likewise.
20658 * math/w_exp2f.c: Likewise.
20659 * math/w_exp2l.c: Likewise.
20660 * math/w_hypot.c: Likewise.
20661 * math/w_hypotf.c: Likewise.
20662 * math/w_hypotl.c: Likewise.
20663 * math/w_lgamma.c: Likewise.
20664 * math/w_lgamma_r.c: Likewise.
20665 * math/w_lgammaf.c: Likewise.
20666 * math/w_lgammaf_r.c: Likewise.
20667 * math/w_lgammal.c: Likewise.
20668 * math/w_lgammal_r.c: Likewise.
20669 * math/w_sinh.c: Likewise.
20670 * math/w_sinhf.c: Likewise.
20671 * math/w_sinhl.c: Likewise.
20672 * math/w_tgamma.c: Likewise.
20673 * math/w_tgammaf.c: Likewise.
20674 * math/w_tgammal.c: Likewise.
20675 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20676 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20677 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20678 Minor optimizations. Pretty printing. Remove cruft.
20679 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20680 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20681 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20682 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20683 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20684 * sysdeps/i386/fpu/e_asin.S: Likewise.
20685 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20686 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20687 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20688 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20689 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20690 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20691 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20692 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20693 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20694 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20695 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20696 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20697 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20698 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20699 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20700 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20701 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20702 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20703 * sysdeps/i386/fpu/e_log.S: Likewise.
20704 * sysdeps/i386/fpu/e_log10.S: Likewise.
20705 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20706 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20707 * sysdeps/i386/fpu/e_log2.S: Likewise.
20708 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20709 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20710 * sysdeps/i386/fpu/e_logf.S: Likewise.
20711 * sysdeps/i386/fpu/e_logl.S: Likewise.
20712 * sysdeps/i386/fpu/e_pow.S: Likewise.
20713 * sysdeps/i386/fpu/e_powf.S: Likewise.
20714 * sysdeps/i386/fpu/e_powl.S: Likewise.
20715 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20716 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20717 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20718 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20719 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20720 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20721 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20722 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20723 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20724 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20725 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20726 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20727 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20728 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20729 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20730 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20731 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20732 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20733 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20734 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20735 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20736 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20737 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20738 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20739 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20740 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20741 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20742 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20743 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20744 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20745 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20746 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20747 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20748 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20749 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20750 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20751 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20752 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20753 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20754 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20755 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20756 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20757 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20758 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20759 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20760 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20761 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20762 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20763 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20764 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20765 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20766 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20767 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20768 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20769 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20770 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20771 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20772 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20773 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20774 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20775 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20776 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20777 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20778 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20779 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20780 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20781 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20782 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20783 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20784 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20785 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20786 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20787 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20788 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20789 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20790 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20791 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20792 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20793 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20794 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20795 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20796 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20797 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20798 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20799 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20800 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20801 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20802 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20803 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20804 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20805 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20806 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20807 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20808 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20809 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20810 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20811 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20812 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20813 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20814 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20815 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20816 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20817 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20818 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20819 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20820 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20821 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20822 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20823 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20824 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20825 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20826 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20827 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20828 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20829 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20830 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20831 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20832 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20833 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20834 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20835 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20836 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20837 (__isnanf): Likewise.
20838 (__isinf_ns): Likewise.
20839 (__isinf_nsf): Likewise.
20840 (__finite): Likewise.
20841 (__finitef): Likewise.
20842 (__ieee754_sqrt): Define as macro.
20843 (__ieee754_sqrtf): Define as macro.
20844 (__ieee754_sqrtl): Define as macro.
20845 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20846 inlined copy.
20847 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20848 __FINITE_MATH_ONLY__ consistent.
20849 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20850
20851 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20852
20853 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20854 of rawmemchr.
20855
20856 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20857
20858 2011-10-09 Ulrich Drepper <drepper@gmail.com>
20859
20860 * po/ja.po: Update from translation team.
20861
20862 2011-10-08 Roland McGrath <roland@hack.frob.com>
20863
20864 * locale/programs/locarchive.c (prepare_address_space): New function.
20865 (create_archive, enlarge_archive, open_archive): Use it.
20866
20867 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20868 inside [SHARED], where it is used.
20869
20870 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20871
20872 * nss/getent.c (netgroup_keys): Remove unused variable.
20873 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20874
20875 2011-10-08 Ulrich Drepper <drepper@gmail.com>
20876
20877 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20878 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20879 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20880 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20881 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20882 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20883 * math/Makefile (libm-calls): Add s_isinf_ns.
20884 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20885 * math/multc3.c: Likewise.
20886 * math/s_casin.c: Likewise.
20887 * math/s_casinf.c: Likewise.
20888 * math/s_casinl.c: Likewise.
20889 * math/s_ccos.c: Likewise.
20890 * math/s_ccosf.c: Likewise.
20891 * math/s_ccosl.c: Likewise.
20892 * math/s_ctan.c: Likewise.
20893 * math/s_ctanf.c: Likewise.
20894 * math/s_ctanh.c: Likewise.
20895 * math/s_ctanhf.c: Likewise.
20896 * math/s_ctanhl.c: Likewise.
20897 * math/s_ctanl.c: Likewise.
20898 * math/w_fmod.c: Likewise.
20899 * math/w_fmodf.c: Likewise.
20900 * math/w_fmodl.c: Likewise.
20901 * math/w_remainder.c: Likewise.
20902 * math/w_remainderf.c: Likewise.
20903 * math/w_remainderl.c: Likewise.
20904 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20905 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20906 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20907 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20908 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20909 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20910 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20911 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20912
20913 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20914 of the number.
20915 * stdio-common/printf_fphex.c: Likewise.
20916 * stdio-common/printf_size.c: Likewise.
20917
20918 * math/e_exp10.c: Include math_private.h using <...> not "...".
20919 * math/e_exp10f.c: Likewise.
20920 * math/e_exp10l.c: Likewise.
20921 * math/e_exp2l.c: Likewise.
20922 * math/e_j0l.c: Likewise.
20923 * math/e_j1l.c: Likewise.
20924 * math/e_jnl.c: Likewise.
20925 * math/e_lgammal_r.c: Likewise.
20926 * math/e_rem_pio2l.c: Likewise.
20927 * math/e_scalb.c: Likewise.
20928 * math/e_scalbf.c: Likewise.
20929 * math/e_scalbl.c: Likewise.
20930 * math/k_cosl.c: Likewise.
20931 * math/k_sinl.c: Likewise.
20932 * math/k_tanl.c: Likewise.
20933 * math/s_cacoshf.c: Likewise.
20934 * math/s_catan.c: Likewise.
20935 * math/s_catanf.c: Likewise.
20936 * math/s_catanh.c: Likewise.
20937 * math/s_catanhf.c: Likewise.
20938 * math/s_catanhl.c: Likewise.
20939 * math/s_catanl.c: Likewise.
20940 * math/s_ccosh.c: Likewise.
20941 * math/s_ccoshf.c: Likewise.
20942 * math/s_ccoshl.c: Likewise.
20943 * math/s_cexp.c: Likewise.
20944 * math/s_cexpf.c: Likewise.
20945 * math/s_cexpl.c: Likewise.
20946 * math/s_clog.c: Likewise.
20947 * math/s_clog10.c: Likewise.
20948 * math/s_clog10f.c: Likewise.
20949 * math/s_clog10l.c: Likewise.
20950 * math/s_clogf.c: Likewise.
20951 * math/s_clogl.c: Likewise.
20952 * math/s_csin.c: Likewise.
20953 * math/s_csinf.c: Likewise.
20954 * math/s_csinh.c: Likewise.
20955 * math/s_csinhf.c: Likewise.
20956 * math/s_csinhl.c: Likewise.
20957 * math/s_csinl.c: Likewise.
20958 * math/s_csqrt.c: Likewise.
20959 * math/s_csqrtf.c: Likewise.
20960 * math/s_csqrtl.c: Likewise.
20961 * math/s_ctan.c: Likewise.
20962 * math/s_ctanf.c: Likewise.
20963 * math/s_ctanh.c: Likewise.
20964 * math/s_ctanhf.c: Likewise.
20965 * math/s_ctanhl.c: Likewise.
20966 * math/s_ctanl.c: Likewise.
20967 * math/s_ldexp.c: Likewise.
20968 * math/s_ldexpf.c: Likewise.
20969 * math/s_ldexpl.c: Likewise.
20970 * math/s_significand.c: Likewise.
20971 * math/s_significandf.c: Likewise.
20972 * math/s_significandl.c: Likewise.
20973 * math/w_acos.c: Likewise.
20974 * math/w_acosf.c: Likewise.
20975 * math/w_acosh.c: Likewise.
20976 * math/w_acoshf.c: Likewise.
20977 * math/w_acoshl.c: Likewise.
20978 * math/w_acosl.c: Likewise.
20979 * math/w_asin.c: Likewise.
20980 * math/w_asinf.c: Likewise.
20981 * math/w_asinl.c: Likewise.
20982 * math/w_atan2.c: Likewise.
20983 * math/w_atan2f.c: Likewise.
20984 * math/w_atan2l.c: Likewise.
20985 * math/w_atanh.c: Likewise.
20986 * math/w_atanhf.c: Likewise.
20987 * math/w_atanhl.c: Likewise.
20988 * math/w_cosh.c: Likewise.
20989 * math/w_coshf.c: Likewise.
20990 * math/w_coshl.c: Likewise.
20991 * math/w_dremf.c: Likewise.
20992 * math/w_exp10.c: Likewise.
20993 * math/w_exp10f.c: Likewise.
20994 * math/w_exp10l.c: Likewise.
20995 * math/w_exp2.c: Likewise.
20996 * math/w_exp2f.c: Likewise.
20997 * math/w_fmod.c: Likewise.
20998 * math/w_fmodf.c: Likewise.
20999 * math/w_fmodl.c: Likewise.
21000 * math/w_hypot.c: Likewise.
21001 * math/w_hypotf.c: Likewise.
21002 * math/w_hypotl.c: Likewise.
21003 * math/w_j0.c: Likewise.
21004 * math/w_j0f.c: Likewise.
21005 * math/w_j0l.c: Likewise.
21006 * math/w_j1.c: Likewise.
21007 * math/w_j1f.c: Likewise.
21008 * math/w_j1l.c: Likewise.
21009 * math/w_jn.c: Likewise.
21010 * math/w_jnf.c: Likewise.
21011 * math/w_jnl.c: Likewise.
21012 * math/w_lgamma.c: Likewise.
21013 * math/w_lgamma_r.c: Likewise.
21014 * math/w_lgammaf.c: Likewise.
21015 * math/w_lgammaf_r.c: Likewise.
21016 * math/w_lgammal.c: Likewise.
21017 * math/w_lgammal_r.c: Likewise.
21018 * math/w_log.c: Likewise.
21019 * math/w_log10.c: Likewise.
21020 * math/w_log10f.c: Likewise.
21021 * math/w_log10l.c: Likewise.
21022 * math/w_log2.c: Likewise.
21023 * math/w_log2f.c: Likewise.
21024 * math/w_log2l.c: Likewise.
21025 * math/w_logf.c: Likewise.
21026 * math/w_logl.c: Likewise.
21027 * math/w_pow.c: Likewise.
21028 * math/w_powf.c: Likewise.
21029 * math/w_powl.c: Likewise.
21030 * math/w_remainder.c: Likewise.
21031 * math/w_remainderf.c: Likewise.
21032 * math/w_remainderl.c: Likewise.
21033 * math/w_scalb.c: Likewise.
21034 * math/w_scalbf.c: Likewise.
21035 * math/w_scalbl.c: Likewise.
21036 * math/w_sinh.c: Likewise.
21037 * math/w_sinhf.c: Likewise.
21038 * math/w_sinhl.c: Likewise.
21039 * math/w_sqrt.c: Likewise.
21040 * math/w_sqrtf.c: Likewise.
21041 * math/w_sqrtl.c: Likewise.
21042 * math/w_tgamma.c: Likewise.
21043 * math/w_tgammaf.c: Likewise.
21044 * math/w_tgammal.c: Likewise.
21045
21046 * po/ja.po: Update from translation team.
21047
21048 2011-09-29 Andreas Jaeger <aj@suse.de>
21049
21050 [BZ #13179]
21051 * sunrpc/netname.c (netname2host): Fix logic.
21052
21053 [BZ #6779]
21054 [BZ #6783]
21055 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21056 correctly.
21057 * math/w_remainder.c (__remainder): Likewise.
21058 * math/w_remainderf.c (__remainderf): Likewise.
21059 * math/libm-test.inc (remainder_test): Add test cases.
21060
21061 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21062
21063 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21064 sdiv_qrnnd.
21065
21066 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21067
21068 * string/test-memcmp.c: Avoid unncessary #defines.
21069 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21070
21071 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21072
21073 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21074 Use new sse2 version for core i3 - i7 as it's faster
21075 than sse42 version.
21076 (bit_Prefer_PMINUB_for_stringop): New.
21077 * sysdeps/x86_64/rawmemchr.S: Update.
21078 Replace with faster SSE2 version.
21079 * sysdeps/x86_64/memrchr.S: New file.
21080 * sysdeps/x86_64/memchr.S: Update.
21081 Replace with faster SSE2 version.
21082
21083 2011-09-12 Marek Polacek <mpolacek@redhat.com>
21084
21085 * elf/dl-load.c (lose): Add cast to avoid warning.
21086
21087 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21088
21089 * po/ca.po: Update from translation team.
21090
21091 * inet/getnetgrent_r.c: Hook up nscd.
21092 * nscd/Makefile (routines): Add nscd_netgroup.
21093 (nscd-modules): Add netgroupcache.
21094 (CFLAGS-netgroupcache.c): Define.
21095 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21096 (cache_search): Add const to second parameter.
21097 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21098 INNETGR.
21099 (dbs): Add netgrdb entry.
21100 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21101 (verify_persistent_db): Handle netgrdb.
21102 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21103 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21104 GETFDNETGR.
21105 (netgroup_response_header): Define.
21106 (innetgroup_response_header): Define.
21107 (datahead): Add netgroup_response_header and innetgroup_response_header
21108 elements.
21109 * nscd/nscd.conf: Add entries for netgroup cache.
21110 * nscd/nscd.h (dbtype): Add netgrdb.
21111 (_PATH_NSCD_NETGROUP_DB): Define.
21112 (netgroup_iov_disabled): Declare.
21113 (xmalloc, xcalloc, xrealloc): Move declarations here.
21114 (cache_search): Adjust prototype.
21115 Add netgroup-related prototypes.
21116 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21117 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21118 (__nscd_innetgr): Declare.
21119 * nscd/selinux.c (perms): Use access_vector_t as element type and
21120 add netgroup-related initializers.
21121 * nscd/netgroupcache.c: New file.
21122 * nscd/nscd_netgroup.c: New file.
21123 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21124 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21125 For four parameters use innetgr.
21126 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21127 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21128 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21129 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21130
21131 * nscd/connections.c (register_traced_file): Don't register file
21132 for disabled databases.
21133
21134 2011-10-06 Ulrich Drepper <drepper@gmail.com>
21135
21136 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21137
21138 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21139 from tree and freeing node.
21140
21141 2011-09-25 Jiri Olsa <jolsa@redhat.com>
21142
21143 * nss/nsswitch.c (__nss_database_lookup): Handle
21144 nss_parse_service_list out of memory case.
21145
21146 2011-09-15 Jiri Olsa <jolsa@redhat.com>
21147
21148 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21149 out of memory case.
21150
21151 2011-10-04 Andreas Schwab <schwab@redhat.com>
21152
21153 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21154 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21155 pass it down.
21156 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21157 elf_machine_rela, elf_machine_lazy_rel.
21158 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21159 (ELF_DYNAMIC_DO_REL): Likewise.
21160 (ELF_DYNAMIC_DO_RELA): Likewise.
21161 (ELF_DYNAMIC_RELOCATE): Likewise.
21162 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21163 to ELF_DYNAMIC_DO_REL.
21164 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21165 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21166 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21167 elf_machine_rela.
21168 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21169 skip_ifunc, don't call ifunc function if non-zero.
21170 (elf_machine_rela): Likewise.
21171 (elf_machine_lazy_rel): Likewise.
21172 (elf_machine_lazy_rela): Likewise.
21173 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21174 (elf_machine_lazy_rel): Likewise.
21175 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21176 Likewise.
21177 (elf_machine_lazy_rel): Likewise.
21178 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21179 Likewise.
21180 (elf_machine_lazy_rel): Likewise.
21181 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21182 (elf_machine_lazy_rel): Likewise.
21183 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21184 (elf_machine_lazy_rel): Likewise.
21185 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21186 (elf_machine_lazy_rel): Likewise.
21187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21188 (elf_machine_lazy_rel): Likewise.
21189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21190 (elf_machine_lazy_rel): Likewise.
21191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21192 (elf_machine_lazy_rel): Likewise.
21193
21194 2011-09-28 Ulrich Drepper <drepper@gmail.com>
21195
21196 * nss/nss_files/files-init.c (_nss_files_init): Use static
21197 initialization for all the *_traced_file variables.
21198
21199 2011-09-28 Andreas Schwab <schwab@redhat.com>
21200
21201 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21202
21203 2011-09-27 Roland McGrath <roland@hack.frob.com>
21204
21205 [BZ #13226]
21206 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21207
21208 2011-09-27 Andreas Schwab <schwab@redhat.com>
21209
21210 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21211 Reread the line before reparsing it.
21212
21213 2011-09-26 Andreas Schwab <schwab@redhat.com>
21214
21215 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21216
21217 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21218 Maxim Kuvyrkov <maxim@codesourcery.com>
21219 Joseph Myers <joseph@codesourcery.com>
21220
21221 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21222 if needed for __stack_chk_guard.
21223
21224 2011-09-19 Roland McGrath <roland@hack.frob.com>
21225
21226 * sysdeps/posix/spawni.c (script_execute): Always define it.
21227 It will be optimized away if unused.
21228 (maybe_script_execute): New function.
21229 (__spawni): Call it.
21230
21231 * Makerules: Don't include tls.make.
21232 (config-tls): Always set to thread.
21233 * tls.make.c: File removed.
21234
21235 2011-09-19 Mike Frysinger <vapier@gentoo.org>
21236
21237 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21238 * config.make.in (CPPFLAGS-config): New substituted variable.
21239
21240 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21241
21242 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21243
21244 [BZ #13192]
21245 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21246 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21247
21248 2011-09-15 Roland McGrath <roland@hack.frob.com>
21249
21250 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21251 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21252 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21253 (CALL_FAIL): Likewise.
21254 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21255 (CALL_FAIL): Macro removed.
21256 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21257
21258 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21259
21260 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21261 for __FINITE_MATH_ONLY__ == 1.
21262
21263 2011-09-15 Andreas Schwab <schwab@redhat.com>
21264
21265 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21266 __ieee754_sqrt instead of sqrt.
21267 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21268 __ieee754_sqrtf instead of sqrtf.
21269 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21270 __floorf instead of floorf.
21271 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21272 __floorf, __truncf instead of floorf, truncf.
21273
21274 2011-09-14 Ulrich Drepper <drepper@gmail.com>
21275
21276 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21277
21278 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21279 __extern_always_inline.
21280 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21281 32-bit.
21282
21283 2011-09-14 Andreas Schwab <schwab@redhat.com>
21284
21285 * elf/rtld.c (dl_main): Also relocate in dependency order when
21286 doing symbol dependency testing.
21287
21288 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21289
21290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21291 Always define `refsym'.
21292
21293 2011-09-13 Andreas Schwab <schwab@redhat.com>
21294
21295 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21296 (__FD_ELT): Renamed from __FDELT.
21297 * misc/bits/select2.h (__FD_ELT): Likewise.
21298 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21299 __FD_MASK instead of __FDELT, __FDMASK.
21300 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21301 Likewise.
21302 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21303 Likewise.
21304
21305 * elf/Makefile (gen-ldd): Fix pattern.
21306
21307 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21308 (init_tls): Likewise.
21309
21310 2011-09-12 Ulrich Drepper <drepper@gmail.com>
21311
21312 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21313
21314 2011-09-12 Andreas Schwab <schwab@redhat.com>
21315
21316 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21317 `struct cmsghdr *' instead of `void *'.
21318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21319 Likewise.
21320
21321 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21322
21323 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21324 if non-absolute.
21325 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21326 ldd_rewrite_script.
21327
21328 2011-09-11 Ulrich Drepper <drepper@gmail.com>
21329
21330 * configure.in: Remove --with-tls option.
21331 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21332 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21333 out in case it is missing.
21334 * sysdeps/ia64/elf/configure.in: Likewise.
21335 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21336 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21337 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21338 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21339 * sysdeps/sh/elf/configure.in: Likewise.
21340 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21341 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21342 * sysdeps/x86_64/elf/configure.in: Likewise.
21343 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21344 * sysdeps/mach/hurd/tls.h: Likewise.
21345
21346 [BZ #13067]
21347 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21348
21349 [BZ #13090]
21350 * configure.in: Fix use of AC_INIT.
21351
21352 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21353
21354 2011-09-10 Ulrich Drepper <drepper@gmail.com>
21355
21356 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21357 __set_errno.
21358 * malloc/hooks.c: Likewise.
21359
21360 [BZ #11929]
21361 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21362 variables statically.
21363 (narenas): Initialize.
21364 (list_lock): Initialize.
21365 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21366 initializtion of main_arena and list_lock. Small cleanups.
21367 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21368 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21369 Add initializers to main_arena and mp_.
21370 (malloc_state): Remove pagesize member. Change all users to use
21371 GLRO(dl_pagesize).
21372
21373 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21374 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21375 is always initialized.
21376
21377 * malloc/malloc.c: Removed unused configurations and dead code.
21378 * malloc/arena.c: Likewise.
21379 * malloc/hooks.c: Likewise.
21380 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21381
21382 * include/tls.h: Removed. USE___THREAD must always be defined.
21383 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21384 * elf/dl-libc.c: Likewise.
21385 * elf/dl-tsd.c: Likewise.
21386 * include/errno.h: Likewise.
21387 * include/netdb.h: Likewise.
21388 * include/resolv.h: Likewise.
21389 * inet/herrno-loc.c: Likewise.
21390 * inet/herrno.c: Likewise.
21391 * malloc/arena.c: Likewise.
21392 * malloc/hooks.c: Likewise.
21393 * malloc/malloc.c: Likewise.
21394 * resolv/res-state.c: Likewise.
21395 * resolv/res_libc.c: Likewise.
21396 * sysdeps/i386/dl-machine.h: Likewise.
21397 * sysdeps/ia64/dl-machine.h: Likewise.
21398 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21399 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21400 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21401 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21402 * sysdeps/sh/dl-machine.h: Likewise.
21403 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21404 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21405 * sysdeps/unix/i386/sysdep.S: Likewise.
21406 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21407 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21408 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21409 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21410 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21411 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21412 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21414 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21415 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21416 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21417 * sysdeps/x86_64/dl-machine.h: Likewise.
21418 * tls.make.c: Likewise.
21419
21420 * configure.in: Remove --with-__thread option. Make tests for
21421 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21422 tls_model attribute fail if no support is available. Remove
21423 USE_IN_LIBIO.
21424 * Makeconfig: Adjust for dropped configure option. All features are
21425 now mandatory.
21426 * Makerules: Likewise.
21427 * Versions.def: Likewise.
21428 * argp/argp-fmtstream.c: Likewise.
21429 * argp/argp-fmtstream.h: Likewise.
21430 * argp/argp-help.c: Likewise.
21431 * assert/assert.c: Likewise.
21432 * config.h.in: Likewise.
21433 * config.make.in: Likewise.
21434 * configure: Likewise.
21435 * configure.in: Likewise.
21436 * csu/Versions: Likewise.
21437 * csu/init.c: Likewise.
21438 * elf/tst-audit2.c: Likewise.
21439 * elf/tst-tls10.c: Likewise.
21440 * elf/tst-tls10.h: Likewise.
21441 * elf/tst-tls11.c: Likewise.
21442 * elf/tst-tls12.c: Likewise.
21443 * elf/tst-tls14.c: Likewise.
21444 * elf/tst-tlsmod11.c: Likewise.
21445 * elf/tst-tlsmod12.c: Likewise.
21446 * elf/tst-tlsmod13.c: Likewise.
21447 * elf/tst-tlsmod13a.c: Likewise.
21448 * elf/tst-tlsmod14a.c: Likewise.
21449 * elf/tst-tlsmod15b.c: Likewise.
21450 * elf/tst-tlsmod16a.c: Likewise.
21451 * elf/tst-tlsmod16b.c: Likewise.
21452 * elf/tst-tlsmod7.c: Likewise.
21453 * elf/tst-tlsmod8.c: Likewise.
21454 * elf/tst-tlsmod9.c: Likewise.
21455 * gmon/gmon.c: Likewise.
21456 * grp/fgetgrent_r.c: Likewise.
21457 * grp/putgrent.c: Likewise.
21458 * hurd/fopenport.c: Likewise.
21459 * include/libc-symbols.h: Likewise.
21460 * include/tls.h: Likewise.
21461 * intl/gettextP.h: Likewise.
21462 * intl/loadinfo.h: Likewise.
21463 * locale/global-locale.c: Likewise.
21464 * locale/localeinfo.h: Likewise.
21465 * mach/devstream.c: Likewise.
21466 * malloc/arena.c: Likewise.
21467 * malloc/set-freeres.c: Likewise.
21468 * misc/err.c: Likewise.
21469 * misc/getttyent.c: Likewise.
21470 * misc/mntent_r.c: Likewise.
21471 * posix/getopt.c: Likewise.
21472 * posix/wordexp.c: Likewise.
21473 * pwd/fgetpwent_r.c: Likewise.
21474 * resolv/Versions: Likewise.
21475 * resolv/res_hconf.c: Likewise.
21476 * shadow/fgetspent_r.c: Likewise.
21477 * shadow/putspent.c: Likewise.
21478 * stdio-common/printf_fphex.c: Likewise.
21479 * stdio-common/tmpfile.c: Likewise.
21480 * stdlib/abort.c: Likewise.
21481 * stdlib/fmtmsg.c: Likewise.
21482 * sunrpc/auth_unix.c: Likewise.
21483 * sunrpc/clnt_perr.c: Likewise.
21484 * sunrpc/clnt_tcp.c: Likewise.
21485 * sunrpc/clnt_udp.c: Likewise.
21486 * sunrpc/clnt_unix.c: Likewise.
21487 * sunrpc/openchild.c: Likewise.
21488 * sunrpc/svc_simple.c: Likewise.
21489 * sunrpc/svc_tcp.c: Likewise.
21490 * sunrpc/svc_udp.c: Likewise.
21491 * sunrpc/svc_unix.c: Likewise.
21492 * sunrpc/xdr.c: Likewise.
21493 * sunrpc/xdr_array.c: Likewise.
21494 * sunrpc/xdr_rec.c: Likewise.
21495 * sunrpc/xdr_ref.c: Likewise.
21496 * sunrpc/xdr_stdio.c: Likewise.
21497
21498 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21499
21500 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21501
21502 2011-07-03 Andreas Jaeger <aj@suse.de>
21503
21504 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21505 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21506 regenerate with gen-libm-tests.pl.
21507
21508 2010-05-12 Petr Baudis <pasky@suse.cz>
21509
21510 [BZ #11589]
21511 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21512 around j0() zero points by switching to j1().
21513 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21514 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21515 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21516 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21517
21518 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21519
21520 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21521 instead of 0.
21522 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21523 instead of 0.
21524 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21525 Patch in part by Pavel Roskin <proski@gnu.org>.
21526
21527 [BZ #13138]
21528 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21529 realloc.
21530 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21531 Free memory block if necessary.
21532
21533 [BZ #12847]
21534 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21535 be NULL. Don't lock in this case.
21536
21537 2011-09-09 Roland McGrath <roland@hack.frob.com>
21538
21539 * elf/elf.h (ELFOSABI_GNU): New macro.
21540 (ELFOSABI_LINUX): Define to that.
21541
21542 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21543
21544 * string/strncat.c (strncat): Undef the symbol in case it has been
21545 defined in bits/string.h.
21546
21547 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21548
21549 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21550
21551 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21552 link map.
21553
21554 2011-08-17 Andreas Jaeger <aj@suse.de>
21555
21556 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21557
21558 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21559 Ian Lance Taylor <iant@google.com>
21560
21561 * math/libm-test.inc (lround_test): New testcase.
21562 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21563
21564 2011-09-08 Ulrich Drepper <drepper@gmail.com>
21565
21566 * Makefile: Remove support for automatic cvs check-ins.
21567 * Makerules: Likewise.
21568 * config.make.in: Likewise.
21569 * configure.in: Likewise.
21570 * intl/Makefile: Likewise.
21571 * locale/Makefile: Likewise.
21572 * po/Makefile: Likewise.
21573 * posix/Makefile: Likewise.
21574 * sysdeps/gnu/Makefile: Likewise.
21575 * sysdeps/mach/hurd/Makefile: Likewise.
21576 * sysdeps/sparc/sparc32/Makefile: Likewise.
21577
21578 [BZ #13118]
21579 * posix/Makefile (bug-regex32-ENV): Define.
21580 Patch by John Stanley <jpsinthemix@verizon.net>.
21581
21582 * misc/Makefile (headers): Add bits/select2.h.
21583 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21584 * misc/bits/select2.h: New file.
21585 * include/bits/select2.h: New file.
21586 * debug/Makefile (routines): Add fdelt_chk.
21587 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21588 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21589 FD_ISSET.
21590 * debug/fdelt_chk.c: New file.
21591
21592 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21593 * wcsmbs/test-wmemcmp.c: Likewise.
21594 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
21595 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
21596
21597 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21598
21599 * string/Makefile (strop-tests): Add memcmp.
21600 * string/test-wmemcmp.c: New file.
21601 * string/test-memcmp.c: Add wmemcmp support.
21602
21603 2011-09-08 Roland McGrath <roland@hack.frob.com>
21604
21605 [BZ #13153]
21606 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21607 2011-07-19 change.
21608
21609 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21610 garbage value in a __mach_port_mod_refs call in the cases of the
21611 task-self and thread-self ports.
21612
21613 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21614
21615 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21616
21617 2011-09-08 Andreas Schwab <schwab@redhat.com>
21618
21619 * elf/dl-load.c (lose): Check for non-null L.
21620
21621 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21622
21623 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21624
21625 * elf/dl-libc.c (dlerror_run): Pass back error code from
21626 dl_catch_error.
21627
21628 [BZ #13123]
21629 * elf/dl-load.c (lose): Free l_origin if it is valid.
21630
21631 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21632 names.
21633 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21634 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21635 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21636 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21637 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21638 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21639
21640 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21641
21642 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21643 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21644 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21645 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21646 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21647 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21648 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21649 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21650 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21651 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21652
21653 2011-08-15 Alan Modra <amodra@gmail.com>
21654
21655 [BZ #13092]
21656 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21657 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21658 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21659 ppc_mcount to static-only-routines.
21660 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21661 __mcount_internal.
21662 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21663 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21664
21665 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21666
21667 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21668 for finite and infinity parameters.
21669
21670 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21671
21672 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21673 and add nop instructions for throughput optimization.
21674 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21675
21676 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21677
21678 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21679 aligned copy for power7 with vector-scalar instructions.
21680 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21681
21682 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21683
21684 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21685 AVX check.
21686
21687 2011-09-07 Andreas Schwab <schwab@redhat.com>
21688
21689 [BZ #13144]
21690 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21691 last change.
21692
21693 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21694
21695 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21696 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21697 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21698 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21699 clock_gettime.
21700
21701 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21702
21703 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21704 Forgot to demangle the pointer.
21705
21706 * sysdeps/i386/sysdep.h: Define atom_text_section.
21707 * sysdeps/x86_64/sysdep.h: Likewise.
21708 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21709 section with atom_text_section.
21710 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21711 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21712 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21713 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21714 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21715
21716 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21717 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21718 already be defined. Change to take two parameters and don't assign
21719 result to variable. Adjust all users.
21720 Define INTERNAL_GETTIME if not already defined.
21721 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21722 call.
21723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21724 HAVE_CLOCK_GETTIME_VSYSCALL.
21725 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21726
21727 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21728 gettimeofday vsyscall, just use time.
21729
21730 2011-09-06 Andreas Schwab <schwab@redhat.com>
21731
21732 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21733 <errno.h>.
21734
21735 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21736
21737 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21738 syscall on x86-64.
21739 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21740 syscall.
21741 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21742 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21743 syscall if possible.
21744
21745 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21746
21747 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21748 e_ident. Don't pass to find_mapsXX.
21749 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21750
21751 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21752
21753 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21754 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21755 * sysdeps/x86_64/multiarch/strchr.S: Update.
21756 Check bit_slow_BSF bit.
21757 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21758 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21759 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21760
21761 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21762
21763 [BZ #13134]
21764 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21765 before glibc 2.15.
21766 (tryshell): Define.
21767 (__spawni): Change last parameter to be flag. Test
21768 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21769 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21770 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21771 * posix/spawni.c: Likewise.
21772 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21773 * posix/spawnp.c: Likewise. Change normal version to use
21774 SPAWN_XFLAGS_USE_PATH.
21775 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21776 SPAWN_XFLAGS_TRY_SHELL.
21777
21778 [BZ #13150]
21779 * posix/glob.h: Remove gcc 1.x support.
21780
21781 [BZ #13068]
21782 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21783
21784 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21785
21786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21787 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21788 strrchr-sse2-bsf
21789 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21790 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21791 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21792 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21793 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21794 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21795
21796 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21797
21798 * sysdeps/x86_64/wcscmp.S: New file.
21799
21800 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21801 wcscmp-c wcscmp-sse2
21802 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21803 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21804 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21805 * wcsmbs/wcscmp.c: Allow renaming.
21806
21807 2011-09-05 David S. Miller <davem@davemloft.net>
21808
21809 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21810 stack slot, rather than the struct return pointer slot.
21811 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21812 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21814 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21815
21816 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21817
21818 * po/ja.po: Update from translation team.
21819
21820 [BZ #13144]
21821 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21822 kernel in 64-bit binaries.
21823
21824 2011-09-01 David S. Miller <davem@davemloft.net>
21825
21826 * elf/elf.h (HWCAP_SPARC_*): Move to..
21827 * sysdeps/sparc/sysdep.h: this new file and add new values.
21828 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21829 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21830 _DL_HWCAP_COUNT to 24.
21831 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21832 entries.
21833 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21834 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21835 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21836 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21837 instead of magic constants.
21838 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21839
21840 2011-08-31 David S. Miller <davem@davemloft.net>
21841
21842 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21844 Reimplement to do errno handling inline.
21845 (SYSCALL_ERROR_HANDLER): New macro.
21846 (__SYSCALL_STRING): Do not do errno handling in asm.
21847 (__CLONE_SYSCALL_STRING): Delete.
21848 (__INTERNAL_SYSCALL_STRING): Delete.
21849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21850 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21851 (PSEUDO): Reimplement to do errno handling inline.
21852 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21853 (SYSCALL_ERROR_HANDLER): New macro.
21854 (__SYSCALL_STRING): Do not do errno handling in asm.
21855 (__CLONE_SYSCALL_STRING): Delete.
21856 (__INTERNAL_SYSCALL_STRING): Delete.
21857 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21858 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21859 i386.
21860 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21861 (inline_syscall*): Add 'err' argument.
21862 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21863 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21864 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21865 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21866
21867 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21868 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21869
21870 2011-08-30 Andreas Schwab <schwab@redhat.com>
21871
21872 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21873
21874 2011-08-29 Jiri Olsa <jolsa@redhat.com>
21875
21876 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21877 directive.
21878
21879 2011-08-24 David S. Miller <davem@davemloft.net>
21880
21881 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21882
21883 2011-08-24 Andreas Schwab <schwab@redhat.com>
21884
21885 * elf/Makefile: Add rules to build and run unload8 test.
21886 * elf/unload8.c: New file.
21887 * elf/unload8mod1.c: New file.
21888 * elf/unload8mod1x.c: New file.
21889 * elf/unload8mod2.c: New file.
21890 * elf/unload8mod3.c: New file.
21891
21892 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21893 it wasn't used.
21894
21895 2011-08-23 David S. Miller <davem@davemloft.net>
21896
21897 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21898 subtract stack bias.
21899 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21900 %sp not %fp in calculations.
21901 (_JMPBUF_UNWINDS_ADJ): Likewise.
21902
21903 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21904 (aio_suspend): Call it to force an exception region around the
21905 AIO_MISC_WAIT() invocation.
21906
21907 2011-08-23 Andreas Schwab <schwab@redhat.com>
21908
21909 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21910 backslash.
21911
21912 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21913
21914 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21915 protection macro.
21916 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21917 and <dl-machine.h>.
21918 (Elf64_FuncDesc): Remove.
21919
21920 2011-08-22 David S. Miller <davem@davemloft.net>
21921
21922 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21923 sigaltstack check, add missing cfi directives.
21924 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21925 missing cfi directives, and sigaltstack handling.
21926
21927 2011-08-16 Andreas Schwab <schwab@redhat.com>
21928
21929 [BZ #11724]
21930 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21931 object is seen twice.
21932 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21933
21934 * elf/Makefile (distribute): Add tst-initorder2.c.
21935 (tests): Add tst-initorder2.
21936 (modules-names): Add tst-initorder2a tst-initorder2b
21937 tst-initorder2c tst-initorder2d. Add rules to build them.
21938 ($(objpfx)tst-initorder2.out): New rule.
21939 * elf/tst-initorder2.c: New file.
21940 * elf/tst-initorder2.exp: New file.
21941
21942 2011-08-22 Andreas Schwab <schwab@redhat.com>
21943
21944 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21945
21946 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21947 dependencies back to end of function.
21948
21949 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21950 $(elfobjdir)/ld.so.
21951
21952 2011-08-21 Ulrich Drepper <drepper@gmail.com>
21953
21954 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21955 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21956 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21957 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21958 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21959 of __vdso_gettimeofday.
21960 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21961 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21962 attribute_hidden.
21963 (_libc_vdso_platform_setup): Remove initialization of
21964 __vdso_gettimeofday and __vdso_time.
21965
21966 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21967
21968 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21969 and fgetc_unlocked.
21970 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21971 getc_unlocked.
21972
21973 * elf/dl-open.c (add_to_global): Report additions to the global scope
21974 for LD_DEBUG=scopes.
21975 (dl_open_worker): Also print scope of newly loaded dependencies.
21976 (_dl_show_scope): Indicate if there is no scope.
21977
21978 [BZ #13114]
21979 * stdio-common/Makefile (tests): Add bug24.
21980 * stdio-common/bug24.c: New file.
21981
21982 2011-08-19 Andreas Jaeger <aj@suse.de>
21983
21984 [BZ #13114]
21985 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21986 non-existant file when using close-on-exec mode.
21987
21988 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21989
21990 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21991 the very first instruction.
21992
21993 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21994 the CFI state in the end.
21995 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21996 inclusion of dl-trampoline.h.
21997 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21998
21999 2011-08-19 Andreas Schwab <schwab@redhat.com>
22000
22001 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22002 expectations for long double.
22003
22004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22005 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22006
22007 2011-08-14 David S. Miller <davem@davemloft.net>
22008
22009 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22010 artificual limit depends upon the system page size.
22011
22012 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22013
22014 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22015 * resolv/Makefile: Define CFLAGS-libresolv.
22016
22017 2011-08-17 Andreas Schwab <schwab@redhat.com>
22018
22019 * nss/makedb.c (compute_tables): Make variables used in nested
22020 function static.
22021
22022 2011-08-17 Ulrich Drepper <drepper@gmail.com>
22023
22024 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22025 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22026 if buffer was too small.
22027
22028 * elf/pldd.c (main): Attach to all threads in the process.
22029 Rewrite /proc handling to use *at functions.
22030
22031 2011-08-16 Ulrich Drepper <drepper@gmail.com>
22032
22033 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22034 specifies first scope to show.
22035 (dl_open_worker): Update callers. Move printing scope of new
22036 object to before the relocation.
22037 * elf/rtld.c (dl_main): Update _dl_show_scope call.
22038 * sysdeps/generic/ldsodefs.h: Update declaration.
22039
22040 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22041 string for the scope number.
22042
22043 2011-08-14 Ulrich Drepper <drepper@gmail.com>
22044
22045 * nscd/servicescache.c (cache_addserv): Make sure written is always
22046 initialized.
22047
22048 2011-08-14 Roland McGrath <roland@hack.frob.com>
22049
22050 * sysdeps/i386/i486/bits/atomic.h
22051 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22052 statement expression, so as to suppress "set but not used" warning.
22053 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22054
22055 * string/strncat.c (STRNCAT): Use prototype definition.
22056
22057 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22058 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22059 -Iprograms here.
22060 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22061 (localedef-modules): Add localedef.
22062 (locale-modules): Add locale.
22063
22064 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22065 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22066 to avoid a warning.
22067
22068 2011-08-14 David S. Miller <davem@davemloft.net>
22069
22070 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22071 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22072
22073 2011-08-13 Ulrich Drepper <drepper@gmail.com>
22074
22075 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22076 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22077 * elf/rtld.c (dl_main): Set l_name of vDSO.
22078 Call _dl_show_scope when DL_DEBUG_SCOPES.
22079 (process_dl_debug): Recognize scopes flag and also set it for all.
22080 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22081 Declare _dl_show_scope.
22082
22083 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22084 (do_dlopen): Pass caller_dlopen to dl_open.
22085 (__libc_dlopen_mode): Initialize caller_dlopen.
22086
22087 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22088 of libc. Make tolower call locale-independent. Optimize a bit by
22089 using isdigit instead of isalnum.
22090 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22091
22092 2011-08-12 Ulrich Drepper <drepper@gmail.com>
22093
22094 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22095 was a dependency or dynamically loaded.
22096
22097 2011-08-11 Ulrich Drepper <drepper@gmail.com>
22098
22099 * intl/l10nflist.c: Allow architecture-specific pop function.
22100 * sysdeps/x86_64/l10nflist.c: New file.
22101
22102 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22103 classification.
22104
22105 2011-08-10 Andreas Schwab <schwab@redhat.com>
22106
22107 * include/dirent.h: Add libc_hidden_proto for scandirat and
22108 scandirat64. Don't declare __scandirat64.
22109 * dirent/scandirat.c: Add libc_hidden_def.
22110 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22111 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22112
22113 2011-08-10 David S. Miller <davem@davemloft.net>
22114
22115 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22116 enum.
22117 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22118 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22119 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22120
22121 2011-08-09 Ulrich Drepper <drepper@gmail.com>
22122
22123 * Versions.def [libc]: Add GLIBC_2.15.
22124 * dirent/Makefile (routines): Add scandirat and scandirat64.
22125 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22126 GLIBC_2.15.
22127 * dirent/dirent.h: Declare scandirat and scandirat64.
22128 * dirent/scandirat.c: New file.
22129 * dirent/scandirat64.c: New file.
22130 * sysdeps/wordsize-64/scandirat.c: New file.
22131 * sysdeps/wordsize-64/scandirat64.c: New file.
22132 * dirent/opendir.c: Define opendirat.
22133 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22134 using scandirat.
22135 * dirent/scandir64.c: Adjust for scandir.c change.
22136 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22137 __scandirat64, and __scandir_cancel_handler.
22138 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22139 additional parameter and use openat instead of open (outside of ld.so).
22140 Add new __opendir as wrapper around __opendirat.
22141 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22142 here without requiring old scandirat implementation.
22143
22144 2011-08-08 Ulrich Drepper <drepper@gmail.com>
22145
22146 * dirent/scandir.c (cancel_handler): Renamed to
22147 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22148 defined. Adjust users.
22149 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22150 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22151
22152 2011-08-04 Ulrich Drepper <drepper@gmail.com>
22153
22154 * string/test-string.h (IMPL): Use __STRING to expand name and then
22155 stringify it.
22156
22157 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22158 of cleanups.
22159
22160 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22161
22162 * string/Makefile: Update.
22163 (strop-tests): Append strncat.
22164 * string/test-wcscmp.c: New file.
22165 New comprehensive test for wcscmp.
22166 * string/test-strcmp.c: Update.
22167 (WIDE): New define.
22168
22169 2011-07-22 Andreas Schwab <schwab@redhat.com>
22170
22171 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22172 line.
22173
22174 2011-07-26 Andreas Schwab <schwab@redhat.com>
22175
22176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22177 encoding to ACE if AI_IDN.
22178
22179 2011-08-01 Jakub Jelinek <jakub@redhat.com>
22180
22181 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22182 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22183
22184 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22185
22186 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22187 Fix overflow bug in strncat.
22188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22189
22190 * string/test-strncat.c: Update.
22191 Add new tests for checking overflow bugs.
22192
22193 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22194
22195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22196 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22197 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22198 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22199 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22200 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22201 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22202 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22203 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22204
22205 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22206 (USE_AS_STRCAT): Define.
22207 Add strcat and strncat support.
22208 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22209
22210 2011-07-25 Andreas Schwab <schwab@redhat.com>
22211
22212 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22213 __n bigger than INT_MAX+1.
22214 (__strncmp_g): Likewise.
22215
22216 2011-07-23 Ulrich Drepper <drepper@gmail.com>
22217
22218 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22219 * libio/stido.h: Likewise.
22220
22221 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22222 (AF_NFC): Define.
22223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22224 (AF_NFC): Define.
22225
22226 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22227 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22228 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22229 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22230 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22231
22232 [BZ #13021]
22233 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22234 installed.
22235
22236 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22237 typo.
22238 (_dl_x86_64_save_sse): Likewise.
22239
22240 2011-07-22 Ulrich Drepper <drepper@gmail.com>
22241
22242 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22243 OSXSAVE.
22244 (_dl_x86_64_save_sse): Likewise.
22245
22246 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22247
22248 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22249
22250 2011-07-21 Andreas Schwab <schwab@redhat.com>
22251
22252 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22253 change.
22254 (_dl_x86_64_save_sse): Use correct AVX check.
22255
22256 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22257
22258 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22259 bug in strncpy/strncat.
22260 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22261
22262 2011-07-21 Ulrich Drepper <drepper@gmail.com>
22263
22264 * string/tester.c (test_strcat): Add tests for different alignments
22265 of source and destination.
22266 (test_strncat): Likewise.
22267
22268 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22269
22270 [BZ #12852]
22271 * posix/glob.c (glob): Check passed in values before using them in
22272 expressions to avoid some overflows.
22273 (glob_in_dir): Likewise.
22274
22275 [BZ #13007]
22276 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22277 check for AVX enablement so that we don't crash with old kernels and
22278 new hardware.
22279 * elf/tst-audit4.c: Add same checks here.
22280 * elf/tst-audit6.c: Likewise.
22281
22282 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22283
22284 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22285
22286 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22287
22288 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22289
22290 * po/cs.po: Update from translation team.
22291 * po/bg.po: Likewise.
22292
22293 2011-07-12 Marek Polacek <mpolacek@redhat.com>
22294
22295 * misc/sys/cdefs.h: Add support for const attribute.
22296 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22297 to gnu_dev_{major,minor,makedev} functions.
22298
22299 2011-07-20 Marek Polacek <mpolacek@redhat.com>
22300
22301 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22302
22303 2011-07-20 Andreas Schwab <schwab@redhat.com>
22304
22305 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22306 strlen results.
22307
22308 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22309
22310 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22311 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22312 register in order to avoid conflicts with the soft frame pointer
22313 being held in r11 when necessary.
22314 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22315 (INTERNAL_VSYSCALL_NCS): Likewise.
22316
22317 2011-07-14 Marek Polacek <mpolacek@redhat.com>
22318
22319 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22320 * elf/dl-fini.c (_dl_fini): Adjust caller.
22321 * elf/dl-close.c (_dl_close_worker): Likewise.
22322 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22323
22324 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22325
22326 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22327 "aux_cache->nlibs < 0".
22328
22329 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22330 in the reload-count case.
22331
22332 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22333
22334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22335 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22336 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22337 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22338 * sysdeps/x86_64/multiarch/strcat.S: New file.
22339 * sysdeps/x86_64/multiarch/strncat.S: New file.
22340 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22341 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22342 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22343 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22344 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22345 (USE_AS_STRCAT): Define.
22346 Add strcat and strncat support.
22347 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22348 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22349 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22350 * string/strncat.c: Update.
22351 (USE_AS_STRNCAT): Define.
22352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22353 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22354 and i7.
22355 * sysdeps/x86_64/multiarch/init-arch.h
22356 (bit_Prefer_PMINUB_for_stringop): New.
22357 (index_Prefer_PMINUB_for_stringop): Likewise.
22358 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22359 bit_Prefer_PMINUB_for_stringop.
22360
22361 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22362
22363 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22364 buffer64.
22365 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22366 of casting of buffer.
22367 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22368 buffer32 and buffer64.
22369 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22370 writes instead of casting of buffer.
22371 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22372 buffer32.
22373 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22374 casting of buffer.
22375
22376 2011-07-19 Andreas Schwab <schwab@redhat.com>
22377
22378 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22379
22380 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22381
22382 * nscd/nscd.c (termination_handler): Don't do anything for a database
22383 if it has not yet been initialized.
22384
22385 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22386
22387 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22388
22389 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22390
22391 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22392
22393 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22394
22395 * po/nl.po: Update from translation team.
22396 * po/sv.po: Likewise.
22397
22398 2011-07-16 Roland McGrath <roland@hack.frob.com>
22399
22400 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22401 now disallowed by GCC.
22402
22403 * configure.in (use-default-link): Default to yes if a test -shared
22404 link meets our qualifications.
22405 * configure: Regenerated.
22406
22407 * config.make.in (output-format): New variable.
22408 * configure.in: Check for ld --print-output-format support.
22409 * configure: Regenerated.
22410 * Makerules ($(common-objpfx)format.lds)
22411 [$(output-format) != unknown]: Just use $(output-format),
22412 instead of the linker-script munging.
22413
22414 2011-07-14 Roland McGrath <roland@hack.frob.com>
22415
22416 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22417 of $(common-objpfx)shlib.lds.
22418 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22419
22420 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22421 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22422
22423 * configure.in (-z relro check): Adjust test code to add a large
22424 writable data section after it.
22425 * configure: Regenerated.
22426
22427 2011-07-11 Roland McGrath <roland@hack.frob.com>
22428
22429 * configure.in (-z relro check): Fix test code to make the variable
22430 truly const.
22431 * configure: Regenerated.
22432
22433 2011-07-11 Ulrich Drepper <drepper@gmail.com>
22434
22435 * nscd/nscd.h (struct traced_file): Define.
22436 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22437 elements. Add traced_files.
22438 (inotify_fd): Declare.
22439 (register_traced_file): Declare.
22440 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22441 (inotify_fd): Export.
22442 (resolv_conf_descr): Remove.
22443 (nscd_init): Move inotify descriptor creation to main.
22444 Don't register files for notification here.
22445 (register_traced_file): New function.
22446 (invalidate_cache): Don't use reset_res to determine whether to call
22447 res_init, go through the list of registered files.
22448 (main_loop_poll): The inotify descriptors are now stored in the
22449 structures for the traced files.
22450 (main_loop_epoll): Likewise
22451 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22452 to __nss_disable_nscd.
22453 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22454 for a database anymore. Check the records for all the registered
22455 files instead.
22456 * nss/Makefile (libnss_files-routines): Add files-init.
22457 (libnss_db-routines): Add db-init.
22458 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22459 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22460 * nss/nss_db/db-init.c: New file.
22461 * nss/nss_files/files-init.c: New file.
22462 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22463 __nss_lookup_function.
22464 (__nss_lookup_function): Call nss_load_library.
22465 (nss_load_all_libraries): New function.
22466 (__nss_disable_nscd): Take parameter with callback function for files
22467 to register. Set is_nscd. Load all the DSOs for the NSS modules
22468 used for the cached services.
22469 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22470 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22471 options for features to all the files in nscd.
22472
22473 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22474
22475 2011-07-10 Roland McGrath <roland@hack.frob.com>
22476
22477 * csu/elf-init.c (__libc_csu_init): Comment typo.
22478
22479 2011-07-09 Ulrich Drepper <drepper@gmail.com>
22480
22481 * po/pl.po: Update from translation team.
22482 * po/ja.po: Likewise.
22483 * po/ru.po: Likewise.
22484 * po/ko.po: Likewise.
22485 * po/fr.po: Likewise.
22486
22487 2011-07-09 Roland McGrath <roland@hack.frob.com>
22488
22489 * configure.in (.ctors/.dtors header and trailer check):
22490 Use an empirical test on a built program.
22491 * configure: Regenerated.
22492
22493 * configure.in (-z relro check): Use an empirical test on a built DSO.
22494 Detect, but do not require, on ia64.
22495 * configure: Regenerated.
22496
22497 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22498 Update tests that use readelf to use $READELF instead.
22499 * configure: Regenerated.
22500
22501 2011-07-08 Ulrich Drepper <drepper@gmail.com>
22502
22503 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22504 if the result is not used.
22505
22506 2011-07-05 Andreas Jaeger <aj@suse.de>
22507
22508 [BZ#9696]
22509 * stdlib/tst-strtod.c: Add testcase.
22510
22511 2011-07-07 Ulrich Drepper <drepper@gmail.com>
22512
22513 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22514 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22515 The latter has a higher limit. Take additional parameter to pass to
22516 the new function.
22517 (__pathconf): Pass file to __statfs_link_max.
22518 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22519 __statfs_link_max.
22520 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22521 __statfs_link_max.
22522
22523 [BZ #12868]
22524 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22525 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22526 Handle Lustre.
22527 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22528 (__statfs_filesize_max): Likewise.
22529 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22530
22531 2011-07-05 Andreas Jaeger <aj@suse.de>
22532
22533 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22534
22535 2011-07-06 Marek Polacek <mpolacek@redhat.com>
22536
22537 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22538 `status' variable.
22539 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22540 Likewise.
22541
22542 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22543
22544 * Makefile (strop-tests): Add strncat.
22545 * string/test-strncat.c: New file.
22546
22547 2011-06-30 Marek Polacek <mpolacek@redhat.com>
22548
22549 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22550
22551 2011-06-21 Andreas Jaeger <aj@suse.de>
22552
22553 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22554 Copy rule from iconvdata/Makefile.
22555
22556 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22557
22558 [BZ #12922]
22559 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22560 but no long options are defined, just return 'W'.
22561
22562 2011-06-22 Marek Polacek <mpolacek@redhat.com>
22563
22564 [BZ #9696]
22565 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22566
22567 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22568
22569 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22570 netgroups to read.
22571 (innetgr): Likewise.
22572
22573 2011-07-05 Roland McGrath <roland@hack.frob.com>
22574
22575 * config.make.in (install_root): Default to $(DESTDIR).
22576
22577 2011-07-05 Ulrich Drepper <drepper@gmail.com>
22578
22579 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22580
22581 2011-07-02 Roland McGrath <roland@hack.frob.com>
22582
22583 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22584
22585 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22586 containing directory rather than embedding absolute directory names.
22587
22588 * scripts/check-local-headers.sh: Rewritten using awk.
22589 Match by word, not by line. Print error messages for matches.
22590 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22591
22592 * Makerules [shlib-lds-flags empty]:
22593 ($(common-objpfx)libc_pic.opts): New target.
22594 ($(common-objpfx)libc_pic.os.clean): New target.
22595 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22596
22597 * config.make.in (OBJCOPY): New variable.
22598 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22599 * configure: Regenerated.
22600
22601 * config.make.in (use-default-link): New variable.
22602 * configure.in (use_default_link): Grok --with-default-link to set it.
22603 * configure: Regenerated.
22604 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22605 (shlib-lds, shlib-lds-flags): Define to empty.
22606
22607 * Makerules (shlib-lds): New variable.
22608 (shlib-lds-flags): New variable.
22609 (build-shlib, build-moduile, build-module-asneeded): Use it.
22610 ($(common-objpfx)libc.so): Use $(shlib-lds).
22611 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22612 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22613
22614 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22615 DT_FLAGS/DT_FLAGS_1 with zero flags.
22616
22617 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22618 linker script munging.
22619
22620 2011-07-02 Ulrich Drepper <drepper@gmail.com>
22621
22622 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22623 as 128-bit value.
22624 * crypt/sha512.c (sha512_process_block): Perform total addition using
22625 128-bit if possible.
22626 (__sha512_finish_ctx): Likewise.
22627 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22628 as 64-bit value.
22629 * crypt/sha256.c (SWAP64): Define.
22630 (sha256_process_block): Perform total addition using 64-bit if
22631 possible.
22632 (__sha256_finish_ctx): Likewise.
22633
22634 2011-07-01 Ulrich Drepper <drepper@gmail.com>
22635
22636 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22637 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22638 * nscd/hstcache.c (cache_addhst): Likewise.
22639 * nscd/grpcache.c (cache_addgr): Likewise.
22640 * nscd/aicache.c (addhstaiX): Likewise
22641 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22642
22643 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
22644
22645 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22646 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22647 * nscd/hstcache.c (cache_addhst): Likewise.
22648 * nscd/grpcache.c (cache_addgr): Likewise.
22649 * nscd/aicache.c (addhstaiX): Likewise
22650
22651 2011-07-01 Andreas Schwab <schwab@redhat.com>
22652
22653 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22654 domain only when needed.
22655
22656 2011-06-30 Andreas Schwab <schwab@redhat.com>
22657
22658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22659 is always restored.
22660
22661 2011-06-29 Ulrich Drepper <drepper@gmail.com>
22662
22663 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22664 are re-adding the entry.
22665 * nscd/servicescache.c (cache_addserv): Likewise.
22666
22667 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22668
22669 * sysdeps/generic/dl-irel.h: fix protection against multiple
22670 inclusions.
22671 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22672
22673 2011-06-28 Ulrich Drepper <drepper@gmail.com>
22674
22675 [BZ #12935]
22676 * malloc/memusage.sh: Fix quoting in message.
22677 * debug/xtrace.sh: Likewise.
22678
22679 * configure.in: Remove support for --experimental-malloc option, make
22680 it the default.
22681 * config.make.in: Likewise.
22682 * malloc/Makefile: Likewise.
22683
22684 2011-06-27 Andreas Schwab <schwab@redhat.com>
22685
22686 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22687 two-byte characters.
22688
22689 2011-06-27 Roland McGrath <roland@hack.frob.com>
22690
22691 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22692 AC_CACHE_CHECK invocation.
22693 * configure: Regenerated.
22694
22695 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22696
22697 2011-06-27 Ulrich Drepper <drepper@gmail.com>
22698
22699 [BZ #12350]
22700 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22701 bit from old_res_options.
22702
22703 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22704
22705 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22706 value type for setfct.
22707
22708 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22709
22710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22711 __gettimeofday instead of gettimeofday.
22712
22713 2011-06-26 Ulrich Drepper <drepper@gmail.com>
22714
22715 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22716
22717 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22718
22719 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22720
22721 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22722 info.
22723
22724 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22725
22726 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22727 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22728 strcpy-sse2-unaligned strncpy-sse2-unaligned
22729 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22730 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22731 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22732 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22733 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22734 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22735 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22736 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22737 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22738 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22739 (STRCPY): Support SSE2 and SSSE3 versions.
22740
22741 2011-06-24 Ulrich Drepper <drepper@gmail.com>
22742
22743 [BZ #12874]
22744 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22745 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22746 kernels which artificially limit size of requests.
22747
22748 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22749
22750 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22751 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22752 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22753 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22754 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22755 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22756 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22757 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22758 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22759 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22760 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22761 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22762 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22763 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22764 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22766 Enable unaligned load optimization for Intel Core i3, i5 and i7
22767 processors.
22768 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22769 Define.
22770 (index_Fast_Unaligned_Load): Define.
22771 (HAS_FAST_UNALIGNED_LOAD): Define.
22772
22773 2011-06-23 Marek Polacek <mpolacek@redhat.com>
22774
22775 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22776
22777 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22778
22779 [BZ #12907]
22780 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22781 until it is clear that the information is realy needed.
22782 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22783
22784 2011-06-22 Andreas Schwab <schwab@redhat.com>
22785
22786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22787
22788 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22789
22790 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22791 /sys/devices/system/cpu/online if it is usable.
22792
22793 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22794 reading the information from the /proc filesystem to once a second.
22795
22796 2011-06-21 Andreas Jaeger <aj@suse.de>
22797
22798 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22799 NULL after inclusion of kernel headers.
22800
22801 2011-06-21 Ulrich Drepper <drepper@gmail.com>
22802
22803 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22804 calls to internal_setent.
22805
22806 [BZ #12885]
22807 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22808 addresses using gethostbyname4_r ignore IPv4 addresses.
22809
22810 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22811 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22812
22813 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22814
22815 2011-06-20 David S. Miller <davem@davemloft.net>
22816
22817 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22818 inclusions.
22819 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22820
22821 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22822 (elf_irel): Use it.
22823 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22824 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22825 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22826 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22827 * sysdeps/x86_64/dl-irel.h: Likewise.
22828
22829 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22830 * elf/dl-sym.c: Likewise.
22831
22832 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22833
22834 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22835 need to dereference resplen2.
22836
22837 2011-06-14 Andreas Schwab <schwab@redhat.com>
22838
22839 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22840
22841 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22842
22843 * Makeconfig: Define vardbdir and inst_vardbdir.
22844 * nss/Makefile: Add rules to install db-Makefile.
22845
22846 * nss/nss_db/db-XXX.c: Cleanup.
22847
22848 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22849 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22850 GLIBC_PRIVATE.
22851 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22852 * nss/makedb.c: Implement -g option to specify that value strings
22853 are generated and should not be added to table iterated over for
22854 get*ent calls.
22855 * nss/nss_db/db-initgroups.c: New file.
22856
22857 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22858 interface.
22859
22860 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22861 (internal_getgrouplist): Adjust to name change.
22862 Update use_initgroups_entry if this is not the first call.
22863 * nss/databases.def: Add initgroups entry.
22864
22865 * nss/makedb.c (compute_tables): Check result of multiple hash table
22866 sizes to minimize maximum chain length.
22867
22868 2011-06-14 Ulrich Drepper <drepper@gmail.com>
22869
22870 * Versions.def: Add entry for libnss_db.
22871 * shlib-versions: Likewise.
22872 * nss/Makefile: Add rules to build libnss_db.
22873 * nss/Versions: Add libnss_db information. Organize libnss_files
22874 entries better.
22875 * nss/db-Makefile: Add gshadow support. Change rules for the new
22876 makedb progra. Some minor improvements to generate smaller files.
22877 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22878 here from...
22879 * nss/makedb.c: ...here.
22880 Improve database format to be smaller and require less memory at
22881 runtime.
22882 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22883 db anymore.
22884 * nss/nss_db/db-netgrp.c: Likewise.
22885 * nss/nss_db/db-open.c: Likewise.
22886 * nss/nss_files/flies-XXX.x: Adjust comments.
22887 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22888 * nss/nss_files/files-grp.c: Likewise.
22889 * nss/nss_files/files-hosts.c: Likewise.
22890 * nss/nss_files/files-network.c: Likewise.
22891 * nss/nss_files/files-proto.c: Likewise.
22892 * nss/nss_files/files-pwd.c: Likewise.
22893 * nss/nss_files/files-rpc.c: Likewise.
22894 * nss/nss_files/files-service.c: Likewise.
22895 * nss/nss_files/files-sgrp.c: Likewise.
22896 * nss/nss_files/files-spwd.c: Likewise.
22897 * nss/nss_db/db-alias.c: Removed.
22898 * nss/nss_db/dummy-db.h: Removed.
22899
22900 2011-06-02 Ulrich Drepper <drepper@gmail.com>
22901
22902 * nss/makedb.c: Rewritten to not use database library.
22903 * nss/Makefile: Update to build new makedb program.
22904
22905 2011-06-14 Andreas Jaeger <aj@suse.de>
22906
22907 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22908 memset declaration.
22909
22910 2011-06-10 Andreas Schwab <schwab@redhat.com>
22911
22912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22913 tmpbuf.
22914
22915 2011-06-10 Roland McGrath <roland@hack.frob.com>
22916
22917 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22918 * elf/Makefile ($(objpfx)ld.so): Likewise.
22919
22920 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22921 Don't list ld.so twice in dependencies.
22922
22923 * posix/bug-regex31.c: Include <stdlib.h>.
22924
22925 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22926
22927 * nis/nss_compat/compat-spwd.c
22928 (getspent_next_nss_netgr): Remove unused variable.
22929 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22930
22931 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22932 nonmembers" output to use the right array.
22933
22934 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22935
22936 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22937
22938 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22939 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22940 * catgets/gencat.c (read_input_file): Likewise.
22941 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22942
22943 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22944 variable definition inside #if's controlling its use.
22945
22946 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22947
22948 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22949
22950 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22951
22952 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22953 unreachable code.
22954
22955 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22956
22957 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22958 * configure: Regenerated.
22959
22960 * Makerules: Revert last change.
22961 * elf/Makefile: Likewise.
22962
22963 2011-06-09 Roland McGrath <roland@hack.frob.com>
22964
22965 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22966 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22967 (reloc-link): Likewise.
22968
22969 2011-06-09 Ulrich Drepper <drepper@gmail.com>
22970
22971 * elf/Makefile: Add rules to build pldd.
22972 * elf/pldd.c: New file.
22973 * elf/pldd-xx.c: New file.
22974
22975 2011-06-07 Ulrich Drepper <drepper@gmail.com>
22976
22977 * version.h: Update for 2.15 development version.
22978
22979 2011-06-07 David S. Miller <davem@davemloft.net>
22980
22981 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22982 ifuncs.
22983 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22984 elf_machine_lazy_rel): Likewise.
22985 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22986 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22987 elf_machine_lazy_rel): Likewise.
22988 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22989 dl_hwcap via passed in argument.
22990 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22991 Likewise.
22992
22993 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22994
22995 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22996
22997 2011-06-06 Roland McGrath <roland@hack.frob.com>
22998
22999 [BZ #12849]
23000 * manual/fdl-1.1.texi: New file, verbatim from:
23001 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23002 * manual/lgpl-2.1.texi: New file, verbatim from:
23003 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23004 * manual/Makefile (licenses): New variable, list those new file names.
23005 (texis): Use it.
23006 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23007
23008 * manual/fdl.texi: File removed.
23009 * manual/lesser.texi: File removed.
23010 * manual/libc.texinfo (Copying, Documentation License):
23011 Use new @include file names, put @appendix directive before @include.
23012
23013 2011-06-04 Jakub Jelinek <jakub@redhat.com>
23014
23015 [BZ #12841]
23016 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23017 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23018 (mq_open): Add __NTH.
23019
23020 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
23021
23022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23023 Assume Intel Core i3/i5/i7 processor if AVX is available.
23024
23025 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23026
23027 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23028 typo.
23029
23030 2011-05-31 Andreas Schwab <schwab@redhat.com>
23031
23032 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23033 memory. Use alloca_account. Fix memory leak when retrying.
23034
23035 2011-05-31 Ulrich Drepper <drepper@gmail.com>
23036
23037 * version.h (RELEASE): Bump for 2.14 release.
23038 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23039
23040 * config.make.in (RANLIB): Remove entry.
23041
23042 2011-05-30 Ulrich Drepper <drepper@gmail.com>
23043
23044 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23045 (libc.pot): Work around missing support for .ksh extension in xgettext.
23046
23047 [BZ #12684]
23048 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23049 if both request failed.
23050 (send_dg): In case of server errors clear resplen or *resplen2.
23051
23052 [BZ #12454]
23053 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23054 when there are multiple maps.
23055 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23056 (_dl_fini): Remove test here.
23057
23058 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23059
23060 2011-05-29 Ulrich Drepper <drepper@gmail.com>
23061
23062 [BZ #12350]
23063 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23064 bit from old_res_options.
23065 (gaih_inet): Likewise.
23066
23067 [BZ #11099]
23068 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23069 as signed.
23070
23071 * resolv/res_init.c (res_setoptions): Make the code more compact.
23072
23073 [BZ #11558]
23074 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23075 set RES_USEVC.
23076
23077 [BZ #11634]
23078 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23079
23080 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23081
23082 [BZ #11781]
23083 * malloc/malloc.h: Declare malloc hook variables as volatile.
23084
23085 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23086 in last patch.
23087
23088 [BZ #11799]
23089 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
23090 raise in the comment.
23091 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23092 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23093 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23094
23095 2011-05-28 Ulrich Drepper <drepper@gmail.com>
23096
23097 [BZ #12811]
23098 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23099 grow the buffers more if it already has to be sufficient.
23100 (build_wcs_upper_buffer): Likewise.
23101 * posix/regexec.c (check_matching): Likewise.
23102 (clean_state_log_if_needed): Likewise.
23103 (extend_buffers): Don't enlarge buffers beyond size of the input
23104 buffer.
23105 Patches mostly by Emil Wojak <emil@wojak.eu>.
23106 * posix/bug-regex32.c: New file.
23107 * posix/Makefile (tests): Add bug-regex32.
23108
23109 * locale/findlocale.c (_nl_find_locale): Return right away if
23110 _nl_explode_name failed.
23111 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23112
23113 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23114
23115 * debug/xtrace.sh: Unify messages.
23116 * malloc/memusage.sh: Likewise.
23117
23118 [BZ #12813]
23119 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23120 time symbol from vDSO. Substitute with vsyscall if not available.
23121 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23122 __vdso_time.
23123
23124 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23125 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23126 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23127 Add sendmmsg and internal_sendmmsg.
23128 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23129 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23130 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23131
23132 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23133 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23134 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23135
23136 2011-05-27 Ulrich Drepper <drepper@gmail.com>
23137
23138 [BZ #12813]
23139 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23140 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23141 available.
23142 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23143 __vdso_getcpu.
23144
23145 [BZ #12814]
23146 * iconvdata/Makefile (tests): Add bug-iconv9.
23147 * iconvdata/bug-iconv9.c: New file.
23148
23149 2011-05-27 Andreas Schwab <schwab@redhat.com>
23150
23151 [BZ #12814]
23152 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23153
23154 2011-05-25 Jakub Jelinek <jakub@redhat.com>
23155
23156 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23157 (struct user_regs_struct): Change intcs field back to cs.
23158
23159 2011-05-25 Ulrich Drepper <drepper@gmail.com>
23160
23161 * po/ja.po: Update from translation team.
23162
23163 2011-05-23 Ulrich Drepper <drepper@gmail.com>
23164
23165 [BZ #12795]
23166 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23167 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23168
23169 2011-05-20 Andreas Schwab <schwab@redhat.com>
23170
23171 * stdlib/longlong.h: Update from GCC.
23172
23173 2011-05-23 Andreas Schwab <schwab@redhat.com>
23174
23175 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23176 parameter name.
23177 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23178 Add parameter name.
23179 (__sysconf): Pass it down.
23180
23181 2011-05-22 Ulrich Drepper <drepper@gmail.com>
23182
23183 [BZ #12671]
23184 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23185 some situations.
23186 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23187 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23188 add in in __libc_use_alloca calls. Adjust callers.
23189 (glob): Use malloc in some situations.
23190
23191 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23192 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23193 pltexit.
23194
23195 2011-05-21 Ulrich Drepper <drepper@gmail.com>
23196
23197 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23198 and CLOCK_BOOTTIME_ALARM.
23199
23200 [BZ #12782]
23201 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23202 is returned.
23203
23204 * string/_strerror.c (__strerror_r): Print negative errors as signed
23205 numbers.
23206
23207 [BZ #12777]
23208 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23209 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23210 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23211
23212 * configure.in: Fix typo in redirection and correct removal of test
23213 files in two cases.
23214
23215 [BZ #12788]
23216 * locale/setlocale.c (new_composite_name): Fix test to check for
23217 identical name of all categories.
23218
23219 [BZ #12792]
23220 * libio/filedoalloc.c (local_isatty): New function.
23221 (_IO_file_doallocate): Use local_isatty.
23222 * stdio-common/perror.c (perror): In case a new stream is used
23223 forward the stream error.
23224 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23225 error flag.
23226
23227 2011-05-20 Ulrich Drepper <drepper@gmail.com>
23228
23229 [BZ #11869]
23230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23231 alloca.
23232 * include/alloca.h (extend_alloca_account): Define.
23233
23234 [BZ #11857]
23235 * posix/regex.h: Fix comments with documentation of user-accessible
23236 fields after compilation and describe correct free'ing of pattern
23237 after re_compile_pattern.
23238 Patch by Reuben Thomas <rrt@sc3d.org>.
23239
23240 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23241
23242 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23243 and -mno-altivec to prevent the compiler from using Altivec and/or
23244 VSX instructions when the corresponding registers are not available.
23245
23246 2011-05-19 Andreas Schwab <schwab@redhat.com>
23247
23248 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23249
23250 2011-05-19 Ulrich Drepper <drepper@gmail.com>
23251
23252 * libio/freopen.c (freopen): Use __dup2, not dup2.
23253 * libio/freopen64.c (freopen64): Likewise.
23254
23255 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23256
23257 [BZ #12775]
23258 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23259 * math/Makefile (tests): Add test-powl.
23260 (CFLAGS-test-powl.c): Define.
23261 * math/test-powl.c: New file.
23262
23263 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23264
23265 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23266
23267 2011-05-17 Ulrich Drepper <drepper@gmail.com>
23268
23269 [BZ #11837]
23270 * iconvdata/gb18030.c: Update to GB18020-2005.
23271
23272 2011-05-16 Ulrich Drepper <drepper@gmail.com>
23273
23274 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23275 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23276 Patch by Aharon Robbins <arnold@skeeve.com>.
23277
23278 [BZ #11892]
23279 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23280 on the stack.
23281
23282 [BZ #11895]
23283 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23284 through underflows.
23285
23286 [BZ #12766]
23287 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23288 point to strings before performing equality test for error_one_per_line
23289 mode.
23290
23291 [BZ #11697]
23292 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23293
23294 [BZ #11820]
23295 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23296 (struct user_fpregs_struct): Avoid __uint*_t types.
23297
23298 [BZ #6420]
23299 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23300 symbol info. Use it instead of calling _dl_addr locally.
23301 (lock_and_info): New function.
23302 (tr_freehook): Call lock_and_info and pass symbol info as additional
23303 parameter to tr_where.
23304 (tr_mallochook): Likewise.
23305 (tr_reallochook): Likewise.
23306 (tr_memalignhook): Likewise.
23307
23308 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23309 used and couldn't be at all thread-safe.
23310
23311 2011-05-15 Ulrich Drepper <drepper@gmail.com>
23312
23313 * libio/freopen.c (freopen): Don't close old file descriptor
23314 before the new one is opened. Instead dup the new file descriptor
23315 to the old one after the new stream is created.
23316 * libio/freopen64.c (freopen64): Likewise.
23317 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23318 * libio/fileops.c (_IO_new_file_close_it): Handle new
23319 _IO_FLAGS2_NOCLOSE flag.
23320 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23321 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23322 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23323 _IO_FLAGS2_NOCLOSE flag.
23324 * include/unistd.h: Add hidden_proto for dup3.
23325 Define __have_dup3.
23326 * io/dup3.c: Define hidden symbol.
23327 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23328
23329 [BZ #7101]
23330 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23331 when an incomplete long option is used.
23332 * posix/tst-getopt_long1.c: New file.
23333 * posix/Makefile (tests): Add tst-getopt_long1.
23334
23335 [BZ #10138]
23336 * scripts/config.guess: Update from autoconf-2.68.
23337 * scripts/config.sub: Likewise.
23338
23339 [BZ #10157]
23340 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23341 tests into ...
23342 (has_cpuclock): ...this. New function.
23343 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23344 macro here based on has_cpuclock code.
23345
23346 [BZ #10149]
23347 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23348 First byte (not low byte) is now always NUL.
23349 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23350
23351 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23352 Use non-cancelable interfaces.
23353
23354 [BZ #9809]
23355 * locale/iso-639.def: Add entry for Sorani.
23356
23357 [BZ #11901]
23358 * include/stdlib.h: Move include protection to the right place.
23359 Define abort_msg_s. Declare __abort_msg with it.
23360 * stdlib/abort.c (__abort_msg): Adjust type.
23361 * assert/assert.c (__assert_fail_base): New function. Majority
23362 of code from __assert_fail. Allocate memory for __abort_msg with
23363 mmap.
23364 (__assert_fail): Now call __assert_fail_base.
23365 * assert/assert-perr.c: Remove bulk of implementation. Use
23366 __assert_fail_base.
23367 * include/assert.hL Declare __assert_fail_base.
23368 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23369 mmap.
23370 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23371
23372 2011-05-14 Ulrich Drepper <drepper@gmail.com>
23373
23374 [BZ #11952]
23375 [BZ #12453]
23376 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23377 until all modules are registered in the DTV.
23378 * elf/Makefile: Add rules to build and run tst-tls19.
23379 * elf/tst-tls19.c: New file.
23380 * elf/tst-tls19mod1.c: New file.
23381 * elf/tst-tls19mod2.c: New file.
23382 * elf/tst-tls19mod3.c: New file.
23383 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23384
23385 [BZ #12083]
23386 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23387 correctly.
23388
23389 [BZ #12601]
23390 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23391 two-byte sequence errors.
23392 * iconvdata/Makefile (tests): Add bug-iconv8.
23393 * iconvdata/bug-iconv8.c: New file.
23394
23395 [BZ #12626]
23396 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23397 buf2 definition.
23398
23399 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23400
23401 [BZ #12432]
23402 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23403 (dummy_getcfa): New function.
23404 (init): Get _Unwind_GetCFA address, use dummy if not found.
23405 (backtrace_helper): In recursion check, also check whether CFA changes.
23406 (__backtrace): Completely initialize arg.
23407
23408 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23409 storing incomplete byte sequence in state object. Avoid testing for
23410 guaranteed too small input if we know there is enough data available.
23411
23412 2011-05-11 Andreas Schwab <schwab@redhat.com>
23413
23414 * Makeconfig (+link-pie): Indent.
23415 * Rules (binaries-pie): Define if $(have-fpie) and
23416 $(build-shared).
23417 (binaries-shared): Also filter out $(binaries-pie).
23418 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23419 * nscd/Makefile (others-pie): Add nscd.
23420 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23421 ($(objpfx)nscd): Remove command override.
23422 * login/Makefile (others-pie): Add pt_chown.
23423 ($(objpfx)pt_chown): Remove command override.
23424 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23425 remove command overrides.
23426
23427 2011-05-13 Ulrich Drepper <drepper@gmail.com>
23428
23429 * libio/tst_putwc.c: Fix error messages.
23430
23431 [BZ #12724]
23432 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23433 currently writing and seek to current position when not.
23434 * libio/Makefile (tests): Add bug-fclose1.
23435 * libio/bug-fclose1.c: New file.
23436
23437 2011-05-12 Ulrich Drepper <drepper@gmail.com>
23438
23439 [BZ #12511]
23440 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23441 don't set DF_1_NODELETE here.
23442 (do_lookup_x): When entering new entry test for copy relocation
23443 and if necessary set DF_1_NODELETE flag.
23444 * elf/tst-unique4.cc: New file.
23445 * elf/tst-unique4.h: New file.
23446 * elf/tst-unique4lib.cc: New file.
23447 * elf/Makefile: Add rules to build and run tst-unique4.
23448 Patch by Piotr Bury <pbury@goahead.com>.
23449
23450 2011-05-11 Ulrich Drepper <drepper@gmail.com>
23451
23452 [BZ #12052]
23453 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23454
23455 [BZ #12625]
23456 * misc/mntent_r.c (addmntent): Flush the stream after the output
23457
23458 [BZ #12393]
23459 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23460 (is_trusted_path_normalize): Skip initial colon. Append slash
23461 to empty buffer. Duplicate is_trusted_path code but allow
23462 constructed patch to be prefix.
23463 (is_dst): Allow $ORIGIN followed by /.
23464 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23465 Correct testing of result of is_trusted_path_normalize
23466 (decompose_rpath): Fix warning.
23467
23468 2011-05-10 Ulrich Drepper <drepper@gmail.com>
23469
23470 [BZ #11257]
23471 * grp/initgroups.c (internal_getgrouplist): When we found the service
23472 list through the initgroups entry in nsswitch.conf do not always
23473 continue on a successful lookup. Don't always use the
23474 __nss_group_database value if it is set.
23475 * nss/nsswitch.conf (initgroups): Change action for successful db
23476 lookup to continue for compatibility.
23477
23478 2011-05-09 Ulrich Drepper <drepper@gmail.com>
23479
23480 [BZ #11532]
23481 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23482 and CP774 modules.
23483 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23484 and CP774 modules.
23485 * iconvdata/tst-tables.sh: Likewise.
23486 * iconvdata/cp770.c: New file.
23487 * iconvdata/cp771.c: New file.
23488 * iconvdata/cp772.c: New file.
23489 * iconvdata/cp773.c: New file.
23490 * iconvdata/cp774.c: New file.
23491 * iconvdata/testdata/CP770: New file.
23492 * iconvdata/testdata/CP770..UTF8: New file.
23493 * iconvdata/testdata/CP771: New file.
23494 * iconvdata/testdata/CP771..UTF8: New file.
23495 * iconvdata/testdata/CP772: New file.
23496 * iconvdata/testdata/CP772..UTF8: New file.
23497 * iconvdata/testdata/CP773: New file.
23498 * iconvdata/testdata/CP773..UTF8: New file.
23499 * iconvdata/testdata/CP774: New file.
23500 * iconvdata/testdata/CP774..UTF8: New file.
23501
23502 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23503 END CHARMAP line.
23504 * iconvdata/gen-8bit-gap.sh: Likewise.
23505 * iconvdata/gen-8bit.sh: Likewise.
23506
23507 * locale/iso-639.def: Add ary entry.
23508
23509 [BZ #11258]
23510 * locale/C-translit.h.in: Add U20A1 transliteration.
23511
23512 [BZ #12178]
23513 * locale/iso-639.def: Add wae entry.
23514 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23515
23516 [BZ #12545]
23517 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23518 for n.
23519
23520 [BZ #12711]
23521 * locale/C-translit.h.in: Add entry for U20B9.
23522 Patch by pravin.d.s@gmail.com.
23523
23524 2011-05-08 Ulrich Drepper <drepper@gmail.com>
23525
23526 [BZ #12713]
23527 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23528 ENAMETOOLONG use generic getcwd.
23529 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23530 in rtld. Use *stat64.
23531 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23532 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23533 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23534 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23535 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23536 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23537 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23538 __fstatat64 macros.
23539 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23540 * dirent/rewinddir.c: Add libc_hidden_def.
23541 * sysdeps/mach/hurd/rewinddir.c: Likewise.
23542 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
23543
23544 * include/dirent.h (__alloc_dir): Add flags parameter.
23545 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23546 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23547 __alloc_dir.
23548 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23549 from fdopendir if O_CLOEXEC is already set.
23550
23551 2011-03-15 Alan Modra <amodra@gmail.com>
23552
23553 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23554 l_tls_firstbyte_offset non-zero. Save padding offset in
23555 l_tls_firstbyte_offset for later use.
23556 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23557 freeing static tls block.
23558
23559 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23560
23561 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23562 where #ifdef was intended. The intent is to prevent ARG_MAX from
23563 being defined by the kernel headers.
23564
23565 2011-05-07 Ulrich Drepper <drepper@gmail.com>
23566
23567 [BZ #12734]
23568 * resolv/resolv.h: Define RES_NOTLDQUERY.
23569 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23570 no-tld-query and set RES_NOTLDQUERY.
23571 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23572 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23573 modern BIND to search name as TLD unless forbidden.
23574
23575 2011-05-07 Petr Baudis <pasky@suse.cz>
23576 Ulrich Drepper <drepper@gmail.com>
23577
23578 [BZ #12393]
23579 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23580 (is_trusted_path): ...to here.
23581 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
23582 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
23583 using is_trusted_path_normalize() in setuid scripts.
23584
23585 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23586
23587 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23588 __BEGIN/__END_DECLS.
23589
23590 2011-05-06 Ulrich Drepper <drepper@gmail.com>
23591
23592 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23593 NSS_STATUS_NOTFOUND if no record was found.
23594
23595 2011-05-05 Andreas Schwab <schwab@redhat.com>
23596
23597 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23598 (headers-not-in-tirpc): Remove rpc/netdb.h
23599 * resolv/netdb.h: Revert last change.
23600
23601 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23602
23603 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23604 circular dependency between libgcc.a and libc.a.
23605
23606 2011-05-05 Andreas Schwab <schwab@redhat.com>
23607
23608 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23609 * nis/Makefile: Don't install rpcsvc/*.
23610 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23611 instead of <rpc/types.h>.
23612 (MAXHOSTNAMELEN): Define.
23613
23614 2011-05-03 Andreas Schwab <schwab@redhat.com>
23615
23616 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23617
23618 2011-04-28 Maciej Babinski <mbabinski@google.com>
23619
23620 [BZ #12714]
23621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23622 gethostbyname4_r when IPv6 results are possible.
23623
23624 2011-05-02 Ulrich Drepper <drepper@gmail.com>
23625
23626 [BZ #12723]
23627 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23628 _PC_PIPE_BUF handling.
23629
23630 2011-04-30 Bruno Haible <bruno@clisp.org>
23631
23632 [BZ #12717]
23633 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23634 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23635 to 'int'.
23636 * inet/getnameinfo.c (getnameinfo): Likewise.
23637
23638 2011-04-29 Ulrich Drepper <drepper@gmail.com>
23639
23640 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23641 to groups setting in database lookup.
23642 * nss/nsswitch.conf: Add initgroups entry.
23643
23644 2011-04-22 Ulrich Drepper <drepper@gmail.com>
23645
23646 [BZ #12685]
23647 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23648 mode string.
23649 Patch by Eric Blake <eblake@redhat.com>.
23650
23651 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23652
23653 * sunrpc/Makefile (need-export-routines): Add svc_run.
23654 (routines): Remove svc_run.
23655 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23656 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23657 * sunrpc/svc_run.c (svc_run): Likewise.
23658 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23659
23660 2011-04-21 Ulrich Drepper <drepper@gmail.com>
23661
23662 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23663 problem in reallocation in last patch.
23664
23665 2011-04-20 Ulrich Drepper <drepper@gmail.com>
23666
23667 * sunrpc/Makefile: Move inclusion of Rules.
23668
23669 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23670
23671 * nss/nss_files/files-initgroups.c: New file.
23672 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23673 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23674 _nss_files_initgroups_dyn.
23675
23676 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23677
23678 * elf/elf.h (R_ARM_IRELATIVE): Define.
23679
23680 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23681
23682 * po/ru.po: Update from translation team.
23683
23684 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23685
23686 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23687 dependencies.
23688
23689 2011-02-06 Mike Frysinger <vapier@gentoo.org>
23690
23691 [BZ #12653]
23692 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23693 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23694 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23695 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23696 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23697
23698 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23699
23700 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23701 differing bytes.
23702 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23703 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23704 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23705
23706 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23707
23708 [BZ #12420]
23709 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23710 storing it.
23711 * stdlib/bug-getcontext.c: New file.
23712 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23713
23714 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23715
23716 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23717 instructions into .machine "z9-109".
23718 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23719 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23720
23721 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23722
23723 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23724 between environment variables and auxiliary vector.
23725
23726 2011-04-16 Ulrich Drepper <drepper@gmail.com>
23727
23728 * Makefile: Add rules to build linkobj/libc.so.
23729 * include/libc-symbols.h: Define libc_hidden_nolink.
23730 * include/rpc/auth.h: Mark functions which are to be hidden.
23731 * include/rpc/auth_des.h: Likewise.
23732 * include/rpc/auth_unix.h: Likewise.
23733 * include/rpc/clnt.h: Likewise.
23734 * include/rpc/des_crypt.h: Likewise.
23735 * include/rpc/key_prot.h: Likewise.
23736 * include/rpc/pmap_clnt.h: Likewise.
23737 * include/rpc/pmap_prot.h: Likewise.
23738 * include/rpc/pmap_rmt.h: Likewise.
23739 * include/rpc/rpc_msg.h: Likewise.
23740 * include/rpc/svc.h: Likewise.
23741 * include/rpc/svc_auth.h: Likewise.
23742 * include/rpc/xdr.h: Likewise.
23743 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23744 * nss/Makefile: Likewise.
23745 * sunrpc/Makefile: Don't install headers. Build library with normal
23746 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23747 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23748 for the compat linking library. Remove use of INTDEF/INTUSE.
23749 * sunrpc/auth_none.c: Likewise.
23750 * sunrpc/auth_unix.c: Likewise.
23751 * sunrpc/authdes_prot.c: Likewise.
23752 * sunrpc/authuxprot.c: Likewise.
23753 * sunrpc/clnt_gen.c: Likewise.
23754 * sunrpc/clnt_perr.c: Likewise.
23755 * sunrpc/clnt_raw.c: Likewise.
23756 * sunrpc/clnt_simp.c: Likewise.
23757 * sunrpc/clnt_tcp.c: Likewise.
23758 * sunrpc/clnt_udp.c: Likewise.
23759 * sunrpc/clnt_unix.c: Likewise.
23760 * sunrpc/des_crypt.c: Likewise.
23761 * sunrpc/des_soft.c: Likewise.
23762 * sunrpc/get_myaddr.c: Likewise.
23763 * sunrpc/key_call.c: Likewise.
23764 * sunrpc/key_prot.c: Likewise.
23765 * sunrpc/netname.c: Likewise.
23766 * sunrpc/pm_getmaps.c: Likewise.
23767 * sunrpc/pm_getport.c: Likewise.
23768 * sunrpc/pmap_clnt.c: Likewise.
23769 * sunrpc/pmap_prot.c: Likewise.
23770 * sunrpc/pmap_prot2.c: Likewise.
23771 * sunrpc/pmap_rmt.c: Likewise.
23772 * sunrpc/publickey.c: Likewise.
23773 * sunrpc/rpc_cmsg.c: Likewise.
23774 * sunrpc/rpc_common.c: Likewise.
23775 * sunrpc/rpc_dtable.c: Likewise.
23776 * sunrpc/rpc_prot.c: Likewise.
23777 * sunrpc/rpc_thread.c: Likewise.
23778 * sunrpc/rtime.c: Likewise.
23779 * sunrpc/svc.c: Likewise.
23780 * sunrpc/svc_auth.c: Likewise.
23781 * sunrpc/svc_authux.c: Likewise.
23782 * sunrpc/svc_raw.c: Likewise.
23783 * sunrpc/svc_run.c: Likewise.
23784 * sunrpc/svc_simple.c: Likewise.
23785 * sunrpc/svc_tcp.c: Likewise.
23786 * sunrpc/svc_udp.c: Likewise.
23787 * sunrpc/svc_unix.c: Likewise.
23788 * sunrpc/svcauth_des.c: Likewise.
23789 * sunrpc/xcrypt.c: Likewise.
23790 * sunrpc/xdr.c: Likewise.
23791 * sunrpc/xdr_array.c: Likewise.
23792 * sunrpc/xdr_float.c: Likewise.
23793 * sunrpc/xdr_intXX_t.c: Likewise.
23794 * sunrpc/xdr_mem.c: Likewise.
23795 * sunrpc/xdr_rec.c: Likewise.
23796 * sunrpc/xdr_ref.c: Likewise.
23797 * sunrpc/xdr_sizeof.c: Likewise.
23798 * sunrpc/xdr_stdio.c: Likewise.
23799
23800 2011-04-10 Ulrich Drepper <drepper@gmail.com>
23801
23802 [BZ #12650]
23803 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23804 * sysdeps/ia64/dl-tls.h: Likewise.
23805 * sysdeps/powerpc/dl-tls.h: Likewise.
23806 * sysdeps/s390/dl-tls.h: Likewise.
23807 * sysdeps/sh/dl-tls.h: Likewise.
23808 * sysdeps/sparc/dl-tls.h: Likewise.
23809 * sysdeps/x86_64/dl-tls.h: Likewise.
23810 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23811
23812 2011-03-14 Andreas Schwab <schwab@redhat.com>
23813
23814 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23815 rpath element also skip the following colon.
23816 (expand_dynamic_string_token): Add is_path parameter and pass
23817 down to DL_DST_REQUIRED and _dl_dst_substitute.
23818 (decompose_rpath): Call expand_dynamic_string_token with
23819 non-zero is_path. Ignore empty rpaths.
23820 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23821 with zero is_path.
23822
23823 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23824
23825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23826 Make cancelable.
23827
23828 2011-04-09 Ulrich Drepper <drepper@gmail.com>
23829
23830 [BZ #12655]
23831 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23832 Patch by Filipe David Manana <fdmanana@apache.org>.
23833
23834 2011-04-07 Andreas Schwab <schwab@redhat.com>
23835
23836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23837 Maintain aligned stack.
23838 (CHECK_RSP): Remove unused macro.
23839
23840 2011-04-03 Ulrich Drepper <drepper@gmail.com>
23841
23842 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23843 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23844
23845 2011-04-02 Ulrich Drepper <drepper@gmail.com>
23846
23847 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23848
23849 * include/features.h: Mention __USE_XOPEN2K8 in comment.
23850
23851 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23852
23853 [BZ #12518]
23854 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23855 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23856 * sysdeps/x86_64/memmove.c: New file.
23857 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23858 (memcpy): Renamed to ...
23859 (__new_memcpy): This.
23860 (memcpy): Provide GLIBC_2_14 memcpy.
23861 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23862 (memcpy): Provide GLIBC_2_2_5 memcpy.
23863
23864 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23865
23866 [BZ #12631]
23867 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23868
23869 2011-03-30 Andreas Schwab <schwab@redhat.com>
23870
23871 * misc/syncfs.c: New file.
23872 * misc/Makefile (routines): Add syncfs.
23873 * posix/unistd.h: Declare syncfs.
23874 * sysdeps/unix/syscalls.list: Add syncfs.
23875
23876 2011-04-01 Andreas Schwab <schwab@redhat.com>
23877
23878 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23879 open_by_handle_at.
23880 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23881 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23882 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23883 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23885 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23886 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23887
23888 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23889
23890 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23891 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23892 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23893 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23894 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23895 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23896 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23897
23898 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23899 sync_file_range.c with -fexceptions.
23900 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23901 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23902 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23903 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23904 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23905 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23906 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
23907 sync_file_range as cancellation point
23908 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23909 now a wrapper around __call_sync_file_range with cancellation handling.
23910 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23911 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23912 function name to __call_sync_file_range.
23913 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23914 Add call_sync_file_range.
23915
23916 2011-04-01 Andreas Schwab <schwab@redhat.com>
23917
23918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23919 bits/timex.h.
23920
23921 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23922
23923 * iconv/iconv.h: Fix typo in comment.
23924 * io/fcntl.h: Likewise.
23925 * libio/stdio.h: Likewise.
23926 * posix/spawn.h: Likewise.
23927 * posix/unistd.h: Likewise.
23928 * stdlib/stdlib.h: Likewise.
23929 * time/time.h: Likewise.
23930 * wcsmbs/wchar.h: Likewise.
23931
23932 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23933 open_by_handle): Add.
23934 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23935 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23936 Augment a few comments.
23937 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23938 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23939 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23941 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23942 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23943 open_by_handle.
23944
23945 * io/fcntl.h (AT_EMPTY_PATH): Define.
23946
23947 2011-03-30 Ulrich Drepper <drepper@gmail.com>
23948
23949 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23950 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23951 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23952 to...
23953 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
23954 * Versions.def: Add GLIBC_2.14.
23955 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23956 Export.
23957
23958 2011-03-22 Ulrich Drepper <drepper@gmail.com>
23959
23960 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23961 round counter.
23962 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23963
23964 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23965
23966 [BZ #12597]
23967 * string/test-strncmp.c (do_page_test): New function.
23968 (check2): Likewise.
23969 (test_main): Call check2.
23970 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23971
23972 2011-03-20 Ulrich Drepper <drepper@gmail.com>
23973
23974 [BZ #12587]
23975 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23976 Handle cache information in CPU leaf 4.
23977 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23978
23979 2011-03-18 Ulrich Drepper <drepper@gmail.com>
23980
23981 [BZ #12583]
23982 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23983 character representation.
23984 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23985
23986 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23987
23988 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23989 END(__isnan) to END(__isnanf) to match function entry point/label
23990 EALIGN(__isnanf,...).
23991
23992 2011-03-10 Jakub Jelinek <jakub@redhat.com>
23993
23994 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23995
23996 2011-03-10 Ulrich Drepper <drepper@gmail.com>
23997
23998 [BZ #12510]
23999 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24000 copy from the symbol referenced in the relocation to initialize the
24001 used variable.
24002 Patch by Piotr Bury <pbury@goahead.com>.
24003 * elf/Makefile: Add rules to build and tst-unique3.
24004 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24005 * elf/tst-unique3.cc: New file.
24006 * elf/tst-unique3.h: New file.
24007 * elf/tst-unique3lib.cc: New file.
24008 * elf/tst-unique3lib2.cc: New file.
24009
24010 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24011
24012 2011-03-10 Mike Frysinger <vapier@gentoo.org>
24013
24014 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24015 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24016 to _start.
24017
24018 2011-03-06 Ulrich Drepper <drepper@gmail.com>
24019
24020 * elf/dl-load.c (_dl_map_object): If we are looking for the first
24021 to-be-loaded object along a path to loader is ld.so.
24022
24023 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24024 Ulrich Drepper <drepper@gmail.com>
24025
24026 * sysdeps/x86_64/memset.S: After aligning destination, code
24027 branches to different locations depending on the value of
24028 misalignment, when multiarch is enabled. Fix this.
24029
24030 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
24031
24032 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24033 Set _x86_64_preferred_memory_instruction for AMD processsors.
24034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24035 Set bit_Prefer_SSE_for_memop for AMD processors.
24036
24037 2011-03-04 Ulrich Drepper <drepper@gmail.com>
24038
24039 * libio/fmemopen.c (fmemopen): Optimize a bit.
24040
24041 2011-03-03 Andreas Schwab <schwab@redhat.com>
24042
24043 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24044
24045 2011-03-03 Roland McGrath <roland@redhat.com>
24046
24047 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24048
24049 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24050
24051 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24052 __bzero_ultra1 instead of __memset_ultra1.
24053
24054 2011-02-23 Andreas Schwab <schwab@redhat.com>
24055 Ulrich Drepper <drepper@gmail.com>
24056
24057 [BZ #12509]
24058 * include/link.h (struct link_map): Add l_orig_initfini.
24059 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24060 returning unsuccessfully.
24061 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24062 close of a file loaded at startup, restore the original l_initfini
24063 list.
24064 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24065 list, store the pointer.
24066 * elf/Makefile ($(objpfx)noload-mem): New rule.
24067 (noload-ENV): Define.
24068 (tests): Add $(objpfx)noload-mem.
24069 * elf/noload.c: Include <memcheck.h>.
24070 (main): Call mtrace. Close all opened handles.
24071
24072 2011-02-17 Andreas Schwab <schwab@redhat.com>
24073
24074 [BZ #12454]
24075 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24076 dependencies are missing.
24077
24078 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24079
24080 Fix __if_freereq crash: Unlike the generic version which uses free,
24081 Hurd needs munmap.
24082 * sysdeps/mach/hurd/ifreq.h: New file.
24083
24084 2011-01-27 Petr Baudis <pasky@suse.cz>
24085 Ulrich Drepper <drepper@gmail.com>
24086
24087 [BZ 12445]#
24088 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24089 to extend_alloca().
24090 * stdio-common/bug23.c: New file.
24091 * stdio-common/Makefile (tests): Add bug23.
24092
24093 2010-09-28 Andreas Schwab <schwab@redhat.com>
24094 Ulrich Drepper <drepper@gmail.com>
24095
24096 [BZ #12489]
24097 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24098 before performing relro protection. At old place add assertion
24099 to make sure nothing changed.
24100
24101 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24102 Glauber de Oliveira Costa <glommer@gmail.com>
24103
24104 * elf/elf.h: Add new ARM TLS relocs.
24105
24106 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24107
24108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24109 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24110 cast from r3.
24111 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24112 'tests' variable.
24113 * sysdeps/wordsize-64/tst-writev.c: New file.
24114
24115 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24116
24117 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24118 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24119 insns in _dl_start to prevent a TOC reference before relocs are
24120 resolved.
24121
24122 2011-02-15 Ulrich Drepper <drepper@gmail.com>
24123
24124 [BZ #12469]
24125 * Makeconfig: Remove RANLIB definition.
24126 * Makerules: Don't use RANLIB.
24127 * aclocal.m4: Remove ranlib test.
24128 * configure.in: No need to check for ranlib.
24129 * elf/rtld-Rules: Don't use RANLIB.
24130
24131 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24132
24133 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24134 protection macro.
24135 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24136 inclusion protection macro.
24137
24138 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24139 SIGRTMIN and SIGRTMAX and print information in that case only when
24140 SIGRTMIN is defined.
24141
24142 2011-02-11 Jakub Jelinek <jakub@redhat.com>
24143
24144 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24145 arginfo fn returning -1.
24146
24147 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24148 and thousands string is zero terminated.
24149
24150 2011-02-03 Andreas Schwab <schwab@redhat.com>
24151
24152 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24153 sysdeps/unix/sysv/linux/bits/socket.h.
24154
24155 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24156
24157 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24158 (__CPU_COUNT): Remove old macros.
24159 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24160 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24161 (__CPU_ALLOC, __CPU_FREE): Add macros.
24162 (__sched_cpualloc, __sched_cpufree): Add declarations.
24163
24164 2011-02-05 Ulrich Drepper <drepper@gmail.com>
24165
24166 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24167 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24168 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24169 (readdhstai): Return value of addhstaiX call.
24170 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24171 (addgrbyX): Return value returned by cache_addgr.
24172 (readdgrbyname): Return value returned by addgrbyX.
24173 (readdgrbygid): Likewise.
24174 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24175 (addpwbyX): Return value returned by cache_addpw.
24176 (readdpwbyname): Return value returned by addhstbyX.
24177 (readdpwbyuid): Likewise.
24178 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24179 (addservbyX): Return value returned by cache_addserv.
24180 (readdservbyname): Return value returned by addservbyX:
24181 (readdservbyport): Likewise.
24182 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24183 (addhstbyX): Return value returned by cache_addhst.
24184 (readdhstbyname): Return value returned by addhstbyX.
24185 (readdhstbyaddr): Likewise.
24186 (readdhstbynamev6): Likewise.
24187 (readdhstbyaddrv6): Likewise.
24188 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24189 (readdinitgroups): Return value returned by addinitgroupsX.
24190 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24191 (prune_cache): Keep track of timeout value of re-added entries.
24192 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24193 * nscd/nscd.h: Adjust prototypes of readd* functions.
24194
24195 2011-02-04 Roland McGrath <roland@redhat.com>
24196
24197 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24198 (nis_stats): Likewise.
24199 * nis/nis_modify.c (nis_modify): Likewise.
24200 * nis/nis_remove.c (nis_remove): Likewise.
24201 * nis/nis_add.c (nis_add): Likewise.
24202
24203 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24204
24205 * posix/fnmatch_loop.c: Add some consts.
24206
24207 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24208
24209 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24210
24211 [BZ #12460]
24212 * config.make.in (config-cflags-novzeroupper): Define.
24213 * configure.in: Substitute libc_cv_cc_novzeroupper.
24214 * elf/Makefile (AVX-CFLAGS): Define.
24215 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24216 (CFLAGS-tst-auditmod4a.c): Likewise.
24217 (CFLAGS-tst-auditmod4b.c): Likewise.
24218 (CFLAGS-tst-auditmod6b.c): Likewise.
24219 (CFLAGS-tst-auditmod6c.c): Likewise.
24220 (CFLAGS-tst-auditmod7b.c): Likewise.
24221 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24222
24223 2011-02-02 Ulrich Drepper <drepper@gmail.com>
24224
24225 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24226 function to the callback.
24227 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24228
24229 2011-02-02 Andreas Schwab <schwab@redhat.com>
24230
24231 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24232 of errno.
24233
24234 2011-01-19 Ulrich Drepper <drepper@gmail.com>
24235
24236 [BZ #11724]
24237 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24238 of constructors.
24239 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24240 of destructors.
24241 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24242
24243 [BZ #11724]
24244 * elf/Makefile: Add rules to build and run new test.
24245 * elf/tst-initorder.c: New file.
24246 * elf/tst-initorder.exp: New file.
24247 * elf/tst-initordera1.c: New file.
24248 * elf/tst-initordera2.c: New file.
24249 * elf/tst-initordera3.c: New file.
24250 * elf/tst-initordera4.c: New file.
24251 * elf/tst-initorderb1.c: New file.
24252 * elf/tst-initorderb2.c: New file.
24253 * elf/tst-order-a1.c: New file.
24254 * elf/tst-order-a2.c: New file.
24255 * elf/tst-order-a3.c: New file.
24256 * elf/tst-order-a4.c: New file.
24257 * elf/tst-order-b1.c: New file.
24258 * elf/tst-order-b2.c: New file.
24259 * elf/tst-order-main.c: New file.
24260 New test case by George Gensure <werkt0@gmail.com>.
24261
24262 2010-10-01 Andreas Schwab <schwab@redhat.com>
24263
24264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24265 decoding ACE if AI_CANONIDN.
24266
24267 2011-01-18 Ulrich Drepper <drepper@gmail.com>
24268
24269 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24270
24271 2011-01-17 Ulrich Drepper <drepper@gmail.com>
24272
24273 * version.h (RELEASE): Bump for 2.13 release.
24274 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24275
24276 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24277
24278 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24279 MADV_NOHUGEPAGE.
24280 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24281 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24282 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24283 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24284 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24285 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24286
24287 * posix/getconf.c: Update copyright year.
24288 * catgets/gencat.c: Likewise.
24289 * csu/version.c: Likewise.
24290 * debug/catchsegv.sh: Likewise.
24291 * debug/xtrace.sh: Likewise.
24292 * elf/ldconfig.c: Likewise.
24293 * elf/ldd.bash.in: Likewise.
24294 * elf/sprof.c (print_version): Likewise.
24295 * iconv/iconv_prog.c: Likewise.
24296 * iconv/iconvconfig.c: Likewise.
24297 * locale/programs/locale.c: Likewise.
24298 * locale/programs/localedef.c: Likewise.
24299 * malloc/memusage.sh: Likewise.
24300 * malloc/mtrace.pl: Likewise.
24301 * nscd/nscd.c (print_version): Likewise.
24302 * nss/getent.c: Likewise.
24303
24304 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24305 PF_CAIF, and PF_ALG.
24306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24307
24308 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24309
24310 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24311 (modules-names): Use them.
24312 (ifunc-test-modules, ifunc-pie-tests): Define.
24313 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24314 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24315 (test-extras): Likewise.
24316 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24317 $(compile-command.c).
24318 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24319 (all-built-dso): Define.
24320 (check-textrel.out, check-execstack.out): Depend on it.
24321
24322 * configure.in: Don't override --enable-multi-arch.
24323
24324 2011-01-15 Ulrich Drepper <drepper@gmail.com>
24325
24326 [BZ #6812]
24327 * nscd/hstcache.c (tryagain): Define.
24328 (cache_addhst): Return tryagain not notfound for temporary errors.
24329 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24330 failed.
24331
24332 2011-01-14 Ulrich Drepper <drepper@gmail.com>
24333
24334 [BZ #10563]
24335 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24336 to make the syscall.
24337 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24338
24339 [BZ #12378]
24340 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24341 and fall back to matching as normal character if the string ends before
24342 the matching ']' is found. This is what POSIX requires.
24343 * posix/testfnm.c: Adjust test result.
24344 * posix/globtest.sh: Adjust test result. Add new test.
24345 * posix/tst-fnmatch.input: Likewise.
24346 * posix/tst-fnmatch2.c: Add new test.
24347
24348 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24349
24350 * elf/Makefile (check-execstack): Revert last change. Depend on
24351 check-execstack.h.
24352 (check-execstack.h): New target.
24353 (generated): Add check-execstack.h.
24354 * elf/check-execstack.c: Include "check-execstack.h".
24355 (main): Revert last change.
24356 (handle_file): Return zero if GNU_STACK is absent and
24357 DEFAULT_STACK_PERMS doesn't include PF_X.
24358
24359 2011-01-13 Ulrich Drepper <drepper@gmail.com>
24360
24361 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24362 in child fails because the descriptor is already closed.
24363 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24364 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24365 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24366
24367 [BZ #12397]
24368 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24369 syscall.
24370
24371 [BZ #10484]
24372 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24373 temporary buffer used to handle multi lookups locally.
24374 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24375
24376 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24377
24378 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24379 loader is ld.so.
24380
24381 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24382
24383 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24384 alignment for SSE2.
24385
24386 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24387
24388 [BZ #12394]
24389 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24390 characters. When rounding increased number of integer digits recompute
24391 number of groups.
24392 * stdio-common/tst-grouping.c: New file.
24393 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24394
24395 2011-01-09 Ulrich Drepper <drepper@gmail.com>
24396
24397 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24398 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24399
24400 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24401 void.
24402 * bits/select.h: Likewise.
24403
24404 2011-01-08 Ulrich Drepper <drepper@gmail.com>
24405
24406 * po/ja.po: Update from translation team.
24407
24408 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
24409
24410 [BZ #11155]
24411 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24412 implementation just like for lxstat, fxstatat, et al.
24413
24414 2010-12-27 Jim Meyering <meyering@redhat.com>
24415
24416 [BZ #12348]
24417 * posix/regexec.c (build_trtable): Return failure indication upon
24418 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24419
24420 2010-12-25 Ulrich Drepper <drepper@gmail.com>
24421
24422 [BZ #12201]
24423 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24424 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24425 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24426 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24427
24428 [BZ #12207]
24429 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24430
24431 [BZ #12204]
24432 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24433 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24434
24435 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24436
24437 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24438 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24439 script has SORT_BY_INIT_PRIORITY.
24440 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24441 NO_CTORS_DTORS_SECTIONS is defined.
24442 * elf/soinit.c: Likewise.
24443 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24444 NO_CTORS_DTORS_SECTIONS is defined.
24445 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24446 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24447 * sysdeps/sh/init-first.c: Likewise.
24448 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24449
24450 2010-12-24 Ulrich Drepper <drepper@gmail.com>
24451
24452 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24453 always use the slow path.
24454
24455 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24456
24457 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24458 similar rule which adds the sysdep directories to the header search in
24459 order to pick up the correct platform stackinfo.h.
24460 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24461 perform test if it is, otherwise return successfully without testing.
24462 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24463 DEFAULT_STACK_PERMS define in stackinfo.h.
24464 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24465 defined in stackinfo.h.
24466 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24467 DEFAULT_STACK_PERMS defined in stackinfo.h.
24468 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24469 * sysdeps/ia64/stackinfo.h: Likewise.
24470 * sysdeps/s390/stackinfo.h: Likewise.
24471 * sysdeps/sh/stackinfo.h: Likewise.
24472 * sysdeps/sparc/stackinfo.h: Likewise.
24473 * sysdeps/x86_64/stackinfo.h: Likewise.
24474 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24475 PF_X for powerpc64. Retain PF_X for powerpc32.
24476
24477 2010-12-19 Ulrich Drepper <drepper@gmail.com>
24478
24479 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24480 accurately.
24481 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24482 GETDENTS_64BIT_ALIGNED.
24483
24484 2010-12-14 Ulrich Drepper <dreper@gmail.com>
24485
24486 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24487
24488 2010-12-10 Andreas Schwab <schwab@redhat.com>
24489
24490 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24491 _GNU_SOURCE.
24492
24493 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24494 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24495 Remove __restrict.
24496 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24497 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24498
24499 2010-12-09 Ulrich Drepper <drepper@gmail.com>
24500
24501 [BZ #11655]
24502 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24503 are initialized.
24504
24505 2010-12-09 Jakub Jelinek <jakub@redhat.com>
24506
24507 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24508
24509 2010-12-03 Ulrich Drepper <drepper@gmail.com>
24510
24511 * po/it.po: Update from translation team.
24512
24513 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24514
24515 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24516 unused codes.
24517
24518 2010-11-30 Ulrich Drepper <drepper@gmail.com>
24519
24520 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24521
24522 2010-11-24 Andreas Schwab <schwab@redhat.com>
24523
24524 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24525 specially.
24526 (gaih_getanswer_slice): Likewise.
24527
24528 2010-10-20 Jakub Jelinek <jakub@redhat.com>
24529
24530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24531
24532 2010-05-31 Petr Baudis <pasky@suse.cz>
24533
24534 [BZ #11149]
24535 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24536 silently even in the chroot mode.
24537
24538 2010-11-22 Ulrich Drepper <drepper@gmail.com>
24539
24540 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24541 last patch a bit. Pretty printing
24542
24543 2010-05-31 Petr Baudis <pasky@suse.cz>
24544
24545 [BZ #10085]
24546 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24547 initialization of skip_initgroups_dyn.
24548
24549 2010-11-19 Ulrich Drepper <drepper@gmail.com>
24550
24551 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24552 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24553
24554 2010-11-16 Ulrich Drepper <drepper@gmail.com>
24555
24556 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24557
24558 2010-11-11 Andreas Schwab <schwab@redhat.com>
24559
24560 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24561 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24562 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24563 ($(objpfx)tst-fnmatch-mem): New rule.
24564 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24565 * posix/tst-fnmatch.c (main): Call mtrace.
24566
24567 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24568
24569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24570 Support Intel processor model 6 and model 0x2c.
24571
24572 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
24573
24574 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24575 signed comparison.
24576
24577 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24578
24579 [BZ #12205]
24580 * string/test-strncasecmp.c (check_result): New function.
24581 (do_one_test): Use it.
24582 (check1): New function.
24583 (test_main): Use it.
24584 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24585 Support strcasecmp and strncasecmp.
24586
24587 2010-11-08 Ulrich Drepper <drepper@gmail.com>
24588
24589 [BZ #12194]
24590 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24591 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24592
24593 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24594
24595 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24596 IFUNC support.
24597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24598 memset-x86-64.
24599 * sysdeps/x86_64/multiarch/bzero.S: New file.
24600 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24601 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24602 * sysdeps/x86_64/multiarch/memset.S: New file.
24603 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24605 Set bit_Prefer_SSE_for_memop for Intel processors.
24606 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24607 Define.
24608 (index_Prefer_SSE_for_memop): Define.
24609 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24610
24611 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
24612
24613 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24614 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24615
24616 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24617
24618 [BZ #12191]
24619 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24620 (__x86_64_raw_data_cache_size_half): Likewise.
24621 (__x86_64_raw_shared_cache_size): Likewise.
24622 (__x86_64_raw_shared_cache_size_half): Likewise.
24623
24624 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24625 (__x86_64_raw_data_cache_size_half): Likewise.
24626 (__x86_64_raw_shared_cache_size): Likewise.
24627 (__x86_64_raw_shared_cache_size_half): Likewise.
24628 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24629 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24630 and __x86_64_raw_shared_cache_size_half. Round
24631 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24632 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24633 to multiple of 256 bytes.
24634
24635 2010-11-03 Ulrich Drepper <drepper@gmail.com>
24636
24637 [BZ #12167]
24638 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24639 of inacessible symlinks. Verify result of symlink before returning it.
24640 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24641 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24642
24643 2010-10-28 Erich Ritz <erichritz@gmail.com>
24644
24645 * math/math.h (isinf): Fix typo in comment.
24646
24647 2010-11-01 Ulrich Drepper <drepper@gmail.com>
24648
24649 * po/da.po: Update from translation team.
24650
24651 2010-10-26 Ulrich Drepper <drepper@gmail.com>
24652
24653 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24654 is added to the list.
24655
24656 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24657 Ulrich Drepper <drepper@gmail.com>
24658
24659 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24660 the global list here. Move code to...
24661 (_dl_add_to_namespace_list): ...here. New function.
24662 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24663 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24664 * elf/dl-load.c (lose): Don't remove the element from the list.
24665 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24666 (_dl_map_object): Likewise.
24667
24668 2010-10-25 Ulrich Drepper <drepper@gmail.com>
24669
24670 [BZ #12159]
24671 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24672 into all bytes of SSE register.
24673 Patch by Richard Li <richardpku@gmail.com>.
24674
24675 2010-10-24 Ulrich Drepper <drepper@gmail.com>
24676
24677 [BZ #12140]
24678 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24679 perturbing.
24680
24681 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24682
24683 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24684 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24685 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24686 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24688 submachine.
24689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24690
24691 2010-10-22 Andreas Schwab <schwab@redhat.com>
24692
24693 * include/dlfcn.h (__RTLD_SECURE): Define.
24694 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24695 mode & __RTLD_SECURE instead.
24696 (open_path): Rename preloaded parameter to secure.
24697 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24698 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24699 * elf/dl-deps.c (openaux): Likewise.
24700 * elf/rtld.c (struct map_args): Remove is_preloaded.
24701 (map_doit): Don't use it.
24702 (dl_main): Likewise.
24703 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24704 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24705
24706 2010-09-09 Andreas Schwab <schwab@redhat.com>
24707
24708 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24709 (sysd-rules-targets): Remove duplicates.
24710 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24711 rtld-%.$o dependency.
24712
24713 2010-10-18 Andreas Schwab <schwab@redhat.com>
24714
24715 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24716 _dl_map_object do it.
24717
24718 2010-10-19 Ulrich Drepper <drepper@gmail.com>
24719
24720 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24721 fast fma builtins, define the macros in the C99 standard.
24722 (FP_FAST_FMAF): Likewise.
24723 (FP_FAST_FMAL): Likewise.
24724 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24725
24726 * bits/mathdef.h: Update copyright year.
24727 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24728
24729 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24730
24731 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24732 builtins, define the macros in the C99 standard.
24733 (FP_FAST_FMAF): Likewise.
24734 (FP_FAST_FMAL): Likewise.
24735 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24736 multiply/add.
24737 (FP_FAST_FMAF): Likewise.
24738
24739 2010-10-15 Jakub Jelinek <jakub@redhat.com>
24740
24741 [BZ #3268]
24742 * math/libm-test.inc (fma_test): Some new testcases.
24743 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24744 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24745 y and infinite z. Do multiplication by C already in long double.
24746 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24748 y and infinite z. Do bitwise or of inexact bit into u.d.
24749 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24750 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24751 * sysdeps/i386/fpu/s_fma.S: Removed.
24752 * sysdeps/i386/fpu/s_fmal.S: Removed.
24753
24754 2010-10-16 Jakub Jelinek <jakub@redhat.com>
24755
24756 [BZ #3268]
24757 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24758 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24759 computation is not scheduled after fetestexcept. Fix value
24760 of minimum denormal long double.
24761
24762 2010-10-14 Jakub Jelinek <jakub@redhat.com>
24763
24764 [BZ #3268]
24765 * math/libm-test.inc (fma_test): Add some more tests.
24766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24767 correctly.
24768
24769 2010-10-15 Andreas Schwab <schwab@redhat.com>
24770
24771 * scripts/data/localplt-s390-linux-gnu.data: New file.
24772 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24773
24774 2010-10-13 Jakub Jelinek <jakub@redhat.com>
24775
24776 [BZ #3268]
24777 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24778 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24779 instead of dbl-64.
24780 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24781 inlines.
24782 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24783 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24784 if one of x and y is very large and the other is subnormal.
24785 * sysdeps/s390/fpu/s_fmaf.c: New file.
24786 * sysdeps/s390/fpu/s_fma.c: New file.
24787 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24788 * sysdeps/powerpc/fpu/s_fma.S: New file.
24789 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24790 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24791 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24792
24793 2010-10-12 Jakub Jelinek <jakub@redhat.com>
24794
24795 [BZ #3268]
24796 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24797 fma tests.
24798 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24799 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24800 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24801 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24802 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24803 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24804 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24805
24806 2010-10-12 Ulrich Drepper <drepper@redhat.com>
24807
24808 [BZ #12078]
24809 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24810 * posix/bug-regex31.input: Add test case.
24811
24812 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24813
24814 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24815 * posix/bug-regex31.input: New file.
24816
24817 [BZ #12078]
24818 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24819 (parse_sub_exp): Fix last change, use postorder.
24820
24821 * posix/bug-regex31.c: New file.
24822 * posix/Makefile: Add rules to build and run bug-regex31.
24823
24824 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24825
24826 [BZ #12078]
24827 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24828
24829 [BZ #12108]
24830 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24831 to have entries in sys_siglist.
24832
24833 [BZ #12093]
24834 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24835 be NULL.
24836
24837 2010-10-07 Jakub Jelinek <jakub@redhat.com>
24838
24839 [BZ #3268]
24840 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24841 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24842 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24843 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24844 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24845 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24846 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24847 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24848 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24849 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24850 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24851 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24852 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24853 * math/ftestexcept.c (fetestexcept): Likewise.
24854 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24855 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24856 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24857 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24858 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24859 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24860 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24861
24862 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24863
24864 [BZ #12107]
24865 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24866 newline.
24867
24868 2010-10-06 Ulrich Drepper <drepper@gmail.com>
24869
24870 * string/bug-strstr1.c: New file.
24871 * string/Makefile: Add rules to build and run bug-strstr1.
24872
24873 2010-10-05 Eric Blake <eblake@redhat.com>
24874
24875 [BZ #12092]
24876 * string/str-two-way.h (two_way_long_needle): Always clear memory
24877 when skipping input due to the shift table.
24878
24879 2010-10-03 Ulrich Drepper <drepper@gmail.com>
24880
24881 [BZ #12005]
24882 * malloc/mcheck.c: Handle large requests.
24883
24884 [BZ #12077]
24885 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24886 for strncmp and strncasecmp.
24887 * string/stratcliff.c: Add tests for strcmp and strncmp.
24888 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24889
24890 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24891
24892 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24893 __set_fpscr.
24894
24895 2010-09-30 Andreas Jaeger <aj@suse.de>
24896
24897 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24898 (CGROUP_SUPER_MAGIC): Define.
24899 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24900 Handle btrfs and cgroup file systems.
24901 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24902 Likewise.
24903
24904 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
24905
24906 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24907 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24908
24909 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24910
24911 [BZ #12067]
24912 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24913 trying to locate the ELF header.
24914
24915 2010-09-27 Andreas Schwab <schwab@redhat.com>
24916
24917 [BZ #11611]
24918 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24919 Mask out sign-bit copies when constructing f_fsid.
24920
24921 2010-09-24 Petr Baudis <pasky@suse.cz>
24922
24923 * debug/stack_chk_fail_local.c: Add missing licence exception.
24924 * debug/warning-nop.c: Likewise.
24925
24926 2010-09-15 Joseph Myers <joseph@codesourcery.com>
24927
24928 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24929 implementing getdents64 using getdents syscall, set d_type if
24930 __ASSUME_GETDENTS32_D_TYPE.
24931
24932 2010-09-16 Andreas Schwab <schwab@redhat.com>
24933
24934 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24935 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24936
24937 2010-09-21 Ulrich Drepper <drepper@redhat.com>
24938
24939 [BZ #12037]
24940 * posix/unistd.h: Undo change of feature selection for ftruncate from
24941 2010-01-11.
24942
24943 2010-09-20 Ulrich Drepper <drepper@redhat.com>
24944
24945 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
24946 detection.
24947
24948 2010-09-20 Andreas Schwab <schwab@redhat.com>
24949
24950 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24951 fanotify_mark.
24952 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24953
24954 2010-09-14 Andreas Schwab <schwab@redhat.com>
24955
24956 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24957 variables after CHECK_SP call.
24958 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24959
24960 2010-09-13 Andreas Schwab <schwab@redhat.com>
24961 Ulrich Drepper <drepper@redhat.com>
24962
24963 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24964 re-relocationg ld.so.
24965 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24966 _dl_init_paths call.
24967 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24968 here anymore.
24969
24970 2010-09-14 Ulrich Drepper <drepper@redhat.com>
24971
24972 * resolv/res_init.c (__res_vinit): Count the default server we added.
24973
24974 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24975 Ulrich Drepper <drepper@redhat.com>
24976
24977 [BZ #11968]
24978 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24979 (____longjmp_chk): Use %ebx for saving value across system call.
24980 Add unwind info.
24981
24982 2010-09-06 Andreas Schwab <schwab@redhat.com>
24983
24984 * manual/Makefile: Don't mix pattern rules with normal rules.
24985
24986 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24987
24988 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24989 operation.
24990 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24991 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24992 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24993 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24994 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24995 Likewise.
24996
24997 2010-09-04 Ulrich Drepper <drepper@redhat.com>
24998
24999 [BZ #11979]
25000 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25001 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25002
25003 2010-09-02 Ulrich Drepper <drepper@redhat.com>
25004
25005 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25006 * sysdeps/x86_64/addmul_1.S: Likewise.
25007 * sysdeps/x86_64/lshift.S: Likewise.
25008 * sysdeps/x86_64/mul_1.S: Likewise.
25009 * sysdeps/x86_64/rshift.S: Likewise.
25010 * sysdeps/x86_64/sub_n.S: Likewise.
25011 * sysdeps/x86_64/submul_1.S: Likewise.
25012
25013 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25014
25015 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25016 Define __sched_param instead of SCHED_* and sched_param when
25017 <bits/sched.h> is included with __need_schedparam defined.
25018 * bits/sched.h [__need_schedparam]
25019 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25020 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25021 (__defined_schedparam): Define to 1.
25022 (__sched_param): New structure, identical to sched_param.
25023 (__need_schedparam): Undefine.
25024
25025 2010-08-31 Mike Frysinger <vapier@gentoo.org>
25026
25027 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25028 (epoll_create1): Declare.
25029
25030 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25031
25032 2010-08-31 Andreas Schwab <schwab@redhat.com>
25033
25034 [BZ #7066]
25035 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25036 shifting retval into place.
25037
25038 2010-09-01 Ulrich Drepper <drepper@redhat.com>
25039
25040 * nis/rpcsvc/nis.h: Update copyright notice.
25041 * nis/rpcsvc/nis.x: Likewise.
25042 * nis/rpcsvc/nis_callback.h: Likewise.
25043 * nis/rpcsvc/nis_callback.x: Likewise.
25044 * nis/rpcsvc/nis_object.x: Likewise.
25045 * nis/rpcsvc/nis_tags.h: Likewise.
25046 * nis/rpcsvc/yp.h: Likewise.
25047 * nis/rpcsvc/yp.x: Likewise.
25048 * nis/rpcsvc/ypupd.h: Likewise.
25049 * nis/yp_xdr.c: Likewise.
25050 * nis/ypupdate_xdr.c: Likewise.
25051
25052 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25053 mainly the body of pmap_getport. Add parameters to specify timeouts.
25054 (pmap_getport): Use __libc_rpc_getport.
25055 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25056 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25057 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25058
25059 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25060
25061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25062 fanotify_mark.
25063
25064 2010-08-27 Roland McGrath <roland@redhat.com>
25065
25066 * sysdeps/i386/i686/multiarch/Makefile
25067 (CFLAGS-varshift.c): New variable.
25068
25069 2010-08-27 Ulrich Drepper <drepper@redhat.com>
25070
25071 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25072 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25073
25074 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25075
25076 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25077
25078 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25079
25080 * sysdeps/x86_64/strlen.S: Unroll the loop.
25081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25082 strlen-sse2 strlen-sse2-bsf.
25083 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25084 __strlen_no_bsf if bit_Slow_BSF is set.
25085 (__strlen_sse42): Removed.
25086 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25087 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25088
25089 2010-08-25 Roland McGrath <roland@redhat.com>
25090
25091 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25092 * sysdeps/x86_64/multiarch/varshift.c: New file.
25093 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25094 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25095 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25096 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25097
25098 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25099
25100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25101 strlen-sse2 strlen-sse2-bsf.
25102 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25103 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25104 (__strlen_sse2): Removed.
25105 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25106 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25108 bit_Slow_BSF for Atom.
25109 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25110 (index_Slow_BSF): Define.
25111 (HAS_SLOW_BSF): Define.
25112
25113 2010-08-25 Ulrich Drepper <drepper@redhat.com>
25114
25115 [BZ #10851]
25116 * resolv/res_init.c (__res_vinit): When no server address at all
25117 is given default to loopback.
25118
25119 2010-08-24 Roland McGrath <roland@redhat.com>
25120
25121 * configure.in: Remove config-name.h generation.
25122 * configure: Regenerated.
25123 * config-name.in: File removed.
25124 * scripts/config-uname.sh: New file.
25125 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25126 ($(objdir)config-name.h): New target.
25127
25128 * sunrpc/rpc_parse.h: Avoid nested comment.
25129
25130 2010-08-24 Richard Henderson <rth@redhat.com>
25131 Ulrich Drepper <drepper@redhat.com>
25132 H.J. Lu <hongjiu.lu@intel.com>
25133
25134 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25136 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25137 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25138 _mm_alignr_epi8 with _mm_loadu_si128.
25139 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25140 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25141 (__m128i_shift_right): Removed.
25142 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25143 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25144 * sysdeps/x86_64/multiarch/varshift.h: New file.
25145 * sysdeps/x86_64/multiarch/varshift.S: New file.
25146
25147 2010-08-21 Mike Frysinger <vapier@gentoo.org>
25148
25149 * configure.in: Move assembler checks to before sysdep dir checking.
25150
25151 2010-08-20 Petr Baudis <pasky@suse.cz>
25152
25153 * LICENSES: Sync the sunrpc license.
25154
25155 2010-08-19 Ulrich Drepper <drepper@redhat.com>
25156
25157 * sunrpc/auth_des.c: Update copyright notice once again.
25158 * sunrpc/auth_none.c: Likewise.
25159 * sunrpc/auth_unix.c: Likewise.
25160 * sunrpc/authdes_prot.c: Likewise.
25161 * sunrpc/authuxprot.c: Likewise.
25162 * sunrpc/bindrsvprt.c: Likewise.
25163 * sunrpc/clnt_gen.c: Likewise.
25164 * sunrpc/clnt_perr.c: Likewise.
25165 * sunrpc/clnt_raw.c: Likewise.
25166 * sunrpc/clnt_simp.c: Likewise.
25167 * sunrpc/clnt_tcp.c: Likewise.
25168 * sunrpc/clnt_udp.c: Likewise.
25169 * sunrpc/clnt_unix.c: Likewise.
25170 * sunrpc/des_crypt.c: Likewise.
25171 * sunrpc/des_soft.c: Likewise.
25172 * sunrpc/get_myaddr.c: Likewise.
25173 * sunrpc/getrpcport.c: Likewise.
25174 * sunrpc/key_call.c: Likewise.
25175 * sunrpc/key_prot.c: Likewise.
25176 * sunrpc/openchild.c: Likewise.
25177 * sunrpc/pm_getmaps.c: Likewise.
25178 * sunrpc/pm_getport.c: Likewise.
25179 * sunrpc/pmap_clnt.c: Likewise.
25180 * sunrpc/pmap_prot.c: Likewise.
25181 * sunrpc/pmap_prot2.c: Likewise.
25182 * sunrpc/pmap_rmt.c: Likewise.
25183 * sunrpc/rpc/auth.h: Likewise.
25184 * sunrpc/rpc/auth_unix.h: Likewise.
25185 * sunrpc/rpc/clnt.h: Likewise.
25186 * sunrpc/rpc/des_crypt.h: Likewise.
25187 * sunrpc/rpc/key_prot.h: Likewise.
25188 * sunrpc/rpc/netdb.h: Likewise.
25189 * sunrpc/rpc/pmap_clnt.h: Likewise.
25190 * sunrpc/rpc/pmap_prot.h: Likewise.
25191 * sunrpc/rpc/pmap_rmt.h: Likewise.
25192 * sunrpc/rpc/rpc.h: Likewise.
25193 * sunrpc/rpc/rpc_des.h: Likewise.
25194 * sunrpc/rpc/rpc_msg.h: Likewise.
25195 * sunrpc/rpc/svc.h: Likewise.
25196 * sunrpc/rpc/svc_auth.h: Likewise.
25197 * sunrpc/rpc/types.h: Likewise.
25198 * sunrpc/rpc/xdr.h: Likewise.
25199 * sunrpc/rpc_clntout.c: Likewise.
25200 * sunrpc/rpc_cmsg.c: Likewise.
25201 * sunrpc/rpc_common.c: Likewise.
25202 * sunrpc/rpc_cout.c: Likewise.
25203 * sunrpc/rpc_dtable.c: Likewise.
25204 * sunrpc/rpc_hout.c: Likewise.
25205 * sunrpc/rpc_main.c: Likewise.
25206 * sunrpc/rpc_parse.c: Likewise.
25207 * sunrpc/rpc_parse.h: Likewise.
25208 * sunrpc/rpc_prot.c: Likewise.
25209 * sunrpc/rpc_sample.c: Likewise.
25210 * sunrpc/rpc_scan.c: Likewise.
25211 * sunrpc/rpc_scan.h: Likewise.
25212 * sunrpc/rpc_svcout.c: Likewise.
25213 * sunrpc/rpc_tblout.c: Likewise.
25214 * sunrpc/rpc_util.c: Likewise.
25215 * sunrpc/rpc_util.h: Likewise.
25216 * sunrpc/rpcinfo.c: Likewise.
25217 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25218 * sunrpc/rpcsvc/key_prot.x: Likewise.
25219 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25220 * sunrpc/rpcsvc/mount.x: Likewise.
25221 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25222 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25223 * sunrpc/rpcsvc/rex.x: Likewise.
25224 * sunrpc/rpcsvc/rstat.x: Likewise.
25225 * sunrpc/rpcsvc/rusers.x: Likewise.
25226 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25227 * sunrpc/rpcsvc/spray.x: Likewise.
25228 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25229 * sunrpc/rtime.c: Likewise.
25230 * sunrpc/svc.c: Likewise.
25231 * sunrpc/svc_auth.c: Likewise.
25232 * sunrpc/svc_authux.c: Likewise.
25233 * sunrpc/svc_raw.c: Likewise.
25234 * sunrpc/svc_run.c: Likewise.
25235 * sunrpc/svc_simple.c: Likewise.
25236 * sunrpc/svc_tcp.c: Likewise.
25237 * sunrpc/svc_udp.c: Likewise.
25238 * sunrpc/svc_unix.c: Likewise.
25239 * sunrpc/svcauth_des.c: Likewise.
25240 * sunrpc/xcrypt.c: Likewise.
25241 * sunrpc/xdr.c: Likewise.
25242 * sunrpc/xdr_array.c: Likewise.
25243 * sunrpc/xdr_float.c: Likewise.
25244 * sunrpc/xdr_mem.c: Likewise.
25245 * sunrpc/xdr_rec.c: Likewise.
25246 * sunrpc/xdr_ref.c: Likewise.
25247 * sunrpc/xdr_sizeof.c: Likewise.
25248 * sunrpc/xdr_stdio.c: Likewise.
25249
25250 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25251 handling.
25252
25253 2010-08-19 Andreas Schwab <schwab@redhat.com>
25254
25255 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25256
25257 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
25258
25259 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25260 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25261 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25262 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25263 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25264 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25265 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25266 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25267 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25268 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25269 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25270 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25271 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25272 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25273
25274 2010-07-26 Anton Blanchard <anton@samba.org>
25275
25276 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25277 * malloc/arena.c (heap_trim): Likewise.
25278
25279 2010-08-16 Ulrich Drepper <drepper@redhat.com>
25280
25281 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25282 here. Not...
25283 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25284 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25285
25286 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25287
25288 * sysdeps/i386/elf/Makefile: New file.
25289
25290 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25291
25292 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25293 from fanotify_init.
25294 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25295 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25296
25297 2010-08-15 Ulrich Drepper <drepper@redhat.com>
25298
25299 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25300 of strncasecmp_l.
25301 * sysdeps/multiarch/strcmp.S: Likewise.
25302
25303 2010-08-14 Ulrich Drepper <drepper@redhat.com>
25304
25305 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25306 strncase_l-nonascii.
25307 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25308 Add strncase_l-ssse3.
25309 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25310 * sysdeps/x86_64/strcmp.S: Likewise.
25311 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25312 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25313 * sysdeps/x86_64/strncase.S: New file.
25314 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25315 * sysdeps/x86_64/strncase_l.S: New file.
25316 * string/Makefile (strop-tests): Add strncasecmp.
25317 * string/test-strncasecmp.c: New file.
25318
25319 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25320 warning.
25321
25322 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25323 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25324
25325 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25326
25327 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25328
25329 2010-08-12 Ulrich Drepper <drepper@redhat.com>
25330
25331 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25332 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25333 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25334
25335 2010-05-01 Alan Modra <amodra@gmail.com>
25336
25337 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25338 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25339 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25340 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25341 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25342 tidying. Don't tail-call __sigjmp_save for static lib.
25343 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25344 save location.
25345 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25346 (CALL_MCOUNT): Add eh info, and nop after bl.
25347 (TAIL_CALL_SYSCALL_ERROR): New macro.
25348 (PSEUDO_RET): Use it.
25349 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25350 Correct save location of integer regs and cr.
25351 (_dl_profile_resolve): Correct cr save location. Delete nops
25352 after bl when SHARED. Reduce cfi size a little by better
25353 placement of cfi directives.
25354 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25355 make a stack frame. Instead use parm save area as a temp.
25356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25357 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25359 Don't make a stack frame for parent, use parm save area.
25360 Increase child stack frame to 112 bytes. Don't save unused reg,
25361 and adjust reg usage. Set up cfi on error recovery and
25362 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25364 (__makecontext): Add dummy nop after jump to exit.
25365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25366 Use correct parm save area and cr save, reduce stack frame.
25367 Correct cfi for possible PSEUDO_RET frame setup.
25368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25369 Branch to local label emitted by PSEUDO_RET rather than
25370 __syscall_error.
25371
25372 2010-08-12 Andreas Schwab <schwab@redhat.com>
25373
25374 [BZ #11904]
25375 * locale/programs/locale.c (print_assignment): New function.
25376 (show_locale_vars): Use it.
25377
25378 2010-08-11 Ulrich Drepper <drepper@redhat.com>
25379
25380 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25381 field.
25382 (struct statfs64): Likewise.
25383 (_STATFS_F_FLAGS): Define.
25384 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25385 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25386 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25387 (ST_VALID): Define locally.
25388 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25389 __statvfs_getflags, use the provided value.
25390 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25391 __ASSUME_STATFS_F_FLAGS.
25392
25393 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25394
25395 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25396 Add sys/fanotify.h.
25397 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25398 fanotify_mask for GLIBC_2.13.
25399 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25400 fanotify_init and fanotify_mark.
25401 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25402 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25403
25404 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25405 Add prlimit.
25406 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25407 prlimit64 for GLIBC_2.13.
25408 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25409 prlimit64.
25410 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25411 syscall.
25412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25413 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25414 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25415 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25416 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25417 add prlimit alias.
25418 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25419
25420 [BZ #11903]
25421 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25422 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25423
25424 * nss/Makefile: Add rules to build and run tst-nss-test1.
25425 * shlib-versions: Add entry for libnss_test1.
25426 * nss/nss_test1.c: New file.
25427 * nss/tst-nss-test1.c: New file.
25428
25429 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25430 (__nss_configure_lookup): Set appropriate entry in
25431 __nss_configure_lookup to true.
25432 * nss/nsswitch.h: Define enum with indeces of databases in
25433 databases and __nss_database_custom arrays. Declare
25434 __nss_database_custom.
25435 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25436 to avoid using nscd when custom rules are installed.
25437 * nss/getXXbyYY_r.c: Likewise.
25438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25439
25440 * nss/nss_files/files-parse.c: Whitespace fixes.
25441
25442 2010-08-09 Ulrich Drepper <drepper@redhat.com>
25443
25444 [BZ #11883]
25445 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25446 * posix/fnmatch_loop.c: Likewise.
25447
25448 2010-07-17 Andi Kleen <ak@linux.intel.com>
25449
25450 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25451 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25452 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25453 * Versions.def [GLIBC_2.13]: Add.
25454
25455 2010-08-06 Ulrich Drepper <drepper@redhat.com>
25456
25457 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25458 Also fail if tpwd after pwuid call is NULL.
25459
25460 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25461
25462 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25463 when converting to ms.
25464
25465 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25466
25467 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25468 EOPNOTSUPP errors with ENOTTY.
25469 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25470 EOPNOTSUPP errors with ENOTTY.
25471
25472 2010-07-31 Ulrich Drepper <drepper@redhat.com>
25473
25474 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25475 Add strcasecmp_l-ssse3.
25476 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25477 strcasecmp.
25478 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25479 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25480 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25481
25482 2010-07-30 Ulrich Drepper <drepper@redhat.com>
25483
25484 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25485
25486 * string/Makefile (strop-tests): Add strcasecmp.
25487 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25488 strcasecmp_l-nonascii.
25489 (gen-as-const-headers): Add locale-defines.sym.
25490 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25491 * sysdeps/x86_64/strcasecmp.S: New file.
25492 * sysdeps/x86_64/strcasecmp_l.S: New file.
25493 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25494 * sysdeps/x86_64/locale-defines.sym: New file.
25495 * string/test-strcasecmp.c: New file.
25496
25497 * string/test-strcasestr.c: Test both ends of the range of characters.
25498 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25499
25500 2010-07-29 Roland McGrath <roland@redhat.com>
25501
25502 [BZ #11856]
25503 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25504
25505 2010-07-27 Ulrich Drepper <drepper@redhat.com>
25506
25507 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25508 for ld.so.
25509
25510 2010-07-27 Andreas Schwab <schwab@redhat.com>
25511
25512 * manual/memory.texi (Malloc Tunable Parameters): Document
25513 M_PERTURB.
25514
25515 2010-07-26 Roland McGrath <roland@redhat.com>
25516
25517 [BZ #11840]
25518 * configure.in (-fgnu89-inline check): Set and substitute
25519 gnu89_inline, not libc_cv_gnu89_inline.
25520 * configure: Regenerated.
25521 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25522
25523 2010-07-26 Ulrich Drepper <drepper@redhat.com>
25524
25525 * string/test-strnlen.c: New file.
25526 * string/Makefile (strop-tests): Add strnlen.
25527 * string/tester.c (test_strnlen): Add a few more test cases.
25528 * string/tst-strlen.c: Better error reporting.
25529
25530 * sysdeps/x86_64/strnlen.S: New file.
25531
25532 2010-07-24 Ulrich Drepper <drepper@redhat.com>
25533
25534 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25535 lower-latency instructions.
25536
25537 2010-07-23 Ulrich Drepper <drepper@redhat.com>
25538
25539 * string/test-strcasestr.c: New file.
25540 * string/test-strstr.c: New file.
25541 * string/Makefile (strop-tests): Add strstr and strcasestr.
25542 * string/str-two-way.h: Don't undefine MAX.
25543 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25544
25545 2010-07-21 Andreas Schwab <schwab@redhat.com>
25546
25547 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25548 strcasestr-nonascii.
25549 (CFLAGS-strcasestr-nonascii.c): Define.
25550 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25551 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25552 Remove unused attribute.
25553
25554 2010-07-20 Roland McGrath <roland@redhat.com>
25555
25556 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25557 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25558 ld.so.cache was broken. With it, there is no way to disable dsocaps
25559 like LD_HWCAP_MASK can disable hwcaps.
25560
25561 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25562
25563 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25564
25565 2010-07-16 Ulrich Drepper <drepper@redhat.com>
25566
25567 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25568 call in strcasestr.
25569 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25570 __strcasestr_sse42_nonascii.
25571 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25572 strcasestr-nonascii.c.
25573 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25574
25575 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
25576
25577 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25578 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25579 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25580 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25581
25582 2010-07-09 Ulrich Drepper <drepper@redhat.com>
25583
25584 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25585 fcntl.
25586
25587 2010-07-06 Andreas Schwab <schwab@redhat.com>
25588
25589 [BZ #11577]
25590 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25591 dl_signal_cerror.
25592
25593 2010-07-06 Ulrich Drepper <drepper@redhat.com>
25594
25595 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25596 _PC_PIPE_BUF using F_GETPIPE_SZ.
25597
25598 2010-07-05 Roland McGrath <roland@redhat.com>
25599
25600 * manual/arith.texi (Rounding Functions): Fix rint description
25601 implicit in round description.
25602
25603 2010-07-02 Ulrich Drepper <drepper@redhat.com>
25604
25605 * elf/Makefile: Fix linking for a few tests to make recent linker
25606 happy.
25607
25608 2010-06-30 Andreas Schwab <schwab@redhat.com>
25609
25610 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25611 $(common-objpfx)libc_nonshared.a.
25612
25613 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
25614
25615 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25616 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25617 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25618 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25619 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25620 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25621 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25622 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25637 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25638 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25639 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25640 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25641 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25642 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25643 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25644 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25645 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25646 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25647 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25648 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25663
25664 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25665
25666 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25667 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25668 * string/memmove.c (memmove): Renamed to ...
25669 (MEMMOVE): ...this. Default to memmove.
25670 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25671 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25672 (END_CHK): Define.
25673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25674 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25675 mempcpy-ssse3-back memmove-ssse3-back.
25676 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25677 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25678 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25679 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25680 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25681 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25682 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25683 * sysdeps/x86_64/multiarch/memmove.c: New file.
25684 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25685 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25686 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25687 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25688 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25689 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25690 Define.
25691 (index_Fast_Copy_Backward): Define.
25692 (HAS_ARCH_FEATURE): Define.
25693 (HAS_FAST_REP_STRING): Define.
25694 (HAS_FAST_COPY_BACKWARD): Define.
25695
25696 2010-06-21 Andreas Schwab <schwab@redhat.com>
25697
25698 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25699 Restore proper fallback handling.
25700
25701 2010-06-19 Ulrich Drepper <drepper@redhat.com>
25702
25703 [BZ #11701]
25704 * posix/group_member.c (__group_member): Correct checking loop.
25705
25706 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25707 OOM in getpwuid_r correctly. Return error number when the caller
25708 should return, otherwise -1.
25709 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25710 call returning > 0 value.
25711 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25712
25713 2010-06-07 Andreas Schwab <schwab@redhat.com>
25714
25715 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25716 libc_nonshared.a from targets in modules-names.
25717
25718 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25719
25720 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25721 requires it.
25722
25723 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
25724
25725 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25726 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25728 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25729
25730 2010-06-02 Andreas Schwab <schwab@redhat.com>
25731
25732 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25733
25734 2010-06-14 Ulrich Drepper <drepper@redhat.com>
25735
25736 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25737 and F_GETPIPE_SZ.
25738 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25739 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25740 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25741 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25742 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25743 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25744
25745 2010-06-14 Roland McGrath <roland@redhat.com>
25746
25747 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25748
25749 2010-06-07 Jakub Jelinek <jakub@redhat.com>
25750
25751 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25752 __REDIRECT followed by __THROW.
25753 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25754 * posix/getopt.h (getopt): Likewise.
25755
25756 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25757
25758 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25759 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25760 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25761 in AT_FLAGS.
25762 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25763 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25764
25765 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
25766
25767 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25768
25769 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25770
25771 [BZ #11640]
25772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25773 Properly check family and model.
25774
25775 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25776
25777 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25778
25779 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
25780
25781 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25782
25783 2010-05-21 Ulrich Drepper <drepper@redhat.com>
25784
25785 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25786 symbol reference.
25787
25788 2010-05-19 Andreas Schwab <schwab@redhat.com>
25789
25790 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25791 symbol reference.
25792
25793 2010-05-21 Andreas Schwab <schwab@redhat.com>
25794
25795 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25796 and internal_recvmmsg.
25797 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25798 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25799 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25800 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25801
25802 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25803 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25804 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25805
25806 2010-05-20 Andreas Schwab <schwab@redhat.com>
25807
25808 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25809
25810 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
25811
25812 POWER7 optimizations.
25813 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25814 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25815
25816 2010-05-19 Ulrich Drepper <drepper@redhat.com>
25817
25818 * version.h: Update for 2.13 development version.
25819
25820 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
25821
25822 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25823 exceptions. Return 0.
25824
25825 2010-05-07 Roland McGrath <roland@redhat.com>
25826
25827 * elf/ldconfig.c (main): Add a const.
25828
25829 2010-05-06 Ulrich Drepper <drepper@redhat.com>
25830
25831 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25832 (args_options): Add no-idn option.
25833 (ahosts_keys_int): Add idn_flags to ai_flags.
25834 (parse_option): Handle 'i' option to clear idn_flags.
25835
25836 * malloc/malloc.c (_int_free): Possible race in the most recently
25837 added check. Only act on the data if no current modification
25838 happened.
25839
25840 See ChangeLog.17 for earlier changes.
This page took 1.202356 seconds and 6 git commands to generate.