1 2013-02-20 Petr Machata <pmachata@redhat.com>
3 * elf/elf.h (R_ARM_TARGET1): New macro.
4 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
15 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
33 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38 (R_ARM_THM_GOT_BREL12): Likewise.
39 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
40 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
41 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
42 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
43 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
44 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
45 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
46 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
47 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
49 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
51 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52 __attribute_used__ to __attribute__ ((unused)).
54 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
56 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
58 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
60 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
62 2013-02-19 Joseph Myers <joseph@codesourcery.com>
65 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
67 (ENTER): Remove both macro definitions.
69 (CHECK_BOUNDS_LOW): Likewise.
70 (CHECK_BOUNDS_HIGH): Likewise.
71 (CHECK_BOUNDS_BOTH): Likewise.
72 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
73 (RETURN_BOUNDED_POINTER): Likewise.
74 (RETURN_NULL_BOUNDED_POINTER): Likewise.
75 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
76 (POP_ERRNO_LOCATION_RETURN): Likewise.
77 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
78 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
79 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
81 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
82 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
83 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
84 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
85 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
86 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
87 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
88 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
89 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
90 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
91 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
92 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
93 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
94 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
96 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
97 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
99 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
100 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
101 * sysdeps/i386/i586/memset.S (memset): Likewise.
102 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
103 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
104 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
106 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
107 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
108 Change uses of L(2) to L(out).
109 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
110 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
111 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
112 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
113 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
115 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
116 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
118 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
119 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
120 (RETURN): Do not use macro LEAVE.
121 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
122 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
123 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
124 * sysdeps/i386/i686/memset.S (memset): Likewise.
125 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
126 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
127 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
128 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
130 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
131 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
132 L(1_2) and L(1_3) into L(1).
133 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
134 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
135 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
136 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
137 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
138 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
139 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
140 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
141 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
143 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
144 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
145 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
146 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
147 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
148 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
149 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
150 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
151 * sysdeps/i386/strcspn.S (strcspn): Likewise.
152 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
153 * sysdeps/i386/strrchr.S (strrchr): Likewise.
154 * sysdeps/i386/strspn.S (strspn): Likewise.
155 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
157 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
158 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
159 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
160 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
162 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
163 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
164 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
166 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
168 2013-02-19 Jakub Jelinek <jakub@redhat.com>
170 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
173 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
175 * math/atest-exp.c (exp_mpn): Remove ROUND.
176 * math/atest-exp2.c (exp_mpn): Likewise.
177 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
179 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
180 * stdlib/tst-tls-atexit-lib.c: Likewise.
181 * stdlib/tst-tls-atexit.c: Likewise.
183 2013-02-18 Mike Frysinger <vapier@gentoo.org>
185 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
186 and __attribute_alloc_size__.
188 2013-02-18 Mike Frysinger <vapier@gentoo.org>
190 * include/programs/xmalloc.h: Change __attribute_alloc_size to
191 __attribute_alloc_size__.
192 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
193 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
195 2013-02-18 Mike Frysinger <vapier@gentoo.org>
197 * include/programs/xmalloc.h: New file.
198 * catgets/gencat.c: Include it.
199 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
200 * elf/pldd.c: Likewise.
201 * iconv/iconv_charmap.c: Likewise.
202 * iconv/iconvconfig.c: Likewise.
203 * iconv/strtab.c: Likewise.
204 * locale/programs/locale.c: Likewise.
205 * locale/programs/localedef.h: Likewise.
206 * locale/programs/simple-hash.c: Likewise.
207 * nscd/nscd.h: Likewise.
208 * nss/makedb.c: Likewise.
209 * sysdeps/generic/ldconfig.h: Likewise.
211 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
213 * Versions.def: Add GLIBC_2.18.
214 * include/link.h (struct link_map): New member l_tls_dtor_count.
215 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
216 (__call_tls_dtors): Likewise.
217 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
218 __cxa_thread_atexit_impl.
219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
227 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
235 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
236 (tests): Add test case tst-tls-atexit.
237 (modules-names): Add shared library for tst-tls-atexit.
238 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
239 (GLIBC_PRIVATE): Add __call_tls_dtors.
240 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
242 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
243 * stdlib/tst-tls-atexit.c: New test case.
244 * stdlib/tst-tls-atexit-lib.c: New test case.
246 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
248 * elf/Versions (ld): Add _dl_find_dso_for_object.
249 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
250 * elf/dl-open.c (_dl_find_dso_for_object): New function.
251 (dl_open_worker): Use _dl_find_dso_for_object.
252 * elf/dl-sym.c (do_sym): Likewise.
253 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
255 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
257 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
258 Syntactic changes only.
259 (_dl_runtime_profile): Do a tail-call to the resolved function.
261 2013-02-17 Joseph Myers <joseph@codesourcery.com>
264 * sysdeps/x86_64/bp-asm.h: Remove file.
265 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
266 <bp-sym.h> and <bp-asm.h>.
267 (__clone): Do not use BP_SYM.
268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
269 <bp-sym.h> and <bp-asm.h>.
270 * sysdeps/unix/x86_64/sysdep.S: Likewise.
271 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
273 (_setjmp): Do not use BP_SYM.
274 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
276 (setjmp): Do not use BP_SYM.
277 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
279 (mempcpy): Do not use BP_SYM in weak_alias.
280 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
282 (strchr): Do not use BP_SYM.
283 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
285 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
286 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
287 (_start): Do not use BP_SYM.
288 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
290 (strcat): Do not use BP_SYM.
291 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
293 (STRCMP): Do not use BP_SYM.
294 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
296 (STRCPY): Do not use BP_SYM.
297 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
299 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
301 (FUNCTION): Do not use BP_SYM.
302 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
304 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
306 2013-02-17 Andreas Jaeger <aj@suse.de>
308 * time/Versions: Sort entries.
309 * string/Versions: Likewise.
310 * resolv/Versions: Likewise.
311 * posix/Versions: Likewise.
312 * iconv/Versions: Likewise.
313 * elf/Versions: Likewise.
314 * wcsmbs/Versions: Likewise.
316 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
318 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
319 loop termination condition.
321 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
322 variable to calculate EZ.
325 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
326 the lower precision input.
328 2013-02-15 Joseph Myers <joseph@codesourcery.com>
331 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
332 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
333 (run-via-rtld-prefix): Do not handle %-bp tests.
334 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
335 (all-object-suffixes): Remove .ob.
336 (bppfx): Remove variable.
337 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
338 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
339 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
340 [$(build-bounded) = yes] (libtype.ob): Likewise.
341 * Makerules (elide-routines.ob): Remove variable.
342 (do-tests-clean): Do not handle *-bp.out.
343 (common-mostlyclean): Do not handle *-bp and *-bp.out.
344 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
345 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
346 (tests): Do not include $(tests-bp.out).
347 (xtests): Do not include $(xtests-bp.out).
348 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
349 [$(build-bounded) = yes] ($(addprefix
350 $(objpfx),$(binaries-bounded))): Remove rule.
351 ($(objpfx)%-bp.out): Remove rule.
352 * config.make.in (build-bounded): Remove variable.
353 * crypt/Makefile [$(build-bounded) = yes]
354 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
355 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
357 [$(build-bounded) = yes] (install-lib): Likewise.
358 [$(build-bounded) = yes] (generated): Likewise.
359 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
361 * intl/Makefile [$(build-bounded) = yes]
362 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
363 * math/Makefile [$(build-bounded) = yes]
364 ($(tests:%=$(objpfx)%-bp): Likewise.
365 * misc/Makefile [$(build-bounded) = yes]
366 ($(objpfx)tst-tsearch-bp): Likewise.
367 * nptl/Makeconfig (bounded-thread-library): Remove variable.
368 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
370 * string/Makefile (o-objects.ob): Remove variable.
371 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
372 (CFLAGS-.ob): Remove variable.
373 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
374 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
375 both definitions of variable.
376 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
377 (ASFLAGS-.ob): Remove variable.
379 2013-02-14 Joseph Myers <joseph@codesourcery.com>
382 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
383 Remove __BOUNDED_POINTERS__ from condition.
384 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
385 * string/bits/string2.h [!__NO_STRING_INLINES &&
386 !__BOUNDED_POINTERS__]: Likewise.
387 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
389 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
390 Remove conditional code.
391 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
392 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
393 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
397 * csu/libc-start.c: Do not include <bp-sym.h>.
398 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
399 * elf/dl-open.c: Do not include <bp-sym.h>.
400 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
401 * math/fegetenv.c: Do not include <bp-sym.h>.
402 (fegetenv): Do not use BP_SYM in versioned symbols.
403 * nptl/sysdeps/pthread/bits/libc-lockP.h
404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
407 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
409 (__pthread_mutex_destroy): Likewise.
410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
411 (__pthread_mutex_lock): Likewise.
412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
413 (__pthread_mutex_trylock): Likewise.
414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
415 (__pthread_mutex_unlock): Likewise.
416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
417 (__pthread_mutexattr_init): Likewise.
418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
419 (__pthread_mutexattr_destroy): Likewise.
420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
421 (__pthread_mutexattr_settype): Likewise.
422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
423 (__pthread_rwlock_init): Likewise.
424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
425 (__pthread_rwlock_destroy): Likewise.
426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
427 (__pthread_rwlock_rdlock): Likewise.
428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
429 (__pthread_rwlock_tryrdlock): Likewise.
430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
431 (__pthread_rwlock_wrlock): Likewise.
432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
433 (__pthread_rwlock_trywrlock): Likewise.
434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
435 (__pthread_rwlock_unlock): Likewise.
436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
437 (__pthread_key_create): Likewise.
438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
439 (__pthread_setspecific): Likewise.
440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
441 (__pthread_getspecific): Likewise.
442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
445 (_pthread_cleanup_push_defer): Likewise.
446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
447 (_pthread_cleanup_pop_restore): Likewise.
448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
449 (pthread_setcancelstate): Likewise.
450 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
452 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
453 (memchr): Do not use BP_SYM in weak_alias.
454 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
455 (fegetenv): Do not use BP_SYM in versioned symbols.
456 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
457 (fesetenv): Do not use BP_SYM in versioned symbols.
458 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
459 (feupdateenv): Do not use BP_SYM in versioned symbols.
460 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
461 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
462 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
463 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
464 (open64): Do not use BP_SYM in weak_alias.
465 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
466 (fegetenv): Do not use BP_SYM in versioned symbols.
467 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
468 (fesetenv): Do not use BP_SYM in versioned symbols.
469 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
470 (feupdateenv): Do not use BP_SYM in versioned symbols.
471 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
472 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
473 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
474 (feraiseexcept): Do not use BP_SYM in versioned symbols.
475 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
476 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
477 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
479 (__libc_start_main): Do not use BP_SYM.
481 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
484 redundant return line.
488 (sub_magnitudes): Likewise.
494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
498 (sub_magnitudes): Likewise.
505 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
507 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
508 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
511 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
512 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
513 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
514 of __mul for squares.
515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
519 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
520 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
522 2013-02-13 Joseph Myers <joseph@codesourcery.com>
525 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
527 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
528 prototype or function definition. Rename ubp_* variables and
529 parameters. Remove argv definitions conditional on
530 [__BOUNDED_POINTERS__].
531 * debug/backtrace.c (__backtrace): Do not use __unbounded.
532 * elf/dl-runtime.c (_dl_fixup): Likewise.
533 * include/set-hooks.h (RUN_HOOK): Likewise.
534 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
536 * string/strcpy.c (strcpy): Do not use __unbounded.
537 * sysdeps/generic/frame.h (struct layout): Likewise.
538 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
539 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
540 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
541 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
542 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
543 (__backtrace): Likewise.
544 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
546 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
547 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
548 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
550 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
551 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
552 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
553 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
554 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
555 Do not use __unbounded.
556 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
557 Rename __unboundedrlimits parameter to rlimits in prototype.
558 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
559 Do not use __unbounded.
560 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
562 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
563 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
564 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
565 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
566 __ptrvalue or __unbounded.
567 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
568 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
570 (__new_msgctl): Do not use __ptrvalue.
571 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
573 (__libc_msgrcv): Do not use __ptrvalue.
574 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
575 startup_info): Do not use __unbounded.
576 (__libc_start_main): Likewise. Rename ubp_* variables and
577 parameters. Remove argv definitions conditional on
578 [__BOUNDED_POINTERS__].
579 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
581 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
583 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
585 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
587 (__new_shmctl): Do not use __ptrvalue.
588 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
589 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
591 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
592 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
593 (__libc_sigaction): Likewise.
594 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
595 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
597 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
599 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
601 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
603 * string/mempcpy.c: Implement by calling memcpy.
605 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
607 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
609 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
612 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
613 values in the mantissa.
615 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
616 minimize writes to Z.
617 (sub_magnitudes): Simplify code a bit.
619 2013-02-12 Roland McGrath <roland@hack.frob.com>
621 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
622 from the message. The linker prefixes all warnings with that already.
624 2013-02-12 Andreas Schwab <schwab@suse.de>
627 * posix/regexec.c (extend_buffers): Add parameter min_len.
628 (check_matching): Pass minimum needed length.
629 (clean_state_log_if_needed): Likewise.
630 (get_subexp): Likewise.
631 * posix/Makefile (tests): Add bug-regex34.
632 (bug-regex34-ENV): Define.
633 * posix/bug-regex34.c: New file.
636 * posix/regcomp.c (parse_bracket_exp): When looking up collating
637 elements compare against the byte sequence of it, not its name.
638 * posix/Makefile (tests): Add bug-regex35.
639 (bug-regex35-ENV): Define.
640 * posix/bug-regex35.c: New file.
642 2013-02-11 Tom de Vries <tom@codesourcery.com>
644 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
646 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
647 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
648 (CHECK_EOL): Add undef.
650 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
652 * bits/stdlib-bsearch.h: New file.
653 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
654 * stdlib/stdlib.h: Likewise.
656 2013-02-11 Roland McGrath <roland@hack.frob.com>
658 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
659 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
661 * manual/search.texi (Array Search Function): Add missing const in
663 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
664 declaration to use rlim_t.
665 (Basic Scheduling Functions): Remove erroneous const from
666 sched_getparam prototype. Remove erroneous * from
667 sched_get_priority_max and sched_get_priority_min prototypes.
668 (Resource Usage): Fix summary @comment on vtimes to refer to
669 sys/vtimes.h rather than vtimes.h.
670 Add missing *s in vtimes prototype.
671 (Limits on Resources): Fix ulimit prototype to return long int.
672 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
673 prototypes to use long int rather than double.
674 (BSD Random): Fix initstate and setstate to use char *, not void *.
675 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
676 prototype to make second argument 'struct aiocb64 *const[]'.
677 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
678 (Status of AIO Operations): Remove erroneous const in aio_return and
679 aio_return64 prototypes.
680 (Synchronizing I/O): Fix sync prototype to return void.
681 * manual/startup.texi (Suboptions): Remove an erroneous const in
683 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
684 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
685 use size_t rather than int.
686 (Scanning All Users): Likewise for getpwent_r.
687 (Setting Groups): Add missing const to setgroups prototype.
688 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
689 * manual/socket.texi (Host Names): Fix gethostbyaddr and
690 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
691 'const void *' rather than 'const char *'.
692 (Host Address Functions): Likewise for inet_ntop.
693 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
694 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
695 ssize_t for return value.
696 (Sending Data): Likewise for send, sendto, sendmsg.
697 (Socket Option Functions): Add a missing const in setsockopt prototype.
698 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
699 use wchar_t for the argument.
700 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
701 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
703 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
704 double/float/long double for second argument.
705 Fix return types of significand, significandf, significandl.
706 * manual/filesys.texi (Setting Permissions): Use mode_t for second
707 argument in fchmod prototype.
708 (File Owner): Use uid_t and gid_t in fchown prototype.
709 (File Times): Add const to utimes, futimes, and lutimes prototypes.
710 (Making Special Files): Use mode_t and dev_t in mknod prototype.
711 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
712 use 'const struct dirent **' as argument types to CMP function pointer
714 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
715 (File Times): Fix summary magic @comment for struct utimbuf and utime
716 to refer to utime.h, not time.h.
717 * manual/string.texi (Argz Functions): Add missing const in
718 argz_extract and argz_next prototypes.
719 (Finding Tokens in a String): Likewise for basename.
720 (String/Array Comparison): Fix typo in wcscasecmp prototype.
721 (Copying and Concatenation): Fix typo in wmemmove prototype.
722 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
723 (Signal Stack): Remove erroneous const in sigstack prototype.
724 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
726 (Simple Calendar Time): Likewise for stime.
727 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
729 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
730 say sys/sysctl.h instead.
731 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
732 and vsyslog prototypes.
734 2013-02-11 Tom de Vries <tom@codesourcery.com>
736 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
739 2013-02-11 Roland McGrath <roland@hack.frob.com>
741 * misc/sys/mman.h: Fix typo in mremap comment.
743 2013-02-08 Roland McGrath <roland@hack.frob.com>
745 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
748 2013-02-08 Joseph Myers <joseph@codesourcery.com>
751 * debug/segfault.c: Don't include <bp-checks.h>.
752 * sysdeps/generic/bp-checks.h: Remove file.
753 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
754 (__GETDENTS): Don't use CHECK_N.
755 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
756 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
757 (__getgroups): Don't use CHECK_N.
758 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
759 (setgroups): Don't use CHECK_N.
760 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
761 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
762 (__libc_msgrcv): Don't use CHECK_N.
763 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
764 (__libc_msgsnd): Don't use CHECK_N.
765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
767 (__libc_pread): Don't use CHECK_N.
768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
769 include <bp-checks.h>.
770 (__libc_pread64): Don't use CHECK_N.
771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
772 include <bp-checks.h>.
773 (__libc_pwrite): Don't use CHECK_N.
774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
775 include <bp-checks.h>.
776 (__libc_pwrite64): Don't use CHECK_N.
777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
779 (__libc_pread): Don't use CHECK_N.
780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
781 include <bp-checks.h>.
782 (__libc_pread64): Don't use CHECK_N.
783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
784 include <bp-checks.h>.
785 (__libc_pwrite): Don't use CHECK_N.
786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
787 include <bp-checks.h>.
788 (__libc_pwrite64): Don't use CHECK_N.
789 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
790 (do_pread): Don't use CHECK_N.
791 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
792 (do_pread64): Don't use CHECK_N.
793 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
794 (do_pwrite): Don't use CHECK_N.
795 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
796 (do_pwrite64): Don't use CHECK_N.
797 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
798 (__libc_readv): Don't use CHECK_N.
799 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
800 (semop): Don't use CHECK_N.
801 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
803 (semtimedop): Don't use CHECK_N.
804 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
805 (__libc_pread): Don't use CHECK_N.
806 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
808 (__libc_pread64): Don't use CHECK_N.
809 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
811 (__libc_pwrite): Don't use CHECK_N.
812 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
814 (__libc_pwrite64): Don't use CHECK_N.
815 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
817 (__libc_msgrcv): Don't use CHECK_N.
818 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
819 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
820 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
821 (__libc_writev): Don't use CHECK_N.
823 2013-02-08 Roland McGrath <roland@hack.frob.com>
825 * string/strcpy.c: Removed unused variable.
827 * Makeconfig (+sysdep-includes): Define with := rather than =.
828 Use an existing include/ subdir of each sysdeps dir before it.
830 2013-02-08 Carlos O'Donell <carlos@redhat.com>
832 * nscd/connection.c (register_traced_file): Comment function.
833 [HAVE_INOTIFY] (union __inev): Define.
834 [HAVE_INOTIFY] (inotify_check_files): New function.
835 [HAVE_INOTIFY] (clear_db_cache): Likewise.
836 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
838 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
840 2013-02-08 Carlos O'Donell <carlos@redhat.com>
842 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
843 loaded if not already and that a failure is permanent.
845 2013-02-08 Carlos O'Donell <carlos@redhat.com>
848 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
849 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
851 2013-02-08 Joseph Myers <joseph@codesourcery.com>
854 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
855 (CHECK_1_NULL_OK): Likewise.
856 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
857 (__fxstat): Do not use CHECK_1.
858 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
860 (___fxstat64): Do not use CHECK_1.
861 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
863 (__fxstatat): Do not use CHECK_1.
864 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
866 (__fxstatat64): Do not use CHECK_1.
867 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
869 (__fxstat): Do not use CHECK_1.
870 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
872 (__fxstatat): Do not use CHECK_1.
873 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
875 (__getresgid): Do not use CHECK_1.
876 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
878 (__getresuid): Do not use CHECK_1.
879 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
881 (__lxstat): Do not use CHECK_1.
882 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
884 (__old_msgctl): Do not use CHECK_1.
885 (__new_msgctl): Likewise.
886 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
888 (__new_setrlimit): Do not use CHECK_1.
889 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
891 (__old_shmctl): Do not use CHECK_1.
892 (__new_shmctl): Likewise.
893 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
895 (__xstat): Do not use CHECK_1.
896 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
897 (__lxstat): Do not use CHECK_1.
898 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
900 (___lxstat64): Do not use CHECK_1.
901 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
902 (__old_msgctl): Do not use CHECK_1.
903 (__new_msgctl): Likewise.
904 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
906 (__gettimeofday): Do not use CHECK_1.
907 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
908 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
909 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
911 (__gettimeofday): Do not use CHECK_1.
912 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
913 (__old_shmctl): Do not use CHECK_1_NULL_OK.
914 (__new_shmctl): Do not use CHECK_1.
915 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
917 (do_sigtimedwait): Do not use CHECK_1.
918 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
920 (do_sigwaitinfo): Do not use CHECK_1.
921 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
923 (msgctl): Do not use CHECK_1.
924 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
926 (shmctl): Do not use CHECK_1.
927 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
928 (ustat): Do not use CHECK_1.
929 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
931 (__fxstat): Do not use CHECK_1.
932 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
934 (__fxstatat): Do not use CHECK_1.
935 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
937 (__lxstat): Do not use CHECK_1.
938 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
940 (__xstat): Do not use CHECK_1.
941 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
942 (__xstat): Do not use CHECK_1.
943 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
944 (___xstat64): Do not use CHECK_1.
947 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
949 (CHECK_BOUNDS_HIGH): Likewise.
950 * string/strcpy.c: Do not include <bp-checks.h>.
951 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
953 2013-02-07 Roland McGrath <roland@hack.frob.com>
955 * nscd/nscd-client.h (__nscd_drop_map_ref):
956 Add __attribute__ ((unused)).
957 * nis/nss-nisplus.h (niserr2nss): Likewise.
959 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
960 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
962 * csu/libc-tls.c (init_static_tls, init_slotinfo):
963 Remove inline keyword.
964 * include/rounding-mode.h (round_away): Likewise.
965 * libio/wfileops.c (adjust_wide_data): Likewise.
966 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
967 (__m128i_strloadu_tolower): Likewise.
968 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
969 (__m128i_strloadu_tolower): Likewise.
970 * time/mktime.c (ydhms_diff): Likewise.
971 * locale/elem-hash.h (elem_hash): Likewise.
972 * locale/setlocale.c (setdata): Likewise.
973 * posix/regex_internal.h (re_string_char_size_at): Likewise.
974 (re_string_wchar_at): Likewise.
975 (bitset_not, bitset_merge, bitset_mask): Likewise.
976 [!(__GNUC__ > 3)] (inline): Remove macro.
977 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
978 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
979 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
980 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
981 * string/memcmp.c (memcmp_bytes): Likewise.
982 * locale/programs/locarchive.c (compute_hashval): Likewise.
983 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
984 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
985 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
986 * nss/getent.c (print_rpc, print_protocols): Likewise.
987 (print_passwd, print_group, print_aliases): Likewise.
988 * nis/nss-nisplus.h (niserr2nss): Likewise.
989 * nscd/connections.c (restart_p): Likewise.
990 Change return type to bool.
992 2013-02-05 Roland McGrath <roland@hack.frob.com>
994 * Makeconfig (all-Depend-files): Add existing
995 $(sorted-subdirs:=/Depend) files.
996 (all-subdirs): Remove nss.
997 * sysdeps/unix/inet/Subdirs: Add it here instead.
998 * hesiod/Depend: New file.
1000 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1001 instead of calling alloca.
1003 * io/lseek.c (__lseek): Rename to __libc_lseek.
1004 Define __lseek as an alias.
1006 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1008 2013-02-04 Carlos O'Donell <carlos@redhat.com>
1010 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1011 else clause and remove check for non-standard endianness.
1013 2013-02-04 David S. Miller <davem@davemloft.net>
1015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1017 2013-02-04 Joseph Myers <joseph@codesourcery.com>
1020 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1021 (__ubp_memchr): Remove prototype.
1022 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1023 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1024 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1025 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1026 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1028 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1029 (__ubp_memchr): Likewise.
1030 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1031 (__ubp_memchr): Likewise.
1032 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1033 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1034 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1035 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1037 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1038 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1039 (__getcwd): Do not use CHECK_STRING.
1040 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1042 (__real_chown): Do not use CHECK_STRING.
1043 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1045 (fchownat): Do not use CHECK_STRING.
1046 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1048 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1050 (__lchown): Do not use CHECK_STRING.
1051 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1052 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1053 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1054 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1056 include <bp-checks.h>.
1057 (truncate64): Do not use CHECK_STRING.
1058 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1060 (__real_chown): Do not use CHECK_STRING.
1061 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1063 (__lchown): Do not use CHECK_STRING.
1064 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1066 (__chown): Do not use CHECK_STRING.
1067 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1069 (truncate64): Do not use CHECK_STRING.
1070 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1072 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1073 (__xmknod): Do not use CHECK_STRING.
1074 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1076 (__xmknodat): Do not use CHECK_STRING.
1077 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1078 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1080 2013-02-04 Andreas Schwab <schwab@suse.de>
1083 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1084 * include/netdb.h: Likewise for h_errno.
1085 * elf/tst-stackguard1.c: Include <tls.h>.
1087 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1089 * elf/link.h (struct link_map): Extend the l_addr comment.
1090 * include/link.h (struct link_map): Likewise.
1092 2013-02-01 Joseph Myers <joseph@codesourcery.com>
1095 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1096 (BOUNDED_1): Remove macro.
1097 * debug/backtrace.c: Don't include <bp-checks.h>.
1098 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1099 (__backtrace): Likewise.
1100 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1102 (__backtrace): Don't use BOUNDED_1.
1103 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1105 (__backtrace): Don't use BOUNDED_1.
1106 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1107 (__backtrace): Don't use BOUNDED_1.
1108 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1109 (shmat): Don't use BOUNDED_N.
1111 2013-01-31 Joseph Myers <joseph@codesourcery.com>
1114 * sysdeps/generic/bp-start.h: Remove file.
1115 * csu/libc-start.c: Don't include <bp-start.h>.
1116 (LIBC_START_MAIN): Set up __environ directly instead of using
1117 INIT_ARGV_and_ENVIRON.
1118 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1122 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1124 (CHECK_FCNTL): Likewise.
1125 (CHECK_N_PAGES): Likewise.
1128 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1130 (CHECK_SIGSET_NULL_OK): Likewise.
1131 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1133 (sigpending): Don't use CHECK_SIGSET.
1134 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1136 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1137 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1139 (do_sigsuspend): Don't use CHECK_SIGSET.
1140 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1142 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1143 (do_sigwait): Don't use CHECK_SIGSET.
1144 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1146 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1147 include <bp-checks.h>.
1148 (sigpending): Don't use CHECK_SIGSET.
1149 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1150 include <bp-checks.h>.
1151 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1152 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1154 (sigpending): Don't use CHECK_SIGSET.
1155 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1157 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1160 * sysdeps/generic/bp-semctl.h: Remove file.
1161 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1162 <bp-checks.h> and <bp-semctl.h>.
1163 (__old_semctl): Don't use CHECK_SEMCTL.
1164 (__new_semctl): Likewise.
1165 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1167 (__old_semctl): Don't use CHECK_SEMCTL.
1168 (__new_semctl): Likewise.
1169 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1170 <bp-checks.h> and <bp-semctl.h>.
1171 (__old_semctl): Don't use CHECK_SEMCTL.
1172 (__new_semctl): Likewise.
1173 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1174 <bp-checks.h> and <bp-semctl.h>.
1175 (semctl): Don't use CHECK_SEMCTL.
1178 * Makerules (elide-bp-thunks): Remove variable.
1179 (elide-routines.oS): Don't use $(elide-bp-thunks).
1180 (elide-routines.os): Likewise.
1181 (elide-routines.o): Likewise.
1182 (elide-routines.op): Likewise.
1183 (elide-routines.og): Likewise.
1184 (objects): Don't use $(bp-thunks).
1185 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1187 (common-generated): Do not add s-proto-bp.d.
1188 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1191 Do not generate makefile rules for bounded-pointer thunks.
1192 * sysdeps/generic/bp-thunks.h: Remove file.
1193 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1194 * sysdeps/unix/s-proto-bp.S: Likewise.
1197 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1198 parts of result separately when argument is not close to line from
1199 -i to i and one part of argument is small.
1200 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1201 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1202 * math/libm-test.inc (cacos_test): Add more tests.
1203 (casin_test): Likewise.
1204 (casinh_test): Likewise.
1205 * sysdeps/i386/fpu/libm-test-ulps: Update.
1206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1208 2013-01-31 David S. Miller <davem@davemloft.net>
1210 * po/de.po: Update from translation team.
1212 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1214 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1216 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1218 * configure.in (_AC_PROG_CC_C89): New definition.
1219 * configure: Regenerate.
1221 * configure.in (AC_PROG_CPP): New definition.
1222 * configure: Regenerate.
1224 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1226 * debug/tst-backtrace.h: New file.
1227 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1228 (ret): Remove variable.
1230 (FAIL): Remove macro.
1231 (NO_INLINE): Likewise.
1232 (fn1): Use match function instead of strstr.
1233 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1234 (ret): Remove variable.
1236 (FAIL): Remove macro.
1237 (NO_INLINE): Likewise.
1238 (fn): Use match function instead of strstr.
1239 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1240 (ret): Remove variable.
1242 (FAIL): Remove macro.
1243 (NO_INLINE): Likewise.
1244 (handle_signal): Use match function instead of strstr.
1245 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1246 (ret): Remove variable.
1248 (FAIL): Remove macro.
1249 (NO_INLINE): Likewise.
1250 (handle_signal): Use match function instead of strstr.
1252 2013-01-23 Roland McGrath <roland@hack.frob.com>
1254 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1256 2013-01-23 David S. Miller <davem@davemloft.net>
1258 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1259 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1260 argument of CAS if possible.
1261 * sysdeps/sparc/sparc64/bits/atomic.h
1262 (__arch_compare_and_exchange_val_32_acq): Likewise.
1263 (__arch_compare_and_exchange_val_64_acq): Likewise.
1265 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1267 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1268 * sysdeps/posix/ulimit.c: ... this.
1270 * sysdeps/unix/bsd/ulimit.c: Remove file.
1272 2013-01-23 Adam Conrad <adconrad@0c3.net>
1274 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1275 (LDFLAGS-tst-array5): Likewise.
1277 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1280 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1281 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1282 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1283 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1285 2013-01-21 David S. Miller <davem@davemloft.net>
1287 * sysdeps/sparc/backtrace.c: New file.
1288 * sysdeps/sparc/sparc32/backtrace.h: New file.
1289 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1290 * sysdeps/sparc/sparc64/backtrace.h: New file.
1291 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1292 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1295 2013-01-21 Andreas Schwab <schwab@suse.de>
1298 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1301 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1307 2013-01-18 Joseph Myers <joseph@codesourcery.com>
1308 Mark Mitchell <mark@codesourcery.com>
1309 Tom de Vries <tom@codesourcery.com>
1310 Paul Pluzhnikov <ppluzhnikov@google.com>
1312 * debug/tst-backtrace2.c: New file.
1313 * debug/tst-backtrace3.c: Likewise.
1314 * debug/tst-backtrace4.c: Likewise.
1315 * debug/tst-backtrace5.c: Likewise.
1316 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1317 (CFLAGS-tst-backtrace3.c): Likewise.
1318 (CFLAGS-tst-backtrace4.c): Likewise.
1319 (CFLAGS-tst-backtrace5.c): Likewise.
1320 (LDFLAGS-tst-backtrace2): Likewise.
1321 (LDFLAGS-tst-backtrace3): Likewise.
1322 (LDFLAGS-tst-backtrace4): Likewise.
1323 (LDFLAGS-tst-backtrace5): Likewise.
1324 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1325 tst-backtrace4 and tst-backtrace5.
1327 2013-01-18 Anton Blanchard <anton@samba.org>
1328 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1330 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1331 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1332 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1333 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1335 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1336 "+r" and remove output regs list as redundant. Add explicit inline
1337 asm to specify register of return val to work around compiler codegen
1338 bug. Remove (int) cast on return value. Add return type parameter to
1339 use in macro so that this macro does not truncate return value for
1341 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1342 pass to INTERNAL_VSYSCALL_NCS.
1343 (INLINE_VSYSCALL): Add 'long int' as return type to
1344 INTERNAL_VSYSCALL_NCS macro invocation.
1345 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1346 INTERNAL_VSYSCALL_NCS macro invocation.
1347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1349 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1352 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1353 Fix application of SIMD FP exception mask.
1355 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1356 mp_no from a power of two.
1357 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1358 __mpexp_twomm1. Use __pow_mp.
1360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1363 2013-01-17 David S. Miller <davem@davemloft.net>
1365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1367 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1370 * include/complex.h: Condition contents on [!_COMPLEX_H].
1371 (__kernel_casinhf): New prototype.
1372 (__kernel_casinh): Likewise.
1373 (__kernel_casinhl): Likewise.
1374 * math/Makefile (libm_calls): Add k_casinh.
1375 * math/k_casinh.c: New file.
1376 * math/k_casinhf.c: Likewise.
1377 * math/k_casinhl.c: Likewise.
1378 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1379 finite nonzero arguments.
1380 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1381 finite nonzero arguments.
1382 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1383 finite nonzero arguments.
1384 * math/s_casinh.c: Do not include <float.h>.
1385 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1386 * math/s_casinhf.c: Do not include <float.h>.
1387 (__casinhf): Move code for finite nonzero arguments to
1389 * math/s_casinhl.c: Do not include <float.h>.
1390 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1392 (__casinhl): Move code for finite nonzero arguments to
1394 * math/libm-test.inc (cacos_test): Add more tests.
1395 * sysdeps/i386/fpu/libm-test-ulps: Update.
1396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1398 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1400 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1401 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1402 [!HAVE_MREMAP]: Remove [defined linux] case.
1403 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1405 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1407 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1409 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
1411 * elf/elf.h (R_386_SIZE32): New relocation.
1412 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1414 (elf_machine_rela): Likewise.
1415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1416 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1418 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1420 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1421 (FP_FAST_FMA): Do not define.
1422 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1423 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1424 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1425 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1426 !_SOFT_FLOAT]: Likewise.
1427 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1428 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1430 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1431 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1432 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1433 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1434 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1435 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1438 2013-01-16 Andreas Schwab <schwab@suse.de>
1441 * include/stdlib.h (__mktemp): Add declaration.
1442 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1443 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1445 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1447 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1449 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1450 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1451 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1453 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1454 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1456 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1458 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1459 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1460 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1462 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1463 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1465 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1467 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1469 2013-01-15 David S. Miller <davem@davemloft.net>
1471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1472 trunc{,f} to libm-sysdep_routes.
1473 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1483 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1484 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1485 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1486 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1487 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1488 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1491 nearbyint{,f} to libm-sysdep_routes.
1492 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1503 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1505 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1506 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1508 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1509 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1510 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1512 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1513 libc_feholdexcept and libc_fesetenv.
1515 2013-01-15 Mike Frysinger <vapier@gentoo.org>
1517 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1519 2013-01-14 David S. Miller <davem@davemloft.net>
1521 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1522 (SPARC_ASM_VIS2_IFUNC): Likewise.
1523 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1525 use of 'siam' instruction.
1526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1559 routines to libm-sysdep_routines.
1560 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1563 fdim/fdimf to libm-sysdep_routines.
1564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1572 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1573 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1574 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1575 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1577 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1579 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1582 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1587 local variable MPTWO.
1588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1591 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1593 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1596 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1598 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1600 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1602 * manual/pattern.texi (glob_t): Document gl_flags.
1603 (glob64_t): Likewise.
1605 2013-01-11 David S. Miller <davem@davemloft.net>
1607 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1608 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1609 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
1610 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1611 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1612 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1613 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1614 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1615 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1616 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1617 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1618 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1619 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1621 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1622 sparc V9 rather than using V8 code.
1623 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1624 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1626 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1628 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1631 2013-01-11 Roland McGrath <roland@hack.frob.com>
1633 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1634 not in the main loop.
1635 * configure: Regenerated.
1637 2013-01-11 Joseph Myers <joseph@codesourcery.com>
1639 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1640 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1642 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1643 [!__GLIBC_HAVE_LONG_LONG] case.
1644 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1645 condition to just #else.
1646 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1647 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1648 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1649 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1651 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1652 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1653 #elif condition to just #else.
1654 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1655 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1656 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1657 #elif condition to just #else.
1659 2013-01-11 Steve Ellcey <sellcey@mips.com>
1661 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1662 (EF_MIPS_ARCH_64): Fix value.
1663 (EF_MIPS_ARCH_32R2): New.
1664 (EF_MIPS_ARCH_64R2): New.
1666 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1668 * Makeconfig (+link-pie-before-libc): New.
1669 (+link-pie-after-libc): Likewise.
1670 (+link-pie-tests): Likewise.
1671 (+link-pie): Rewritten.
1672 (link-before-libc): Remove $(config-LDFLAGS).
1673 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1674 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1675 (config-LDFLAGS): Renamed to ...
1676 (rtld-LDFLAGS): This.
1677 (rtld-tests-LDFLAGS): New macro.
1678 (link-libc-rpath-link): Likewise.
1679 (link-libc-tests-rpath-link): Likewise.
1680 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1681 (link-libc): Prepand $(link-libc-rpath-link).
1682 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1683 (test-program-prefix): New macro.
1684 (test-via-rtld-prefix): Likewise.
1685 (test-program-cmd): Likewise.
1686 (host-test-program-cmd): Likewise.
1687 * Makefile ($(common-objpfx)testrun.sh): Replace
1688 $(run-program-prefix) with $(test-program-prefix).
1689 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1691 ($(common-objpfx)shlib.lds): Likewise.
1692 (build-module-helper): Likewise.
1693 ($(common-objpfx)format.lds): Likewise.
1694 * Rules (binaries-pie-tests): New.
1695 (binaries-pie-notests): Likewise.
1696 (binaries-pie): Rewritten.
1697 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1698 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1699 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1700 (make-test-out): Replace $(host-built-program-cmd) with
1701 $(host-test-program-cmd).
1702 * config.make.in (build-hardcoded-path-in-tests): New variable.
1703 * configure.in (--enable-hardcoded-path-in-tests): New configure
1705 (hardcoded_path_in_tests): New AC_SUBST.
1706 * configure: Regenerated.
1707 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1708 $(built-program-cmd) with $(test-program-cmd).
1709 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1710 (test_program_cmd): This.
1711 * elf/Makefile ($(objpfx)order.out): Run test with
1712 $(test-program-prefix).
1713 ($(objpfx)order2.out): Likewise.
1714 ($(objpfx)tst-initorder.out): Likewise.
1715 ($(objpfx)tst-initorder2.out): Likewise.
1716 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1717 $(test-program-cmd).
1718 ($(objpfx)tst-array1-static.out): Likewise.
1719 ($(objpfx)tst-array2.out): Likewise.
1720 ($(objpfx)tst-array3.out): Likewise.
1721 ($(objpfx)tst-array4.out): Likewise.
1722 ($(objpfx)tst-array5.out): Likewise.
1723 ($(objpfx)tst-array5-static.out): Likewise.
1724 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1725 $(test-program-cmd).
1726 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1727 $(run-program-prefix) with $(test-program-prefix).
1728 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1729 (test_program_prefix): This.
1730 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1731 $(run-program-prefix) with $(test-program-prefix).
1732 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1733 (test_program_prefix): This.
1734 * iconvdata/tst-tables.sh: Likewise.
1735 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1736 $(run-program-prefix) with $(test-program-prefix).
1737 ($(objpfx)tst-translit.out): Likewise.
1738 ($(objpfx)tst-gettext2.out): Likewise.
1739 ($(objpfx)tst-gettext4.out): Likewise.
1740 ($(objpfx)tst-gettext6.out): Likewise.
1741 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1742 (test_program_prefix): This.
1743 * intl/tst-gettext2.sh: Likewise.
1744 * intl/tst-gettext4.sh Likewise.
1745 * intl/tst-gettext6.sh: Likewise.
1746 * intl/tst-translit.sh: Likewise.
1747 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1748 with $(test-program-cmd).
1749 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1750 $(run-program-prefix) with $(test-program-prefix).
1751 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1752 (test_program_prefix): This.
1753 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1754 $(run-program-prefix) with $(test-program-prefix).
1755 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1756 (test_program_prefix): This.
1757 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1758 * posix/Makefile ($(objpfx)globtest.out): Replace
1759 $(run-via-rtld-prefix) and $(test-wrapper) with
1760 $(test-program-prefix) and $(test-via-rtld-prefix).
1761 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1762 $(test-program-prefix).
1763 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1764 $(host-test-program-cmd).
1765 (tst-spawn-ARGS): Likewise.
1766 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1767 $(test-program-prefix).
1768 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1769 (test_via_rtld_prefix): This.
1770 (test_wrapper): Renamed to ...
1771 (test_program_prefix): This.
1772 (run_program_prefix): Replaced by test_program_prefix.
1773 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1774 (test_program_prefix): This.
1775 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1776 with $(host-test-program-cmd).
1777 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1778 $(run-program-prefix) with $(test-program-prefix).
1779 ($(objpfx)tst-printf.out): Likewise.
1780 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1781 $(test-program-cmd).
1782 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1783 (test_program_prefix): This.
1784 * stdio-common/tst-unbputc.sh: Likewise.
1785 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1786 $(run-program-prefix) with $(test-program-prefix).
1787 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1788 (test_program_prefix): This.
1789 * string/Makefile ($(objpfx)tst-svc.out): Replace
1790 $(built-program-cmd) with $(test-program-cmd).
1792 2013-01-11 Andreas Jaeger <aj@suse.de>
1795 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1796 value. Sync with Linux 3.7.
1798 2013-01-10 David S. Miller <davem@davemloft.net>
1800 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1801 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1802 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1804 2013-01-10 Roland McGrath <roland@hack.frob.com>
1806 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1808 * configure: Regenerated.
1810 2013-01-10 David S. Miller <davem@davemloft.net>
1812 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1813 sparc V9 rather than using V8 code.
1814 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1815 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1817 2013-01-10 Roland McGrath <roland@hack.frob.com>
1819 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1820 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1821 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1822 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1823 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1824 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1825 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1826 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1827 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1828 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1829 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1830 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1831 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1832 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1833 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1834 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1835 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1836 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1837 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1838 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1839 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1840 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1841 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1842 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1843 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1844 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1845 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1847 2013-01-10 David S. Miller <davem@davemloft.net>
1849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1851 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1853 * posix/Makefile (tests-static): New variable.
1854 (tests): Add $(tests-static).
1855 (tst-exec-static-ARGS): New variable.
1856 (tst-spawn-static-ARGS): Likewise.
1857 * posix/tst-exec-static.c: New file.
1858 * posix/tst-spawn-static.c: Likewise.
1859 * posix/tst-exec.c: Support run directly.
1860 * posix/tst-spawn.c: Likewise.
1862 2013-01-10 Joseph Myers <joseph@codesourcery.com>
1864 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1866 * math/bits/mathcalls.h (llrint): Likewise.
1867 (llround): Likewise.
1868 * stdlib/stdlib.h (struct drand48_data): Likewise.
1869 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1870 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1871 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1873 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1875 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1876 (elf_greg_t): Likewise.
1877 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1878 (__jmp_buf): Likewise.
1879 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1881 (llrint): Likewise, for all definitions.
1882 (llrintl): Likewise.
1884 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1885 Remove [__GNUC__] condition.
1886 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1887 condition to just [__USE_ISOC99].
1888 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1890 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1893 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1894 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1896 (_POSIX_V6_ILP32_OFF32): Likewise.
1897 (_XBS5_ILP32_OFF32): Likewise.
1898 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1899 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1901 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1903 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1905 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1906 doubles __mpexp_twomm1. Adjust usage.
1907 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1910 2013-01-10 Andreas Schwab <schwab@suse.de>
1913 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1914 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1916 2013-01-09 David S. Miller <davem@davemloft.net>
1919 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1920 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1921 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1922 TCP_FASTOPEN): Define.
1923 (tcp_repair_opt): New structure.
1924 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1926 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1927 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1928 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1929 (tcp_cookie_transactions): New structure.
1931 2013-01-09 Anton Blanchard <anton@samba.org>
1933 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1934 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1935 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1936 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1938 2013-01-09 Joseph Myers <joseph@codesourcery.com>
1940 * include/features.h (__USE_ANSI): Remove.
1942 2013-01-09 Roland McGrath <roland@hack.frob.com>
1944 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1946 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1948 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1950 * sysdeps/s390/fpu/libm-test-ulps: Update.
1952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1954 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1959 (__mp_dbl): Likewise.
1960 (__dbl_mp): Likewise.
1961 (add_magnitudes): Likewise.
1962 (sub_magnitudes): Likewise.
1968 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1973 (__mp_dbl): Likewise.
1974 (__dbl_mp): Likewise.
1975 (add_magnitudes): Likewise.
1976 (sub_magnitudes): Likewise.
1982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1987 (__mp_dbl): Likewise.
1988 (__dbl_mp): Likewise.
1989 (add_magnitudes): Likewise.
1990 (sub_magnitudes): Likewise.
1997 2013-01-08 Joseph Myers <joseph@codesourcery.com>
1999 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2000 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2001 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2002 2 && __USE_EXTERN_INLINES]: Likewise.
2004 2013-01-08 Andreas Jaeger <aj@suse.de>
2007 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2009 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2010 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2012 2013-01-07 Anton Blanchard <anton@samba.org>
2014 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2015 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2016 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2017 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2018 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2019 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2020 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2021 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2023 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2024 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2025 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2026 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2027 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2028 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2029 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2030 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2031 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2032 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2033 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2034 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2035 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2036 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2037 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2038 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2039 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2040 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2041 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2042 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2043 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2044 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2046 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2047 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2048 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2049 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2050 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2051 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2052 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2053 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2054 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2055 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2056 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2058 2013-01-07 Joseph Myers <joseph@codesourcery.com>
2060 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2061 (__MALLOC_PMT): Likewise.
2062 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2063 [__GNUC__], only on [_LIBC].
2064 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2065 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2066 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2067 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2068 forward declaration.
2069 (realloc_hook_ini): Likewise.
2070 (memalign_hook_ini): Likewise.
2071 (__libc_memalign): Do not use __MALLOC_PMT in variable
2073 (__libc_valloc): Likewise.
2074 (__libc_pvalloc): Likewise.
2075 (__libc_calloc): Likewise.
2076 (__posix_memalign): Likewise.
2079 * math/s_casinh.c: Include <float.h>.
2080 (__casinh): Do not do computation with squaring and square root
2081 for large arguments.
2082 * math/s_casinhf.c: Include <float.h>.
2083 (__casinhf): Do not do computation with squaring and square root
2084 for large arguments.
2085 * math/s_casinhl.c: Include <float.h>.
2086 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2087 (__casinhl): Do not do computation with squaring and square root
2088 for large arguments.
2089 * math/libm-test.inc (casin_test): Add more tests.
2090 (casinh_test): Likewise.
2091 * sysdeps/i386/fpu/libm-test-ulps: Update.
2092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2094 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2096 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2097 (__x86_64_raw_data_cache_size): Likewise.
2098 (__x86_64_data_cache_size_half): Likewise.
2099 (__x86_64_raw_data_cache_size_half): Likewise.
2100 (__x86_64_shared_cache_size): Likewise.
2101 (__x86_64_raw_shared_cache_size): Likewise.
2102 (__x86_64_shared_cache_size_half): Likewise.
2103 (__x86_64_raw_shared_cache_size_half): Likewise.
2104 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2106 (__x86_data_cache_size): This.
2107 (__x86_64_raw_data_cache_size): Renamed to ...
2108 (__x86_raw_data_cache_size): This.
2109 (__x86_64_data_cache_size_half): Renamed to ...
2110 (__x86_data_cache_size_half): This.
2111 (__x86_64_raw_data_cache_size_half): Renamed to ...
2112 (__x86_raw_data_cache_size_half): This.
2113 (__x86_64_shared_cache_size): Renamed to ...
2114 (__x86_shared_cache_size): This.
2115 (__x86_64_raw_shared_cache_size): Renamed to ...
2116 (__x86_raw_shared_cache_size): This.
2117 (__x86_64_shared_cache_size_half): Renamed to ...
2118 (__x86_shared_cache_size_half): This.
2119 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2120 (__x86_raw_shared_cache_size_half): This.
2121 * sysdeps/x86_64/memcpy.S: Updated.
2122 * sysdeps/x86_64/memset.S: Likewise.
2123 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2124 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2125 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2127 2013-01-04 David S. Miller <davem@davemloft.net>
2129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2131 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2133 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2134 1 to avoid redefinition warning.
2135 (__USE_GNU): Don't define.
2136 (init_signaling_nan): Protoize.
2138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2140 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2142 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2143 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2144 (__cpymn): Likewise.
2145 (norm): Remove commented code.
2147 (__mp_dbl): Likewise.
2149 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2150 (__cpymn): Likewise.
2151 (norm): Remove commented code.
2153 (__mp_dbl): Likewise.
2156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2157 mp_no value for 1.0 and 2.0.
2158 (norm): Use RADIXI instead of radixi.d.
2160 (__mul): Use 0.0 instead of zero.d.
2161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2162 mp_no value for 1.0 and 2.0.
2163 (norm): Use RADIXI instead of radixi.d.
2165 (__mul): Use 0.0 instead of zero.d.
2167 2013-01-04 Joseph Myers <joseph@codesourcery.com>
2170 * math/s_casinh.c (__casinh): Reduce finite argument to first
2171 quadrant then set signs of results at the end.
2172 * math/s_casinhf.c (__casinhf): Likewise.
2173 * math/s_casinhl.c (__casinhl): Likewise.
2174 * math/libm-test.inc (casin_test): Add more tests.
2175 (casinh_test): Likewise.
2176 * sysdeps/i386/fpu/libm-test-ulps: Update.
2177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2179 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2181 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2183 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2185 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2188 (__mp_dbl): Likewise.
2191 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2192 and adjust the header comment.
2194 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2195 variable name from declaration.
2197 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2200 Initialize COMMON_CPUID_INDEX_7 element.
2201 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2202 (CPUID_RTM): Likewise.
2203 (HAS_RTM): Likewise.
2204 (COMMON_CPUID_INDEX_7): New enum.
2206 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2209 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2210 size is zero, record memory as freed.
2212 2013-01-03 Andreas Jaeger <aj@suse.de>
2214 * po/ia.po: Add new Interlingua translation.
2216 2012-01-03 Allan McRae <allan@archlinux.org>
2218 * locale/programs/localedef.c: Fix description of '--posix' flag.
2220 2013-01-02 Joseph Myers <joseph@codesourcery.com>
2222 * NEWS: Update dates in second copyright notice.
2223 * README: Update copyright dates in example.
2224 * manual/libc.texinfo: Update copyright dates.
2225 * scripts/test-installation.pl: Update copyright date in --version
2228 * hurd/ctty-input.c: Fix copyright notice formatting.
2229 * hurd/ctty-output.c: Likewise.
2230 * hurd/dtable.c: Likewise.
2231 * hurd/hurd-raise.c: Likewise.
2232 * hurd/hurdprio.c: Likewise.
2233 * hurd/msgportdemux.c: Likewise.
2234 * misc/sys/file.h: Likewise.
2235 * misc/sys/ioctl.h: Likewise.
2236 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2237 * sysdeps/mach/hurd/chdir.c: Likewise.
2238 * sysdeps/mach/hurd/fchdir.c: Likewise.
2239 * sysdeps/mach/hurd/rename.c: Likewise.
2240 * sysdeps/mach/hurd/rmdir.c: Likewise.
2241 * sysdeps/mach/hurd/seekdir.c: Likewise.
2242 * sysdeps/mach/hurd/setsid.c: Likewise.
2243 * sysdeps/posix/wait3.c: Likewise.
2245 * All files with FSF copyright notices: Update copyright dates
2246 using scripts/update-copyrights.
2247 * intl/plural.c: Regenerated.
2248 * locale/programs/charmap-kw.h: Likewise.
2249 * locale/programs/locfile-kw.h: Likewise.
2251 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2253 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2256 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2257 calculation loop and add branch prediction.
2259 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2260 check access beyond bounds of m1np.
2262 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2264 (__inv): Remove local variable MPTWO to use the global
2266 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2267 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2269 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2270 MP3HALFS static const.
2272 2013-01-01 David S. Miller <davem@davemloft.net>
2274 * po/ca.po: Update from translation team.
2276 2013-01-01 Joseph Myers <joseph@codesourcery.com>
2278 * scripts/update-copyrights: New file.
2279 * Makeconfig: Reformat copyright notice.
2280 * ctype/ctype.h: Likewise.
2281 * debug/swprintf_chk.c: Likewise.
2282 * elf/dl-cache.c: Likewise.
2283 * elf/dl-debug.c: Likewise.
2284 * elf/dl-object.c: Likewise.
2285 * grp/initgroups.c: Likewise.
2286 * hurd/Makefile: Likewise.
2287 * hurd/hurd/signal.h: Likewise.
2288 * hurd/hurdfault.c: Likewise.
2289 * hurd/hurdioctl.c: Likewise.
2290 * hurd/hurdlookup.c: Likewise.
2291 * hurd/intr-msg.c: Likewise.
2292 * iconv/gconv_open.c: Likewise.
2293 * libio/swprintf.c: Likewise.
2294 * locale/lc-ctype.c: Likewise.
2295 * locale/nl_langinfo.c: Likewise.
2296 * mach/Machrules: Likewise.
2297 * mach/Makefile: Likewise.
2298 * malloc/obstack.h: Likewise.
2299 * manual/Makefile: Likewise.
2300 * manual/tsort.awk: Likewise.
2301 * misc/bits/stab.def: Likewise.
2302 * nis/nis_print_group_entry.c: Likewise.
2303 * nis/nis_table.c: Likewise.
2304 * nis/nss_compat/compat-pwd.c: Likewise.
2305 * nis/nss_compat/compat-spwd.c: Likewise.
2306 * po/Makefile: Likewise.
2307 * posix/fnmatch.c: Likewise.
2308 * posix/regex.h: Likewise.
2309 * resolv/Makefile: Likewise.
2310 * resolv/nss_dns/dns-network.c: Likewise.
2311 * resolv/res_hconf.c: Likewise.
2312 * scripts/gen-sorted.awk: Likewise.
2313 * soft-fp/soft-fp.h: Likewise.
2314 * stdio-common/printf.h: Likewise.
2315 * stdlib/monetary.h: Likewise.
2316 * stdlib/random.c: Likewise.
2317 * stdlib/random_r.c: Likewise.
2318 * sysdeps/generic/Makefile: Likewise.
2319 * sysdeps/gnu/Makefile: Likewise.
2320 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2321 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2322 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2323 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2324 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2326 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2327 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2328 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2329 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2330 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2331 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2332 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2333 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2334 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2335 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2336 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2337 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2338 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2339 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2340 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2341 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2342 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2343 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2344 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2345 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2346 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2347 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2348 * sysdeps/mach/hurd/errnos.awk: Likewise.
2349 * sysdeps/mach/hurd/fork.c: Likewise.
2350 * sysdeps/mach/hurd/getcwd.c: Likewise.
2351 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2352 * sysdeps/mach/hurd/mmap.c: Likewise.
2353 * sysdeps/mach/hurd/utimes.c: Likewise.
2354 * sysdeps/mach/hurd/xmknod.c: Likewise.
2355 * sysdeps/posix/profil.c: Likewise.
2356 * sysdeps/posix/readdir_r.c: Likewise.
2357 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2358 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2359 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2360 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2362 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2363 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2364 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2366 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2367 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2368 * sysdeps/pthread/lio_listio.c: Likewise.
2369 * sysdeps/sparc/dl-procinfo.h: Likewise.
2370 * sysdeps/unix/i386/sysdep.S: Likewise.
2371 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2372 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2373 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2374 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2376 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2377 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2378 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2379 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2380 * sysdeps/wordsize-32/divdi3.c: Likewise.
2381 * time/sys/time.h: Likewise.
2382 * wcsmbs/Makefile: Likewise.
2384 2013-01-01 David S. Miller <davem@davemloft.net>
2386 * po/fr.po: Update from translation team.
2388 * catgets/gencat.c: Update copyright year.
2389 * csu/version.c: Likewise.
2390 * debug/catchsegv.sh: Likewise.
2391 * debug/pcprofiledump.c: Likewise.
2392 * debug/xtrace.sh: Likewise.
2393 * elf/ldconfig.c: Likewise.
2394 * elf/ldd.bash.in: Likewise.
2395 * elf/pldd.c: Likewise.
2396 * elf/sotruss.ksh: Likewise.
2397 * elf/sprof.c: Likewise.
2398 * iconv/iconv_prog.c: Likewise.
2399 * iconv/iconvconfig.c: Likewise.
2400 * locale/programs/locale.c: Likewise.
2401 * locale/programs/localedef.c: Likewise.
2402 * login/programs/pt_chown.c: Likewise.
2403 * malloc/memusage.sh: Likewise.
2404 * malloc/memusagestat.c: Likewise.
2405 * malloc/mtrace.pl: Likewise.
2406 * nscd/nscd.c: Likewise.
2407 * nss/getent.c: Likewise.
2408 * nss/makedb.c: Likewise.
2409 * posix/getconf.c: Likewise.
2411 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2413 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2416 2012-12-30 Mike Frysinger <vapier@gentoo.org>
2418 * math/bits/mathcalls.h (modf): Use __nonnull.
2420 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2422 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2423 (split): Use macro CN instead of the bare value.
2424 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2426 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2427 instead of the bare value.
2430 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2432 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2434 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2436 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2438 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2439 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2440 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2441 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2443 2012-12-28 Andreas Jaeger <aj@suse.de>
2445 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2446 values are from Linux 3.7.
2448 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2449 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2451 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2453 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2456 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2458 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2459 variables with preprocessor constants.
2460 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2461 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2462 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2464 2012-12-27 Bruno Haible <bruno@clisp.org>
2467 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2470 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2472 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2473 and use variable directly.
2474 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2476 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2478 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2479 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2481 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2483 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2484 include directive. Remove local variable MPONE.
2485 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2486 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2487 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2489 2012-12-25 David S. Miller <davem@davemloft.net>
2491 * version.h (RELEASE): Set to "development".
2492 (VERSION): Set to "2.17.90".
2493 * NEWS: Add 2.18 section.
2495 2012-12-21 David S. Miller <davem@davemloft.net>
2497 * po/hr.po: Update from translation team.
2499 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2501 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2503 2012-12-19 Steve Ellcey <sellcey@mips.com>
2505 * NEWS: Mention new memcpy for MIPS.
2507 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2509 * manual/contrib.texi (Contributors): Spelling correction.
2511 2012-12-15 David S. Miller <davem@davemloft.net>
2513 * po/ru.po: Update from translation team.
2515 2012-12-13 David S. Miller <davem@davemloft.net>
2517 * NEWS: Mention IFUNC testsuite enhancements.
2519 * po/pl.po: Update from translation team.
2520 * po/bg.po: Likewise.
2522 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2523 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2525 2012-12-11 David S. Miller <davem@davemloft.net>
2527 * po/sv.po: Update from translation team.
2529 * po/vi.po: Update from translation team.
2531 * po/cs.po: Update from translation team.
2533 * po/de.po: Update from translation team.
2534 * po/eo.po: Likewise.
2535 * po/nl.po: Likewise.
2537 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2540 * manual/argp.texi (Argp Helper Functions): Move node to follow
2544 * manual/conf.texi (Limits on File System Capacity): Mention if
2545 terminating null is included in the max size.
2547 2012-12-10 Andreas Jaeger <aj@suse.de>
2549 * po/cs.po: Update from translation team.
2551 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2553 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2554 void pointer and cast to uintptr_t.
2555 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2557 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2558 * sysdeps/s390/s390-64/memset.S: Likewise.
2560 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
2563 * menual/message.texi (Message Translation): Fix typos.
2564 (Helper programs for gettext): Likewise.
2566 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2569 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2572 2012-12-07 David S. Miller <davem@davemloft.net>
2574 * po/libc.pot: Update.
2576 2012-12-07 Richard Henderson <rth@redhat.com>
2579 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2580 normal/normal case to before the switch.
2581 (_FP_DIV): Likewise.
2583 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2584 Mike Frysinger <vapier@gentoo.org>
2586 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2587 check for __NR_fadvise64_64.
2589 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2591 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2592 0, not just to plain "0" as a statement.
2593 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2596 2012-12-06 Joseph Myers <joseph@codesourcery.com>
2598 * NEWS: Use sourceware.org in Bugzilla URL.
2600 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2603 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2605 * stdio-common/tst-put-error.c (do_test): Add newline to the
2606 padded test to ensure flush.
2608 2012-12-05 Jeff Law <law@redhat.com>
2610 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2612 2012-12-05 Joseph Myers <joseph@codesourcery.com>
2614 * README: Don't refer to ports add-on as distributed separately.
2615 Mention AArch64 in list of systems supported in the ports add-on.
2617 * LICENSES: Add more non-FSF copyright and license notices.
2619 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2622 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2624 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2625 10000 as width of padded output.
2627 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2629 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2631 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2632 variable LX with __attribute__ ((unused)).
2633 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2635 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2636 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2637 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2638 with __attribute__ ((unused)).
2640 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
2642 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2644 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2646 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2647 (CFLAGS-nldbl-acos.c): New variable.
2648 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2649 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2650 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2651 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2652 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2653 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2654 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2655 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2656 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2657 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2658 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2659 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2660 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2661 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2662 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2663 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2664 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2665 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2666 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2667 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2668 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2669 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2670 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2671 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2672 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2673 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2674 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2675 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2676 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2677 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2678 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2679 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2680 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2681 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2682 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2683 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2684 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2685 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2686 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2687 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2688 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2689 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2690 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2691 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2692 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2693 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2694 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2695 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2696 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2697 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2698 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2699 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2700 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2701 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2702 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2703 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2704 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2705 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2706 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2707 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2708 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2709 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2710 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2711 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2712 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2713 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2714 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2715 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2716 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2717 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2718 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2719 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2720 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2721 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2722 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2723 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2724 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2725 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2726 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2727 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2728 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2729 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2730 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2731 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2732 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2733 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2734 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2735 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2736 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2737 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2738 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2739 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2740 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2741 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2742 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2743 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2744 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2747 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2750 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2751 whole low double instead of just low 47 bits when splitting values
2754 2012-12-03 Allan McRae <allan@archlinux.org>
2756 * manual/stdio.texi (Predefined Printf Handlers): Remove
2757 @hsep and @vsep usage.
2759 2012-12-03 Mike Frysinger <vapier@gentoo.org>
2761 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2762 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2764 2012-12-03 Jeff Law <law@redhat.com>
2766 * time/sys/time.h (settimeofday): Do not mark TV argument
2769 2012-12-01 Mike Frysinger <vapier@gentoo.org>
2771 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2772 when currently writing and seek to current position when not.
2773 * libio/Makefile (tests): Remove bug-fclose1.
2774 * libio/bug-fclose1.c: Delete.
2776 2012-12-01 Joseph Myers <joseph@codesourcery.com>
2778 * manual/arith.texi (feenableexcept): Fix typo.
2779 (fedisableexcept): Likewise.
2781 2012-11-30 Roland McGrath <roland@hack.frob.com>
2783 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2784 second, differently-typed declaration, rather than a cast.
2786 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2788 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2789 * include/rpc/svc.h: ... here.
2791 2012-11-30 Aurelien Jarno <aurel32@debian.org>
2794 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2795 depending n and resplen2 to catch cases where answer
2798 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2800 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2801 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2803 2012-11-29 Mike Frysinger <vapier@gentoo.org>
2805 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2807 2012-11-29 Roland McGrath <roland@hack.frob.com>
2809 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2811 2012-11-28 Jeff Law <law@redhat.com>
2814 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2815 dataset_temporary. Track alloca usage into alloca_used.
2816 If dataset is large allocate and release it via malloc/free.
2818 2012-06-04 Florian Weimer <fweimer@redhat.com>
2821 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2823 2012-11-28 David S. Miller <davem@davemloft.net>
2825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2827 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2830 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2831 of pi/2 rounded to nearest to 64 bits.
2832 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2834 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2837 2012-11-28 Jeff Law <law@redhat.com>
2838 Martin Osvald <mosvald@redhat.com>
2841 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2842 * sunrpc/svc.c: Include time.h.
2843 (__svc_accept_failed): New function.
2844 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2845 any reason other than EINTR, call __svc_accept_failed.
2846 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2847 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2849 2012-11-28 Andreas Schwab <schwab@suse.de>
2851 * scripts/abilist.awk: Also handle indirect functions in .opd
2854 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2857 * sysdeps/x86/fpu/powl_helper.c: New file.
2858 * sysdeps/x86/fpu/Makefile: Likewise.
2859 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2861 (__ieee754_powl): Use __powl_helper for finite arguments except
2862 integer exponents below 8.
2863 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2865 (__ieee754_powl): Use __powl_helper for finite arguments except
2866 integer exponents below 8.
2867 * math/libm-test.inc (pow_test): Add more tests and enable some
2868 previously disabled tests.
2869 * sysdeps/i386/fpu/libm-test-ulps: Update.
2870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2872 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2873 Carlos O'Donell <carlos_odonell@mentor.com>
2875 * nss/makedb.c (is_prime): Assert that input is odd and greater
2876 than 4. Note that fact in a comment too.
2877 (next_prime): Add 4 to input.
2879 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2882 * libio/Makefile (tests): Add test case tst-fwrite-error.
2883 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2884 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2885 * libio/tst-fwrite-error.c: New test case.
2887 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2889 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2890 before casting to void *.
2891 * include/libc-internal.h (__pointer_type): New macro.
2892 (__integer_if_pointer_type_sub): Likewise.
2893 (__integer_if_pointer_type): Likewise.
2894 (cast_to_integer): Likewise.
2895 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2896 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2897 before casting to atomic64_t.
2898 (atomic_exchange_acq): Likewise.
2899 (__arch_exchange_and_add_body): Likewise.
2900 (__arch_add_body): Likewise.
2901 (atomic_add_negative): Likewise.
2902 (atomic_add_zero): Likewise.
2904 2012-11-26 Joseph Myers <joseph@codesourcery.com>
2906 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2907 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2908 (add_fdes): Likewise.
2909 (linear_search_fdes): Likewise.
2910 (binary_search_unencoded_fdes): Likewise.
2912 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2914 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2916 2012-11-24 Adam Conrad <adconrad@0c3.net>
2918 * configure.in: Autodetect C++ header directories.
2919 * configure: Regenerated.
2921 2012-11-23 Mike Frysinger <vapier@gentoo.org>
2923 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2925 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2929 2012-11-22 Joseph Myers <joseph@codesourcery.com>
2931 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2932 LDBL_MANT_DIG == 106]: Disable some tests.
2933 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2935 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2939 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2940 input for small inputs. Return +/- pi/2 for large inputs.
2941 * math/libm-test.inc (atan_test): Add more tests.
2943 * sysdeps/generic/unwind-dw2-fde-glibc.c
2944 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2945 __attribute__ ((unused)).
2948 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2949 x * y if x and y are nonzero and z is zero.
2952 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2953 nonzero exponents with absolute value below 0x1p-117 to +/-
2957 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2958 up arguments below 2**-450, not just those below 2**-500.
2959 * math/libm-test.inc (hypot_test): Add another test.
2962 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2963 Return a+b for ratio over 2**120, not 2**60.
2964 * math/libm-test.inc (hypot_test): Add another test.
2966 * math/libm-test.inc (clog_test): Use
2967 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2968 (clog10_test): Likewise.
2971 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2973 2012-11-22 Andreas Schwab <schwab@suse.de>
2975 * sysdeps/i386/fpu/libm-test-ulps: Update.
2977 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2979 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2980 printf output with newline.
2982 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2985 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2986 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2987 -z nodlopen, -z initfirst and -z execstack support.
2988 * configure: Regenerated.
2990 * elf/elf.h (DF_1_NODIRECT): New macro.
2991 (DF_1_IGNMULDEF): Likewise.
2992 (DF_1_NOKSYMS): Likewise.
2993 (DF_1_NOHDR): Likewise.
2994 (DF_1_EDITED): Likewise.
2995 (DF_1_NORELOC): Likewise.
2996 (DF_1_SYMINTPOSE): Likewise.
2997 (DF_1_GLOBAUDIT): Likewise.
2998 (DF_1_SINGLETON): Likewise.
2999 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3000 DT_1_SUPPORTED_MASK bits.
3001 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3003 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
3005 * sysdeps/unix/make-syscalls.sh: Document prefixes.
3007 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
3009 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3012 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3013 (sendmmsg): Move declarations...
3014 * socket/sys/socket.h: ... here.
3015 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3016 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3018 * socket/recvmmsg.c: ... this new file.
3019 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3020 (sendmmsg): Rename to __sendmmsg, create weak alias and make
3021 definition of __sendmmsg hidden.
3022 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3023 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3024 Move ENOSYS stub into and include it from...
3025 * socket/sendmmsg.c: ... this new file.
3026 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3027 (sysdep_routines): Move recvmmsg and sendmmsg...
3028 * socket/Makefile (routines): ... here.
3029 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3030 (GLIBC_PRIVATE): Add __sendmmsg.
3031 * include/sys/socket.h (__sendmmsg): Add declarations.
3032 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3035 2012-11-20 Joseph Myers <joseph@codesourcery.com>
3037 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3038 variable I1 with __attribute__ ((unused)).
3039 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3041 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3043 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3044 DUMMY variables with __attribute__ ((unused)).
3046 * bits/byteswap.h: Include <bits/types.h>.
3047 (__bswap_64): Use __uint64_t instead of unsigned long long int.
3049 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3051 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3052 string_t. Do not manually set errno.
3053 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3054 length with __strnlen. Make sure to both set errno and return it on
3057 2012-11-19 David S. Miller <davem@davemloft.net>
3059 With help from Joseph Myers.
3060 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3061 very large arguments properly.
3062 * math/libm-test.inc (atan_test): New tests.
3063 (atan2_test): New tests.
3064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3067 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3070 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3073 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3074 [POSIX] (EADDRNOTAVAIL): Likewise.
3075 [POSIX] (EAFNOSUPPORT): Likewise.
3076 [POSIX] (EALREADY): Likewise.
3077 [POSIX] (ECONNABORTED): Likewise.
3078 [POSIX] (ECONNREFUSED): Likewise.
3079 [POSIX] (ECONNRESET): Likewise.
3080 [POSIX] (EDESTADDRREQ): Likewise.
3081 [POSIX] (EDQUOT): Likewise.
3082 [POSIX] (EHOSTUNREACH): Likewise.
3083 [POSIX] (EIDRM): Likewise.
3084 [POSIX] (EISCONN): Likewise.
3085 [POSIX] (ELOOP): Likewise.
3086 [POSIX] (EMULTIHOP): Likewise.
3087 [POSIX] (ENETDOWN): Likewise.
3088 [POSIX] (ENETUNREACH): Likewise.
3089 [POSIX] (ENOBUFS): Likewise.
3090 [POSIX] (ENODATA): Likewise.
3091 [POSIX] (ENOLINK): Likewise.
3092 [POSIX] (ENOMSG): Likewise.
3093 [POSIX] (ENOPROTOOPT): Likewise.
3094 [POSIX] (ENOSR): Likewise.
3095 [POSIX] (ENOSTR): Likewise.
3096 [POSIX] (ENOTCONN): Likewise.
3097 [POSIX] (ENOTSOCK): Likewise.
3098 [POSIX] (EOPNOTSUPP): Likewise.
3099 [POSIX] (EOVERFLOW): Likewise.
3100 [POSIX] (EPROTO): Likewise.
3101 [POSIX] (EPROTONOSUPPORT): Likewise.
3102 [POSIX] (EPROTOTYPE): Likewise.
3103 [POSIX] (ESTALE): Likewise.
3104 [POSIX] (ETIME): Likewise.
3105 [POSIX] (ETXTBSY): Likewise.
3106 [POSIX] (EWOULDBLOCK): Likewise.
3107 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3108 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3109 [POSIX] (SEEK_CUR): Likewise.
3110 [POSIX] (SEEK_END): Likewise.
3111 [POSIX || UNIX98] (mode_t): Do not require.
3112 [POSIX] (off_t): Likewise.
3113 [POSIX] (pid_t): Likewise.
3114 [POSIX] (sys/stat.h): Do not allow header.
3115 [POSIX] (unistd.h): Likewise.
3116 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3117 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3118 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3119 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3121 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3122 sigevent): Specify elements.
3123 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3125 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3126 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3128 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3129 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3130 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3131 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3132 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3133 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3134 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3135 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3136 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3137 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3138 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3139 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3140 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3141 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3143 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3145 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3147 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3149 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3150 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3151 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3152 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3153 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3154 Specify lower bound on value.
3155 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3156 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3157 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3158 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3159 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3160 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3161 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3162 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3164 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3166 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3167 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3168 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3169 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3170 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3171 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3172 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3173 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3174 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3175 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3176 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3177 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3178 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3179 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3180 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3181 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3183 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3185 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3186 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3187 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3188 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3189 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3190 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3192 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3193 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3194 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3195 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3196 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3197 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3198 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3200 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3201 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3202 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3203 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3204 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3205 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3206 specify as optional.
3207 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3208 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3209 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3210 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3211 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3212 [XPG3] (NL_LANGMAX): Likewise.
3213 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3214 [POSIX || XPG3] (NL_NMAX): Likewise.
3215 [POSIX || XPG3] (NL_SETMAX): Likewise.
3216 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3217 [XPG3] (NZERO): Likewise.
3218 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3219 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3220 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3221 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3222 (REG_ERANGE): Expect.
3223 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3225 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3226 Use (void) in prototype.
3227 [POSIX] (*_t): Allow.
3228 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3229 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3230 (WRDE_BADVAL): Expect.
3232 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3234 [XPG3 || XPG4] (O_RSYNC): Likewise.
3235 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3237 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3238 [XPG3 || XPG4] (sigqueue): Likewise.
3239 [XPG3 || XPG4] (sigtimedwait): Likewise.
3240 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3241 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3242 [XPG3 || XPG4] (vsnprintf): Likewise.
3243 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3245 [XPG3 || XPG4] (blksize_t): Likewise.
3246 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3248 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3249 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3250 [XPG3 || XPG4] (struct itimerspec): Likewise.
3251 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3252 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3253 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3254 [XPG3 || XPG4] (clockid_t): Likewise.
3255 [XPG3 || XPG4] (timer_t): Likewise.
3256 [XPG3 || XPG4] (clock_getres): Likewise.
3257 [XPG3 || XPG4] (clock_gettime): Likewise.
3258 [XPG3 || XPG4] (clock_settime): Likewise.
3259 [XPG3 || XPG4] (nanosleep): Likewise.
3260 [XPG3 || XPG4] (timer_create): Likewise.
3261 [XPG3 || XPG4] (timer_delete): Likewise.
3262 [XPG3 || XPG4] (timer_gettime): Likewise.
3263 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3264 [XPG3 || XPG4] (timer_settime): Likewise.
3265 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3266 [XPG3 || XPG4] (getlogin_r): Likewise.
3267 [XPG3 || XPG4] (pread): Likewise.
3268 [XPG3 || XPG4] (pthread_atfork): Likewise.
3269 [XPG3 || XPG4] (pwrite): Likewise.
3272 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3275 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3277 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3278 finalizing MALLSTREAM.
3280 * sysdeps/mach/hurd/syncfs.c: New file.
3282 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3285 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3286 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3287 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3288 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3289 (_nss_dns_gethostbyname4_r): Likewise.
3290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3291 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3293 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3296 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3298 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3300 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3301 * elf/cache.c (print_entry): Print ",AArch64" for
3304 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3305 * elf/cache.c (print_entry): Print ",hard-float" for
3308 2012-11-18 David S. Miller <davem@davemloft.net>
3310 With help from Joseph Myers.
3311 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3313 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3315 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3316 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3318 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3319 * math/libm-test.inc (y0_test): New tests.
3320 (y1_test): New tests.
3321 * sysdeps/i386/fpu/libm-test-ulps: Update.
3322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3325 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3327 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3329 * configure: Regenerated.
3331 2012-11-17 David S. Miller <davem@davemloft.net>
3334 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3335 nonzero exponents with absolute value below 0x1p-128 to +/-
3338 2012-11-17 Joseph Myers <joseph@codesourcery.com>
3340 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3342 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3344 * posix/getconf-speclist.c: New file.
3345 * posix/posix-envs.def: Likewise.
3346 * posix/confstr.c (START_ENV_GROUP): New macro.
3347 (END_ENV_GROUP): Likewise.
3348 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3349 (KNOWN_PRESENT_ENV_STRING): Likewise.
3350 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3351 (UNKNOWN_ENVIRONMENT): Likewise.
3352 (confstr): Include posix-envs.def instead of handling
3353 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3354 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3355 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3356 (END_ENV_GROUP): Likewise.
3357 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3358 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3359 (UNKNOWN_ENVIRONMENT): Likewise.
3360 (__sysconf): Include posix-envs.def instead of handling associated
3361 cases directly here.
3362 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3363 preprocessing getconf-speclist.c rather than running getconf or
3364 generating empty file.
3366 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3368 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3370 2012-11-16 Andrej Lajovic <natrij@gmail.com>
3373 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3375 2012-11-16 David S. Miller <davem@davemloft.net>
3377 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3378 smaller than LDBL_EPSILON/2.0L, just return xm1.
3380 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3382 * elf/tst-array1.c (init): Set constructor priority to 1000.
3383 (fini): Set destructor priority to 1000.
3384 * elf/tst-array2dep.c: Likewise.
3386 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3389 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3390 (_IO_new_file_xsputn): Also return EOF if none of the input
3391 data was written when overflow failed.
3392 * libio/iopadn.c (_IO_padn): Likewise.
3393 * libio/iowpadn.c (_IO_wpadn): Likewise.
3394 * stdio-common/tst-put-error.c: Add copyright notice.
3395 (do_test): Add case for printing padded string.
3396 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3397 _IO_padn returned error.
3398 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3399 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3402 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3404 * libio/libioP.h: Add comment note that the references to C++
3405 bits are now obsolete.
3407 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3409 * math/libm-test.inc (check_complex): Use asprintf.
3411 2012-11-14 Joseph Myers <joseph@codesourcery.com>
3413 * debug/pcprofiledump.c (print_version): Update copyright year.
3414 * malloc/memusagestat.c (print_version): Likewise.
3416 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3419 * elf/Makefile (tests): Add tst-audit8.
3420 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3421 ($(objpfx)tst-audit8.out): New target.
3422 (tst-audit8-ENV): New variable.
3423 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3424 audit if l_reloc_result is NULL.
3425 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3426 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3427 * elf/tst-audit8.c: New file.
3429 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3431 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3432 * misc/Makefile (CFLAGS-select.c): Define.
3433 * posix/Makefile (CFLAGS-pause.c): Define.
3435 2012-11-13 David S. Miller <davem@davemloft.net>
3437 * crypt/Makefile: Move test targets after toplevel Rules
3438 inclusion. Grab any necessary sysdep routines when linking.
3439 * crypt/md5.c (md5_process_block): Remove define, we will always
3440 name it __md5_process_block.
3441 (md5_finish_ctx): Update md5_process_block call.
3442 (md5_stream): Likewise.
3443 (md5_process_bytes): Likewise.
3444 (md5_process_block): Rename to __md5_process_block and move to ...
3445 * crypt/md5-block.c: ... here.
3446 * crypt/sha256.c (sha256_process_block): Move to ...
3447 * crypt/sha256-block.c: ... here.
3448 * crypt/sha512.c (sha512_process_block): Move to ...
3449 * crypt/sha512-block.c: ... here.
3450 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3452 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3453 * sysdeps/sparc/sparc64/multiarch/Makefile
3454 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3456 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3457 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3459 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3460 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3461 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3462 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3463 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3464 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3465 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3466 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3467 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3469 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3470 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3472 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3474 2012-11-13 Joseph Myers <joseph@codesourcery.com>
3476 * timezone/tzselect.ksh: Update from tzcode git revision
3477 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3478 * timezone/zdump.c: Likewise.
3479 * timezone/zic.c: Likewise.
3480 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3481 in TZVERSION setting, not $(PKGVERSION).
3482 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3483 REPORT_BUGS_TO settings.
3486 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3489 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3491 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3492 detection to immediately after _FP_ROUND().
3493 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3496 2012-11-11 David S. Miller <davem@davemloft.net>
3498 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3500 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3501 __close rather than their public counterparts.
3503 2012-11-10 Joseph Myers <joseph@codesourcery.com>
3505 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3507 [UNIX98] (sem_timedwait): Do not expect.
3508 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3509 [XPG4 || UNIX98] (sockatmark): Do not expect.
3510 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3511 (clock_getcpuclockid): Do not expect.
3512 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3513 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3515 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3516 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3517 [UNIX98] (vwscanf): Likewise.
3518 [UNIX98] (vswscanf): Likewise.
3520 2012-11-09 Joseph Myers <joseph@codesourcery.com>
3522 * timezone/version.h: Remove file.
3523 * timezone/README: Do not refer to version.h.
3524 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3526 ($(objpfx)zdump.o): Likewise.
3527 ($(objpfx)version.h): New target.
3529 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3531 * timezone/README: Don't mention modification to tzselect.ksh.
3532 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3533 work on unmodified tzselect.ksh. Substitute version numbers in
3536 * Makefile (format-me): Remove.
3537 (INSTALL): Adjust indentation. Use commands directly instead of
3540 * aclocal.m4 (ACX_PKGVERSION): New macro.
3541 (ACX_BUGURL): Likewise.
3542 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3543 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3544 (REPORT_BUGS_TO): Likewise.
3545 * configure: Regenerated.
3546 * config.h.in (PKGVERSION): New macro.
3547 (REPORT_BUGS_TO): Likewise.
3548 * config.make.in (PKGVERSION): New variable.
3549 (PKGVERSION_TEXI): Likewise.
3550 (REPORT_BUGS_TO): Likewise.
3551 (REPORT_BUGS_TEXI): Likewise.
3552 * Makefile (format-me): Use -I$(common-objpfx)manual.
3553 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3554 ($(common-objpfx)manual/%): New target.
3555 (manual/%): Remove target.
3556 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3557 (print_version): Use PKGVERSION.
3558 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3559 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3561 ($(objpfx)xtrace): Likewise.
3562 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3563 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3564 (print_version): Use PKGVERSION.
3565 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3566 (do_version): Use PKGVERSION.
3567 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3569 (common-ldd-rewrite): Likewise.
3570 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3571 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3572 (print_version): Use PKGVERSION.
3573 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3574 * elf/pldd.c (argp_program_bug_address): Remove variable.
3575 (more_help): New function.
3576 (argp): Use more_help.
3577 (print_version): Use PKGVERSION.
3578 * elf/sln.c (main): Use PKGVERSION.
3579 (usage): Use REPORT_BUGS_TO.
3580 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3581 (top level): Use PKGVERSION.
3582 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3583 (print_version): Use PKGVERSION.
3584 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3585 (print_version): Use PKGVERSION.
3586 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3587 (print_version): Use PKGVERSION.
3588 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3589 (print_version): Use PKGVERSION.
3590 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3591 (print_version): Use PKGVERSION.
3592 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3593 (print_version): Use PKGVERSION.
3594 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3596 ($(objpfx)memusage): Likewise.
3597 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3598 (do_version): Use PKGVERSION.
3599 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3600 (print_version): Use PKGVERSION.
3601 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3602 ($PKGVERSION): New variable.
3603 ($REPORT_BUGS_TO): Likewise.
3604 (usage): Use $REPORT_BUGS_TO.
3605 (top level): Use $PKGVERSION.
3606 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3607 ($(objpfx)pkgvers.texi): New rule.
3608 ($(objpfx)stamp-pkgvers): Likewise.
3609 * manual/install.texi: Include pkgvers.texi.
3610 (--with-pkgversion): Document new configure option.
3611 (--with-bugurl): Likewise.
3612 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3613 than necessarily for this particular distribution. Use
3614 REPORT_BUGS_TO for where to report bugs.
3615 * INSTALL: Regenerated.
3616 * manual/libc.texinfo: Include pkgvers.texi.
3617 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3618 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3619 (print_version): Use PKGVERSION.
3620 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3621 (print_version): Use PKGVERSION.
3622 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3623 (print_version): Use PKGVERSION.
3624 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3625 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3627 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3628 (print_version): Use PKGVERSION.
3629 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3630 (print_version): Use PKGVERSION.
3631 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3634 * timezone/checktab.awk: Update from tzcode 2012i.
3635 * timezone/ialloc.c: Likewise.
3636 * timezone/private.h: Likewise.
3637 * timezone/scheck.c: Likewise.
3638 * timezone/tzfile.h: Likewise.
3639 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3640 (TZVERSION): Hardcode tzcode version number.
3641 * timezone/zdump.c: Update from tzcode 2012i.
3642 * timezone/zic.c: Likewise.
3643 * timezone/version.h: New file.
3644 * timezone/README: Describe version.h. Update upstream location.
3647 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3648 (mktemp): Enable declaration.
3649 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3650 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3651 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3652 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3654 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3656 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3662 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3666 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3667 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3668 for copies of such integer values.
3669 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3670 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3672 2012-11-09 Andreas Jaeger <aj@suse.de>
3674 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3675 definitions and declarations that are provided by
3676 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3678 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3680 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
3681 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3682 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3685 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3687 * elf/elf.h: Update comment before AArch64 relocations.
3689 2012-11-07 David S. Miller <davem@davemloft.net>
3691 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3692 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3693 (__start_context): Declare.
3694 (__makecontext_ret): Delete.
3695 (__makecontext): Hook up __start_context instead of
3697 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3698 (sysdep_routines): Add __start_context when in stdlib.
3700 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3702 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3703 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3704 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3706 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3707 (READELF): New variable. Use it instead of hardcoded "readelf".
3709 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3711 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3712 * sysdeps/x86/Makefile: Here.
3713 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3714 * sysdeps/x86/tst-xmmymm.sh: This.
3716 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3718 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3720 [UNIX98] (pthread_barrier_t): Do not expect.
3721 [UNIX98] (pthread_barrierattr_t): Likewise.
3722 [UNIX98] (pthread_spinlock_t): Likewise.
3723 [UNIX98] (pthread_barrier_destroy): Likewise.
3724 [UNIX98] (pthread_barrier_init): Likewise.
3725 [UNIX98] (pthread_barrier_wait): Likewise.
3726 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3727 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3728 [UNIX98] (pthread_barrierattr_init): Likewise.
3729 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3730 [UNIX98] (pthread_getcpuclockid): Likewise.
3731 [UNIX98] (pthread_mutex_timedlock): Likewise.
3732 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3733 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3734 [UNIX98] (pthread_sigmask): Likewise.
3735 [UNIX98] (pthread_spin_destroy): Likewise.
3736 [UNIX98] (pthread_spin_init): Likewise.
3737 [UNIX98] (pthread_spin_lock): Likewise.
3738 [UNIX98] (pthread_spin_trylock): Likewise.
3739 [UNIX98] (pthread_spin_unlock): Likewise.
3740 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3742 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3743 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3744 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3745 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3746 [XPG3 || XPG4] (pthread_key_t): Likewise.
3747 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3748 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3749 [XPG3 || XPG4] (pthread_once_t): Likewise.
3750 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3751 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3752 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3753 [XPG3 || XPG4] (pthread_t): Likewise.
3755 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3757 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3759 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3760 Change function return type to int.
3762 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3763 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3764 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3765 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3766 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3767 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3768 [!POSIX] (posix_madvise): Likewise.
3769 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3771 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3772 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3774 (posix_mem_offset): Likewise.
3775 (posix_typed_mem_get_info): Likewise.
3776 (posix_typed_mem_open): Likewise.
3778 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3779 Change condition to [XOPEN2K8].
3781 * conform/conformtest.pl: Preprocess allow-header data with -x c
3782 instead of from stdin.
3783 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3784 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3785 [C99-based standards] (cerfc): Likewise.
3786 [C99-based standards] (cexp2): Likewise.
3787 [C99-based standards] (cexpm1): Likewise.
3788 [C99-based standards] (clog10): Likewise.
3789 [C99-based standards] (clog1p): Likewise.
3790 [C99-based standards] (clog2): Likewise.
3791 [C99-based standards] (clgamma): Likewise.
3792 [C99-based standards] (ctgamma): Likewise.
3793 [C99-based standards] (cerff): Likewise.
3794 [C99-based standards] (cerfcf): Likewise.
3795 [C99-based standards] (cexp2f): Likewise.
3796 [C99-based standards] (cexpm1f): Likewise.
3797 [C99-based standards] (clog10f): Likewise.
3798 [C99-based standards] (clog1pf): Likewise.
3799 [C99-based standards] (clog2f): Likewise.
3800 [C99-based standards] (clgammaf): Likewise.
3801 [C99-based standards] (ctgammaf): Likewise.
3802 [C99-based standards] (cerfl): Likewise.
3803 [C99-based standards] (cerfcl): Likewise.
3804 [C99-based standards] (cexp2l): Likewise.
3805 [C99-based standards] (cexpm1l): Likewise.
3806 [C99-based standards] (clog10l): Likewise.
3807 [C99-based standards] (clog1pl): Likewise.
3808 [C99-based standards] (clog2l): Likewise.
3809 [C99-based standards] (clgammal): Likewise.
3810 [C99-based standards] (ctgammal): Likewise.
3811 * conform/data/inttypes.h-data [C99-based standards]: Include
3812 stdint.h-data. Remove all expectations for stdint.h contents.
3813 [C99-based standards] (PRI*): Do not allow.
3814 [C99-based standards] (SCN*): Likewise.
3815 [C99-based standards] (*_t): Likewise.
3816 [C99-based-standards] (PRId8): Expect macro.
3817 [C99-based-standards] (PRIi8): Likewise.
3818 [C99-based-standards] (PRIo8): Likewise.
3819 [C99-based-standards] (PRIu8): Likewise.
3820 [C99-based-standards] (PRIx8): Likewise.
3821 [C99-based-standards] (PRIX8): Likewise.
3822 [C99-based-standards] (SCNd8): Likewise.
3823 [C99-based-standards] (SCNi8): Likewise.
3824 [C99-based-standards] (SCNo8): Likewise.
3825 [C99-based-standards] (SCNu8): Likewise.
3826 [C99-based-standards] (SCNx8): Likewise.
3827 [C99-based-standards] (PRIdLEAST8): Likewise.
3828 [C99-based-standards] (PRIiLEAST8): Likewise.
3829 [C99-based-standards] (PRIoLEAST8): Likewise.
3830 [C99-based-standards] (PRIuLEAST8): Likewise.
3831 [C99-based-standards] (PRIxLEAST8): Likewise.
3832 [C99-based-standards] (PRIXLEAST8): Likewise.
3833 [C99-based-standards] (SCNdLEAST8): Likewise.
3834 [C99-based-standards] (SCNiLEAST8): Likewise.
3835 [C99-based-standards] (SCNoLEAST8): Likewise.
3836 [C99-based-standards] (SCNuLEAST8): Likewise.
3837 [C99-based-standards] (SCNxLEAST8): Likewise.
3838 [C99-based-standards] (PRIdFAST8): Likewise.
3839 [C99-based-standards] (PRIiFAST8): Likewise.
3840 [C99-based-standards] (PRIoFAST8): Likewise.
3841 [C99-based-standards] (PRIuFAST8): Likewise.
3842 [C99-based-standards] (PRIxFAST8): Likewise.
3843 [C99-based-standards] (PRIXFAST8): Likewise.
3844 [C99-based-standards] (SCNdFAST8): Likewise.
3845 [C99-based-standards] (SCNiFAST8): Likewise.
3846 [C99-based-standards] (SCNoFAST8): Likewise.
3847 [C99-based-standards] (SCNuFAST8): Likewise.
3848 [C99-based-standards] (SCNxFAST8): Likewise.
3849 [C99-based-standards] (PRId16): Likewise.
3850 [C99-based-standards] (PRIi16): Likewise.
3851 [C99-based-standards] (PRIo16): Likewise.
3852 [C99-based-standards] (PRIu16): Likewise.
3853 [C99-based-standards] (PRIx16): Likewise.
3854 [C99-based-standards] (PRIX16): Likewise.
3855 [C99-based-standards] (SCNd16): Likewise.
3856 [C99-based-standards] (SCNi16): Likewise.
3857 [C99-based-standards] (SCNo16): Likewise.
3858 [C99-based-standards] (SCNu16): Likewise.
3859 [C99-based-standards] (SCNx16): Likewise.
3860 [C99-based-standards] (PRIdLEAST16): Likewise.
3861 [C99-based-standards] (PRIiLEAST16): Likewise.
3862 [C99-based-standards] (PRIoLEAST16): Likewise.
3863 [C99-based-standards] (PRIuLEAST16): Likewise.
3864 [C99-based-standards] (PRIxLEAST16): Likewise.
3865 [C99-based-standards] (PRIXLEAST16): Likewise.
3866 [C99-based-standards] (SCNdLEAST16): Likewise.
3867 [C99-based-standards] (SCNiLEAST16): Likewise.
3868 [C99-based-standards] (SCNoLEAST16): Likewise.
3869 [C99-based-standards] (SCNuLEAST16): Likewise.
3870 [C99-based-standards] (SCNxLEAST16): Likewise.
3871 [C99-based-standards] (PRIdFAST16): Likewise.
3872 [C99-based-standards] (PRIiFAST16): Likewise.
3873 [C99-based-standards] (PRIoFAST16): Likewise.
3874 [C99-based-standards] (PRIuFAST16): Likewise.
3875 [C99-based-standards] (PRIxFAST16): Likewise.
3876 [C99-based-standards] (PRIXFAST16): Likewise.
3877 [C99-based-standards] (SCNdFAST16): Likewise.
3878 [C99-based-standards] (SCNiFAST16): Likewise.
3879 [C99-based-standards] (SCNoFAST16): Likewise.
3880 [C99-based-standards] (SCNuFAST16): Likewise.
3881 [C99-based-standards] (SCNxFAST16): Likewise.
3882 [C99-based-standards] (PRId32): Likewise.
3883 [C99-based-standards] (PRIi32): Likewise.
3884 [C99-based-standards] (PRIo32): Likewise.
3885 [C99-based-standards] (PRIu32): Likewise.
3886 [C99-based-standards] (PRIx32): Likewise.
3887 [C99-based-standards] (PRIX32): Likewise.
3888 [C99-based-standards] (SCNd32): Likewise.
3889 [C99-based-standards] (SCNi32): Likewise.
3890 [C99-based-standards] (SCNo32): Likewise.
3891 [C99-based-standards] (SCNu32): Likewise.
3892 [C99-based-standards] (SCNx32): Likewise.
3893 [C99-based-standards] (PRIdLEAST32): Likewise.
3894 [C99-based-standards] (PRIiLEAST32): Likewise.
3895 [C99-based-standards] (PRIoLEAST32): Likewise.
3896 [C99-based-standards] (PRIuLEAST32): Likewise.
3897 [C99-based-standards] (PRIxLEAST32): Likewise.
3898 [C99-based-standards] (PRIXLEAST32): Likewise.
3899 [C99-based-standards] (SCNdLEAST32): Likewise.
3900 [C99-based-standards] (SCNiLEAST32): Likewise.
3901 [C99-based-standards] (SCNoLEAST32): Likewise.
3902 [C99-based-standards] (SCNuLEAST32): Likewise.
3903 [C99-based-standards] (SCNxLEAST32): Likewise.
3904 [C99-based-standards] (PRIdFAST32): Likewise.
3905 [C99-based-standards] (PRIiFAST32): Likewise.
3906 [C99-based-standards] (PRIoFAST32): Likewise.
3907 [C99-based-standards] (PRIuFAST32): Likewise.
3908 [C99-based-standards] (PRIxFAST32): Likewise.
3909 [C99-based-standards] (PRIXFAST32): Likewise.
3910 [C99-based-standards] (SCNdFAST32): Likewise.
3911 [C99-based-standards] (SCNiFAST32): Likewise.
3912 [C99-based-standards] (SCNoFAST32): Likewise.
3913 [C99-based-standards] (SCNuFAST32): Likewise.
3914 [C99-based-standards] (SCNxFAST32): Likewise.
3915 [C99-based-standards] (PRId64): Likewise.
3916 [C99-based-standards] (PRIi64): Likewise.
3917 [C99-based-standards] (PRIo64): Likewise.
3918 [C99-based-standards] (PRIu64): Likewise.
3919 [C99-based-standards] (PRIx64): Likewise.
3920 [C99-based-standards] (PRIX64): Likewise.
3921 [C99-based-standards] (SCNd64): Likewise.
3922 [C99-based-standards] (SCNi64): Likewise.
3923 [C99-based-standards] (SCNo64): Likewise.
3924 [C99-based-standards] (SCNu64): Likewise.
3925 [C99-based-standards] (SCNx64): Likewise.
3926 [C99-based-standards] (PRIdLEAST64): Likewise.
3927 [C99-based-standards] (PRIiLEAST64): Likewise.
3928 [C99-based-standards] (PRIoLEAST64): Likewise.
3929 [C99-based-standards] (PRIuLEAST64): Likewise.
3930 [C99-based-standards] (PRIxLEAST64): Likewise.
3931 [C99-based-standards] (PRIXLEAST64): Likewise.
3932 [C99-based-standards] (SCNdLEAST64): Likewise.
3933 [C99-based-standards] (SCNiLEAST64): Likewise.
3934 [C99-based-standards] (SCNoLEAST64): Likewise.
3935 [C99-based-standards] (SCNuLEAST64): Likewise.
3936 [C99-based-standards] (SCNxLEAST64): Likewise.
3937 [C99-based-standards] (PRIdFAST64): Likewise.
3938 [C99-based-standards] (PRIiFAST64): Likewise.
3939 [C99-based-standards] (PRIoFAST64): Likewise.
3940 [C99-based-standards] (PRIuFAST64): Likewise.
3941 [C99-based-standards] (PRIxFAST64): Likewise.
3942 [C99-based-standards] (PRIXFAST64): Likewise.
3943 [C99-based-standards] (SCNdFAST64): Likewise.
3944 [C99-based-standards] (SCNiFAST64): Likewise.
3945 [C99-based-standards] (SCNoFAST64): Likewise.
3946 [C99-based-standards] (SCNuFAST64): Likewise.
3947 [C99-based-standards] (SCNxFAST64): Likewise.
3948 [C99-based-standards] (PRIdMAX): Likewise.
3949 [C99-based-standards] (PRIiMAX): Likewise.
3950 [C99-based-standards] (PRIoMAX): Likewise.
3951 [C99-based-standards] (PRIuMAX): Likewise.
3952 [C99-based-standards] (PRIxMAX): Likewise.
3953 [C99-based-standards] (PRIXMAX): Likewise.
3954 [C99-based-standards] (SCNdMAX): Likewise.
3955 [C99-based-standards] (SCNiMAX): Likewise.
3956 [C99-based-standards] (SCNoMAX): Likewise.
3957 [C99-based-standards] (SCNuMAX): Likewise.
3958 [C99-based-standards] (SCNxMAX): Likewise.
3959 [C99-based-standards] (PRIdPTR): Likewise.
3960 [C99-based-standards] (PRIiPTR): Likewise.
3961 [C99-based-standards] (PRIoPTR): Likewise.
3962 [C99-based-standards] (PRIuPTR): Likewise.
3963 [C99-based-standards] (PRIxPTR): Likewise.
3964 [C99-based-standards] (PRIXPTR): Likewise.
3965 [C99-based-standards] (SCNdPTR): Likewise.
3966 [C99-based-standards] (SCNiPTR): Likewise.
3967 [C99-based-standards] (SCNoPTR): Likewise.
3968 [C99-based-standards] (SCNuPTR): Likewise.
3969 [C99-based-standards] (SCNxPTR): Likewise.
3970 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3972 * conform/data/stdint.h-data: Update comments to clarify
3974 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3976 [C99-based standards] (INT8_MAX): Likewise.
3977 [C99-based standards] (INT16_MIN): Likewise.
3978 [C99-based standards] (INT16_MAX): Likewise.
3979 [C99-based standards] (INT32_MIN): Likewise.
3980 [C99-based standards] (INT32_MAX): Likewise.
3981 [C99-based standards] (INT64_MIN): Likewise.
3982 [C99-based standards] (INT64_MAX): Likewise.
3983 [C99-based standards] (UINT8_MAX): Likewise.
3984 [C99-based standards] (UINT16_MAX): Likewise.
3985 [C99-based standards] (UINT32_MAX): Likewise.
3986 [C99-based standards] (UINT64_MAX): Likewise.
3987 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3988 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3989 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3990 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3991 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3992 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3993 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3994 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3995 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3996 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3997 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3998 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3999 [C99-based standards] (INT_FAST8_MIN): Likewise.
4000 [C99-based standards] (INT_FAST8_MAX): Likewise.
4001 [C99-based standards] (INT_FAST16_MIN): Likewise.
4002 [C99-based standards] (INT_FAST16_MAX): Likewise.
4003 [C99-based standards] (INT_FAST32_MIN): Likewise.
4004 [C99-based standards] (INT_FAST32_MAX): Likewise.
4005 [C99-based standards] (INT_FAST64_MIN): Likewise.
4006 [C99-based standards] (INT_FAST64_MAX): Likewise.
4007 [C99-based standards] (UINT_FAST8_MAX): Likewise.
4008 [C99-based standards] (UINT_FAST16_MAX): Likewise.
4009 [C99-based standards] (UINT_FAST32_MAX): Likewise.
4010 [C99-based standards] (UINT_FAST64_MAX): Likewise.
4011 [C99-based standards] (INTPTR_MIN): Likewise.
4012 [C99-based standards] (INTPTR_MAX): Likewise.
4013 [C99-based standards] (UINTPTR_MAX): Likewise.
4014 [C99-based standards] (INTMAX_MIN): Likewise.
4015 [C99-based standards] (INTMAX_MAX): Likewise.
4016 [C99-based standards] (UINTMAX_MAX): Likewise.
4017 [C99-based standards] (PTRDIFF_MIN): Likewise.
4018 [C99-based standards] (PTRDIFF_MAX): Likewise.
4019 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4020 [C99-based standards] (SIZE_MAX): Likewise.
4021 [C99-based standards] (WCHAR_MAX): Likewise.
4022 [C99-based standards] (WINT_MAX): Likewise.
4023 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
4024 constraint on value.
4025 [C99-based standards] (WCHAR_MIN): Likewise.
4026 [C99-based standards] (WINT_MIN): Likewise.
4027 [C99-based standards] (*_t): Allow.
4028 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4029 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4030 Include math.h-data and complex.h-data. Remove all expectations
4031 of math.h and complex.h contents.
4032 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4034 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4035 (struct tm): Expect tag.
4036 [C99-based-standards] (wcstof): Expect function.
4037 [C99-based-standards] (wcstold): Likewise.
4038 [C99-based-standards] (wcstoll): Likewise.
4039 [C99-based-standards] (wcstoull): Likewise.
4040 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4041 macro-int-constant. Specify type.
4042 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
4043 constraint on value.
4044 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4046 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4048 [ISO C standards]: Do not allow headers.
4049 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4050 wcs[abcdefghijklmnopqrstuvwxyz]*.
4051 [ISO C standards] (*_t): Do not allow.
4052 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4054 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4055 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4057 [ISO C standards]: Do not allow headers.
4058 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4059 is[abcdefghijklmnopqrstuvwxyz]*.
4060 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4061 to[abcdefghijklmnopqrstuvwxyz]*.
4062 [ISO C standards] (*_t): Do not allow.
4063 * conform/data/stdalign.h-data: New file.
4064 * conform/data/stdbool.h-data: Likewise.
4065 * conform/data/stdnoreturn.h-data: Likewise.
4067 2012-11-07 Roland McGrath <roland@hack.frob.com>
4070 * manual/filesys.texi (Directory Entries): Typo fix.
4071 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4073 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4075 * elf/elf.h (EM_AARCH64): New macro.
4076 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4077 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4078 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4079 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4080 (R_AARCH64_TLSDESC): Likewise.
4081 (NT_ARM_TLS): Likewise.
4082 (NT_ARM_HW_BREAK): Likewise.
4083 (NT_ARM_HW_WATCH): Likewise.
4085 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4088 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4089 (__ieee754_powl): Saturate nonzero exponents with absolute value
4090 below 0x1p-79 to +/- 0x1p-79.
4091 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4092 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4093 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4094 nonzero exponents with absolute value below 0x1p-32 to +/-
4096 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4097 (__ieee754_powl): Saturate nonzero exponents with absolute value
4098 below 0x1p-79 to +/- 0x1p-79.
4099 * math/libm-test.inc (pow_test): Add more tests.
4101 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4103 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4104 _dl_s390_cap_flags with kernel. Increase string length.
4105 (_dl_s390_platforms): Add z196 and zEC12.
4107 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4109 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4110 Change XOPEN21K to XOPEN2K.
4112 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4114 * string/memmove.c: Use memcpy when possible.
4116 2012-11-06 Andreas Jaeger <aj@suse.de>
4118 * po/eo.po: Update from translation team.
4120 2012-11-06 Joseph Myers <joseph@codesourcery.com>
4123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4124 exponent and small x and y exponents, scale x or y up. Increase
4125 by 2 the exponent used in scaling up.
4126 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4127 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4128 * math/libm-test.inc (fma_test): Add more tests.
4129 (fma_test_towardzero): Likewise.
4130 (fma_test_downward): Likewise.
4131 (fma_test_upward): Likewise.
4133 2012-11-05 Joseph Myers <joseph@codesourcery.com>
4136 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4140 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4141 namespace for names of struct fields.
4142 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4144 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4145 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4147 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4150 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4152 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4154 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4158 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4161 2012-11-04 Joseph Myers <joseph@codesourcery.com>
4164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4165 definitely overflow as x * y not x * y + z.
4166 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4167 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4168 * math/libm-test.inc (fma_test): Add more tests.
4169 (fma_test_towardzero): Likewise.
4170 (fma_test_downward): Likewise.
4171 (fma_test_upward): Likewise.
4173 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4177 * include/stub-tag.h: Remove file.
4178 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4180 * manual/maint.texi (Porting): Don't reference it.
4181 * Makerules ($(objpfx)stubs): Likewise.
4182 * dirent/closedir.c: Don't include <stub-tag.h>.
4183 * dirent/dirfd.c: Likewise.
4184 * dirent/fdopendir.c: Likewise.
4185 * dirent/getdents.c: Likewise.
4186 * dirent/getdents64.c: Likewise.
4187 * dirent/opendir.c: Likewise.
4188 * dirent/readdir.c: Likewise.
4189 * dirent/readdir64.c: Likewise.
4190 * dirent/readdir64_r.c: Likewise.
4191 * dirent/readdir_r.c: Likewise.
4192 * dirent/rewinddir.c: Likewise.
4193 * dirent/seekdir.c: Likewise.
4194 * dirent/telldir.c: Likewise.
4195 * gmon/profil.c: Likewise.
4196 * grp/setgroups.c: Likewise.
4197 * inet/if_index.c: Likewise.
4198 * io/access.c: Likewise.
4199 * io/chdir.c: Likewise.
4200 * io/chmod.c: Likewise.
4201 * io/chown.c: Likewise.
4202 * io/close.c: Likewise.
4203 * io/dup.c: Likewise.
4204 * io/dup2.c: Likewise.
4205 * io/dup3.c: Likewise.
4206 * io/euidaccess.c: Likewise.
4207 * io/faccessat.c: Likewise.
4208 * io/fchdir.c: Likewise.
4209 * io/fchmod.c: Likewise.
4210 * io/fchmodat.c: Likewise.
4211 * io/fchown.c: Likewise.
4212 * io/fchownat.c: Likewise.
4213 * io/fcntl.c: Likewise.
4214 * io/flock.c: Likewise.
4215 * io/fstatfs.c: Likewise.
4216 * io/fstatfs64.c: Likewise.
4217 * io/fstatvfs.c: Likewise.
4218 * io/fstatvfs64.c: Likewise.
4219 * io/futimens.c: Likewise.
4220 * io/fxstat.c: Likewise.
4221 * io/fxstat64.c: Likewise.
4222 * io/fxstatat.c: Likewise.
4223 * io/fxstatat64.c: Likewise.
4224 * io/getcwd.c: Likewise.
4225 * io/isatty.c: Likewise.
4226 * io/lchmod.c: Likewise.
4227 * io/lchown.c: Likewise.
4228 * io/link.c: Likewise.
4229 * io/linkat.c: Likewise.
4230 * io/lseek.c: Likewise.
4231 * io/lseek64.c: Likewise.
4232 * io/lxstat64.c: Likewise.
4233 * io/mkdir.c: Likewise.
4234 * io/mkdirat.c: Likewise.
4235 * io/mkfifo.c: Likewise.
4236 * io/mkfifoat.c: Likewise.
4237 * io/open.c: Likewise.
4238 * io/open64.c: Likewise.
4239 * io/openat.c: Likewise.
4240 * io/openat64.c: Likewise.
4241 * io/pipe.c: Likewise.
4242 * io/pipe2.c: Likewise.
4243 * io/poll.c: Likewise.
4244 * io/posix_fadvise.c: Likewise.
4245 * io/posix_fadvise64.c: Likewise.
4246 * io/posix_fallocate.c: Likewise.
4247 * io/posix_fallocate64.c: Likewise.
4248 * io/read.c: Likewise.
4249 * io/readlink.c: Likewise.
4250 * io/readlinkat.c: Likewise.
4251 * io/rmdir.c: Likewise.
4252 * io/sendfile.c: Likewise.
4253 * io/sendfile64.c: Likewise.
4254 * io/statfs.c: Likewise.
4255 * io/statfs64.c: Likewise.
4256 * io/statvfs.c: Likewise.
4257 * io/statvfs64.c: Likewise.
4258 * io/symlink.c: Likewise.
4259 * io/symlinkat.c: Likewise.
4260 * io/ttyname.c: Likewise.
4261 * io/ttyname_r.c: Likewise.
4262 * io/umask.c: Likewise.
4263 * io/unlink.c: Likewise.
4264 * io/unlinkat.c: Likewise.
4265 * io/utime.c: Likewise.
4266 * io/utimensat.c: Likewise.
4267 * io/write.c: Likewise.
4268 * io/xmknod.c: Likewise.
4269 * io/xmknodat.c: Likewise.
4270 * io/xstat.c: Likewise.
4271 * io/xstat64.c: Likewise.
4272 * login/getpt.c: Likewise.
4273 * login/grantpt.c: Likewise.
4274 * login/unlockpt.c: Likewise.
4275 * math/e_acoshl.c: Likewise.
4276 * math/e_acosl.c: Likewise.
4277 * math/e_asinl.c: Likewise.
4278 * math/e_atan2l.c: Likewise.
4279 * math/e_atanhl.c: Likewise.
4280 * math/e_coshl.c: Likewise.
4281 * math/e_expl.c: Likewise.
4282 * math/e_fmodl.c: Likewise.
4283 * math/e_gammal_r.c: Likewise.
4284 * math/e_hypotl.c: Likewise.
4285 * math/e_j0l.c: Likewise.
4286 * math/e_j1l.c: Likewise.
4287 * math/e_jnl.c: Likewise.
4288 * math/e_lgammal_r.c: Likewise.
4289 * math/e_log10l.c: Likewise.
4290 * math/e_log2l.c: Likewise.
4291 * math/e_logl.c: Likewise.
4292 * math/e_powl.c: Likewise.
4293 * math/e_rem_pio2l.c: Likewise.
4294 * math/e_sinhl.c: Likewise.
4295 * math/e_sqrtl.c: Likewise.
4296 * math/fclrexcpt.c: Likewise.
4297 * math/fedisblxcpt.c: Likewise.
4298 * math/feenablxcpt.c: Likewise.
4299 * math/fegetenv.c: Likewise.
4300 * math/fegetexcept.c: Likewise.
4301 * math/fegetround.c: Likewise.
4302 * math/feholdexcpt.c: Likewise.
4303 * math/fesetenv.c: Likewise.
4304 * math/fesetround.c: Likewise.
4305 * math/feupdateenv.c: Likewise.
4306 * math/fgetexcptflg.c: Likewise.
4307 * math/fraiseexcpt.c: Likewise.
4308 * math/fsetexcptflg.c: Likewise.
4309 * math/ftestexcept.c: Likewise.
4310 * math/k_cosl.c: Likewise.
4311 * math/k_rem_pio2l.c: Likewise.
4312 * math/k_sinl.c: Likewise.
4313 * math/k_tanl.c: Likewise.
4314 * math/s_asinhl.c: Likewise.
4315 * math/s_atanl.c: Likewise.
4316 * math/s_cbrtl.c: Likewise.
4317 * math/s_erfl.c: Likewise.
4318 * math/s_expm1l.c: Likewise.
4319 * math/s_log1pl.c: Likewise.
4320 * math/s_tanhl.c: Likewise.
4321 * misc/acct.c: Likewise.
4322 * misc/brk.c: Likewise.
4323 * misc/chflags.c: Likewise.
4324 * misc/chroot.c: Likewise.
4325 * misc/fchflags.c: Likewise.
4326 * misc/fgetxattr.c: Likewise.
4327 * misc/flistxattr.c: Likewise.
4328 * misc/fremovexattr.c: Likewise.
4329 * misc/fsetxattr.c: Likewise.
4330 * misc/fsync.c: Likewise.
4331 * misc/ftruncate.c: Likewise.
4332 * misc/futimes.c: Likewise.
4333 * misc/futimesat.c: Likewise.
4334 * misc/getdomain.c: Likewise.
4335 * misc/getdtsz.c: Likewise.
4336 * misc/gethostid.c: Likewise.
4337 * misc/gethostname.c: Likewise.
4338 * misc/getloadavg.c: Likewise.
4339 * misc/getpagesize.c: Likewise.
4340 * misc/getsysstats.c: Likewise.
4341 * misc/getxattr.c: Likewise.
4342 * misc/gtty.c: Likewise.
4343 * misc/ioctl.c: Likewise.
4344 * misc/lgetxattr.c: Likewise.
4345 * misc/listxattr.c: Likewise.
4346 * misc/llistxattr.c: Likewise.
4347 * misc/lremovexattr.c: Likewise.
4348 * misc/lsetxattr.c: Likewise.
4349 * misc/lutimes.c: Likewise.
4350 * misc/madvise.c: Likewise.
4351 * misc/mincore.c: Likewise.
4352 * misc/mlock.c: Likewise.
4353 * misc/mlockall.c: Likewise.
4354 * misc/mmap.c: Likewise.
4355 * misc/mprotect.c: Likewise.
4356 * misc/msync.c: Likewise.
4357 * misc/munlock.c: Likewise.
4358 * misc/munlockall.c: Likewise.
4359 * misc/munmap.c: Likewise.
4360 * misc/preadv.c: Likewise.
4361 * misc/preadv64.c: Likewise.
4362 * misc/ptrace.c: Likewise.
4363 * misc/pwritev.c: Likewise.
4364 * misc/pwritev64.c: Likewise.
4365 * misc/readv.c: Likewise.
4366 * misc/reboot.c: Likewise.
4367 * misc/remap_file_pages.c: Likewise.
4368 * misc/removexattr.c: Likewise.
4369 * misc/revoke.c: Likewise.
4370 * misc/select.c: Likewise.
4371 * misc/setdomain.c: Likewise.
4372 * misc/setegid.c: Likewise.
4373 * misc/seteuid.c: Likewise.
4374 * misc/sethostid.c: Likewise.
4375 * misc/sethostname.c: Likewise.
4376 * misc/setregid.c: Likewise.
4377 * misc/setreuid.c: Likewise.
4378 * misc/setxattr.c: Likewise.
4379 * misc/sstk.c: Likewise.
4380 * misc/stty.c: Likewise.
4381 * misc/swapoff.c: Likewise.
4382 * misc/swapon.c: Likewise.
4383 * misc/sync.c: Likewise.
4384 * misc/syncfs.c: Likewise.
4385 * misc/syscall.c: Likewise.
4386 * misc/truncate.c: Likewise.
4387 * misc/ualarm.c: Likewise.
4388 * misc/usleep.c: Likewise.
4389 * misc/ustat.c: Likewise.
4390 * misc/utimes.c: Likewise.
4391 * misc/vhangup.c: Likewise.
4392 * misc/writev.c: Likewise.
4393 * posix/_exit.c: Likewise.
4394 * posix/alarm.c: Likewise.
4395 * posix/execve.c: Likewise.
4396 * posix/fexecve.c: Likewise.
4397 * posix/fork.c: Likewise.
4398 * posix/fpathconf.c: Likewise.
4399 * posix/getaddrinfo.c: Likewise.
4400 * posix/getegid.c: Likewise.
4401 * posix/geteuid.c: Likewise.
4402 * posix/getgid.c: Likewise.
4403 * posix/getgroups.c: Likewise.
4404 * posix/getlogin.c: Likewise.
4405 * posix/getlogin_r.c: Likewise.
4406 * posix/getpgid.c: Likewise.
4407 * posix/getpid.c: Likewise.
4408 * posix/getppid.c: Likewise.
4409 * posix/getresgid.c: Likewise.
4410 * posix/getresuid.c: Likewise.
4411 * posix/getsid.c: Likewise.
4412 * posix/getuid.c: Likewise.
4413 * posix/glob64.c: Likewise.
4414 * posix/nanosleep.c: Likewise.
4415 * posix/pathconf.c: Likewise.
4416 * posix/pause.c: Likewise.
4417 * posix/posix_madvise.c: Likewise.
4418 * posix/pread.c: Likewise.
4419 * posix/pread64.c: Likewise.
4420 * posix/pwrite.c: Likewise.
4421 * posix/pwrite64.c: Likewise.
4422 * posix/sched_getaffinity.c: Likewise.
4423 * posix/sched_getp.c: Likewise.
4424 * posix/sched_gets.c: Likewise.
4425 * posix/sched_primax.c: Likewise.
4426 * posix/sched_primin.c: Likewise.
4427 * posix/sched_rr_gi.c: Likewise.
4428 * posix/sched_setaffinity.c: Likewise.
4429 * posix/sched_setp.c: Likewise.
4430 * posix/sched_sets.c: Likewise.
4431 * posix/sched_yield.c: Likewise.
4432 * posix/setgid.c: Likewise.
4433 * posix/setlogin.c: Likewise.
4434 * posix/setpgid.c: Likewise.
4435 * posix/setresgid.c: Likewise.
4436 * posix/setresuid.c: Likewise.
4437 * posix/setsid.c: Likewise.
4438 * posix/setuid.c: Likewise.
4439 * posix/sleep.c: Likewise.
4440 * posix/spawni.c: Likewise.
4441 * posix/sysconf.c: Likewise.
4442 * posix/times.c: Likewise.
4443 * posix/wait.c: Likewise.
4444 * posix/wait3.c: Likewise.
4445 * posix/wait4.c: Likewise.
4446 * posix/waitpid.c: Likewise.
4447 * resolv/gai_sigqueue.c: Likewise.
4448 * resource/getpriority.c: Likewise.
4449 * resource/getrlimit.c: Likewise.
4450 * resource/getrusage.c: Likewise.
4451 * resource/nice.c: Likewise.
4452 * resource/setpriority.c: Likewise.
4453 * resource/setrlimit.c: Likewise.
4454 * resource/ulimit.c: Likewise.
4455 * rt/aio_cancel.c: Likewise.
4456 * rt/aio_fsync.c: Likewise.
4457 * rt/aio_read.c: Likewise.
4458 * rt/aio_sigqueue.c: Likewise.
4459 * rt/aio_suspend.c: Likewise.
4460 * rt/aio_write.c: Likewise.
4461 * rt/clock_getres.c: Likewise.
4462 * rt/clock_gettime.c: Likewise.
4463 * rt/clock_nanosleep.c: Likewise.
4464 * rt/clock_settime.c: Likewise.
4465 * rt/lio_listio.c: Likewise.
4466 * rt/mq_close.c: Likewise.
4467 * rt/mq_getattr.c: Likewise.
4468 * rt/mq_notify.c: Likewise.
4469 * rt/mq_open.c: Likewise.
4470 * rt/mq_receive.c: Likewise.
4471 * rt/mq_send.c: Likewise.
4472 * rt/mq_setattr.c: Likewise.
4473 * rt/mq_timedreceive.c: Likewise.
4474 * rt/mq_timedsend.c: Likewise.
4475 * rt/mq_unlink.c: Likewise.
4476 * rt/shm_open.c: Likewise.
4477 * rt/shm_unlink.c: Likewise.
4478 * rt/timer_create.c: Likewise.
4479 * rt/timer_delete.c: Likewise.
4480 * rt/timer_getoverr.c: Likewise.
4481 * rt/timer_gettime.c: Likewise.
4482 * rt/timer_settime.c: Likewise.
4483 * setjmp/__longjmp.c: Likewise.
4484 * setjmp/setjmp.c: Likewise.
4485 * signal/kill.c: Likewise.
4486 * signal/killpg.c: Likewise.
4487 * signal/raise.c: Likewise.
4488 * signal/sigaction.c: Likewise.
4489 * signal/sigaltstack.c: Likewise.
4490 * signal/sigblock.c: Likewise.
4491 * signal/sigignore.c: Likewise.
4492 * signal/sigintr.c: Likewise.
4493 * signal/signal.c: Likewise.
4494 * signal/sigpause.c: Likewise.
4495 * signal/sigpending.c: Likewise.
4496 * signal/sigqueue.c: Likewise.
4497 * signal/sigreturn.c: Likewise.
4498 * signal/sigset.c: Likewise.
4499 * signal/sigsetmask.c: Likewise.
4500 * signal/sigstack.c: Likewise.
4501 * signal/sigsuspend.c: Likewise.
4502 * signal/sigtimedwait.c: Likewise.
4503 * signal/sigvec.c: Likewise.
4504 * signal/sigwait.c: Likewise.
4505 * signal/sigwaitinfo.c: Likewise.
4506 * signal/sysv_signal.c: Likewise.
4507 * socket/accept.c: Likewise.
4508 * socket/accept4.c: Likewise.
4509 * socket/bind.c: Likewise.
4510 * socket/connect.c: Likewise.
4511 * socket/getpeername.c: Likewise.
4512 * socket/getsockname.c: Likewise.
4513 * socket/getsockopt.c: Likewise.
4514 * socket/isfdtype.c: Likewise.
4515 * socket/listen.c: Likewise.
4516 * socket/recv.c: Likewise.
4517 * socket/recvfrom.c: Likewise.
4518 * socket/recvmsg.c: Likewise.
4519 * socket/send.c: Likewise.
4520 * socket/sendmsg.c: Likewise.
4521 * socket/sendto.c: Likewise.
4522 * socket/setsockopt.c: Likewise.
4523 * socket/shutdown.c: Likewise.
4524 * socket/sockatmark.c: Likewise.
4525 * socket/socket.c: Likewise.
4526 * socket/socketpair.c: Likewise.
4527 * stdio-common/ctermid.c: Likewise.
4528 * stdio-common/cuserid.c: Likewise.
4529 * stdio-common/remove.c: Likewise.
4530 * stdio-common/rename.c: Likewise.
4531 * stdio-common/renameat.c: Likewise.
4532 * stdio-common/tempname.c: Likewise.
4533 * stdlib/getcontext.c: Likewise.
4534 * stdlib/makecontext.c: Likewise.
4535 * stdlib/setcontext.c: Likewise.
4536 * stdlib/swapcontext.c: Likewise.
4537 * stdlib/system.c: Likewise.
4538 * streams/fattach.c: Likewise.
4539 * streams/fdetach.c: Likewise.
4540 * streams/getmsg.c: Likewise.
4541 * streams/getpmsg.c: Likewise.
4542 * streams/putmsg.c: Likewise.
4543 * streams/putpmsg.c: Likewise.
4544 * sysdeps/unix/bsd/getpt.c: Likewise.
4545 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4546 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4547 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4550 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4551 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4552 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4553 * sysvipc/msgctl.c: Likewise.
4554 * sysvipc/msgget.c: Likewise.
4555 * sysvipc/msgrcv.c: Likewise.
4556 * sysvipc/msgsnd.c: Likewise.
4557 * sysvipc/semctl.c: Likewise.
4558 * sysvipc/semget.c: Likewise.
4559 * sysvipc/semop.c: Likewise.
4560 * sysvipc/semtimedop.c: Likewise.
4561 * sysvipc/shmat.c: Likewise.
4562 * sysvipc/shmctl.c: Likewise.
4563 * sysvipc/shmdt.c: Likewise.
4564 * sysvipc/shmget.c: Likewise.
4565 * termios/tcdrain.c: Likewise.
4566 * termios/tcflow.c: Likewise.
4567 * termios/tcflush.c: Likewise.
4568 * termios/tcgetattr.c: Likewise.
4569 * termios/tcgetpgrp.c: Likewise.
4570 * termios/tcsendbrk.c: Likewise.
4571 * termios/tcsetattr.c: Likewise.
4572 * termios/tcsetpgrp.c: Likewise.
4573 * time/adjtime.c: Likewise.
4574 * time/clock.c: Likewise.
4575 * time/getitimer.c: Likewise.
4576 * time/gettimeofday.c: Likewise.
4577 * time/setitimer.c: Likewise.
4578 * time/settimeofday.c: Likewise.
4579 * time/stime.c: Likewise.
4580 * time/time.c: Likewise.
4582 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
4584 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4587 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4589 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4591 2012-11-03 Joseph Myers <joseph@codesourcery.com>
4594 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4595 FE_TONEAREST before applying Dekker multiplication and Knuth
4596 addition. Clear inexact exceptions and check for exact zero
4598 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4599 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4600 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4601 * math/libm-test.inc (fma_test): Add more tests.
4602 (fma_test_towardzero): Likewise.
4603 (fma_test_downward): Likewise.
4604 (fma_test_upward): Likewise.
4605 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4607 (libc_fesetround): New macro.
4608 (libc_fesetroundf): Likewise.
4609 (libc_fesetroundl): Likewise.
4610 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4612 (libc_fesetround_387): Likewise.
4613 (libc_fesetroundf): New macro.
4614 (libc_fesetround): Likewise.
4615 (libc_fesetroundl): Likewise.
4616 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4618 (libc_fesetroundf): New macro.
4619 (libc_fesetround): Likewise.
4620 (libc_fesetroundl): Likewise.
4621 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4622 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4623 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4625 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4626 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4628 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4629 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4631 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4635 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4636 integer constant usable in #if and use that to give value to enum
4638 (FE_DIVBYZERO): Likewise.
4639 (FE_UNDERFLOW): Likewise.
4640 (FE_OVERFLOW): Likewise.
4641 (FE_INVALID): Likewise.
4642 (FE_INVALID_SNAN): Likewise.
4643 (FE_INVALID_ISI): Likewise.
4644 (FE_INVALID_IDI): Likewise.
4645 (FE_INVALID_ZDZ): Likewise.
4646 (FE_INVALID_IMZ): Likewise.
4647 (FE_INVALID_COMPARE): Likewise.
4648 (FE_INVALID_SOFTWARE): Likewise.
4649 (FE_INVALID_SQRT): Likewise.
4650 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4651 (FE_TONEAREST): Likewise.
4652 (FE_TOWARDZERO): Likewise.
4653 (FE_UPWARD): Likewise.
4654 (FE_DOWNWARD): Likewise.
4655 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4656 (FE_DIVBYZERO): Likewise.
4657 (FE_OVERFLOW): Likewise.
4658 (FE_UNDERFLOW): Likewise.
4659 (FE_INEXACT): Likewise.
4660 (FE_TONEAREST): Likewise.
4661 (FE_DOWNWARD): Likewise.
4662 (FE_UPWARD): Likewise.
4663 (FE_TOWARDZERO): Likewise.
4664 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4665 (FE_UNDERFLOW): Likewise.
4666 (FE_OVERFLOW): Likewise.
4667 (FE_DIVBYZERO): Likewise.
4668 (FE_INVALID): Likewise.
4669 (FE_TONEAREST): Likewise.
4670 (FE_TOWARDZERO): Likewise.
4671 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4672 (FE_OVERFLOW): Likewise.
4673 (FE_UNDERFLOW): Likewise.
4674 (FE_DIVBYZERO): Likewise.
4675 (FE_INEXACT): Likewise.
4676 (FE_TONEAREST): Likewise.
4677 (FE_TOWARDZERO): Likewise.
4678 (FE_UPWARD): Likewise.
4679 (FE_DOWNWARD): Likewise.
4680 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4681 (FE_DIVBYZERO): Likewise.
4682 (FE_OVERFLOW): Likewise.
4683 (FE_UNDERFLOW): Likewise.
4684 (FE_INEXACT): Likewise.
4685 (FE_TONEAREST): Likewise.
4686 (FE_DOWNWARD): Likewise.
4687 (FE_UPWARD): Likewise.
4688 (FE_TOWARDZERO): Likewise.
4690 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4692 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4694 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4696 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4697 commands. Quote $PWD.
4698 (blacklist_exports): Don't use remove_newlines. Replace "declare
4700 (remove_newlines): Remove.
4702 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4704 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4705 * stdlib/stdlib.h (atof): Moved to ...
4706 * include/bits/stdlib-float.h: Here. New file.
4707 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4708 * stdlib/bits/stdlib-float.h: New file.
4709 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4711 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4714 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4716 * conform/conformtest.pl (@headers): Add fenv.h.
4717 * conform/data/fenv.h-data: New file.
4718 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4719 include of <math/fenv.h>.
4721 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4722 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4723 && !UNIX98]. Enables tests for XOPEN2K8.
4724 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4725 POSIX2008]: Likewise.
4727 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4728 (struct rusage): Do not expect type or its members.
4731 * math/math.h (FP_NAN): Define macro to integer constant usable in
4732 #if and use that to give value to enum constant.
4733 (FP_INFINITE): Likewise.
4734 (FP_ZERO): Likewise.
4735 (FP_SUBNORMAL): Likewise.
4736 (FP_NORMAL): Likewise.
4738 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4740 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4741 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4744 2012-11-02 Roland McGrath <roland@hack.frob.com>
4746 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4747 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4748 autoconf-time if not.
4749 * configure.in: Remove AC_PREREQ.
4751 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4753 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4754 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4755 of the internal implementation.
4757 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4759 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4760 except include of <misc/sys/syslog.h>.
4762 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4765 function returns with a NULL context exit with zero.
4767 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4769 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4771 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4773 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4774 (run_program_cmd): This.
4775 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4776 (tst_langinfo): New variable. Use it.
4778 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4780 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4781 floating point opcodes.
4783 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4785 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4788 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4790 * sysdeps/mach/hurd/powerpc: Remove directory.
4791 * sysdeps/mach/powerpc: Likewise.
4793 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4795 * scripts/check-local-headers.sh: Ignore c++ headers.
4797 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4799 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4800 __libc_cleanup_region_start argument.
4802 2012-11-01 Joseph Myers <joseph@codesourcery.com>
4806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4807 x * y using scaling, not as x * y + z.
4808 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4809 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4810 * math/libm-test.inc (fma_test): Add more tests.
4811 (fma_test_towardzero): Likewise.
4812 (fma_test_downward): Likewise.
4813 (fma_test_upward): Likewise.
4815 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4817 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4819 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4821 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4824 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4826 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4828 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4835 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4838 Fix the order of the list for glibc 2.17.
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4842 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4846 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4849 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4850 for low part of x being zero before using __atanl (y).
4851 * math/libm-test.inc (atan2_test): Add another test.
4853 * manual/install.texi (Configuring and compiling): Document
4854 general use of test-wrapper and test-wrapper-env.
4855 * INSTALL: Regenerated.
4857 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4858 (__fma): Do not extract and scale down low bits on after-rounding
4859 systems when result rounded to normal precision would have normal
4861 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4862 (__fmal): Do not extract and scale down low bits on after-rounding
4863 systems when result rounded to normal precision would have normal
4865 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4866 (__fmal): Do not extract and scale down low bits on after-rounding
4867 systems when result rounded to normal precision would have normal
4869 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4871 (fma_test): Add more tests.
4872 (fma_test_towardzero): Likewise.
4873 (fma_test_downward): Likewise.
4874 (fma_test_upward): Likewise.
4876 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4878 * sysdeps/i386/tininess.h: Renamed to ...
4879 * sysdeps/x86/tininess.h: This.
4880 * sysdeps/x86_64/tininess.h: Removed.
4882 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4884 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4885 input. Use $(build-program-cmd).
4886 ($(objpfx)tst-array1-static.out): Likewise.
4887 ($(objpfx)tst-array2.out): Likewise.
4888 ($(objpfx)tst-array3.out): Likewise.
4889 ($(objpfx)tst-array4.out): Likewise.
4890 ($(objpfx)tst-array5.out): Likewise.
4891 ($(objpfx)tst-array5-static.out): Likewise.
4893 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4895 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4898 * nss/nsswitch.h (nss_interface_function): Provide new
4899 macro for use with NSS functions.
4900 * grp/initgroups.c: Use new macro.
4901 * nss/getXXbyYY.c: Likewise.
4902 * nss/getXXbyYY_r.c: Likewise.
4903 * nss/getXXent.c: Likewise.
4904 * nss/getXXent_r.c: Likewise.
4905 * sysdeps/posix/getaddrinfo.c: Likewise.
4907 2012-10-30 Andreas Jaeger <aj@suse.de>
4909 * po/ru.po: Update Russion translation from translation project.
4911 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4916 result and shift together with sticky bit instead of replicating
4917 round-to-nearest rounding.
4918 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4919 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4920 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4921 missing underflow exceptions.
4922 (fma_test_towardzero): Add more tests.
4923 (fma_test_downward): Likewise.
4924 (fma_test_upward): Likewise.
4927 * sysdeps/generic/tininess.h: New file.
4928 * sysdeps/i386/tininess.h: Likewise.
4929 * sysdeps/sh/tininess.h: Likewise.
4930 * sysdeps/x86_64/tininess.h: Likewise.
4931 * stdlib/tst-strtod-underflow.c: Likewise.
4932 * stdlib/tst-tininess.c: Likewise.
4933 * stdlib/strtod_l.c: Include <tininess.h>.
4934 (round_and_return): Do not set errno for exact underflow cases.
4935 Force an underflow exception when setting errno for underflow.
4936 Determine underflow based on rounding to normal precision if
4937 TININESS_AFTER_ROUNDING.
4938 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4939 ERANGE for exact underflow cases.
4940 * stdlib/Makefile (tests): Add tst-tininess and
4941 tst-strtod-underflow.
4942 ($(objpfx)tst-tininess): Use $(link-libm).
4943 ($(objpfx)tst-strtod-underflow): Likewise.
4945 2012-10-30 Andreas Jaeger <aj@suse.de>
4948 * elf/Makefile (tests): Remove conditional for have-initfini-array
4949 since this is now always required and the variable does not exist
4951 (tests-static): Likewise.
4952 (modules-names): Likewise.
4954 * po/eo.po: Add Esperanto translation from translation project.
4956 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4957 merged with constructor/destructor.
4958 (init_array): Likewise.
4959 * elf/tst-array2dep.c (fini_array): Likewise.
4960 (init_array): Likewise.
4962 2012-10-29 Mike Frysinger <vapier@gentoo.org>
4964 * manual/message.texi: Delete @cartouche tags.
4966 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4968 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4970 * sysdeps/mach/hurd/fsync.c: Likewise.
4972 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4973 [_POSIX_REALTIME_SIGNALS]: Change condition to
4974 [_POSIX_REALTIME_SIGNALS > 0].
4976 2012-10-27 Andreas Jaeger <aj@suse.de>
4978 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4979 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4981 [__WORDSIZE != 64]: Likewise.
4983 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4985 * iconvdata/tst-table.sh: Remove ${SHELL}.
4986 * iconvdata/tst-tables.sh: Likewise.
4988 2012-10-25 David S. Miller <davem@davemloft.net>
4990 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4991 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4996 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4997 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4998 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5001 2012-10-25 Roland McGrath <roland@hack.frob.com>
5003 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5004 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5007 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5008 Jim Blandy <jimb@codesourcery.com>
5010 * scripts/cross-test-ssh.sh: New file.
5011 * manual/install.texi (Configuring and compiling): Document use of
5013 * INSTALL: Regenerated.
5015 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
5017 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5020 2012-10-25 Joseph Myers <joseph@codesourcery.com>
5022 * Makeconfig (run-program-prefix): Fix comment.
5024 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5025 Jim Blandy <jimb@codesourcery.com>
5027 * Makeconfig (test-wrapper): New variable,
5028 (test-wrapper-env): Likewise.
5029 [$(cross-compiling) = yes && $(test-wrapper) != ""]
5030 (run-built-tests): Define to yes.
5031 (run-program-prefix): Use $(test-wrapper).
5032 (built-program-cmd): Likewise.
5033 * Rules (make-test-out): Use $(test-wrapper-env) and
5034 $(host-built-program-cmd).
5035 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5036 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5038 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5039 $(test-wrapper-env) to tst-rtld-load-self.sh.
5040 ($(objpfx)order2.out): Use $(test-wrapper).
5041 ($(objpfx)tst-initorder.out): Likewise.
5042 ($(objpfx)tst-initorder2.out): Likewise.
5043 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5044 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5045 (test_wrapper_env): New variable. Use it to run ld.so.
5046 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5047 Use it to run ld.so.
5048 (test_wrapper_env): Likewise.
5049 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5050 $(test-wrapper) to run-iconv-test.sh.
5051 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5052 (ICONV): Use $test_wrapper.
5053 * posix/Makefile ($(objpfx)globtest.out): Pass
5054 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5055 globtest.sh, not $(run-program-prefix).
5056 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5057 (test_wrapper): Likewise.
5058 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5059 set together with run_via_rtld_prefix.
5060 (run_program_prefix): Define in terms of test_wrapper and
5061 run_via_rtld_prefix.
5063 2012-10-24 Roland McGrath <roland@hack.frob.com>
5065 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5066 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5070 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5071 Declare __clock_getres, __clock_gettime, __clock_settime,
5072 __clock_nanosleep, and __clock_getcpuclockid.
5073 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5074 Remove librt_hidden_def (clock_gettime).
5075 * sysdeps/unix/clock_gettime.c: Likewise.
5076 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5077 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5078 * rt/clock_getres.c: Define __clock_getres as an alias.
5079 * sysdeps/posix/clock_getres.c: Likewise.
5080 * rt/clock_settime.c: Define __clock_settime as an alias.
5081 * sysdeps/unix/clock_settime.c: Likewise.
5082 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5083 * sysdeps/unix/clock_nanosleep.c: Likewise.
5084 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5085 * rt/clock-compat.c: New file.
5086 * rt/Makefile (librt-routines): Add clock-compat and move
5087 $(clock-routines) to ...
5088 (routines): ... here, new variable.
5089 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5090 Don't add get_clockfreq here.
5091 * rt/Versions (libc: GLIBC_2.17): New version set.
5092 Add clock_* symbols here.
5093 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5094 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5095 (GLIBC_2.17): Add clock_* symbols.
5096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5098 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5107 * NEWS: Mention the move.
5109 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5110 Use __open, __read, __close rather than their public counterparts.
5111 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5112 (__get_clockfreq_via_cpuinfo): Likewise.
5113 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5114 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5116 * config.h.in (HAVE_IFUNC): New #undef.
5117 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5119 * configure: Regenerated.
5121 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5123 * configure.in: Move READELF check to start of file.
5124 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5125 libc_cv_asm_gnu_indirect_function in the process.
5126 * configure: Regenerated.
5128 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5130 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5131 send the output to /dev/null.
5132 (libc_cv_cc_with_libunwind): Likewise.
5133 (libc_cv_as_noexecstack): Likewise.
5134 * configure: Regenerate.
5136 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5138 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5140 * posix/globtest.sh (TMPDIR): Do not set.
5141 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5142 (testout): Likewise.
5144 2012-10-24 Andreas Jaeger <aj@suse.de>
5146 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5147 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5148 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5149 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5150 posix_fadvise64, posix_fallocate64.
5152 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5153 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5154 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5156 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5158 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5161 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5162 <bits/fcntl-linux.h>.
5163 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5165 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5166 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5167 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5168 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5169 [__WORDSIZE != 64]: Likewise.
5171 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5173 * Makeconfig (run-built-tests): New variable.
5174 * Rules [$(cross-compiling) = yes]: Change condition to
5175 [$(run-built-tests) = no].
5176 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5177 to [$(run-built-tests) = yes].
5178 * elf/Makefile [$(cross-compiling) = no]: Likewise
5179 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5180 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5181 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5182 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5183 * io/Makefile [$(cross-compiling) = no]: Likewise.
5184 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5185 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5186 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5187 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5188 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5189 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5190 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5191 * string/Makefile [$(cross-compiling) = no]: Likewise.
5193 * posix/Makefile ($(objpfx)globtest.out): Pass
5194 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5195 $(rtld-installed-name).
5196 * posix/globtest.sh (elf_objpfx): Remove variable.
5197 (rtld_installed_name): Likewise.
5198 (library_path): Likewise.
5199 (run_program_prefix): New variable. Use for running globtest
5202 2012-10-23 Jim Blandy <jimb@codesourcery.com>
5203 Joseph Myers <joseph@codesourcery.com>
5205 * Makeconfig (host-built-program-cmd): New variable.
5206 * elf/Makefile (tst-stackguard1-ARGS): Use
5207 $(host-built-program-cmd).
5208 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5209 (tst-spawn-ARGS): Likewise.
5210 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5212 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5213 Jim Blandy <jimb@codesourcery.com>
5215 * Makeconfig (run-via-rtld-prefix): New variable.
5216 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5217 (built-program-cmd): Likewise.
5219 2012-10-22 Andreas Jaeger <aj@suse.de>
5221 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5222 __O_RSYNC if it exists, otherwise to O_SYNC.
5224 2012-10-22 Jim Blandy <jimb@codesourcery.com>
5225 Joseph Myers <joseph@codesourcery.com>
5227 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5229 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5231 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5234 2012-10-22 Andreas Jaeger <aj@suse.de>
5236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5244 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5246 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5251 2012-10-21 Jim Blandy <jimb@codesourcery.com>
5252 Joseph Myers <joseph@codesourcery.com>
5254 * config.make.in (NM): New variable.
5256 2012-10-21 Andreas Jaeger <aj@suse.de>
5258 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5259 definitions and declarations that are provided by
5260 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5262 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5265 * elf/Makefile (tests-static): Add tst-leaks1-static.
5266 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5267 ($(objpfx)tst-leaks1-static): New rule.
5268 ($(objpfx)tst-leaks1-static-mem): Likewise.
5269 (tst-leaks1-static-ENV): New macro.
5270 * elf/dl-open.c (dl_open_worker): Check the main application
5271 only if SHARED is defined.
5272 * elf/tst-leaks1-static.c: New file.
5274 2012-10-20 Andreas Jaeger <aj@suse.de>
5276 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5277 generic values for Linux.
5278 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5279 and declarations that are provided by <bits/fcntl-linux.h> and
5280 include <bits/fcntl-linux.h>.
5281 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5282 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5284 2012-10-20 Roland McGrath <roland@hack.frob.com>
5286 * io/fcntl.h: Move include of <bits/types.h> to the top and
5287 include it unconditionally.
5289 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5291 * wcsmbs/Makefile (tests-ifunc): New variable.
5292 (tests): Add $(tests-ifunc).
5293 * wcsmbs/test-wcschr-ifunc.c: New file.
5294 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5295 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5296 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5297 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5298 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5300 * string/Makefile (tests-ifunc): New variable.
5301 (tests): Add $(tests-ifunc).
5302 * string/test-memccpy.c (TEST_NAME): New macro.
5303 * string/test-memchr.c (TEST_NAME): Likewise.
5304 * string/test-memcmp.c (TEST_NAME): Likewise.
5305 * string/test-memcpy.c (TEST_NAME): Likewise.
5306 * string/test-memmem.c (TEST_NAME): Likewise.
5307 * string/test-memmove.c (TEST_NAME): Likewise.
5308 * string/test-memset.c (TEST_NAME): Likewise.
5309 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5310 * string/test-stpcpy.c (TEST_NAME): Likewise.
5311 * string/test-stpncpy.c (TEST_NAME): Likewise.
5312 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5313 * string/test-strcasestr.c (TEST_NAME): Likewise.
5314 * string/test-strcat.c (TEST_NAME): Likewise.
5315 * string/test-strchr.c (TEST_NAME): Likewise.
5316 * string/test-strcmp.c(TEST_NAME): Likewise.
5317 * string/test-strcpy.c (TEST_NAME): Likewise.
5318 * string/test-strcspn.c (TEST_NAME): Likewise.
5319 * string/test-strlen.c (TEST_NAME): Likewise.
5320 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5321 * string/test-strncmp.c (TEST_NAME): Likewise.
5322 * string/test-strncpy.c (TEST_NAME): Likewise.
5323 * string/test-strnlen.c (TEST_NAME): Likewise.
5324 * string/test-strpbrk.c (TEST_NAME): Likewise.
5325 * string/test-strrchr.c (TEST_NAME): Likewise.
5326 * string/test-strspn.c (TEST_NAME): Likewise.
5327 * string/test-strstr.c (TEST_NAME): Likewise.
5328 * string/test-bcopy-ifunc.c: New file.
5329 * string/test-bzero-ifunc.c: Likewise.
5330 * string/test-memccpy-ifunc.c: Likewise.
5331 * string/test-memchr-ifunc.c: Likewise.
5332 * string/test-memcmp-ifunc.c: Likewise.
5333 * string/test-memcpy-ifunc.c: Likewise.
5334 * string/test-memmem-ifunc.c: Likewise.
5335 * string/test-memmove-ifunc.c: Likewise.
5336 * string/test-mempcpy-ifunc.c: Likewise.
5337 * string/test-memset-ifunc.c: Likewise.
5338 * string/test-rawmemchr-ifunc.c: Likewise.
5339 * string/test-stpcpy-ifunc.c: Likewise.
5340 * string/test-stpncpy-ifunc.c: Likewise.
5341 * string/test-strcasecmp-ifunc.c: Likewise.
5342 * string/test-strcasestr-ifunc.c: Likewise.
5343 * string/test-strcat-ifunc.c: Likewise.
5344 * string/test-strchr-ifunc.c: Likewise.
5345 * string/test-strchrnul-ifunc.c: Likewise.
5346 * string/test-strcmp-ifunc.c: Likewise.
5347 * string/test-strcpy-ifunc.c: Likewise.
5348 * string/test-strcspn-ifunc.c: Likewise.
5349 * string/test-strlen-ifunc.c: Likewise.
5350 * string/test-strncasecmp-ifunc.c: Likewise.
5351 * string/test-strncat-ifunc.c: Likewise.
5352 * string/test-strncmp-ifunc.c: Likewise.
5353 * string/test-strncpy-ifunc.c: Likewise.
5354 * string/test-strnlen-ifunc.c: Likewise.
5355 * string/test-strpbrk-ifunc.c: Likewise.
5356 * string/test-strrchr-ifunc.c: Likewise.
5357 * string/test-strspn-ifunc.c: Likewise.
5358 * string/test-strstr-ifunc.c: Likewise.
5360 * debug/Makefile (tests-ifunc): New variable.
5361 (tests): Add $(tests-ifunc).
5362 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5363 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5364 * debug/test-stpcpy_chk-ifunc.c: New file.
5365 * debug/test-strcpy_chk-ifunc.c: Likewise.
5367 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5370 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5371 header is not read in.
5373 2012-10-19 Joseph Myers <joseph@codesourcery.com>
5375 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5376 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5377 directly. Pass built executable to script as
5378 $(built-program-cmd).
5379 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5380 $testprogram without using LD_LIBRARY_PATH and $ldso.
5382 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5383 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5384 $(rtld-installed-name).
5385 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5386 (rtld_installed_name): Likewise.
5387 (library_path): Likewise.
5388 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5389 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5390 $(run-program-prefix) to tst-tables.sh.
5391 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5392 it to run tst-table-from and tst-table-to.
5393 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5394 Pass it to tst-table.sh.
5395 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5396 $(run-program-prefix) to tst-gettext.sh.
5397 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5399 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5401 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5403 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5404 to run tst-gettext2.
5405 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5406 to run tst-translit.
5407 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5408 $(run-program-prefix) to tst-mtrace.sh.
5409 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5411 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5412 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5413 $(rtld-installed-name).
5414 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5415 (rtld_installed_name): Likewise.
5416 (run_program_prefix): New variable. Use it to run wordexp-test.
5418 * Makeconfig (ARCH): Remove all definitions.
5419 (machine): Likewise.
5420 [ARCH]: Remove conditional code.
5421 [!objdir]: Give error.
5422 [!objdir] (objpfx): Remove.
5423 [!objdir] (common-objpfx): Likewise.
5424 [!objdir] (common-objdir): Likewise.
5425 * configure.in (config_makefile): Remove. Hardcode Makefile in
5426 AC_CONFIG_FILES call.
5427 * configure: Regenerated.
5430 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5432 (testout): Likewise.
5434 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5435 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5436 $(rtld-installed-name).
5437 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5438 (rtld_installed_name): Likwise.
5439 (runit): Remove function.
5440 (run_getconf): New variable, Use it for running getconf binary.
5442 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5445 * string/test-memmem.c (check_result): New function.
5446 (do_one_test): Use it.
5447 (check1): New function.
5448 (test_main): Use it.
5450 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5452 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5454 2012-10-18 Joseph Myers <joseph@codesourcery.com>
5456 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5457 (_G_LSEEK64): Likewise.
5458 (_G_MMAP64): Likewise.
5459 (_G_FSTAT64): Likewise.
5460 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5461 (_G_LSEEK64): Likewise.
5462 (_G_MMAP64): Likewise.
5463 (_G_FSTAT64): Likewise.
5464 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5465 unconditional. Call __mmap64 directly.
5466 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5467 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5469 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5470 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5472 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5473 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5475 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5476 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5478 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5479 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5481 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5482 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5483 __fxstat64 directly.
5484 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5485 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5487 (freopen64) [!_G_OPEN64]: Remove conditional code.
5488 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5490 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5491 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5493 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5494 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5496 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5497 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5499 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5500 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5502 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5503 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5505 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5506 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5508 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5510 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5513 * manual/memory.texi (Malloc Tunable Parameters): Add note
5514 about free list pointers overwriting some perturb bytes.
5515 Wording suggested by Roland McGrath.
5517 2012-10-17 Joseph Myers <joseph@codesourcery.com>
5519 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5520 (lgamma_test): Likewise.
5521 (tgamma_test): Likewise.
5523 2012-10-16 Florian Weimer <fweimer@redhat.com>
5526 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5527 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5529 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5531 * NEWS: Mention BZ #14716.
5532 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5533 when removing AVAILABLE1_USES_J macro.
5535 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5537 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5538 (__bswap_64): __uint64_t for unsigned 64-bit int.
5540 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5542 * include/string.h (memmem): Declare libc hidden alias.
5543 * string/memmem.c (memmem): Define libc hidden alias.
5544 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5545 __read, __close instead of open, read, close.
5547 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5549 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5550 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5552 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5553 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5554 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5556 (__rawmemchr_sse2): Likewise.
5557 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5558 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5559 (__strchr_sse2): Likewise.
5560 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5561 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5562 (__strcasecmp_sse2): Likewise.
5563 (__strncasecmp_sse2): Likewise.
5564 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5565 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5566 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5567 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5568 (__strrchr_sse2): Likewise.
5569 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5571 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5572 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5573 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5574 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5575 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5576 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5577 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5578 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5579 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5580 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5581 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5582 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5583 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5584 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5585 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5586 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5587 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5588 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5589 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5590 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5591 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5592 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5593 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5594 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5595 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5596 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5597 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5598 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5599 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5600 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5602 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5604 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5605 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5606 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5607 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5609 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5611 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5612 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5613 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5614 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5616 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5617 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5618 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5619 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5620 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5621 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5622 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5623 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5624 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5625 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5626 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5627 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5628 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5629 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5630 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5631 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5632 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5633 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5634 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5635 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5636 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5637 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5638 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5639 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5640 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5641 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5642 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5643 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5644 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5645 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5646 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5647 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5648 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5649 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5650 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5651 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5652 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5653 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5654 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5655 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5656 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5658 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5659 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5660 * include/ifunc-impl-list.h: New file.
5661 * misc/ifunc-impl-list.c: Likewise.
5662 * misc/Makefile (routines): Add ifunc-impl-list.
5663 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5664 * string/test-string.h: Include <ifunc-impl-list.h>.
5665 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5666 impl_array): New variables.
5667 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5669 (test_init): Call __libc_ifunc_impl_list to initialize
5670 func_list if TEST_IFUNC and TEST_NAME are defined.
5672 * string/Makefile (strop-tests): Add bcopy and bzero.
5673 * string/test-bcopy.c: New file.
5674 * string/test-bzero.c: Likewise.
5675 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5677 * string/test-memset.c: Support bzero test if TEST_BZERO is
5679 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5681 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5683 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5686 2012-10-10 Joseph Myers <joseph@codesourcery.com>
5688 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5689 * configure: Regenerated.
5691 * Makeconfig (+link-static-before-libc): Don't include
5692 $(link-static-libc).
5694 * libio/libio.h (_IO_pos_t): Remove.
5696 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5698 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5701 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5703 * crypt/crypt-entry.c: Include fips-private.h.
5704 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5705 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5706 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5707 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5709 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5711 * crypt/crypt-private.h: Include stdbool.h.
5712 (_ufc_setup_salt_r): Return bool.
5713 * crypt/crypt-entry.c: Include errno.h.
5714 (__crypt_r): Return NULL with EINVAL for bad salt.
5715 * crypt/crypt_util.c (bad_for_salt): New.
5716 (_ufc_setup_salt_r): Check that salt is long enough and within
5717 the specified alphabet.
5718 * crypt/badsalttest.c: New file.
5719 * crypt/Makefile (tests): Add it.
5720 ($(objpfx)badsalttest): New.
5722 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5724 * NEWS: Add entry for BZ #14602.
5726 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5728 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5730 * math/libm-test.inc: Update comment listing what functions and
5732 (isgreater_test): New function.
5733 (isgreaterequal_test): Likewise.
5734 (isless_test): Likewise.
5735 (islessequal_test): Likewise.
5736 (islessgreater_test): Likewise.
5737 (isunordered_test): Likewise.
5738 (main): Call the new functions.
5740 2012-10-09 Roland McGrath <roland@hack.frob.com>
5742 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5743 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5744 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5745 * sysdeps/i386/configure: Regenerated.
5746 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5747 * sysdeps/mach/configure: Regenerated.
5748 * sysdeps/mach/hurd/configure: Regenerated.
5749 * sysdeps/powerpc/configure: Regenerated.
5750 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5751 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5752 * sysdeps/s390/s390-32/configure: Regenerated.
5753 * sysdeps/s390/s390-64/configure: Regenerated.
5754 * sysdeps/sh/configure: Regenerated.
5755 * sysdeps/sparc/configure: Regenerated.
5756 * sysdeps/unix/sysv/linux/configure: Regenerated.
5757 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5758 * sysdeps/x86_64/configure: Regenerated.
5760 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5761 defined. Don't check if MAP is NULL.
5763 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5765 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5766 (_G_stat64): Likewise.
5767 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5768 (_G_stat64): Likewise.
5769 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5770 instead of struct _G_stat64.
5771 * libio/fileops.c (mmap_remap_check): Likewise.
5772 (decide_maybe_mmap): Likewise.
5773 (_IO_new_file_seekoff): Likewise.
5774 (_IO_file_stat): Likewise.
5775 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5777 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5778 instead of struct _G_stat64.
5779 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5781 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5784 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5786 (CHECK_EOL): New macro.
5787 (two_way_short_needle): Check beginning of haystack for EOL. Use
5789 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5790 Replace with CHECK_EOL.
5791 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5792 Replace with CHECK_EOL.
5794 2012-10-08 Joseph Myers <joseph@codesourcery.com>
5796 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5798 * math/libm-test.inc: Update comment listing what functions and
5800 (finite_test): New function.
5801 (isinf_test): Likewise.
5802 (isnan_test): Likewise.
5803 (fpclassify_test): Test subnormal input.
5804 (isfinite_test): Likewise.
5805 (isnormal_test): Likewise.
5806 (main): Call the new functions.
5808 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5811 * Makerules (%.dynsym): Force C locale when running
5812 $(OBJDUMP) --dynamic-syms.
5814 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5816 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5819 2012-10-06 David S. Miller <davem@davemloft.net>
5821 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5822 upper 32-bits of the length value in %o2 since we use branch-on-register
5823 tests which consider the entire 64-bit register.
5825 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5827 * string/test-strstr.c (check2): Add a test for page boundary.
5829 2012-10-05 David S. Miller <davem@davemloft.net>
5831 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5832 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5834 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5836 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5837 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5838 and bzero when HWCAP_SPARC_CRYPTO is present.
5840 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5843 * string/test-strstr.c (check2): New function.
5844 (test_main): Call check2.
5846 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5848 * string/bug-strcasestr1.c (do_test): Moved to ...
5849 * string/test-strcasestr.c (check1): Here. New function.
5850 (do_one_test): Break out result checking code into ...
5851 (check_result): This. New function.
5852 (do_one_test): Call check_result.
5853 (test_main): Call check1.
5854 * string/bug-strchr1.c (do_test): Moved to ...
5855 * string/test-strchr.c (check1): Here. New function.
5856 (do_one_test): Break out result checking code into ...
5857 (check_result): This. New function.
5858 (do_one_test): Call check_result.
5859 (test_main): Call check1.
5860 * string/bug-strstr1.c (main): Moved to ...
5861 * string/test-strstr.c (check1): Here. New function.
5862 (do_one_test): Break out result checking code into ...
5863 (check_result): This. New function.
5864 (do_one_test): Call check_result.
5865 (test_main): Call check1.
5866 * string/bug-strcasestr1.c: Removed.
5867 * string/bug-strchr1.c: Likewise.
5868 * string/bug-strstr1.c: Likewise.
5870 * elf/Makefile (dl-routines): Add hwcaps.
5871 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5872 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5873 (_dl_important_hwcaps): Moved to ...
5874 * elf/dl-hwcaps.c: Here. New file.
5875 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5878 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5879 if IS_IN_rtld isn't defined.
5881 * elf/dl-support.c (_dl_sysinfo_map): New.
5882 Include "get-dynamic-info.h" and "setup-vdso.h".
5883 (_dl_non_dynamic_init): Call setup_vdso.
5884 * elf/dynamic-link.h: Don't include <assert.h>.
5885 (elf_get_dynamic_info): Moved to ...
5886 * elf/get-dynamic-info.h: Here. New file.
5887 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5888 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5889 * elf/setup-vdso.h: Here. New file.
5890 * elf/rtld.c: Include "setup-vdso.h".
5891 (dl_main): Call setup_vdso.
5893 2012-10-05 Joseph Myers <joseph@codesourcery.com>
5895 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5896 creal in comment listing functions tested. List finite, isinf,
5897 isnan, isless, islessequal, isgreater, isgreaterequal,
5898 islessgreater, isunordered, lgamma_r and pow10 as functions and
5899 macros not tested. Mention which functions not tested are aliases
5900 for other functions. Fix typo. Note that signs of NaNs are not
5903 * scripts/config.guess: Update from config.git.
5904 * scripts/config.sub: Likewise.
5906 2012-10-04 Roland McGrath <roland@hack.frob.com>
5908 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5909 * misc/madvise.c (madvise): Renamed to __madvise.
5910 Make madvise a weak alias.
5911 * include/sys/mman.h: Declare __madvise.
5912 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5913 * sysdeps/unix/syscalls.list
5914 (madvise): Make __madvise the strong name, and madvise a weak alias.
5915 * sysdeps/unix/sysv/linux/syscalls.list
5916 (madvise, mmap): Remove redundant entries.
5917 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5918 * malloc/malloc.c (mtrim): Likewise.
5919 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5921 2012-10-03 Roland McGrath <roland@hack.frob.com>
5923 * sysdeps/mach/hurd/dl-cache.c: File removed.
5924 * config.h.in (USE_LDCONFIG): New #undef.
5925 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5926 * configure: Regenerated.
5927 * elf/Makefile (dl-routines): Add dl-cache only under
5928 [$(use-ldconfig) = yes].
5929 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5930 cache on [USE_LDCONFIG].
5931 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5933 * elf/rtld.c (dl_main): Likewise.
5935 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5937 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5938 _SC_LEVEL4_CACHE_LINESIZE.
5940 2012-10-03 Roland McGrath <roland@hack.frob.com>
5942 * sysdeps/unix/bsd/confstr.h: File removed.
5944 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
5946 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5949 2012-10-02 Roland McGrath <roland@hack.frob.com>
5951 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5952 Make 'mapoff' field ElfW(Off) rather than off_t.
5954 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5956 * nscd/Makefile: Remove nscd-cflags and all its users.
5957 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5958 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5961 * malloc.c (malloc_printerr): Clarify error message.
5963 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5967 Set bit_FMA_Usable if FMA is supported.
5968 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5970 (bit_FMA4_Usable): Updated.
5971 (index_FMA_Usable): New macro.
5972 (CPUID_FMA): Likewise
5973 (HAS_FMA): Defined with bit_FMA_Usable.
5975 2012-10-01 Roland McGrath <roland@hack.frob.com>
5977 * bits/types.h (__swblk_t): Type removed.
5978 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5979 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5980 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5981 (__SWBLK_T_TYPE): Likewise.
5982 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5983 (__SWBLK_T_TYPE): Likewise.
5984 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5985 (__SWBLK_T_TYPE): Likewise.
5986 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5987 (__SWBLK_T_TYPE): Likewise.
5989 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
5990 Honza Horak <hhorak@redhat.com>
5992 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5993 (xdr_mapname): Use YPMAXMAP as maxsize.
5994 (xdr_peername): Use YPMAXPEER as maxsize.
5995 (xdr_keydat): Use YPAXRECORD as maxsize.
5996 (xdr_valdat): Use YPMAXRECORD as maxsize.
5998 2012-10-01 Roland McGrath <roland@hack.frob.com>
6000 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6002 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6003 * csu/init-first.c: ... here.
6004 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6005 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6006 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6007 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6008 * sysdeps/i386/init-first.c: File removed.
6009 * sysdeps/sh/init-first.c: File removed.
6011 2012-10-01 Joseph Myers <joseph@codesourcery.com>
6014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6015 if x * y might underflow to zero and z is zero.
6016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6018 * math/libm-test.inc (min_subnorm_value): New variable.
6019 (fma_test): Add more tests.
6020 (fma_test_towardzero): Likewise.
6021 (fma_test_downward): Likewise
6022 (fma_test_upward): Likewise.
6023 (initialize): Set min_subnorm_value.
6025 2012-09-29 Joseph Myers <joseph@codesourcery.com>
6028 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6030 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6031 mode for addition resulting in exact zero.
6032 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6035 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6036 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6037 * math/libm-test.inc (fma_test): Add more tests.
6038 (fma_test_towardzero): New function.
6039 (fma_test_downward): Likewise.
6040 (fma_test_upward): Likewise.
6041 (main): Call the new functions.
6043 2012-09-28 David S. Miller <davem@davemloft.net>
6045 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6047 2012-09-28 Roland McGrath <roland@hack.frob.com>
6049 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6052 * sysdeps/gnu/_G_config.h: Moved to ...
6053 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6054 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6055 * sysdeps/generic/_G_config.h: ... here.
6057 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6059 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6061 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6062 Conditionalize target on [libnss_test1.so-version].
6064 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6066 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6067 (elfobjdir): Move out of conditionals.
6069 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6070 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6071 (__nss_lookup_function): Conditionalize label remove_from_tree on
6072 [!DO_STATIC_NSS || SHARED], matching its only use.
6074 2012-09-28 David S. Miller <davem@davemloft.net>
6076 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6077 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6079 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6081 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6083 when HWCAP_SPARC_CRYPTO is present.
6085 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6087 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6089 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6092 * stdio-common/vfprintf.c (process_string_arg): Revert
6095 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6097 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6099 * stdio-common/tst-sprintf.c: Include <locale.h>
6100 (main): Test sprintf's handling of incomplete multibyte
6103 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6105 * elf/dl-runtime.c (VERSYMIDX): Removed.
6106 * elf/dl-version.c (VERSYMIDX): Likewise.
6107 * elf/do-rel.h (VERSYMIDX): Likewise.
6109 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6110 * elf/rtld.c (VALIDX): Likewise.
6111 (ADDRIDX): Likewise.
6112 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6113 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6114 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
6115 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6117 (ADDRIDX): Likewise.
6119 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6121 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6123 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6126 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6128 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6129 addresses are in the same scope as 192.0.2/24.
6130 * posix/gai.conf: Document new scope table defaults.
6132 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6135 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6136 for ftell. Compute offsets from write pointers instead.
6137 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6139 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6142 * libio/Makefile (tests): New test case tst-fseek.
6143 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6144 combination works in wide mode.
6145 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6146 state when the external buffer state changes.
6148 2012-09-27 David S. Miller <davem@davemloft.net>
6151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6152 pass reloc->r_addend in as the 'high' argument to
6153 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6157 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6159 * rt/tst-aio2.c: Include <pthread.h>.
6160 * rt/tst-aio3.c: Likewise.
6162 2012-09-27 Steve Ellcey <sellcey@mips.com>
6164 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6166 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6168 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6169 contents on [SHARED].
6171 2012-09-26 Marek Polacek <polacek@redhat.com>
6175 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6176 for C++ and GCC <4.3 as well as for non GCC compilers.
6178 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6182 2012-09-25 Roland McGrath <roland@hack.frob.com>
6184 * Makefile.in (all, install): Declare with .PHONY.
6185 Reported by Michael Hope <michael.hope@linaro.org>.
6187 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6189 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6190 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6192 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6194 (sydep_routines): Add the new and the internal functions.
6195 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6196 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6198 (GLIBC_2.17): Add the new function.
6199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6200 (GLIBC_2.17): Likewise.
6201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6202 (GLIBC_2.17): Likewise.
6203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6204 (GLIBC_2.17): Likewise.
6205 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6207 2012-09-25 Alan Modra <amodra@gmail.com>
6209 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6210 Add release barrier before setting once_control to say
6211 initialisation is done. Add hints on lwarx. Use macro in
6213 (clear_once_control): Add release barrier.
6215 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6218 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6220 * math/s_clog10.c (__clog10): Likewise.
6221 * math/s_clog10f.c (__clog10f): Likewise.
6222 * math/s_clog10l.c (__clog10l): Likewise.
6223 * math/s_clogf.c (__clogf): Likewise.
6224 * math/s_clogl.c (__clogl): Likewise.
6225 * math/Makefile (libm-calls): Add x2y2m1.
6226 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6227 (__x2y2m1): Likewise.
6228 (__x2y2m1l): Likewise.
6229 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6230 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6231 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6232 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6233 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6234 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6235 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6236 * sysdeps/i386/fpu/libm-test-ulps: Update.
6237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6240 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6241 int as type of variable DEPTH.
6242 (glob): Use size_t instead of int as type of variables NEWCOUNT
6245 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6247 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6249 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6250 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6251 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6252 macros for using routine as __sincosf_ia32.
6253 Use macro for function declaration and weak_alias.
6254 * sysdeps/i386/fpu/libm-test-ulps: Update.
6256 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6259 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6261 * math/s_cexpf.c (__cexpf): Likewise.
6262 * math/s_csinf.c (__csinf): Likewise.
6263 * math/s_csinhf.c (__csinhf): Likewise.
6264 * math/s_ctanf.c (__ctanf): Likewise.
6265 * math/s_ctanhf.c (__ctanhf): Likewise.
6266 * math/s_ccosh.c (__ccoshf): Likewise.
6267 * math/s_cexp.c (__cexpl): Likewise.
6268 * math/s_csin.c (__csin): Likewise.
6269 * math/s_csinh.c (__csinh): Likewise.
6270 * math/s_ctan.c (__ctan): Likewise.
6271 * math/s_ctanh.c (ctanh): Likewise.
6272 * math/s_ccoshl.c (__ccoshl): Likewise.
6273 * math/s_cexpl.c (__cexpl): Likewise.
6274 * math/s_csinl.c (__csinl): Likewise.
6275 * math/s_csinhl.c (__csinhl): Likewise.
6276 * math/s_ctanl.c (__ctanl): Likewise.
6277 * math/s_ctanhl.c (__ctanhl): Likewise.
6279 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6281 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6282 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6283 (_IO_off_t): Define to __off_t, not _G_off_t.
6284 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6285 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6286 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6287 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6288 type of __dummy and __dummy2 fields.
6289 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6290 (_G_ssize_t): Likewise.
6291 (_G_off_t): Likewise.
6292 (_G_pid_t): Likewise.
6293 (_G_uid_t): Likewise.
6294 (_G_wchar_t): Likewise.
6295 (_G_wint_t): Likewise.
6296 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6297 (_G_ssize_t): Likewise.
6298 (_G_off_t): Likewise.
6299 (_G_pid_t): Likewise.
6300 (_G_uid_t): Likewise.
6301 (_G_wchar_t): Likewise.
6302 (_G_wint_t): Likewise.
6303 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6304 (_G_ssize_t): Likewise.
6305 (_G_off_t): Likewise.
6306 (_G_pid_t): Likewise.
6307 (_G_uid_t): Likewise.
6308 (_G_wchar_t): Likewise.
6309 (_G_wint_t): Likewise.
6311 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6313 * malloc/arena.c: Include malloc-sysdep.h.
6314 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6315 is sufficient to shrink the heap or an unmap is needed.
6316 * sysdeps/generic/malloc-sysdep.h: New file. Define
6317 new function check_may_shrink_heap.
6318 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6319 new function check_may_shrink_heap.
6321 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6323 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6326 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6328 * catgets/test-gencat.sh: Add "set -e".
6329 * elf/tst-pathopt.sh: Likewise.
6330 * grp/tst_fgetgrent.sh: Likewise.
6331 * iconvdata/run-iconv-test.sh: Likewise.
6332 * intl/tst-gettext.sh: Likewise.
6333 * intl/tst-gettext2.sh: Likewise.
6334 * intl/tst-gettext4.sh: Likewise.
6335 * intl/tst-gettext6.sh: Likewise.
6336 * intl/tst-translit.sh: Likewise.
6337 * io/ftwtest-sh: Likewise.
6338 * libio/test-freopen.sh: Likewise.
6339 * malloc/tst-mtrace.sh: Likewise.
6340 * posix/globtest.sh: Likewise.
6341 * posix/tst-getconf.sh: Likewise.
6342 * posix/wordexp-tst.sh: Likewise.
6343 * stdio-common/tst-printf.sh: Likewise.
6344 * stdio-common/tst-unbputc.sh: Likewise.
6345 * stdlib/tst-fmtmsg.sh: Likewise.
6346 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6347 * catgets/Makefile: Do not specify -e option when running
6348 testsuite shell scripts.
6349 * elf/Makefile: Likewise.
6350 * grp/Makefile: Likewise.
6351 * iconvdata/Makefile: Likewise.
6352 * intl/Makefile: Likewise.
6353 * io/Makefile: Likewise.
6354 * libio/Makefile: Likewise.
6355 * malloc/Makefile: Likewise.
6356 * posix/Makefile: Likewise.
6357 * stdio-common/Makefile: Likewise.
6358 * stdlib/Makefile: Likewise.
6359 * sysdeps/x86_64/Makefile: Likewise.
6361 * io/ftwtest-sh: Add copyright header.
6362 * posix/globtest.sh: Likewise.
6363 * posix/tst-getconf.sh: Likewise.
6364 * posix/wordexp-tst.sh: Likewise.
6365 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6367 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6370 * Makeconfig (+link): Defined as $(+link-static) if
6371 $(build-shared) isn't yes.
6372 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6374 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6376 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6379 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6380 new chunk size with MALLOC_ALIGN_MASK.
6382 2012-09-24 Joseph Myers <joseph@codesourcery.com>
6385 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6387 (__printf_fphex): Determine rounding using get_rounding_mode and
6389 * stdio-common/tst-printf-round.c (struct hex_test): New
6391 (hex_tests): New variable.
6392 (test_hex_in_one_mode): New function.
6393 (do_test): Also run tests for hex float output.
6395 2012-09-21 Joseph Myers <joseph@codesourcery.com>
6397 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6398 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6399 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6400 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6401 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6402 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6403 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6404 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6406 2012-09-20 Joseph Myers <joseph@codesourcery.com>
6408 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6409 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6410 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6411 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6413 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6416 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6418 * elf/tst-rtld-load-self.sh: New test.
6419 * elf/Makefile: Run it.
6421 2012-09-18 Joseph Myers <joseph@codesourcery.com>
6423 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6424 (tst-writev-ENV): Remove.
6425 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6427 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6429 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6431 2012-09-17 Joseph Myers <joseph@codesourcery.com>
6433 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6435 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6437 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6438 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6439 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6442 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6445 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6446 * config.make.in (have-cpp-asm-debuginfo): Removed.
6447 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6448 * configure: Regenerated.
6450 2012-09-14 Joseph Myers <joseph@codesourcery.com>
6453 * stdio-common/printf_fp.c: Include <stdbool.h> and
6455 (___printf_fp): Determine rounding using get_rounding_mode and
6457 * stdio-common/tst-printf-round.c: New file.
6458 * stdio-common/Makefile (tests): Add tst-printf-round.
6459 (link-libm): New variable.
6460 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6462 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6465 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6466 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6468 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6471 2012-09-13 Joseph Myers <joseph@codesourcery.com>
6473 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6474 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6475 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6476 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6478 2012-09-12 Joseph Myers <joseph@codesourcery.com>
6481 * include/rounding-mode.h: New file.
6482 * sysdeps/generic/get-rounding-mode.h: Likewise.
6483 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6484 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6485 (MAX_VALUE): New macro.
6486 (MIN_VALUE): Likewise.
6487 (overflow_value): New function.
6488 (underflow_value): Likewise.
6489 (round_and_return): Use overflow_value and underflow_value to
6490 determine return values in overflow and underflow cases. Use
6491 round_away to determine rounding depending on rounding mode.
6492 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6493 determine return values in overflow and underflow cases.
6494 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6495 (struct test_results): New structure.
6496 (struct test): Use struct test_results to store expected results
6497 for all rounding modes.
6498 (TEST): Include expected results for all rounding modes.
6499 (test_in_one_mode): New function.
6500 (do_test): Use test_in_one_mode to compute and check results.
6501 Check results for all rounding modes.
6502 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6505 2012-12-09 Allan McRae <allan@archlinux.org>
6507 * sysdeps/i386/fpu/libm-test-ulps: Update
6509 2012-09-11 Joseph Myers <joseph@codesourcery.com>
6511 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6512 (_G_int32_t): Likewise.
6513 (_G_uint16_t): Likewise.
6514 (_G_uint32_t): Likewise.
6515 (_G_HAVE_BOOL): Likewise.
6516 (_G_HAVE_ATEXIT): Likewise.
6517 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6518 (_G_HAVE_IO_FILE_OPEN): Likewise.
6519 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6520 (_G_int32_t): Likewise.
6521 (_G_uint16_t): Likewise.
6522 (_G_uint32_t): Likewise.
6523 (_G_HAVE_BOOL): Likewise.
6524 (_G_HAVE_ATEXIT): Likewise.
6525 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6526 (_G_HAVE_IO_FILE_OPEN): Likewise.
6527 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6528 (_G_int32_t): Likewise.
6529 (_G_uint16_t): Likewise.
6530 (_G_uint32_t): Likewise.
6531 (_G_HAVE_BOOL): Likewise.
6532 (_G_HAVE_ATEXIT): Likewise.
6533 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6534 (_G_HAVE_IO_FILE_OPEN): Likewise.
6536 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6538 * csu/libc-tls.c: Update copyright years.
6540 2012-09-10 Joseph Myers <joseph@codesourcery.com>
6542 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6543 [!_G_USING_THUNKS]: Remove conditional code.
6544 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6545 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6547 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6548 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6549 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6550 (_G_VTABLE_LABEL_PREFIX): Likewise.
6551 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6552 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6553 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6554 (_G_VTABLE_LABEL_PREFIX): Likewise.
6555 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6556 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6557 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6558 (_G_VTABLE_LABEL_PREFIX): Likewise.
6559 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6561 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6563 * libio/Makefile: Include ../Makeconfig before tests.
6564 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6565 only if $(build-shared) is yes.
6567 * iconv/gconv_db.c: Update copyright years.
6569 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6571 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6572 unwind info if defined PIC. Fix special cases description.
6573 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6575 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6577 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6579 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6581 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6583 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6586 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6587 (LDLIBS-tst-chk4): This.
6588 (LDFLAGS-tst-chk5): Renamed to ...
6589 (LDLIBS-tst-chk5): This.
6590 (LDFLAGS-tst-chk6): Renamed to ...
6591 (LDLIBS-tst-chk6): This.
6592 (LDFLAGS-tst-lfschk4): Renamed to ...
6593 (LDLIBS-tst-lfschk4): This.
6594 (LDFLAGS-tst-lfschk5): Renamed to ...
6595 (LDLIBS-tst-lfschk5): This.
6596 (LDFLAGS-tst-lfschk6): Renamed to ...
6597 (LDLIBS-tst-lfschk6): This.
6599 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6600 on $(common-objpfx)soversions.mk.
6602 2012-09-07 Joseph Myers <joseph@codesourcery.com>
6605 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6608 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6610 * malloc/arena.c (arena_get_retry): New function that gets
6611 another arena for the caller to try its request on.
6612 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6613 current arena cannot fulfill the request.
6614 (__libc_memalign): Likewise.
6615 (__libc_memalign): Likewise.
6616 (__libc_pvalloc): Likewise.
6617 (__libc_calloc): Likewise.
6619 2012-09-05 John Tobey <john.tobey@gmail.com>
6622 * manual/arith.texi (Operations on Complex): Fix description
6625 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6628 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6632 * manual/memory.texi (Memory): Make order of menu items match
6635 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6637 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6638 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6639 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6641 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6643 * csu/libc-tls.c (static_dtv): Renamed to ...
6644 (_dl_static_dtv): This. Make it global.
6645 (_dl_initial_dtv): Removed.
6646 (__libc_setup_tls): Updated.
6647 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6648 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6651 2012-09-06 Petr Machata <pmachata@redhat.com>
6653 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6654 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6655 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6656 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6658 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6661 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6662 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6665 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6668 * Makeconfig (link-static-before-libc): Replace $(+prector)
6670 (link-static-after-libc): Replace $(+postctor) with
6672 (link-bounded): Replace $(+prector)/$(+postctor) with
6673 $(+prectorT)/$(+postctorT).
6674 (+prectorT): New macro.
6675 (+postctorT): Likewise.
6677 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6679 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6680 (round_str): Handle values above the maximum for IBM long double
6682 * stdlib/tst-strtod-round.c (tests): Regenerated.
6684 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6686 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6688 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6689 zarch_nohighgprs around the zarch optimized routines.
6690 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6691 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6692 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6695 2012-09-05 David S. Miller <davem@davemloft.net>
6697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6699 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6700 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6701 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6702 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6705 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6707 * malloc/arena.c: Fold copyright years.
6708 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6710 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6712 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6714 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6716 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6718 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6720 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6721 change internal state upon failure.
6723 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6725 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6726 * malloc/memusage.c (mmap): Likewise.
6727 (mmap64, mremap): Likewise. Adjust name in comment.
6729 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6731 * libio/fileops.c: Fix typos in comments.
6732 * libio/oldfileops.c: Likewise.
6733 * libio/wfileops.c: Likewise.
6735 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6738 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6739 (tst-malloc-usable-ENV): Set environment for test case.
6740 * malloc/hooks.c (malloc_check_get_size): New function to get
6742 * malloc/malloc.c (musable): Use malloc_check_get_size.
6743 * malloc/tst-malloc-usable.c: New test case.
6745 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6747 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6749 2012-09-05 Allan McRae <allan@archlinux.org>
6752 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6753 determine header location.
6754 * configure: Regenerated.
6756 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6758 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6760 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
6761 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6765 2012-09-04 David S. Miller <davem@davemloft.net>
6767 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6768 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6769 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6771 2012-09-04 Florian Weimer <fweimer@redhat.com>
6773 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6776 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6778 2012-09-04 Joseph Myers <joseph@codesourcery.com>
6781 * libio/iogetdelim.c: Include <limits.h>.
6782 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6783 + len + 1 would overflow.
6785 2012-09-03 Andreas Jaeger <aj@suse.de>
6787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6788 * sysdeps/i386/fpu/libm-test-ulps: Update.
6790 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6792 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6793 Add s_sinf-sse2, s_conf-sse2.
6795 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6796 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6797 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6798 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6800 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6801 for using routine as __sinf_ia32.
6802 Use macro for function declaration and weak_alias.
6803 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6804 for using routine as __cosf_ia32.
6805 Use macro for function declaration and weak_alias.
6807 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6808 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6810 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6811 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6814 * math/libm-test.inc (cos_test): Add more test cases.
6815 (sin_test): Likewise.
6816 (sincos_test): Likewise.
6818 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6820 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6821 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6823 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6825 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6828 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6829 first element of the GOT.
6830 (elf_machine_load_address): Return the difference between
6831 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6833 2012-09-01 Allan McRae <allan@archlinux.org>
6836 * configure.in (AWK): Require gawk version 3.0 or later.
6837 * configure: Regenerated.
6839 2012-09-01 Joseph Myers <joseph@codesourcery.com>
6841 * sysdeps/unix/sysv/linux/kernel-features.h
6842 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6843 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6844 [__NR_clock_getres]: Make code unconditional.
6845 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6846 (clock_getcpuclockid): Remove code left unreachable by removal of
6848 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6850 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6851 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6852 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6853 Make code unconditional.
6854 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6855 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6856 * sysdeps/unix/sysv/linux/clock_settime.c
6857 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6859 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6860 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6862 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6865 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6866 scripts/test-installation.pl.
6868 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6869 and $ld_so_version if it is set.
6871 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6874 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6875 failure if reading from procfs failed.
6876 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6878 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6880 * sysdeps/unix/sysv/linux/kernel-features.h
6881 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6882 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6883 Remove conditional code.
6884 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6885 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6886 Remove conditional code.
6887 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6888 * sysdeps/unix/sysv/linux/i386/fxstat.c
6889 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6891 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6892 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6894 * sysdeps/unix/sysv/linux/i386/lxstat.c
6895 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6897 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6898 Remove conditional code.
6899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6900 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6901 Remove conditional code.
6902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6903 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6904 <kernel-features.h>.
6905 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6907 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6908 Remove conditional code.
6909 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6910 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6913 2012-08-27 Mike Frysinger <vapier@gentoo.org>
6916 * NEWS: Add fixed bug number.
6918 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6921 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6922 underflowing exponent in case of negative sign.
6923 * stdlib/tst-strtod-round-data: Add more tests.
6924 * stdlib/tst-strtod-round.c (tests): Regenerated.
6927 * stdlib/strtod_l.c (NDIG): Remove.
6928 (HEXNDIG): Likewise.
6929 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6930 smallest representable value.
6931 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6932 lie within an exact representation of 1/2 ulp of the result.
6933 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6935 (TENS_P9_IDX): Define unconditionally.
6936 (TENS_P9_SIZE): Likewise.
6937 (TENS_P10_IDX): Likewise.
6938 (TENS_P10_SIZE): Likewise.
6939 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6940 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6941 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6942 entries for 10^2^13 and 10^2^14.
6943 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6944 (TENS_P13_IDX): Define.
6945 (TENS_P13_SIZE): Likewise.
6946 (TENS_P14_IDX): Likewise.
6947 (TENS_P14_SIZE): Likewise.
6948 (_fpioconst_pow10): Change array size to
6949 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6951 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6952 1024]: Add entries for 10^2^13 and 10^2^14.
6953 [LAST_POW10 > _LAST_POW10]: Remove #error.
6954 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6955 (_fpioconst_pow10): Change array size to
6956 FPIOCONST_POW10_ARRAY_SIZE.
6957 * stdlib/gen-fpioconst.c: New file.
6958 * stdlib/gen-tst-strtod-round.c: Likewise.
6959 * stdlib/tst-strtod-round-data: Likewise.
6960 * stdlib/tst-strtod-round.c: Likewise.
6961 * stdlib/Makefile (tests): Add tst-strtod-round.
6964 * stdlib/strtod_l.c: Include <stdint.h>.
6965 (NDEBUG): Do not define.
6966 (round_and_return): Change EXPONENT parameter to type intmax_t.
6967 Rearrange calculations to avoid internal overflow possibilities.
6968 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6969 Rearrange calculations to avoid internal overflow possibilities.
6970 Assert that number fits inside MPNSIZE limbs.
6971 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6972 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6973 calculations and add assertions to avoid internal overflow
6974 possibilities. Add casts to avoid signed/unsigned operations.
6975 * stdlib/tst-strtod-overflow.c: New file.
6976 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6978 2012-08-25 Marek Polacek <polacek@redhat.com>
6980 * time/time.h: Fix some typos in comments.
6982 2012-08-23 Roland McGrath <roland@hack.frob.com>
6984 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6985 * posix/tst-rfc3484-2.c: Likewise.
6986 * posix/tst-rfc3484-3.c: Likewise.
6988 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6990 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6991 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6993 2012-08-23 Joseph Myers <joseph@codesourcery.com>
6995 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6996 #include of fxstatat64.c.
6998 2012-08-22 Roland McGrath <roland@hack.frob.com>
7000 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7001 * shadow/getspent_r.c: Likewise.
7002 * shadow/getspnam.c: Likewise.
7003 * shadow/getspnam_r.c: Likewise.
7004 * gshadow/getsgent.c: Likewise.
7005 * gshadow/getsgent_r.c: Likewise.
7006 * gshadow/getsgnam.c: Likewise.
7007 * gshadow/getsgnam_r.c: Likewise.
7008 * inet/getnetbyad.c: Likewise.
7009 * inet/getnetbyad_r.c: Likewise.
7010 * inet/getnetbynm.c: Likewise.
7011 * inet/getnetbynm_r.c: Likewise.
7012 * inet/getnetent.c: Likewise.
7013 * inet/getnetent_r.c: Likewise.
7014 * inet/getproto.c: Likewise.
7015 * inet/getproto_r.c: Likewise.
7016 * inet/getprtent.c: Likewise.
7017 * inet/getprtent_r.c: Likewise.
7018 * inet/getprtname.c: Likewise.
7019 * inet/getprtname_r.c: Likewise.
7020 * inet/getrpcbyname.c: Likewise.
7021 * inet/getrpcbyname_r.c: Likewise.
7022 * inet/getrpcbynumber.c: Likewise.
7023 * inet/getrpcbynumber_r.c: Likewise.
7024 * inet/getrpcent.c: Likewise.
7025 * inet/getrpcent_r.c: Likewise.
7026 * inet/getaliasent.c: Likewise.
7027 * inet/getaliasent_r.c: Likewise.
7028 * inet/getaliasname.c: Likewise.
7029 * inet/getaliasname_r.c: Likewise.
7030 * nscd/getgrgid_r.c: Likewise.
7031 * nscd/getgrnam_r.c: Likewise.
7032 * nscd/gethstbyad_r.c: Likewise.
7033 * nscd/gethstbynm3_r.c: Likewise.
7034 * nscd/getpwnam_r.c: Likewise.
7035 * nscd/getpwuid_r.c: Likewise.
7036 * nscd/getsrvbynm_r.c: Likewise.
7037 * nscd/getsrvbypt_r.c: Likewise.
7038 * nscd/gai.c: Likewise.
7040 * configure.in (build_nscd): New substituted variable, set
7041 by --disable-build-nscd and defaults to $use_nscd.
7042 * configure: Regenerated.
7043 * config.make.in (build-nscd): New substituted variable.
7044 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7045 Change conditional to require [$(build-nscd) = yes] as well.
7046 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7049 * configure.in (use_nscd): New substituted variable, set by
7050 --disable-nscd. If enabled, define USE_NSCD.
7051 * configure: Regenerated.
7052 * config.h.in: Add USE_NSCD.
7053 * config.make.in (use-nscd): New substituted variable.
7054 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7055 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7056 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7057 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7058 (CFLAGS-getgrnam_r.c): Likewise.
7059 (CFLAGS-initgroups.c): Likewise.
7060 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7061 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7063 * inet/getnetgrent_r.c
7064 (nscd_setnetgrent): New function, broken out of ...
7065 (setnetgrent): ... here. Call it.
7066 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7067 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7068 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7069 * nscd/Makefile (routines, aux): Move definitions after include of
7070 Makeconfig. Conditionalize on [$(use-nscd) != no].
7071 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7072 Conditionalize on [USE_NSCD].
7073 (is_nscd, nscd_init_cb): Likewise.
7074 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7075 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7076 * nss/nss_db/db-init.c: Likewise.
7077 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7079 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7080 (make_request): Use it.
7081 (cache_valid_p): New function.
7082 (__check_pf): Use it.
7083 * NEWS: Add item for --disable-nscd.
7085 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7087 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7088 to support sed >= 4.2.1-20-ga9bf076.
7089 * configure: Regenerated.
7091 2012-08-22 Roland McGrath <roland@hack.frob.com>
7093 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7094 Conditionalize whole body on [IREL].
7096 2012-08-22 Jeff Law <law@redhat.com>
7099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7100 if the family is PF_UNSPEC.
7102 2012-08-22 Mike Frysinger <vapier@gentoo.org>
7104 * Makerules (lib-version): Rename from V.
7105 (install-lib-nosubdir): Change V to lib-version.
7107 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7110 * powerpc32/power6/wcschr.c: New file.
7111 * powerpc32/power6/wcscpy.c: New file.
7112 * powerpc32/power6/wcsrchr.c: New file.
7113 * powerpc64/power6/wcschr.c: New file.
7114 * powerpc64/power6/wcscpy.c: New file.
7115 * powerpc64/power6/wcsrchr.c: New file.
7117 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7119 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7120 (two_way_short_needle): Use it.
7121 * string/strstr.c (AVAILABLE1_USES_J): Define.
7122 * string/strcasestr.c: Likewise.
7124 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7126 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7129 * NEWS: Add an entry.
7130 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7131 define their defaults.
7132 (two_way_short_needle): Detect end-of-string on-the-fly.
7133 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7134 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7135 * string/bug-strcasestr1.c: New test.
7136 * string/Makefile: Run it.
7138 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7141 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7142 the first character.
7144 2012-08-21 Roland McGrath <roland@hack.frob.com>
7146 * csu/elf-init.c (__libc_csu_irel): Function removed.
7147 * csu/libc-start.c (apply_irel): New function.
7148 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7150 2012-08-21 Joseph Myers <joseph@codesourcery.com>
7152 * sysdeps/unix/sysv/linux/kernel-features.h
7153 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7154 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7155 <kernel-features.h>.
7156 [__NR_fadvise64_64]: Make code unconditional.
7157 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7158 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7159 !__NR_fadvise64_64)]: Likewise.
7160 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7161 !__NR_fadvise64_64))]: Likewise.
7162 [__NR_fadvise64]: Make code unconditional.
7163 [!__NR_fadvise64]: Remove conditional code.
7164 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7165 <kernel-features.h>.
7166 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7168 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7171 not include <kernel-features.h>.
7172 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7174 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7176 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7177 include <kernel-features.h>.
7178 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7180 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7183 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7185 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7186 slight instruction rearrangements per scrollpipe analysis.
7187 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7189 2012-08-20 Roland McGrath <roland@hack.frob.com>
7191 * manual/syslog.texi (syslog; vsyslog, closelog):
7192 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7193 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7195 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7196 DSOCAPS to match condition on defining it.
7198 2012-08-20 Joseph Myers <joseph@codesourcery.com>
7200 * sysdeps/unix/sysv/linux/kernel-features.h
7201 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7203 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7204 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7206 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7207 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7209 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7210 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7212 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7213 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7215 * sysdeps/unix/sysv/linux/kernel-features.h
7216 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7217 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7219 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7220 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7221 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7222 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7223 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7224 Make code unconditional.
7225 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7226 (__mmap64) [!__NR_mmap2]: Likewise.
7227 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7228 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7229 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7230 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7231 [__NR_mmap2]: Make code unconditional.
7232 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7233 (__mmap64) [!__NR_mmap2]: Likewise.
7235 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7237 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7239 2012-08-18 Andreas Jaeger <aj@suse.de>
7241 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7243 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7245 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7246 * include/unistd.h (__have_sock_cloexec): Likewise.
7247 (__have_pipe2): Likewise.
7248 (__have_dup3): Likewise.
7250 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7253 * include/unistd.h (__have_pipe2): Change define into an extern int.
7254 (__have_dup3): Likewise.
7255 * socket/have_sock_cloexec.c: Include fcntl.h.
7256 (__have_pipe2): New variable.
7257 (__have_dup3): Likewise.
7259 2012-08-17 Mike Frysinger <vapier@gentoo.org>
7261 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7263 2012-08-17 Marek Polacek <polacek@redhat.com>
7265 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7266 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7268 2012-08-17 Roland McGrath <roland@hack.frob.com>
7270 * configure.in: Add AC_SUBST for sysheaders.
7271 * configure: Regenerated.
7272 * config.make.in (sysheaders): New substituted variable.
7274 * sysdeps/unix/mkfifo.c: Moved ...
7275 * sysdeps/posix/mkfifo.c: ... here.
7276 * sysdeps/unix/mkfifoat.c: Moved ...
7277 * sysdeps/posix/mkfifoat.c: ... here.
7279 * sysdeps/unix/utime.c: Moved ...
7280 * sysdeps/posix/utime.c: ... here.
7282 * sysdeps/unix/time.c: Moved ...
7283 * sysdeps/posix/time.c: ... here.
7284 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7285 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7287 * sysdeps/unix/nice.c: Moved ...
7288 * sysdeps/posix/nice.c: ... here.
7290 * sysdeps/unix/alarm.c: Moved ...
7291 * sysdeps/posix/alarm.c: ... here.
7293 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7295 2012-08-17 Jeff Law <law@redhat.com>
7297 * intl/Makefile (codeset_mo): New variable.
7298 ($(codeset_mo)): New target.
7299 (tst-codeset.out): Depend on that. Remove explicit rule.
7300 (tst-gettext3.out, tst-gettext5.out): Likewise.
7301 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7302 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7303 * intl/tst-codeset.sh: Remove.
7304 * intl/tst-gettext3.sh: Likewise.
7305 * intl/tst-gettext5.sh: Likewise.
7307 2012-08-17 Roland McGrath <roland@hack.frob.com>
7309 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7310 * sysdeps/unix/syscalls.list: ... here.
7312 * sysdeps/posix/getaddrinfo.c
7313 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7314 (gaiconf_init, gaiconf_reload): Use them.
7316 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7317 Define using time_t rather than struct timespec.
7319 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7320 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7322 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7324 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7325 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7328 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7329 __libc_cleanup_push argument.
7331 * bits/param.h: New file.
7332 * misc/sys/param.h: New file.
7333 * include/sys/param.h: New file.
7334 * misc/Makefile (headers): Add bits/param.h.
7335 * sysdeps/generic/sys/param.h: File removed.
7336 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7337 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7338 * sysdeps/mach/hurd/bits/param.h: New file.
7339 * sysdeps/mach/hurd/sys/param.h: File removed.
7341 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7344 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7346 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7347 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7350 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7351 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7352 rather than -D_IO_MTSAFE_IO conditionally.
7353 * stdio-common/Makefile (CPPFLAGS): Likewise.
7354 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7355 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7356 Use $(libio-mtsafe).
7357 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7359 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7360 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7361 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7362 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7363 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7364 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7365 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7366 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7367 (CFLAGS-fread_u_chk.c): Likewise.
7368 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7369 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7370 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7371 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7372 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7373 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7374 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7375 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7376 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7378 * libio/Makefile: Test [$(libc-reentrant) = yes]
7379 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7382 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7383 * sysdeps/pthread/configure: File removed.
7384 * sysdeps/pthread/Makeconfig: New file.
7385 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7386 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7388 2012-08-16 Gary Benson <gbenson@redhat.com>
7390 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7391 unmapping the first object in a namespace.
7393 2012-08-16 Roland McGrath <roland@hack.frob.com>
7395 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7396 (__internal_setnetgrent): ... this. Add internal_function to
7397 definition. Add libc_hidden_def.
7398 (setnetgrent): Update caller.
7399 (internal_endnetgrent): Renamed to ...
7400 (__internal_endnetgrent): ... this. Add internal_function to
7401 definition. Add libc_hidden_def.
7402 (endnetgrent): Update caller.
7403 (internal_getnetgrent_r): Renamed to ...
7404 (__internal_getnetgrent_r): ... this. Add internal_function to
7405 definition. Add libc_hidden_def.
7406 (__getnetgrent_r): Update caller.
7407 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7409 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7411 * stdlib/longlong.h: Update from GCC.
7413 2012-08-16 Roland McGrath <roland@hack.frob.com>
7415 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7416 on _QL, which is set by umul_ppmm but never used.
7417 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7418 variables, which are set by GMP macros but never used.
7419 * stdio-common/_itowa.c (_itowa): Likewise.
7420 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7421 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7423 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7425 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7426 struct La_sh_regs is not constant.
7427 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7428 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7429 and struct La_sparc64_regs are not constant.
7431 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7433 * sysdeps/unix/sysv/linux/kernel-features.h
7434 (__ASSUME_POSIX_TIMERS): Remove.
7435 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7436 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7437 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7438 Make code unconditional.
7439 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7440 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7441 Make code unconditional.
7442 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7443 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7444 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7446 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7447 Make code unconditional.
7448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7449 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7450 (__libc_missing_posix_timers): Remove.
7452 2012-08-15 Roland McGrath <roland@hack.frob.com>
7454 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7455 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7457 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7459 * elf/dl-sym.c: Include <stdlib.h>.
7461 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7462 constants, which avoids warnings in 32-bit builds.
7464 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7465 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7467 * misc/lseek.c: File moved to ...
7468 * io/lseek.c: ... here.
7470 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7472 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7473 shifting LEN more than 31 bits at once.
7475 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7478 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7479 segmentation fault for a case of two empty input strings.
7480 * string/test-strncasecmp.c (check1): Renamed to...
7482 (bz14195): Add new testcase for two empty input strings and N > 0.
7483 (test_main): Call new testcase, adapt for renamed function.
7485 2012-08-15 Andreas Jaeger <aj@suse.de>
7488 * crypt/md5test2.c: New test, based on test supplied by Serge
7489 Belyshev <belyshev@depni.sinp.msu.ru>.
7490 * crypt/Makefile (xtests): Add md5test-giant..
7491 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7493 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7496 * crypt/md5.c (md5_process_block): Don't assume the buffer
7497 length is less than 2**32.
7498 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7499 length is less than 2**64.
7501 2012-08-15 Roland McGrath <roland@hack.frob.com>
7503 * string/str-two-way.h: Include <sys/param.h>.
7504 (MAX): Macro removed.
7506 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7507 Move #define and #undef of memmove to just before and after
7508 including <string.h>.
7510 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7511 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7512 and after including <string.h>. Move declarations of
7513 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7514 to before #include "string/memmove.c".
7516 * include/dirent.h: Declare __getdirentries.
7518 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7519 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7521 2012-08-14 Mike Frysinger <vapier@gentoo.org>
7523 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7524 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7525 * sysdeps/i386/configure: Regenerated.
7526 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7527 STABS_CURRENT_FILE, and STABS_FUN.
7528 (END): Remove call to STABS_FUN_END.
7529 (STABS_CURRENT_FILE1): Delete.
7530 (STABS_CURRENT_FILE): Likewise.
7531 (STABS_FUN): Likewise.
7532 (STABS_FUN_END): Likewise.
7533 (STABS_FUN2): Likewise.
7534 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7535 * sysdeps/x86_64/configure: Regenerated.
7537 2012-08-14 Roland McGrath <roland@hack.frob.com>
7539 * elf/dl-open.c: Include <atomic.h>.
7540 * elf/dl-lookup.c: Likewise.
7542 2012-08-14 Joseph Myers <joseph@codesourcery.com>
7544 * sysdeps/unix/sysv/linux/kernel-features.h
7545 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7546 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7548 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7550 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7551 condition on __ASSUME_CLONE_THREAD_FLAGS.
7553 2012-08-14 Andreas Jaeger <aj@suse.de>
7555 * sysdeps/i386/fpu/libm-test-ulps: Update.
7557 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7559 * include/atomic.h (atomic_exchange_and_add): Split into ...
7560 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7563 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7567 2012-08-13 Jeff Law <law@redhat.com>
7569 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7570 null byte in the output string.
7572 2012-08-10 Joseph Myers <joseph@codesourcery.com>
7574 * sysdeps/unix/sysv/linux/kernel-features.h
7575 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7576 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7577 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7578 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7579 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7580 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7581 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7583 2012-08-09 Jeff Law <law@redhat.com>
7586 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7587 When avoid_arena is set, don't retry in the that arena. Pick the
7588 next one, whatever it might be.
7589 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7590 (arena_lock): Pass in new parameter to arena_get2.
7591 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7593 (__libc_malloc): Unify retrying after main arena failure with
7594 __libc_memalign version.
7595 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7597 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7600 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7601 to __redirect_strstr.
7602 (__strstr_sse42): Use typeof __redirect_strstr.
7603 (__strstr_ia32): Likewise.
7604 (__libc_strstr): New prototype.
7605 (strstr): Renamed to ...
7606 (__libc_strstr): This.
7607 (strstr): New strong alias of __libc_strstr.
7608 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7609 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7612 (__libc_time): New prototype.
7613 (time_ifunc): Replace time with __libc_time.
7614 (time): New strong alias and hidden definition of __libc_time.
7615 (__GI_time): Remove strong alias.
7616 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7618 (memmove): Redefined to __redirect_memmove.
7619 (__memmove_sse2): Use typeof __redirect_memmove.
7620 (__memmove_ssse3): Likewise.
7621 (__memmove_ssse3_back): Likewise.
7622 (__libc_memmove): New prototype.
7623 (memmove): Renamed to ...
7624 (__libc_memmove): This.
7625 (memmove): New strong alias of __libc_memmove.
7627 2012-08-08 Mark Salter <msalter@redhat.com>
7630 (R_MN10300_TLS_GD): Define.
7631 (R_MN10300_TLS_LD): Likewise.
7632 (R_MN10300_TLS_LDO): Likewise.
7633 (R_MN10300_TLS_GOTIE): Likewise.
7634 (R_MN10300_TLS_IE): Likewise.
7635 (R_MN10300_TLS_LE): Likewise.
7636 (R_MN10300_TLS_DTPMOD): Likewise.
7637 (R_MN10300_TLS_DTPOFF): Likewise.
7638 (R_MN10300_TLS_TPOFF): Likewise.
7639 (R_MN10300_SYM_DIFF): Likewise.
7640 (R_MN10300_ALIGN): Likewise.
7641 (R_MN10300_NUM): Update.
7643 2012-08-08 Joseph Myers <joseph@codesourcery.com>
7645 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7648 2012-08-08 Roland McGrath <roland@hack.frob.com>
7650 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7652 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7653 sysdeps/unix -> sysdeps/posix move.
7654 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7656 2012-08-07 Allan McRae <allan@archlinux.org>
7659 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7660 (SUNOS_CPP): Likewise.
7661 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7663 (open_input): Call CPP using execvp.
7665 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7667 * sysdeps/unix/sysv/linux/kernel-features.h
7668 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7669 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7670 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7671 (__ASSUME_WAITID_SYSCALL): Likewise.
7672 * sysdeps/unix/sysv/linux/dl-execstack.c
7673 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7675 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7677 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7678 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7679 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7681 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7683 [__ASSUME_WAITID_SYSCALL]: Likewise.
7684 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7686 2012-08-07 Roland McGrath <roland@hack.frob.com>
7688 * sysdeps/unix/closedir.c: Renamed to ...
7689 * sysdeps/posix/closedir.c: ... here.
7690 * sysdeps/unix/dirfd.c: Renamed to ...
7691 * sysdeps/posix/dirfd.c: ... here.
7692 * sysdeps/unix/dirstream.h: Renamed to ...
7693 * sysdeps/posix/dirstream.h: ... here.
7694 * sysdeps/unix/fdopendir.c: Renamed to ...
7695 * sysdeps/posix/fdopendir.c: ... here.
7696 * sysdeps/unix/opendir.c: Renamed to ...
7697 * sysdeps/posix/opendir.c: ... here.
7698 * sysdeps/unix/readdir.c: Renamed to ...
7699 * sysdeps/posix/readdir.c: ... here.
7700 * sysdeps/unix/readdir_r.c: Renamed to ...
7701 * sysdeps/posix/readdir_r.c: ... here.
7702 * sysdeps/unix/rewinddir.c: Renamed to ...
7703 * sysdeps/posix/rewinddir.c: ... here.
7704 * sysdeps/unix/seekdir.c: Renamed to ...
7705 * sysdeps/posix/seekdir.c: ... here.
7706 * sysdeps/unix/telldir.c: Renamed to ...
7707 * sysdeps/posix/telldir.c: ... here.
7708 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7709 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7710 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7711 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7713 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7714 * bits/fcntl.h: ... here.
7716 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7718 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7719 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7720 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7721 (struct flock): Move l_start, l_len to the beginning.
7722 Use __pid_t for l_pid.
7723 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7724 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7725 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7726 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7727 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7728 [__USE_LARGEFILE64] (struct flock64): New type.
7729 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7731 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7732 * bits/dirent.h: ... here.
7734 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7735 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7737 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7739 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7740 Change from 2.6.0 to 2.6.16.
7741 * sysdeps/unix/sysv/linux/configure: Regenerated.
7742 * sysdeps/unix/sysv/linux/kernel-features.h
7743 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7744 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7746 (__ASSUME_UTIMES): Likewise.
7747 (__ASSUME_CLONE_STOPPED): Remove.
7748 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7749 architectures, not kernel version.
7750 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7751 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7752 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7753 (__ASSUME_WAITID_SYSCALL): Likewise.
7754 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7755 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7756 * README: State 2.6.16 as minimum Linux kernel version. Do not
7757 refer to older versions.
7759 2012-08-06 Roland McGrath <roland@hack.frob.com>
7761 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7762 Define alphasort64 as an alias.
7763 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7764 Define versionsort64 as an alias.
7765 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7766 Define scandir64 as an alias.
7767 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7768 Define scandirat64 as an alias.
7769 * dirent/alphasort64.c (alphasort64):
7770 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7771 * dirent/versionsort64.c: Likewise.
7772 * dirent/scandir64.c: Likewise.
7773 * dirent/scandirat64.c: Likewise.
7774 * sysdeps/wordsize-64/alphasort.c: File removed.
7775 * sysdeps/wordsize-64/alphasort64.c: File removed.
7776 * sysdeps/wordsize-64/scandir.c: File removed.
7777 * sysdeps/wordsize-64/scandir64.c: File removed.
7778 * sysdeps/wordsize-64/scandirat.c: File removed.
7779 * sysdeps/wordsize-64/scandirat64.c: File removed.
7780 * sysdeps/wordsize-64/versionsort.c: File removed.
7781 * sysdeps/wordsize-64/versionsort64.c: File removed.
7782 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7783 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7784 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7785 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7786 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7787 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7788 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7789 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7791 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7792 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7793 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7794 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7795 [defined __arch64__ || defined __sparcv9]
7796 (__INO_T_MATCHES_INO64_T): New macro.
7797 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7798 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7799 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7800 * sysdeps/unix/sysv/linux/bits/dirent.h
7801 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7802 (_DIRENT_MATCHES_DIRENT64): New macro.
7804 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7805 Define lockf64 as an alias.
7806 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7807 Define fseeko64 as an alias.
7808 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7809 Define ftello64 as an alias.
7810 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7811 Define _IO_fgetpos64 and fgetpos64 as aliases.
7812 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7813 Define _IO_fsetpos64 and fsetpos64 as aliases.
7814 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7815 Conditionalize body on this.
7816 * libio/fseeko64.c: Likewise.
7817 * libio/ftello64.c: Likewise.
7818 * libio/iofgetpos64.c: Likewise.
7819 * libio/iofsetpos64.c: Likewise.
7820 * sysdeps/wordsize-64/lockf.c: File removed.
7821 * sysdeps/wordsize-64/lockf64.c: File removed.
7822 * sysdeps/wordsize-64/fseeko.c: File removed.
7823 * sysdeps/wordsize-64/fseeko64.c: File removed.
7824 * sysdeps/wordsize-64/ftello.c: File removed.
7825 * sysdeps/wordsize-64/ftello64.c: File removed.
7826 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7827 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7828 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7829 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7830 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7831 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7832 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7833 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7834 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7835 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7836 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7837 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7838 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7839 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7841 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7842 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7843 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7845 [defined __arch64__ || defined __sparcv9]
7846 (__OFF_T_MATCHES_OFF64_T): New macro.
7847 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7848 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7850 (__OFF_T_MATCHES_OFF64_T): New macro.
7852 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7854 * stdlib/secure-getenv.c (__secure_getenv): Replace
7855 GLIBC_2_16 with GLIBC_2_17.
7857 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7859 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7860 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7862 2012-08-03 David S. Miller <davem@davemloft.net>
7864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7866 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7868 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7870 (__ASSUME_CORRECT_SI_PID): Likewise.
7871 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7872 (__ASSUME_TMPFS_NAME): Likewise.
7873 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7874 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7875 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7876 (HAVE_AUX_SECURE): Make definition unconditional.
7877 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7878 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7880 2012-08-03 Roland McGrath <roland@hack.frob.com>
7882 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7883 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7884 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7885 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7886 __eloop_threshold instead of SYMLOOP_MAX.
7888 * sysdeps/generic/eloop-threshold.h: New file.
7889 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7891 * elf/chroot_canon.c (chroot_canon): Likewise.
7893 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7896 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7897 Change to 2.6.0 everywhere.
7898 * sysdeps/unix/sysv/linux/configure: Regenerated.
7899 * sysdeps/unix/sysv/linux/kernel-features.h
7900 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7901 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7903 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7904 (__ASSUME_FUTEX_REQUEUE): Remove.
7905 (__ASSUME_STATFS64): Define unconditionally.
7906 (__ASSUME_AT_SECURE): Likewise.
7907 (__ASSUME_CORRECT_SI_PID): Likewise.
7908 (__ASSUME_TGKILL): Define without depending on kernel version for
7910 (__ASSUME_UTIMES): Likewise.
7911 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7913 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7914 (__ASSUME_TMPFS_NAME): Likewise.
7915 * README: Update reference to Linux kernel versions.
7917 2012-08-02 Marek Polacek <polacek@redhat.com>
7920 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7921 libc_cv_asm_type_prefix with %.
7922 * configure: Regenerated.
7923 * include/libc-symbols.h: Remove comment about
7924 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7925 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7926 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7927 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7928 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7929 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7930 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7931 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7932 * elf/tst-unique2mod1.c: Likewise.
7933 * elf/tst-unique1mod2.c: Likewise.
7934 * elf/tst-unique1mod1.c: Likewise.
7935 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7936 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7937 Replace ASM_TYPE_DIRECTIVE with .type.
7938 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7939 * sysdeps/i386/sysdep.h: Likewise.
7940 * sysdeps/x86_64/sysdep.h: Likewise.
7941 * sysdeps/sh/sysdep.h: Likewise.
7942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7943 Do not define ASM_TYPE_DIRECTIVE.
7944 * sysdeps/powerpc/sysdep.h: Likewise.
7945 * sysdeps/powerpc/powerpc32/sysdep.h:
7946 Replace ASM_TYPE_DIRECTIVE with .type.
7947 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7948 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7949 * sysdeps/i386/fpu/e_powf.S: Likewise.
7950 * sysdeps/i386/fpu/e_expl.S: Likewise.
7951 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7952 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7953 * sysdeps/i386/fpu/e_pow.S: Likewise.
7954 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7955 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7956 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7957 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7958 * sysdeps/i386/fpu/e_log2.S: Likewise.
7959 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7960 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7961 * sysdeps/i386/fpu/e_powl.S: Likewise.
7962 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7963 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7964 * sysdeps/i386/fpu/e_logl.S: Likewise.
7965 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7966 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7967 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7968 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7969 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7970 * sysdeps/i386/fpu/e_log.S: Likewise.
7971 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7972 * sysdeps/i386/fpu/e_logf.S: Likewise.
7973 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7974 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7975 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7976 * sysdeps/i386/fpu/e_log10.S: Likewise.
7977 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7978 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7979 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7980 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7981 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7982 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7983 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7984 * sysdeps/i386/i686/strtok.S: Likewise.
7985 * sysdeps/i386/i386-mcount.S: Likewise.
7986 * sysdeps/i386/strtok.S: Likewise.
7987 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7988 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7989 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7990 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7991 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7992 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7993 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7994 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7995 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7996 * sysdeps/x86_64/_mcount.S: Likewise.
7997 * sysdeps/x86_64/strtok.S: Likewise.
7998 * sysdeps/sh/_mcount.S: Likewise.
8000 2012-08-01 Roland McGrath <roland@hack.frob.com>
8002 * libio/iofopen.c: Include <fcntl.h>.
8003 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8004 (_IO_fopen64, fopen64): Define as aliases.
8005 * libio/iofopen64.c: Include <fcntl.h>.
8006 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8007 Conditionalize body on this.
8008 * sysdeps/wordsize-64/iofopen.c: File removed.
8009 * sysdeps/wordsize-64/iofopen64.c: File removed.
8011 2012-08-01 Marek Polacek <polacek@redhat.com>
8013 * libc/Makeconfig: Use elf in place of binfmt-subdir.
8014 Use dlfcn directly instead of a variable.
8015 (binfmt-subdir): Do not define.
8018 2012-08-01 Joseph Myers <joseph@codesourcery.com>
8020 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8021 Remove all definitions.
8022 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8023 <kernel-features.h>.
8024 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8025 (miss_F_GETOWN_EX): Remove all definitions.
8026 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8028 [!__ASSUME_FCNTL64]: Remove conditional code.
8029 [__ASSUME_FCNTL64]: Make code unconditional.
8030 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8031 <kernel-features.h>.
8032 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8033 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8034 (lockf64) [__NR_fcntl64]: Make code unconditional.
8035 (lockf64) [__ASSUME_FCNTL64]: Likewise.
8037 * sysdeps/unix/sysv/linux/kernel-features.h
8038 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8039 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8040 Make code unconditional.
8041 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8042 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8044 [__NR_vfork]: Make code unconditional.
8045 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8046 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8048 [__NR_vfork]: Make code unconditional.
8049 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8050 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8052 2012-08-01 Roland McGrath <roland@hack.frob.com>
8054 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8055 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8057 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8058 Define mkstemp64 as an alias.
8059 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8060 Define mkstemps64 as an alias.
8061 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8062 Define mkostemp64 as an alias.
8063 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8064 Define mkostemps64 as an alias.
8065 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8066 Conditionalize body on this.
8067 * misc/mkostemp64.c: Likewise.
8068 * misc/mkostemps64.c: Likewise.
8069 * misc/mkstemps64.c: Likewise.
8070 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8071 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8072 * sysdeps/wordsize-64/mkostemp.c: File removed.
8073 * sysdeps/wordsize-64/mkstemp.c: File removed.
8074 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8075 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8076 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8077 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8080 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8081 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8082 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8083 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8085 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8086 compat_symbol macros from <shlib-compat.h> rather than the underlying
8087 default_symbol_version and symbol_version macros, so that DEFAULT
8088 lines in shlib-versions are respected.
8089 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8091 2012-08-01 Florian Weimer <fweimer@redhat.com>
8093 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8094 Declare with warn_unused_result.
8095 (setgid, setregid, setegid, setresgid): Likewise.
8096 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8098 * WUR-REPORT: Remove set*id functions.
8100 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8102 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8104 2012-07-31 Roland McGrath <roland@hack.frob.com>
8106 * include/sys/socket.h (__libc_accept, __libc_accept4):
8107 Add attribute_hidden.
8108 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8110 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8112 * inet/getnetgrent_r.c (setup): Likewise.
8114 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8116 2012-07-31 David S. Miller <davem@davemloft.net>
8118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8120 2012-07-31 Joseph Myers <joseph@codesourcery.com>
8123 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8124 value between 1.0 and 2.0 and smaller part has absolute value less
8126 * math/s_clog10.c (__clog10): Likewise.
8127 * math/s_clog10f.c (__clog10f): Likewise.
8128 * math/s_clog10l.c (__clog10l): Likewise.
8129 * math/s_clogf.c (__clogf): Likewise.
8130 * math/s_clogl.c (__clogl): Likewise.
8131 * math/libm-test.inc (clog_test): Add more tests.
8132 (clog10_test): Likewise.
8133 * sysdeps/i386/fpu/libm-test-ulps: Update.
8134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8136 2012-07-31 Florian Weimer <fweimer@redhat.com>
8138 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8139 Exit with zero in case no suitable GID is found, and write a
8140 message to standard error.
8142 2012-07-30 Roland McGrath <roland@hack.frob.com>
8144 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8146 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8147 (MAXPATHLEN): Removed.
8148 (NOGROUP, NODEV): New macros.
8149 (setbit, clrbit, isset, isclr): New macros.
8150 (howmany, roundup, powerof2): New macros.
8151 (DEV_BSIZE): New macro.
8153 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8154 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8156 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8157 definition on [!__NO_LONG_DOUBLE_MATH].
8159 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8160 PTR_MANGLE and PTR_DEMANGLE.
8162 * socket/accept4.c (accept4): Rename to __libc_accept4.
8163 Define accept4 as a weak alias.
8165 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8166 on [_DIRENT_HAVE_D_TYPE].
8167 * io/ftw.c (ftw_dir): Likewise.
8169 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8171 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8173 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8174 Use the BSD numbers rather than the arbitrary ones we had.
8175 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8176 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8177 (SIGXCPU, SIGXFSZ): New macros.
8180 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8181 initializer on [_LIBC_REENTRANT].
8183 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8184 definitions inside [_POSIX_MAPPED_FILES].
8186 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8188 * dirent/opendir.c: Include <fcntl.h>.
8190 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8191 (__libc_getspecific): Likewise.
8192 (__libc_key_create): Likewise.
8194 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8195 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8196 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8197 (tmpfile64): Define as alias.
8198 * sysdeps/wordsize-64/tmpfile.c: File removed.
8199 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8200 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8201 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8203 * stdio-common/vfscanf.c: Include <stdbool.h>.
8204 * nss/makedb.c: Likewise.
8205 * stdio-common/_i18n_number.h: Likewise.
8206 * argp/argp-help.c: Likewise.
8207 * posix/wordexp.c: Likewise.
8208 * sysdeps/posix/spawni.c: Likewise.
8209 * nss/nss_files/files-initgroups.c: Likewise.
8210 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8211 * nss/nss_files/files-initgroups.c: Likewise.
8212 * nss/nss_db/db-netgrp.c: Likewise.
8213 * nss/nss_db/db-initgroups.c: Likewise.
8214 * io/fchmodat.c: Include <sys/stat.h>.
8216 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8217 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8219 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8222 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8223 Add multiple inclusion protection.
8225 2012-07-27 David S. Miller <davem@davemloft.net>
8227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8229 2012-07-27 Gary Benson <gbenson@redhat.com>
8232 * elf/rtld.c: Include <stap-probe.h>.
8233 (dl_main): Added static probes "init_start" and "init_complete".
8234 * elf/dl-load.c: Include <stap-probe.h>.
8235 (lose): Take new parameter "nsid".
8236 Added static probe "map_failed".
8237 (_dl_map_object_from_fd): Pass namespace id to lose.
8238 Added static probe "map_start".
8239 (open_verify): Pass namespace id to lose.
8240 * elf/dl-open.c: Include <stap-probe.h>.
8241 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8242 and "reloc_complete".
8243 * elf/dl-close.c: Include <stap-probe.h>.
8244 (_dl_close_worker): Added static probes "unmap_start" and
8246 * elf/rtld-debugger-interface.txt: New file documenting the above.
8248 2012-07-26 Roland McGrath <roland@hack.frob.com>
8250 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8251 rather than a string variable.
8252 * sunrpc/rpc_main.c (h_output): Likewise.
8253 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8255 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8257 * inet/check_native.c: New file.
8259 2012-07-26 Joseph Myers <joseph@codesourcery.com>
8262 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8263 if larger part has absolute value 1.0.
8264 * math/s_clog10.c (__clog10): Likewise.
8265 * math/s_clog10f.c (__clog10f): Likewise.
8266 * math/s_clog10l.c (__clog10l): Likewise.
8267 * math/s_clogf.c (__clogf): Likewise.
8268 * math/s_clogl.c (__clogl): Likewise.
8269 * math/libm-test.inc (clog_test): Add more tests.
8270 (clog10_test): Likewise.
8271 * sysdeps/i386/fpu/libm-test-ulps: Update.
8272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8274 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8275 (pltexit): Likewise.
8276 (La_regs): Likewise.
8277 (La_retval): Likewise.
8278 (int_retval): Likewise.
8279 Update #error for removed macros to refer only to definitions in
8281 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8283 (pltexit): Likewise.
8284 (La_regs): Likewise.
8285 (La_retval): Likewise.
8286 (int_retval): Likewise.
8287 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8289 (pltexit): Likewise.
8290 (La_regs): Likewise.
8291 (La_retval): Likewise.
8292 (int_retval): Likewise.
8293 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8295 (pltexit): Likewise.
8296 (La_regs): Likewise.
8297 (La_retval): Likewise.
8298 (int_retval): Likewise.
8299 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8301 (pltexit): Likewise.
8302 (La_regs): Likewise.
8303 (La_retval): Likewise.
8304 (int_retval): Likewise.
8305 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8307 (pltexit): Likewise.
8308 (La_regs): Likewise.
8309 (La_retval): Likewise.
8310 (int_retval): Likewise.
8311 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8313 (pltexit): Likewise.
8314 (La_regs): Likewise.
8315 (La_retval): Likewise.
8316 (int_retval): Likewise.
8317 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8318 macro definitions in tst-audit.h.
8319 * sysdeps/i386/tst-audit.h: New file.
8320 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8321 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8322 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8323 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8324 * sysdeps/sh/tst-audit.h: Likewise.
8325 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8326 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8327 * sysdeps/x86_64/tst-audit.h: Likewise.
8329 2012-07-26 Andreas Jaeger <aj@suse.de>
8331 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8334 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8335 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8336 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8338 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8339 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8340 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8342 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8345 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8347 (si_call_addr, si_syscall, si_arch): Define new macro.
8348 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8350 (si_call_addr, si_syscall, si_arch): Define new marcro.
8351 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8353 (si_call_addr, si_syscall, si_arch): Define new macro.
8354 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8356 (si_call_addr, si_syscall, si_arch): Define new macro.
8358 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8361 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8362 Change to 2.4.21 where previously 2.4.1.
8363 * sysdeps/unix/sysv/linux/configure: Regenerated.
8364 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8365 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8366 Linux kernel version.
8367 (__ASSUME_STD_AUXV): Remove.
8368 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8370 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8371 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8372 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8373 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8374 (__ASSUME_NETLINK_SUPPORT): Likewise.
8375 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8376 (__no_netlink_support): Remove conditional definition.
8377 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8379 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8380 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8381 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8382 (if_nameindex_ioctl): Remove.
8383 (if_nameindex_netlink): Do not handle __no_netlink_support.
8384 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8386 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8387 Remove conditional code.
8388 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8390 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8392 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8393 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8394 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8396 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8397 [!__ASSUME_STD_AUXV]: Remove conditional code.
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8399 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8400 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8402 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8403 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8405 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8407 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8408 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8410 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8412 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8415 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8418 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8420 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8422 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8424 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8427 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8429 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8432 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8434 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8436 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8438 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8441 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8443 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8445 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8447 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8450 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8452 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8453 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8454 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8455 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8456 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8457 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8458 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8459 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8460 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8461 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8462 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8463 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8464 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8465 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8466 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8467 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8468 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8469 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8470 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8472 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8473 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8474 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8476 2012-07-25 Florian Weimer <fweimer@redhat.com>
8478 * Versions.def: Add GLIBC_2.17.
8479 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8480 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8481 Introduce __libc_secure_getenv.
8482 * stdlib/Versions (2.17): Add secure_getenv
8483 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8484 * stdlib/secure-getenv.c: Rename __secure_getenv to
8485 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8486 symbol __secure_getenv for GLIBC_2.0.
8487 * stdlib/tst-secure-getenv.c: New.
8488 * stdlib/Makefile (tests): Add testcase.
8489 * manual/startup.texi (Environment Access): Document
8491 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8492 __libc_secure_getenv.
8493 * inet/ruserpass.c (ruserpass): Likewise.
8494 * malloc/mtrace.c (mtrace): Likewise.
8495 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8496 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8497 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8498 * sysdeps/posix/tempname.c: Likewise. Evaluate
8500 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8501 __secure_getenv to __libc_secure_getenv.
8502 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8509 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8515 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8517 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8518 (struct La_i86_retval): Likewise.
8519 (struct La_x86_64_regs): Likewise.
8520 (struct La_x86_64_retval): Likewise.
8521 (struct La_x32_regs): Likewise.
8522 (struct La_x32_retval): Likewise.
8523 (struct La_ppc32_regs): Likewise.
8524 (struct La_ppc32_retval): Likewise.
8525 (struct La_ppc64_regs): Likewise.
8526 (struct La_ppc64_retval): Likewise.
8527 (struct La_sh_regs): Likewise.
8528 (struct La_sh_retval): Likewise.
8529 (struct La_s390_32_regs): Likewise.
8530 (struct La_s390_32_retval): Likewise.
8531 (struct La_s390_64_regs): Likewise.
8532 (struct La_s390_64_retval): Likewise.
8533 (struct La_sparc32_regs): Likewise.
8534 (struct La_sparc32_retval): Likewise.
8535 (struct La_sparc64_regs): Likewise.
8536 (struct La_sparc64_retval): Likewise.
8537 (struct audit_ifaces): Remove architecture-specific pltenter and
8539 * sysdeps/i386/ldsodefs.h: New file.
8540 * sysdeps/powerpc/ldsodefs.h: Likewise.
8541 * sysdeps/s390/ldsodefs.h: Likewise.
8542 * sysdeps/sh/ldsodefs.h: Likewise.
8543 * sysdeps/sparc/ldsodefs.h: Likewise.
8544 * sysdeps/x86_64/ldsodefs.h: Likewise.
8546 2012-07-25 Marek Polacek <polacek@redhat.com>
8549 * math/libm-test.inc (yn_test): Add another test.
8550 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8551 to ERANGE when the result is +-Inf.
8552 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8553 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8554 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8555 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8557 2012-07-24 Joseph Myers <joseph@codesourcery.com>
8559 * conform/data/time.h-data (NULL): Use macro-constant. Require
8561 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8563 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8565 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8567 * configure.in <sysdeps resolving>: Correct printing
8569 * configure: Regenerate.
8571 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8573 * math/w_ilogb.c: Include <limits.h>.
8574 * math/w_ilogbl.c: Likewise.
8576 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8578 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8579 va_copy. Document allowing for unavailable va_copy only as
8580 pre-C99 compatibility.
8581 * manual/string.texi (Copying and Concatenation): Use va_copy
8582 instead of __va_copy in concat example.
8584 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8586 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8587 (__sendto): Use create_address_port. Initialize APORT and deallocate
8590 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8591 with O_NOLINK passed to __file_name_lookup.
8593 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8594 with O_NOLINK passed to __file_name_lookup.
8596 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8597 negative N or less than NGIDS.
8599 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8600 type to string_t. Set ERANGE as errno and return it if NAME is not big
8601 enough. Use memcpy instead of strncpy.
8603 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8605 * elf/Makefile (check-data): Remove.
8606 (localplt.data): New vpath directive.
8607 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8608 instead of $(check-data).
8609 * scripts/data/localplt-generic.data: Move to ...
8610 * sysdeps/generic/localplt.data: ... here.
8611 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8612 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8613 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8616 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8619 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8622 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8625 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8628 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8632 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8634 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8635 PPC32 and PPC64 files.
8636 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8637 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8639 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8641 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8642 __makecontext_ret to ...
8643 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8644 ... here and call exit if uc_link is NULL. New file.
8645 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8646 __makecontext_ret.S.
8647 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8648 __makecontext_ret to ...
8649 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8650 ... here and call exit if uc_link is NULL. New file.
8651 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8652 __makecontext_ret.S.
8654 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8656 * elf/elf.h (R_390_IRELATIVE): New definition.
8657 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8658 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8659 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8660 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8661 (elf_machine_lazy_rel): Likewise.
8662 * sysdeps/s390/dl-irel.h: New file.
8663 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8664 * sysdeps/s390/s390-64/memset.S: New asm code.
8665 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8666 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8667 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8668 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8669 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8670 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8671 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8672 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8673 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8674 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8675 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8676 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8677 * sysdeps/s390/s390-32/memset.S: New asm code.
8678 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8680 2012-07-17 Marek Polacek <polacek@redhat.com>
8683 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8684 * sysdeps/s390/s390-64/configure.in: Likewise.
8685 * sysdeps/sparc/configure.in: Likewise.
8686 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8687 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8688 * sysdeps/i386/configure.in: Likewise.
8689 * sysdeps/x86_64/configure.in: Likewise.
8690 * sysdeps/sh/configure.in: Likewise.
8691 * sysdeps/s390/s390-32/configure: Regenerated.
8692 * sysdeps/s390/s390-64/configure: Likewise.
8693 * sysdeps/x86_64/configure: Likewise.
8694 * sysdeps/sh/configure: Likewise.
8695 * sysdeps/powerpc/powerpc64/configure: Likewise.
8696 * sysdeps/powerpc/powerpc32/configure: Likewise.
8697 * sysdeps/sparc/configure: Likwise.
8698 * sysdeps/i386/configure: Likewise.
8700 * elf/dl-open.c: Comment fixes.
8702 2012-07-17 Joseph Myers <joseph@codesourcery.com>
8704 * Makefile [CXX] (check-data): Remove.
8705 [CXX] (c++-types.data): New vpath directive.
8706 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8707 vpath. Do not allow for C++ type data being missing.
8708 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8709 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8710 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8711 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8712 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8713 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8714 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8717 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8720 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8723 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8726 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8729 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8732 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8735 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8738 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8739 definitions to architecture-specific files.
8743 * sysdeps/i386/tls-macros.h: New file.
8744 * sysdeps/powerpc/tls-macros.h: Likewise.
8745 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8746 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8747 * sysdeps/sh/tls-macros.h: Likewise.
8748 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8749 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8750 * sysdeps/x86_64/tls-macros.h: Likewise.
8752 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8754 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8755 zero value for regular exit case.
8757 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8758 (__start_context): Preserve zero value for regular exit case.
8760 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8761 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8763 * manual/setjmp.texi (setcontext): Clarify normal process
8764 termination when uc_link is the null pointer.
8765 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8768 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8770 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8771 preprocessor. Test for each exception mask separately.
8773 2012-07-16 Andreas Jaeger <aj@suse.de>
8775 * po/ru.po: Update from translation team.
8777 2012-07-15 Joseph Myers <joseph@codesourcery.com>
8779 * conform/data/string.h-data (NULL): Use macro-constant. Require
8781 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8782 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8783 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8784 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8785 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8787 2012-07-13 Andreas Jaeger <aj@suse.de>
8789 * po/fr.po: Update from translation team.
8791 2012-07-12 Marek Polacek <polacek@redhat.com>
8794 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8795 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8798 2012-07-12 Joseph Myers <joseph@codesourcery.com>
8801 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8802 Change to 2.4.1 where previously 2.4.0.
8803 * sysdeps/unix/sysv/linux/configure: Regenerated.
8804 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8805 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8807 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8808 (__ASSUME_AT_CLKTCK): Remove.
8809 (__ASSUME_AT_PAGESIZE): Likewise.
8810 (__ASSUME_AT_XID): Likewise.
8811 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8812 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8813 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8815 (HAVE_AUX_PAGESIZE): Likewise.
8816 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8817 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8818 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8820 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8824 the temporary buffer used to invoke __gethostbyname2_r,
8825 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8826 host_data / struct gaih_addrtuple.
8827 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8828 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8829 header file nss/nsswitch.h.
8830 * nss/nsswitch.h (global scope): Add definition of implementation
8831 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8832 resolv/nss_dns/dns-host.c).
8834 2012-07-11 Andreas Jaeger <aj@suse.de>
8836 * po/fr.po: Update from translation team.
8838 * po/sv.po: Update from translation team
8839 * po/fr.po: Another update from translation team.
8841 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8843 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8844 for subnormals or multiply small sinh result by itself.
8845 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8848 2012-07-11 David S. Miller <davem@davemloft.net>
8850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8852 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8855 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8856 (INTERNAL_MARK): Shift it here.
8858 2012-07-10 Marek Polacek <polacek@redhat.com>
8861 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8862 libc_cv_asm_global_directive with .globl.
8863 * configure: Regenerated.
8864 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8866 * sysdeps/i386/configure: Regenerated.
8867 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8869 * sysdeps/x86_64/configure: Regenerated.
8870 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8871 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8872 * elf/tst-unique2mod2.c: Likewise.
8873 * elf/tst-unique2mod1.c: Likewise.
8874 * elf/tst-unique1mod2.c: Likewise.
8875 * elf/tst-unique1mod1.c: Likewise.
8876 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8877 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8878 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8879 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8880 * sysdeps/mach/sysdep.h: Likewise.
8881 * sysdeps/i386/sysdep.h: Likewise.
8882 * sysdeps/i386/i386-mcount.S: Likewise.
8883 * sysdeps/x86_64/_mcount.S: Likewise.
8884 * sysdeps/x86_64/sysdep.h: Likewise.
8885 * sysdeps/sh/_mcount.S: Likewise.
8886 * sysdeps/sh/sysdep.h: Likewise.
8887 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8888 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8889 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8890 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8891 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8892 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8893 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8894 * locale/localeinfo.h: Likewise.
8895 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8896 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8898 2012-07-09 Roland McGrath <roland@hack.frob.com>
8901 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8903 * manual/message.texi (The Uniforum approach): Likewise.
8904 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8905 (glibc iconv Implementation): Likewise.
8907 2012-07-09 Joseph Myers <joseph@codesourcery.com>
8910 * math/s_clog.c (__clog): Avoid scaling a value down where that
8911 could result in underflow.
8912 * math/s_clog10.c (__clog10): Likewise.
8913 * math/s_clog10f.c (__clog10f): Likewise.
8914 * math/s_clog10l.c (__clog10l): Likewise.
8915 * math/s_clogf.c (__clogf): Likewise.
8916 * math/s_clogl.c (__clogl): Likewise.
8917 * math/libm-test.inc (clog_test): Add more tests.
8918 (clog10_test): Likewise.
8919 * sysdeps/i386/fpu/libm-test-ulps: Update.
8920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8922 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8925 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8926 by 7 not 8 to examine high bit of fractional part.
8929 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8930 for call to __mcount_internal.
8931 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8932 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8933 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8935 2012-07-06 Joseph Myers <joseph@codesourcery.com>
8938 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8939 approximation for values within 0x1p-13f of an odd multiple of
8941 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8942 exception. Add more tests.
8943 * sysdeps/i386/fpu/libm-test-ulps: Update.
8946 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8947 inputs and return -1 for them. Do not check for +Inf in case not
8949 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8950 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8951 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8952 and return -1 for them. Do not check for +Inf in case not
8954 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8956 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8957 and return -1 for them. Do not check for +Inf in case not
8959 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8961 * sysdeps/i386/fpu/libm-test-ulps: Update.
8962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8964 2012-07-06 Mike Frysinger <vapier@gentoo.org>
8966 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8968 2012-07-05 Joseph Myers <joseph@codesourcery.com>
8972 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8973 could result in spurious underflow. Scale down values above
8974 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8975 * math/s_csqrtf.c (__csqrtf): Likewise.
8976 * math/s_csqrtl.c (__csqrtl): Likewise.
8977 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8979 * sysdeps/i386/fpu/libm-test-ulps: Update.
8980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8982 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8984 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8986 * catgets/xopen-msg.awk: New file.
8987 * catgets/xopen-msg.sed: Removed.
8989 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8991 * intl/po2test.awk: New file.
8992 * intl/po2test.sed: Removed.
8994 2012-07-04 Joseph Myers <joseph@codesourcery.com>
8997 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8998 or multiply small sinh result by itself.
8999 * math/s_ctanf.c (__ctanf): Likewise.
9000 * math/s_ctanh.c (__ctanh): Likewise.
9001 * math/s_ctanhf.c (__ctanhf): Likewise.
9002 * math/s_ctanhl.c (__ctanhl): Likewise.
9003 * math/s_ctanl.c (__ctanl): Likewise.
9004 * math/libm-test.inc (ctan_test_tonearest): New function.
9005 (ctan_test_towardzero): Likewise.
9006 (ctan_test_downward): Likewise.
9007 (ctan_test_upward): Likewise.
9008 (ctanh_test_tonearest): Likewise.
9009 (ctanh_test_towardzero): Likewise.
9010 (ctanh_test_downward): Likewise.
9011 (ctanh_test_upward): Likewise.
9012 (main): Call these new functions.
9013 * sysdeps/i386/fpu/libm-test-ulps: Update.
9014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9016 2012-07-03 Mike Frysinger <vapier@gentoo.org>
9018 * .gitignore: Delete /ports entry.
9020 2012-07-03 Andreas Jaeger <aj@suse.de>
9022 * po/bg.po: Update from translation team.
9023 * po/cs.po: Likewise.
9024 * po/de.po: Likewise.
9025 * po/hr.po: Likewise.
9026 * po/nl.pl: Likewise.
9027 * po/pl.po: Likewise.
9028 * po/vi.po: Likewise.
9030 2012-07-03 Joseph Myers <joseph@codesourcery.com>
9032 * Makeconfig [!+link] (+link-before-libc): New variable.
9033 [!+link] (+link-after-libc): Likewise.
9034 [!+link] (+link-tests): Likewise.
9035 [!+link] (+link): Define in terms of $(+link-before-libc) and
9036 $(+link-after-libc).
9037 [!+link-static] (+link-static-before-libc): New variable.
9038 [!+link-static] (+link-static-after-libc): Likewise.
9039 [!+link-static] (+link-static-tests): Likewise.
9040 [!+link-static] (+link-static): Define in terms of
9041 $(+link-static-before-libc) and $(+link-static-after-libc).
9042 [build-shared] (link-libc-before-gnulib): New variable.
9043 [build-shared] (link-libc-tests): Likewise.
9044 [build-shared] (link-libc): Define in terms of
9045 $(link-libc-before-gnulib).
9046 [!build-shared] (link-libc-tests): New variable.
9047 (link-libc-static-tests): New variable.
9048 [!gnulib] (gnulib-arch): New variable.
9049 [!gnulib] (gnulib-tests): Likewise.
9050 [!gnulib] (static-gnulib-arch): Likewise.
9051 [!gnulib] (static-gnulib-tests): Likewise.
9052 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9053 Define with "=" instead of ":=".
9054 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9055 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9056 * Rules (binaries-all-notests): New variable.
9057 (binaries-all-tests): Likewise.
9058 (binaries-static-notests): Likewise.
9059 (binaries-static-tests): Likewise.
9060 (binaries-all): Define using $(binaries-all-notests) and
9061 $(binaries-all-tests).
9062 (binaries-static): Define using $(binaries-static-notests) and
9063 $(binaries-static-tests).
9064 (binaries-shared-tests): New variable.
9065 (binaries-shared-notests): Likewise.
9066 (binaries-shared): Remove variable.
9067 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9068 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9069 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9070 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9071 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9072 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9073 * elf/Makefile (sln-modules): New variable.
9074 (extra-objs): Add $(sln-modules:=.o).
9075 (ldconfig-modules): Add static-stubs.
9076 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9077 * elf/static-stubs.c: New file.
9080 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9081 by 7 not 8 to examine high bit of fractional part. Use volatile
9082 variables when splitting into final array of floats if
9083 __FLT_EVAL_METHOD__ != 0.
9084 * math/libm-test.inc (cos_test): Add another test.
9085 (sin_test): Likewise.
9086 * sysdeps/i386/fpu/libm-test-ulps: Update.
9089 * math/libm-test.inc (cosh_test): Add more tests.
9091 * version.h (RELEASE): Set to "development".
9092 (VERSION): Set to "2.16.90".
9094 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9096 * NEWS: Update copyright. Remove last-updated date.
9097 Mention math library bug fixes and timezone data changes.
9098 * README: Mention GNU/Hurd, x32, and HPPA support status.
9100 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9102 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9104 2012-06-27 Andreas Jaeger <aj@suse.de>
9106 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9108 2012-06-25 Andreas Jaeger <aj@suse.de>
9110 * sysdeps/s390/fpu/libm-test-ulps: Update.
9112 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9113 Thomas Schwinge <thomas@codesourcery.com>
9115 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9116 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9117 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9120 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9122 * sysdeps/mach/start.c: Remove file.
9123 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9124 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9125 * sysdeps/sh/init-first.c: Likewise.
9127 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9128 registers for frame unwinding purposes, add CFI directives.
9129 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9130 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9131 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9134 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9135 __fortify_fail returning.
9136 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9138 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9139 sysdeps/sh/____longjmp_chk.S.
9140 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9141 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9142 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9143 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9145 * sysdeps/sh/abort-instr.h: New file.
9146 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9147 process in case exit returns.
9149 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9150 initialize the GOT register before use.
9152 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9153 calculation of ARGC > 4.
9155 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9156 meaningful names to some local labels.
9158 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9159 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9161 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9162 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9163 (__arch_compare_and_exchange_val_16_acq): Likewise.
9164 (__arch_compare_and_exchange_val_32_acq): Likewise.
9165 (atomic_exchange_and_add): Fix gUSA sequence.
9166 (atomic_add): Likewise.
9167 (atomic_add_negative): Likewise.
9168 (atomic_add_zero): Likewise.
9169 (atomic_bit_test_set): Likewise.
9171 2012-06-22 Andreas Schwab <schwab@redhat.com>
9174 * include/link.h (struct link_map): Add l_free_initfini.
9175 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9177 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9178 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9179 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9182 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9184 * configure.in: Use AC_LANG_SOURCE.
9185 * configure: Regenerate.
9187 2012-06-22 Roland McGrath <roland@hack.frob.com>
9189 * configure.in (libc_cv_localstatedir): New substituted variable.
9190 * configure: Regenerated.
9191 * config.make.in (localstatedir): New variable, substituted from
9192 libc_cv_localstatedir.
9193 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9194 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9195 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9196 * sysdeps/gnu/configure: Regenerated.
9198 2012-06-21 Jeff Law <law@redhat.com>
9201 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9202 free. Simplify list management for _LIBC case.
9204 2012-06-21 Joseph Myers <joseph@codesourcery.com>
9207 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9208 Clear sign bit of 64-bit integer value before comparing against
9211 * sysdeps/mach/configure: Regenerated.
9213 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9216 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9218 2012-06-21 Jeff Law <law@redhat.com>
9221 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9222 uint16_t for elements in the "seen" array to avoid char overflows.
9223 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9224 * elf/dl-open.c (dl_open_worker): Likewise.
9226 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9228 * scripts/list-sources.sh: Scan PORTS for translations.
9229 * po/libc.pot: Regenerated.
9231 2012-06-21 Andreas Jaeger <aj@suse.de>
9234 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9236 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9237 * bits/byteswap-16.h (__bswap_16): Likewise.
9238 * bits/byteswap.h (__bswap_constant_16): Likewise.
9240 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9243 * sysdeps/i386/fpu_control.h: Removed.
9244 * sysdeps/x86_64/fpu_control.h: Moved to ...
9245 * sysdeps/x86/fpu_control.h: Here.
9247 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9248 (_FPU_SETCW): Likewise.
9250 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9253 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9254 * sysdeps/x86/fpu/bits/mathinline.h: This.
9255 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9259 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9260 functions if __x86_64__ is defined.
9262 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9264 * string/endian.h: Add !__ASSEMBLER__ condition for including
9265 conversion interfaces.
9267 2012-06-15 Joseph Myers <joseph@codesourcery.com>
9270 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9271 of ABS(x) in calculating zero to negative powers other than odd
9273 * math/libm-test.inc (pow_test): Add more tests.
9275 2012-06-15 Andreas Jaeger <aj@suse.de>
9277 * manual/contrib.texi (Contributors): Update entry of Liubov
9278 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9281 2012-06-15 Cyril Hrubis <metan@ucw.cz>
9283 * string/string.h: Add __wur to GNU version of strerror_r.
9285 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9288 * string/Makefile (tests): Add tst-strtok_r.
9289 * string/tst-strtok_r.c: New file.
9290 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9291 RAX_LP/RDX_LP on SAVE_PTR.
9293 2012-06-14 Roland McGrath <roland@hack.frob.com>
9295 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9297 2012-06-14 Joseph Myers <joseph@codesourcery.com>
9299 * libm_test.inc (csqrt_test): Allow more spurious underflow
9301 (j0_test): Likewise.
9302 (j1_test): Likewise.
9303 (y0_test): Likewise.
9304 (y1_test): Likewise.
9306 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9308 * po/Makefile (libc.pot): Use UTF-8 charset.
9310 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9313 Suppress sign-conversion warning from FD_SET.
9314 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9315 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9316 not unsigned long int.
9317 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9319 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9323 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9324 __extern_always_inline instead of __extern_inline.
9325 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9326 (__signbit): Likewise.
9327 (__signbitl): Support C++ namespace.
9328 (lrintf): New inline function.
9330 (llrintf): Likewise.
9342 (nearbyint): Likewise.
9343 (nearbyintf): Likewise.
9345 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9347 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9348 non-default versions.
9350 2012-06-11 Roland McGrath <roland@hack.frob.com>
9353 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9355 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9357 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9358 (FE_UPWARD, FE_DOWNWARD): Don't define.
9359 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9360 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9362 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9364 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9365 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9367 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9369 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9370 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9371 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9372 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9374 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9377 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9378 * sysdeps/i386/fpu/Implies: New file.
9379 * sysdeps/x86_64/fpu/Implies: Likewise.
9380 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9381 * sysdeps/x86/fpu/bits/fenv.h: This.
9383 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9386 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9389 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9390 character 0xffff that matches the last element of the
9393 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9395 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9398 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9400 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9401 values higher than 25.6283.
9403 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9405 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9406 subnormal exponent extraction and add some __builtin_expect.
9407 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9408 Fix for subnormal mantissa calculation.
9410 2012-06-04 Mike Frysinger <vapier@gentoo.org>
9412 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9413 cpu2 is -1 and errno is not ENOSYS.
9415 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9418 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9419 * sysdeps/x86/bits/string.h: This.
9420 * sysdeps/x86_64/bits/string.h: Removed.
9422 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9423 if not compiling for x86-64, but compiling for >= i486.
9425 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9426 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9428 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9429 New macro from Linux kernel 3.4.0.
9430 (FP_XSTATE_MAGIC2): Likewise.
9431 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9432 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9433 (struct _fpx_sw_bytes): New struct.
9434 (struct _xsave_hdr): Likewise.
9435 (struct _ymmh_state): Likewise.
9436 (struct _xstate): Likewise.
9438 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9439 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9440 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9441 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9442 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9443 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9445 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9446 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9447 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9448 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9449 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9450 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9452 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9455 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9456 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9457 (sysdep_headers): Include sys/platform/ppc.h.
9458 * sysdeps/powerpc/test-gettimebase.c: Test for
9459 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9460 * manual/Makefile (appendices): Include platform.texi.
9461 * manual/contrib.texi (Contributors): Update @node pointers.
9462 * manual/maint.texi (Maintenance): Likewise.
9463 (Platform): New node.
9464 * manual/platform.texi: New file. Document the new features.
9466 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9467 Jakub Jelinek <jakub@redhat.com>
9470 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9471 where __builtin_expect is unavailable.
9473 2012-06-03 David S. Miller <davem@davemloft.net>
9475 * stdlib/longlong.h: Updated from GCC.
9477 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9480 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9481 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9484 (GLIBC_2.16): Likewise.
9486 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9488 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9490 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9493 (default-abi): New variable.
9494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9495 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9497 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9499 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9501 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9504 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9505 definition. Document in comment.
9507 2012-06-01 David S. Miller <davem@davemloft.net>
9509 * stdlib/longlong.h: Updated from GCC.
9511 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9514 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9515 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9516 sys/debugreg.h sys/io.h here.
9517 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9518 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9520 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9521 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9522 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9523 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9524 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9525 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9527 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9528 Define only if __x86_64__ is defined.
9530 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9533 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9534 Use int64_t for variable i.
9535 * math/libm-test.inc (fmod_test): Add more tests.
9537 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9538 z computation is not scheduled after fetestexcept.
9539 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9540 Use math_force_eval instead of asm to ensure calculation scheduled
9541 before exception test.
9542 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9543 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9545 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9548 computation is not scheduled after fetestexcept.
9550 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9553 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9554 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9556 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9558 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9559 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9561 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9564 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9566 (__WCHAR_MIN): Support __WORDSIZE == 64.
9567 (__WCHAR_MAX): Likewise.
9569 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9570 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9573 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9574 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9577 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9578 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9580 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9581 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9583 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9584 Defined to 1 if __x86_64__ isn't defined.
9585 (_STAT_VER_LINUX_OLD): New.
9586 (st_atime): Remove duplicate.
9587 (st_mtime): Likewise.
9588 (st_ctime): Likewise.
9590 2012-05-31 David S. Miller <davem@davemloft.net>
9592 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9595 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9597 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9601 * elf/dl-reloc.c: Include <_itoa.h>.
9602 (_dl_reloc_bad_type): Remove use of INTUSE.
9603 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9604 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9605 * stdio-common/psiginfo.c (psiginfo): Likewise.
9606 * stdio-common/psignal.c (psignal): Likewise.
9607 * string/strsignal.c (strsignal): Likewise.
9608 * include/signal.h (_sys_siglist): Declare hidden proto.
9609 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9610 INTVARDEF with libc_hidden_data_def.
9611 * stdio-common/itoa-udigits.c: Likewise.
9612 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9613 (_itoa_lower_digits_internal): Remove declaration.
9614 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9615 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9616 (_sys_sigabbrev_internal): Remove aliases.
9617 (_sys_siglist): Define hidden alias.
9619 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9624 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9627 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9628 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9630 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9631 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9632 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9633 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9634 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9635 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9637 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9638 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9639 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9641 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9649 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9650 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9651 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9653 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9654 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9655 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9656 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9657 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9658 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9660 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9661 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9663 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9664 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9666 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9667 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9668 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9670 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9671 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9673 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9675 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9676 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9677 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9679 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9681 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9683 2012-05-31 Joseph Myers <joseph@codesourcery.com>
9685 * math/math.h (M_El): Use two more decimal places.
9686 (M_LOG2El): Likewise.
9687 (M_LOG10El): Likewise.
9689 (M_LN10l): Likewise.
9691 (M_PI_2l): Likewise.
9692 (M_PI_4l): Likewise.
9693 (M_1_PIl): Likewise.
9694 (M_2_PIl): Likewise.
9695 (M_2_SQRTPIl): Likewise.
9696 (M_SQRT2l): Likewise.
9697 (M_SQRT1_2l): Likewise.
9699 2012-05-31 David S. Miller <davem@davemloft.net>
9701 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9702 values between float registers.
9703 * sysdeps/sparc/sparc64/memset.S: Likewise.
9704 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9706 2012-05-31 Mike Frysinger <vapier@gentoo.org>
9708 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9709 -D_FORTIFY_SOURCE=1.
9710 (CPPFLAGS-tst-longjmp_chk.c): Define.
9711 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9712 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9713 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9714 CFLAGS-tst-wchar-h.c.
9716 2012-05-31 Marek Polacek <polacek@redhat.com>
9719 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9720 __endmntent_internal): Remove declaration.
9721 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9722 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9723 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9725 2012-05-30 David S. Miller <davem@davemloft.net>
9727 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9728 (___Q_simulate_exceptions): Use real FP ops rather than writing
9730 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9733 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9736 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9737 * sysdeps/x86/bits/xtitypes.h: This.
9739 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9740 * sysdeps/x86/bits/wordsize.h: This.
9742 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9743 * sysdeps/x86/bits/huge_vall.h: This.
9745 * sysdeps/i386/bits/select.h: Removed.
9746 * sysdeps/x86_64/bits/select.h: Renamed to ...
9747 * sysdeps/x86/bits/select.h: This.
9749 * sysdeps/i386/bits/setjmp.h: Removed.
9750 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9751 * sysdeps/x86/bits/setjmp.h: This.
9753 * sysdeps/i386/bits/mathdef.h: Removed.
9754 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9755 * sysdeps/x86/bits/mathdef.h: This.
9757 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9760 * include/sys/socket.h (__connect_internal)
9761 (__libc_sa_len_internal): Remove declaration.
9762 (__connect, __libc_sa_len): Declare hidden_proto.
9763 (SA_LEN): Remove use of INTUSE.
9764 * socket/connect.c: Add libc_hidden_def.
9765 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9766 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9767 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9769 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9770 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9771 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9772 of adding _internal alias.
9774 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9777 * sysdeps/i386/bits/link.h: Removed.
9778 * sysdeps/i386/bits/linkmap.h: Likewise.
9779 * sysdeps/x86_64/bits/link.h: Renamed to ...
9780 * sysdeps/x86/bits/link.h: This.
9781 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9782 * sysdeps/x86/bits/linkmap.h: This.
9784 * sysdeps/i386/bits/endian.h: Removed.
9785 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9786 * sysdeps/x86/bits/endian.h: This.
9788 * sysdeps/i386/bits/byteswap.h: Removed.
9789 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9790 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9791 * sysdeps/x86/bits/byteswap.h: This.
9792 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9793 * sysdeps/x86/bits/byteswap-16.h: This.
9794 * sysdeps/i386/Implies: Add x86.
9795 * sysdeps/x86_64/Implies: Likewise.
9797 2012-05-30 David S. Miller <davem@davemloft.net>
9799 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9800 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9801 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9802 (FP_TRAPPING_EXCEPTIONS): Define.
9803 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9804 (FP_TRAPPING_EXCEPTIONS): Define.
9805 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9806 subnormals only when inexact has been signalled or underflow
9807 exceptions are enabled.
9808 (_FP_PACK_CANONICAL): Likewise.
9810 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9813 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9814 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9816 2012-05-30 Richard Henderson <rth@twiddle.net>
9818 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9819 with #ifndef NOT_IN_libc.
9821 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9822 marked to avoid plt entry.
9824 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9827 * Makeconfig (default-abi): New macro.
9828 (abi-includes): Likewise.
9829 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9830 $(abi-$(default-abi)-lib-soname) for soname if defined.
9831 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9833 * Makefile (installed-stubs): Likewise.
9834 * include/stubs-biarch.h: Removed.
9835 * scripts/lib-names.awk: Only handle one library at a time.
9836 * scripts/soversions.awk: Remove WORDSIZE support.
9837 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9839 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9841 (syscall-list-default-condition): Likewise.
9842 (syscall-list-default-condition): Likewise.
9843 (syscall-list-includes): Likewise.
9844 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9845 syscall-list-* with abi-*. Handle undefined abi-variants.
9846 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9847 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9848 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9849 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9850 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9851 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9853 (syscall-list-32-options): Likewise.
9854 (syscall-list-32-condition): Likewise.
9855 (syscall-list-64-options): Likewise.
9856 (syscall-list-64-condition): Likewise.
9857 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9859 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9862 (abi-64-ld-soname): New macro.
9863 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9864 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9867 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9868 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9870 2012-05-30 Joseph Myers <joseph@codesourcery.com>
9872 * sysdeps/unix/sysv/linux/kernel-features.h
9873 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9874 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9875 include <kernel-features.h>.
9876 [!__NR_ftruncate64]: Remove conditional code.
9877 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9878 [__NR_ftruncate64]: Make code unconditional.
9879 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9880 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9881 include <kernel-features.h>.
9882 [!__NR_ftruncate64]: Remove conditional code.
9883 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9884 [__NR_ftruncate64]: Make code unconditional.
9885 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9887 include <kernel-features.h>.
9888 [!__NR_ftruncate64]: Remove conditional code.
9889 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9890 [__NR_ftruncate64]: Make code unconditional.
9891 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9893 include <kernel-features.h>.
9894 [!__NR_ftruncate64]: Remove conditional code.
9895 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9896 [__NR_ftruncate64]: Make code unconditional.
9897 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9899 * configure.in (libc_cv_fpie): Weaken to a compile test using
9901 * configure: Regenerated.
9903 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9918 2012-05-27 David S. Miller <davem@davemloft.net>
9920 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9922 (__Q_simulate_exceptions): Return void. Change to simulate
9923 exceptions by writing into the %fsr.
9924 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9925 (__Qp_handle_exceptions): Likewise.
9927 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9928 __Qp_handle_exceptions.
9929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9930 __Qp_handle_exceptions.
9931 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9932 as unused and give dummy FP_RND_NEAREST initializer.
9933 (FP_INHIBIT_RESULTS): Define.
9934 (___Q_simulate_exceptions): Update declaration.
9935 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9937 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9938 as unused and give dummy FP_RND_NEAREST initializer.
9939 (__Qp_handle_exceptions): Update declaration.
9940 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9943 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9945 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9946 the temporary FPU control word.
9947 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9948 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9949 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9950 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9951 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9952 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9953 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9954 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9955 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9956 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9957 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9959 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9961 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9964 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9966 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9967 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9968 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9969 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9971 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9972 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9975 2012-05-27 Ulrich Drepper <drepper@gmail.com>
9977 * po/h.po: Update from translation team.
9979 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9981 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9983 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9984 handling of denormals.
9985 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9986 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9987 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9988 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9989 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9994 2012-05-26 Marek Polacek <polacek@redhat.com>
9997 * math/libm-test.inc (fma_test): Don't always expect underflow
10000 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10003 * elf/tst-execstack.c: Include stackinfo.h.
10004 (do_test): Adjust test case to ensure that pthread_getattr_np
10005 behaviour remains the same after marking stack executable.
10007 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10009 * sysdeps/unix/sysv/linux/kernel-features.h
10010 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10011 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10013 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10014 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10015 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10017 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10018 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10020 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
10022 * configure.in: Define the default includes to being none.
10023 * configure: Regenerated.
10025 2012-05-25 Roland McGrath <roland@hack.frob.com>
10027 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10028 * sysdeps/x86_64/setjmp.S: Likewise.
10029 * sysdeps/i386/bsd-setjmp.S: Likewise.
10030 * sysdeps/i386/bsd-_setjmp.S: Likewise.
10031 * sysdeps/i386/setjmp.S: Likewise.
10032 * sysdeps/i386/__longjmp.S: Likewise.
10033 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10034 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10036 * include/stap-probe.h: New file.
10037 * configure.in: Handle --enable-systemtap.
10038 * configure: Regenerated.
10039 * config.h.in (USE_STAP_PROBE): New #undef.
10040 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10041 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10042 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10044 2012-05-25 Joseph Myers <joseph@codesourcery.com>
10047 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10048 to 2.4.0 where earlier.
10049 * sysdeps/unix/sysv/linux/configure: Regenerated.
10050 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10051 <kernel-features.h>.
10052 [__ASSUME_32BITUIDS]: Make code unconditional.
10053 [!__ASSUME_32BITUIDS]: Remove conditional code.
10054 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10055 <kernel-features.h>.
10056 [__ASSUME_32BITUIDS]: Make code unconditional.
10057 [!__ASSUME_32BITUIDS]: Remove conditional code.
10058 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10059 [__ASSUME_32BITUIDS]: Make code unconditional.
10060 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10061 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10062 <kernel-features.h>.
10063 [__ASSUME_32BITUIDS]: Make code unconditional.
10064 [!__ASSUME_32BITUIDS]: Remove conditional code.
10065 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10066 <kernel-features.h>.
10067 [__ASSUME_32BITUIDS]: Make code unconditional.
10068 [!__ASSUME_32BITUIDS]: Remove conditional code.
10069 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10070 <kernel-features.h>.
10071 [__ASSUME_32BITUIDS]: Make code unconditional.
10072 [!__ASSUME_32BITUIDS]: Remove conditional code.
10073 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10074 <kernel-features.h>.
10075 [__ASSUME_32BITUIDS]: Make code unconditional.
10076 [!__ASSUME_32BITUIDS]: Remove conditional code.
10077 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10078 <kernel-features.h>.
10079 [__ASSUME_32BITUIDS]: Make code unconditional.
10080 [!__ASSUME_32BITUIDS]: Remove conditional code.
10081 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10082 <kernel-features.h>.
10083 [__ASSUME_32BITUIDS]: Make code unconditional.
10084 [!__ASSUME_32BITUIDS]: Remove conditional code.
10085 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10086 <kernel-features.h>.
10087 [__ASSUME_32BITUIDS]: Make code unconditional.
10088 [!__ASSUME_32BITUIDS]: Remove conditional code.
10089 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.c: Do not include
10098 <kernel-features.h>.
10099 [__ASSUME_32BITUIDS]: Make code unconditional.
10100 [!__ASSUME_32BITUIDS]: Remove conditional code.
10101 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10102 <kernel-features.h>.
10103 [__NR_setresgid] (__setresgid): Do not declare.
10104 [__ASSUME_32BITUIDS]: Make code unconditional.
10105 [!__ASSUME_32BITUIDS]: Remove conditional code.
10106 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10107 <kernel-features.h>.
10108 [__NR_setresuid] (__setresuid): Do not declare.
10109 [__ASSUME_32BITUIDS]: Make code unconditional.
10110 [!__ASSUME_32BITUIDS]: Remove conditional code.
10111 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10112 <kernel-features.h>.
10113 [__ASSUME_32BITUIDS]: Make code unconditional.
10114 [!__ASSUME_32BITUIDS]: Remove conditional code.
10115 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10116 <kernel-features.h>.
10117 [__ASSUME_32BITUIDS]: Make code unconditional.
10118 [!__ASSUME_32BITUIDS]: Remove conditional code.
10119 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10120 <kernel-features.h>.
10121 [__ASSUME_32BITUIDS]: Make code unconditional.
10122 [!__ASSUME_32BITUIDS]: Remove conditional code.
10123 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10124 <kernel-features.h>.
10125 [__ASSUME_32BITUIDS]: Make code unconditional.
10126 [!__ASSUME_32BITUIDS]: Remove conditional code.
10127 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10128 <kernel-features.h>.
10129 [__ASSUME_32BITUIDS]: Make code unconditional.
10130 [!__ASSUME_32BITUIDS]: Remove conditional code.
10131 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10132 <kernel-features.h>.
10133 [__ASSUME_32BITUIDS]: Make code unconditional.
10134 [!__ASSUME_32BITUIDS]: Remove conditional code.
10135 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10136 <kernel-features.h>.
10137 [__ASSUME_32BITUIDS]: Make code unconditional.
10138 [!__ASSUME_32BITUIDS]: Remove conditional code.
10139 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10140 <kernel-features.h>.
10141 [__ASSUME_32BITUIDS]: Make code unconditional.
10142 [!__ASSUME_32BITUIDS]: Remove conditional code.
10143 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10144 <kernel-features.h>.
10145 [__ASSUME_32BITUIDS]: Make code unconditional.
10146 [!__ASSUME_32BITUIDS]: Remove conditional code.
10147 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10148 <kernel-features.h>.
10149 [__ASSUME_32BITUIDS]: Make code unconditional.
10150 [!__ASSUME_32BITUIDS]: Remove conditional code.
10151 * sysdeps/unix/sysv/linux/kernel-features.h
10152 (__ASSUME_SETRESUID_SYSCALL): Remove.
10153 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10154 (__ASSUME_32BITUIDS): Likewise.
10155 (__ASSUME_LDT_WORKS): Likewise.
10156 (__ASSUME_O_DIRECTORY): Likewise.
10157 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10158 architecture but not kernel version.
10159 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10160 (__ASSUME_MMAP2_SYSCALL): Likewise.
10161 (__ASSUME_STAT64_SYSCALL): Likewise.
10162 (__ASSUME_IPC64): Likewise.
10163 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10164 <kernel-features.h>.
10165 [__ASSUME_32BITUIDS]: Make code unconditional.
10166 [!__ASSUME_32BITUIDS]: Remove conditional code.
10167 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10168 <kernel-features.h>.
10169 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10170 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10171 132096]: Remove conditional code.
10172 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10173 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10174 <kernel-features.h>.
10175 [__ASSUME_32BITUIDS]: Make code unconditional.
10176 [!__ASSUME_32BITUIDS]: Remove conditional code.
10177 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10178 <kernel-features.h>.
10179 [__ASSUME_32BITUIDS]: Make code unconditional.
10180 [!__ASSUME_32BITUIDS]: Remove conditional code.
10181 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10182 <kernel-features.h>.
10183 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10185 (__setresgid): Do not declare.
10186 [__ASSUME_32BITUIDS]: Make code unconditional.
10187 [!__ASSUME_32BITUIDS]: Remove conditional code.
10188 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10189 <kernel-features.h>.
10190 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10192 (__setresuid): Do not declare.
10193 [__ASSUME_32BITUIDS]: Make code unconditional.
10194 [!__ASSUME_32BITUIDS]: Remove conditional code.
10195 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10196 <kernel-features.h>.
10197 [__ASSUME_32BITUIDS]: Make code unconditional.
10198 [!__ASSUME_32BITUIDS]: Remove conditional code.
10199 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10200 <kernel-features.h>.
10201 [__ASSUME_32BITUIDS]: Make code unconditional.
10202 [!__ASSUME_32BITUIDS]: Remove conditional code.
10204 2012-05-25 Richard Henderson <rth@twiddle.net>
10206 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10207 dl_hwcap to ifunc resolver.
10208 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10210 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10211 dl_hwcap to ifunc resolver.
10212 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10214 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10217 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10218 for |x| <= 2**-26, not 2**-57.
10219 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10222 2012-05-24 Jeff Law <law@redhat.com>
10224 * stdio-common/Makefile (tests): Add bug25.
10225 * stdio-common/bug25.c: New test.
10227 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10230 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10231 multiple of MALLOC_ALIGNMENT in size.
10232 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10234 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10236 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10238 (FILENAME_MAX): Use macro-int-constant.
10239 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10240 (_IOFBF): Use macro-int-constant.
10241 (_IOLBF): Likewise.
10242 (_IONBF): Likewise.
10243 (SEEK_CUR): Likewise.
10244 (SEEK_END): Likewise.
10245 (SEEK_SET): Likewise.
10246 (TMP_MAX): Likewise.
10247 (EOF): Use macro-int-constant. Require < 0.
10248 (NULL): Use macro-constant. Require == 0.
10249 (stdin): Require type to be FILE *.
10250 (stdout): Likewise.
10251 (stderr): Likewise.
10252 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10253 macro-int-constant.
10254 (EXIT_SUCCESS): Likewise.
10255 (NULL): Use macro-constant. Require == 0.
10256 (RAND_MAX): Use macro-int-constant.
10257 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10258 [C99-based standards] (strtof): Require function.
10259 [C99-based standards] (strtold): Likewise.
10260 [C99-based standards] (strtoll): Likewise.
10261 [C99-based standards] (strtoull): Likewise.
10262 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10263 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10264 [ISO || ISO99 || ISO11] (math.h): Likewise.
10265 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10266 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10269 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10272 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10273 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10274 * intl/dgettext.c (DCGETTEXT): Likewise.
10275 * intl/gettext.c (DCGETTEXT): Likewise.
10276 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10277 * posix/regex_internal.h (gettext): Likewise.
10278 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10279 Remove declaration.
10280 * include/argz.h (__argz_count_internal)
10281 (__argz_stringify_internal): Remove declaration.
10282 (__argz_count, __argz_stringify): Declare hidden proto.
10283 * intl/dcgettext.c: Remove use of INTDEF.
10284 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10285 * string/argz-stringify.c: Likewise.
10286 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10287 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10288 Declare hidden proto.
10289 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10290 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10291 Declare hidden proto.
10292 * include/stdio.h (__asprintf_internal): Don't declare.
10293 (__asprintf): Don't define as macro. Declare hidden proto.
10294 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10295 (__fsetlocking): Declare hidden proto.
10296 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10297 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10299 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10300 (_IO_setlinebuf): Remove use of INTUSE.
10301 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10302 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10303 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10304 Remove declaration.
10305 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10306 (_IO_do_flush): Remove use of INTUSE.
10307 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10308 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10309 (_IO_adjust_column, _IO_least_wmarker)
10310 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10311 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10312 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10313 (_IO_default_doallocate, _IO_wdefault_doallocate)
10314 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10315 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10316 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10317 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10318 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10319 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10320 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10321 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10322 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10323 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10324 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10325 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10326 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10328 (_IO_flush_all_internal, _IO_adjust_column_internal)
10329 (_IO_default_uflow_internal, _IO_default_finish_internal)
10330 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10331 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10332 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10333 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10334 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10335 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10336 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10337 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10338 (_IO_file_close_internal, _IO_file_close_it_internal)
10339 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10340 (_IO_file_init_internal, _IO_file_attach_internal)
10341 (_IO_file_fopen_internal, _IO_file_read_internal)
10342 (_IO_file_sync_internal, _IO_file_seek_internal)
10343 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10344 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10345 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10346 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10347 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10348 (_IO_list_all_internal, _IO_link_in_internal)
10349 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10350 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10351 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10352 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10353 (_IO_do_write_internal, _IO_padn_internal)
10354 (_IO_getline_info_internal, _IO_getline_internal)
10355 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10356 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10357 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10358 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10359 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10360 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10361 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10362 with libc_hidden_ver, remove use of INTUSE.
10363 * libio/genops.c: Likewise.
10364 * libio/freopen.c: Likewise.
10365 * libio/freopen64.c: Likewise.
10366 * libio/iofclose.c: Likewise.
10367 * libio/iofdopen.c: Likewise.
10368 * libio/iofflush.c: Likewise.
10369 * libio/iofflush_u.c: Likewise.
10370 * libio/iofgets.c: Likewise.
10371 * libio/iofgets_u.c: Likewise.
10372 * libio/iofopen.c: Likewise.
10373 * libio/iofopncook.c: Likewise.
10374 * libio/iofread.c: Likewise.
10375 * libio/iofread_u.c: Likewise.
10376 * libio/ioftell.c: Likewise.
10377 * libio/iofwrite.c: Likewise.
10378 * libio/iogetline.c: Likewise.
10379 * libio/iogets.c: Likewise.
10380 * libio/iogetwline.c: Likewise.
10381 * libio/iopadn.c: Likewise.
10382 * libio/iopopen.c: Likewise.
10383 * libio/ioseekoff.c: Likewise.
10384 * libio/ioseekpos.c: Likewise.
10385 * libio/iosetbuffer.c: Likewise.
10386 * libio/iosetvbuf.c: Likewise.
10387 * libio/ioungetc.c: Likewise.
10388 * libio/ioungetwc.c: Likewise.
10389 * libio/iovdprintf.c: Likewise.
10390 * libio/iovsprintf.c: Likewise.
10391 * libio/iovsscanf.c: Likewise.
10392 * libio/memstream.c: Likewise.
10393 * libio/obprintf.c: Likewise.
10394 * libio/oldfileops.c: Likewise.
10395 * libio/oldiofclose.c: Likewise.
10396 * libio/oldiofdopen.c: Likewise.
10397 * libio/oldiofopen.c: Likewise.
10398 * libio/oldiopopen.c: Likewise.
10399 * libio/oldstdfiles.c: Likewise.
10400 * libio/putc.c: Likewise.
10401 * libio/setbuf.c: Likewise.
10402 * libio/setlinebuf.c: Likewise.
10403 * libio/stdfiles.c: Likewise.
10404 * libio/strops.c: Likewise.
10405 * libio/vasprintf.c: Likewise.
10406 * libio/vscanf.c: Likewise.
10407 * libio/vsnprintf.c: Likewise.
10408 * libio/vswprintf.c: Likewise.
10409 * libio/wfiledoalloc.c: Likewise.
10410 * libio/wfileops.c: Likewise.
10411 * libio/wgenops.c: Likewise.
10412 * libio/wmemstream.c: Likewise.
10413 * libio/wstrops.c: Likewise.
10414 * libio/__fpurge.c: Likewise.
10415 * libio/__fsetlocking.c: Likewise.
10416 * assert/assert.c: Likewise.
10417 * debug/fgets_chk.c: Likewise.
10418 * debug/fgets_u_chk.c: Likewise.
10419 * debug/fread_chk.c: Likewise.
10420 * debug/fread_u_chk.c: Likewise.
10421 * debug/gets_chk.c: Likewise.
10422 * debug/obprintf_chk.c: Likewise.
10423 * debug/vasprintf_chk.c: Likewise.
10424 * debug/vdprintf_chk.c: Likewise.
10425 * debug/vsnprintf_chk.c: Likewise.
10426 * debug/vsprintf_chk.c: Likewise.
10427 * malloc/mtrace.c: Likewise.
10428 * misc/error.c: Likewise.
10429 * misc/syslog.c: Likewise.
10430 * stdio-common/asprintf.c: Likewise.
10431 * stdio-common/fxprintf.c: Likewise.
10432 * stdio-common/getw.c: Likewise.
10433 * stdio-common/isoc99_fscanf.c: Likewise.
10434 * stdio-common/isoc99_scanf.c: Likewise.
10435 * stdio-common/isoc99_vfscanf.c: Likewise.
10436 * stdio-common/isoc99_vscanf.c: Likewise.
10437 * stdio-common/isoc99_vsscanf.c: Likewise.
10438 * stdio-common/printf-prs.c: Likewise.
10439 * stdio-common/printf_fp.c: Likewise.
10440 * stdio-common/printf_fphex.c: Likewise.
10441 * stdio-common/printf_size.c: Likewise.
10442 * stdio-common/putw.c: Likewise.
10443 * stdio-common/scanf.c: Likewise.
10444 * stdio-common/sprintf.c: Likewise.
10445 * stdio-common/tmpfile.c: Likewise.
10446 * stdio-common/vfprintf.c: Likewise.
10447 * stdio-common/vfscanf.c: Likewise.
10448 * stdlib/strfmon_l.c: Likewise.
10449 * sunrpc/openchild.c: Likewise.
10450 * sunrpc/xdr_stdio.c: Likewise.
10451 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10452 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10454 2012-05-24 Roland McGrath <roland@hack.frob.com>
10456 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10458 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10459 in the third column, to generate for the shared library an IFUNC
10460 that uses _dl_vdso_vsym.
10461 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10462 * Makeconfig (object-suffixes-noshared): New variable.
10464 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10465 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10466 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10467 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10470 * include/sys/time.h (__gettimeofday): Remove macro.
10471 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10472 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10474 (__gettimeofday): Add libc_hidden_def.
10475 (gettimeofday): Add libc_hidden_weak.
10476 * sysdeps/mach/gettimeofday.c: Likewise.
10477 * sysdeps/posix/gettimeofday.c: Likewise.
10478 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10479 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10480 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10481 (__gettimeofday_internal): Remove strong_alias.
10482 (__gettimeofday): Add libc_hidden_def.
10483 (gettimeofday): Add libc_hidden_weak.
10484 * sysdeps/unix/syscalls.list (gettimeofday):
10485 Remove __gettimeofday_internal alias.
10487 2012-05-24 Daniel Jacobowitz <drow@false.org>
10488 H.J. Lu <hongjiu.lu@intel.com>
10491 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10492 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10493 (largebin_index_32_big): New.
10494 (largebin_index): Use it for 16-byte alignment.
10495 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10496 correction with front_misalign.
10498 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10526 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10527 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10529 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10533 * math/libm-test.inc (exp_test): Add test from bug 14036.
10534 (pow_test): Add test from bug 10846.
10536 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10538 (special_function): Do not include flags in test name.
10539 (parse_args): Likewise.
10540 * sysdeps/i386/fpu/libm-test-ulps: Update.
10541 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10542 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10543 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10546 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10548 * math/libm-test.inc ("Philosophy"): Update comment about
10550 (UNDERFLOW_EXCEPTION): New macro.
10551 (UNDERFLOW_EXCEPTION_OK): Likewise.
10552 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10553 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10554 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10555 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10556 (INVALID_EXCEPTION_OK): Update value.
10557 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10558 (OVERFLOW_EXCEPTION_OK): Likewise.
10559 (IGNORE_ZERO_INF_SIGN): Likewise.
10560 (test_exceptions): Handle underflow exceptions.
10561 (acos_test): Update for underflow exception expectations.
10562 (cexp_test): Likewise.
10563 (clog_test): Likewise.
10564 (clog10_test): Likewise.
10565 (csqrt_test): Likewise.
10566 (ctan_test): Likewise.
10567 (ctanh_test): Likewise.
10568 (exp_test): Likewise.
10569 (exp10_test): Likewise.
10570 (exp2_test): Likewise.
10571 (expm1_test): Likewise.
10572 (fma_test): Likewise.
10573 (j0_test): Likewise.
10574 (jn_test): Likewise.
10575 (nexttoward_test): Likewise.
10576 (pow_test): Likewise.
10577 (scalbn_test): Likewise.
10578 (scalbln_test): Likewise.
10579 (tan_test): Likewise.
10580 (y1_test): Likewise.
10581 * sysdeps/i386/fpu/libm-test-ulps: Update.
10582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10584 2012-05-23 David S. Miller <davem@davemloft.net>
10586 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10587 (__libc_sigaction): Remove unused local variables.
10589 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10591 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10593 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10595 mktime: avoid signed integer overflow
10596 * time/mktime.c (__mktime_internal): Do not mishandle the case
10597 where diff == INT_MIN.
10599 mktime: simplify computation of average
10600 * time/mktime.c (ranged_convert): Use new time_t_avg function
10601 instead of rolling our own (probably-slower) code.
10603 mktime: do not assume signed right shift propagates sign bit
10604 * time/mktime.c (isdst_differ): New static function.
10605 (__mktime_internal): No need to normalize tm_isdst now.
10606 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10609 mktime: merge another wrapv change from gnulib
10610 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10611 from some compilers.
10613 mktime: remove incorrect attempt at unusual arithmetics
10614 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10615 The code didn't really work on such machines anyway.
10616 (TYPE_MINIMUM): Assume two's complement.
10617 (twos_complement_arithmetic): Verify that long_int and time_t
10618 are two's complement (or unsigned, in the latter case).
10620 mktime: check signed shifts on long_int and time_t, too
10621 * time/mktime.c (SHR): Check that shifts work as desired
10622 on the types long_int and time_t too, as SHR is used on
10625 mktime: do not assume 'long' is wide enough
10626 * time/mktime.c (verify): Move decl up.
10627 (long_int): New type.
10628 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10629 to remove assumption in the code that 'long' is wide enough to
10630 store year values. This assumption is not true on x32 and on
10631 some non-glibc platforms.
10633 mktime: merge wrapv change from gnulib
10634 * time/mktime.c (WRAPV): New macro.
10635 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10636 (guess_time_tm, __mktime_internal): Do not assume that signed
10637 integer overflow wraps around; modern compilers generate code
10638 where this assumption is no longer valid.
10640 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10642 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10643 Replace "jmp L(pseudo_end)" with "ret".
10644 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10647 2012-05-23 Andreas Jaeger <aj@suse.de>
10649 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10650 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10652 2012-05-23 Andreas Jaeger <aj@suse.de>
10653 Maximilian Attems <max@stro.at>
10655 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10658 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10660 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10661 code so that pseudo_end is just ret and the stack pointer is
10662 correct also for static library in error case.
10664 2012-05-23 Joseph Myers <joseph@codesourcery.com>
10666 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10667 move to syscalls.list.
10668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10673 * manual/install.texi (Running make install): Do not mention Linux
10674 kernel version for which pt_chown is not needed.
10675 (Linux): Do not mention problems with nscd with 2.0 kernels.
10676 * INSTALL: Regenerated.
10678 2012-05-23 Andreas Jaeger <aj@suse.de>
10680 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10681 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10683 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10684 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10685 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10686 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10687 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10688 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10689 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10690 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10691 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10692 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10693 * sysdeps/unix/sysv/linux/bits/in.h
10694 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10696 2012-05-22 Roland McGrath <roland@hack.frob.com>
10698 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10699 (PREPARE_VERSION): Just use assert instead, it will be elided
10700 under [NDEBUG] anyway.
10702 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10704 * sysdeps/unix/sysv/linux/Makefile: Include
10705 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
10706 (sysdep_routines): Remove sysctl.
10707 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10708 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10709 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10710 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10711 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10713 2012-05-22 Andreas Jaeger <aj@suse.de>
10715 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10716 that pseudo_end is just ret and the stack pointer is correct also
10717 for static library in error case.
10719 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10722 * nss/nsswitch.c (defconfig_entries): New variable.
10723 (__nss_database_lookup): Don't leak defconfig entries.
10724 (nss_parse_service_list): Don't leak on error paths.
10725 (free_database_entries): New function.
10726 (free_defconfig): New function.
10727 (free_mem): Move common code to free_database_entries.
10729 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10731 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10733 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10735 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10736 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10737 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10739 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10740 (INTERNAL_SYSCALL_TYPES): Likewise.
10741 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10742 (LOAD_REGS_TYPES_[1-6]): Likewise.
10743 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10744 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10746 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10748 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10749 copysignl for GLIBC_2_0.
10750 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10751 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10752 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10753 logbl for GLIBC_2_0.
10754 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10755 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10757 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10759 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10760 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10762 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10765 * time/mktime.c: Update copyright years.
10767 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10769 mktime: merge comment-quoting-style change from gnulib
10770 * time/mktime.c: Quote 'like this' in comments.
10771 The GNU coding standards suggest that we no longer quote `like this',
10772 as "`" and "'" are typically rendered asymmetrically nowadays.
10773 The typical gnulib style is to quote 'like this' when quoting
10774 code, and "like this" when quoting English.
10776 * time/mktime.c (compile-command): Add "-I.".
10778 mktime: merge mktime-internal.h change from gnulib
10779 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10781 mktime: merge time_r change from gnulib
10782 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10784 mktime: merge DEBUG change from gnulib
10785 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10786 case system <time.h> has a #define.
10788 mktime: merge <sys/types.h> change from gnulib
10789 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10790 since <time.t> is now guaranteed to define time_t.
10792 mktime: merge HAVE_CONFIG_H change from gnulib
10793 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10795 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10797 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10800 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10802 (struct rusage): Use anonymous union to pad each field to
10805 2012-05-21 David S. Miller <davem@davemloft.net>
10807 * Makefules (o-iterator): Remove .s cases.
10808 (compile-command.s): Delete.
10809 (COMPILE.s): Delete.
10810 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10812 2012-05-21 Joseph Myers <joseph@codesourcery.com>
10814 * configure.in (libc_cv_predef_stack_protector): Only consider
10815 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10816 * configure: Regenerated.
10818 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10821 New macro. Use R*LP on int and pointer.
10822 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
10823 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10824 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
10825 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10827 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10828 [__WORDSIZE_TIME64_COMPAT32] instead of
10829 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10830 (struct utmp): Likewise.
10831 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10832 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10834 (__WORDSIZE_TIME64_COMPAT32): This.
10835 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10836 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10837 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10838 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10839 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10840 (__WORDSIZE_TIME64_COMPAT32): New macro.
10842 2012-05-21 Andreas Jaeger <aj@suse.de>
10844 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10845 only if [SHARED]. Add prototype for __wcschr_ia32.
10847 2012-05-21 Roland McGrath <roland@hack.frob.com>
10849 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10850 of %rbp unmolested in the jmp_buf while mangling the low bits.
10851 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10852 unmolested high bits of %rbp while demangling the low bits.
10853 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10855 2012-05-21 Andreas Jaeger <aj@suse.de>
10857 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10858 * sunrpc/svc_simple.c: Use it for registerrpc.
10859 * sunrpc/xcrypt.c: Use it for passwd2des.
10861 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10863 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10865 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10866 Don't define if [__SYSCALL_WORDSIZE != 32].
10867 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10870 2012-05-21 Bruno Haible <bruno@clisp.org>
10871 Andreas Jaeger <aj@suse.de>
10873 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10874 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10875 inptr and inend for must_buffer_ch.
10876 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10877 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10878 * stdio-common/Makefile (tests): Remove bug15.
10879 (bug15-ENV): Remove macro.
10880 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10883 2012-05-19 Andreas Jaeger <aj@suse.de>
10884 Roland McGrath <roland@hack.frob.com>
10886 * manual/contrib.texi: Completely rewritten. It contains now an
10887 alphabetical list of contributors and their contributions.
10889 2012-05-21 Richard Henderson <rth@twiddle.net>
10891 * misc/getauxval.c (__getauxval): Use unsigned long int.
10892 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10893 (getauxval): Use unsigned long int.
10895 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10897 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10899 2012-05-21 Roland McGrath <roland@hack.frob.com>
10901 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10902 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10903 __alignof__ (long double).
10905 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10909 2012-05-20 Richard Henderson <rth@twiddle.net>
10911 * misc/getauxval.c: New file.
10912 * misc/sys/auxv.h: New file.
10913 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10914 (routines): Add getauxval.
10915 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10916 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10917 * elf/dl-sysdep.c (_dl_auxv): Remove.
10918 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10919 * elf/dl-support.c (_dl_auxv): New variable.
10920 (_dl_aux_init): Initialize it.
10921 * manual/startup.texi (Auxiliary Vector): New node.
10922 * sysdeps/generic/bits/hwcap.h: New file.
10923 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10924 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10925 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10926 * sysdeps/sparc/sysdep.h: ... here. Include it.
10927 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10928 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
10929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10934 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10940 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10944 2012-05-19 David S. Miller <davem@davemloft.net>
10946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10948 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10951 * math/s_ccosh.c: Include <float.h>
10952 (__ccosh): Avoid internal overflow calculating sinh and cosh
10953 values before multiplying by sin and cos values.
10954 * math/s_ccoshf.c: Likewise.
10955 * math/s_ccoshl.c: Likewise.
10956 * math/s_csin.c: Likewise.
10957 * math/s_csinf.c: Likewise.
10958 * math/s_csinl.c: Likewise.
10959 * math/s_csinh.c: Likewise.
10960 * math/s_csinhf.c: Likewise.
10961 * math/s_csinhl.c: Likewise.
10962 * math/libm-test.inc (ccos_test): Add more tests.
10963 (ccosh_test): Likewise.
10964 (csin_test): Likewise.
10965 (csinh_test): Likewise.
10966 * sysdeps/i386/fpu/libm-test-ulps: Update.
10967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10969 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10971 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10972 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10974 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10976 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10978 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10979 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10980 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10981 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10982 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10983 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10984 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10985 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10986 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10987 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10988 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10989 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10990 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10991 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10992 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10993 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10994 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10995 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10996 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10997 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10998 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10999 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11000 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11001 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11002 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11003 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11004 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11005 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11006 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11007 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11008 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11010 2012-05-18 Andreas Jaeger <aj@suse.de>
11012 * csu/.gitignore: Delete.
11014 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11016 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11017 (timex): Use __syscall_slong_t.
11019 2012-05-18 Andreas Jaeger <aj@suse.de>
11020 Carlos O'Donell <carlos_odonell@mentor.com>
11022 * manual/install.texi (Configuring and compiling): Update
11023 description about files modified in the source directory.
11024 * INSTALL: Regenerated.
11026 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11028 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11029 value. Use "or" to set return value to -1.
11030 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11031 negate return value.
11033 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11035 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11036 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11037 failure if the compiler has Graphite support disabled.
11038 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11040 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11041 CFLAGS-memmove.c): Likewise.
11042 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11045 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
11047 * sysdeps/x86_64/x32/_itoa.h: New file.
11049 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11050 getdents system call only if kernel and user dirents have the
11051 same d_ino and d_off.
11053 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11054 LLONG_MAX != LONG_MAX.
11055 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11056 (_fitoa_word): Likewise.
11058 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11060 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11061 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11062 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11064 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11065 include <bits/wordsize.h>. Check __x86_64__ instead of
11067 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11068 if __x86_64__ is defined. Use anonymous union on fpstate.
11070 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11073 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11075 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11076 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11077 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11078 Refer to _rtld_local_ro instead of _rtld_global_ro.
11079 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11081 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11083 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11085 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11086 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11087 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11089 * sysdeps/powerpc/powerpc32/dl-machine.c
11090 (__elf_machine_runtime_setup) [PROF]: Don't reference
11093 2012-05-18 Andreas Jaeger <aj@suse.de>
11095 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11096 function only available for GCCs before 3.4 since GCC 3.4
11097 introduced a builtin.
11099 (llrintf): Likewise.
11100 (llrint): Likewise.
11107 (nearbyint): Likewise.
11108 (nearbyintf): Likewise.
11112 (floorf): Likewise.
11114 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11116 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11117 on both fields and cast pointer to __syscall_ulong_t.
11119 * bits/types.h (__fsword_t): New type.
11120 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11121 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11122 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11123 (__FSWORD_T_TYPE): Likewise.
11124 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11125 (__FSWORD_T_TYPE): Likewise.
11126 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11127 (__FSWORD_T_TYPE): Likewise.
11128 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11129 (__FSWORD_T_TYPE): Likewise.
11130 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11131 __SWORD_TYPE with __fsword_t.
11132 (statfs64): Likewise.
11134 2012-05-17 David S. Miller <davem@davemloft.net>
11136 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11138 2012-05-17 Andreas Jaeger <aj@suse.de>
11140 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11143 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11145 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11147 2012-05-17 Andreas Jaeger <aj@suse.de>
11149 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11152 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11154 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11156 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11158 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11159 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11161 2012-05-17 Andreas Jaeger <aj@suse.de>
11162 Carlos O'Donell <carlos_odonell@mentor.com>
11165 * sysdeps/x86_64/multiarch/init-arch.h
11166 (bit_YMM_Usable): Rename to...
11167 (bit_AVX_Usable): ... this.
11168 (bit_FMA4_Usable): New macro.
11169 (bit_XMM_state): New macro.
11170 (bit_YMM_state): New macro.
11171 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11172 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11173 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11174 (CPUID_OSXSAVE): New macro.
11175 (CPUID_AVX): New macro.
11176 (CPUID_FMA4): New macro.
11177 (index_YMM_Usable): Rename to...
11178 (index_AVX_Usable): ... this.
11179 (HAS_AVX): Use HAS_ARCH_FEATURE.
11180 (HAS_FMA4): Likewise.
11181 (HAS_YMM_USABLE): Remove.
11182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11183 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11185 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11186 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11187 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11188 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11189 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11191 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11193 * math/libm-test.c: Support platforms without multiple rounding modes.
11194 * math/bug-nextafter.c: Support platforms without FP exceptions.
11195 * math/bug-nexttoward.c: Likewise.
11196 * math/test-fenv.c: Likewise.
11197 * math/test-misc.c: Likewise.
11198 * stdlib/bug-getcontext.c: Likewise.
11200 2012-05-17 Andreas Jaeger <aj@suse.de>
11202 * manual/examples/search.c (critter_cmp): Change signature to
11204 * manual/string.texi (Collation Functions): Likewise.
11206 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11208 * bits/types.h: Fold copyright years.
11209 * bits/typesizes.h: Likewise.
11210 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11211 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11212 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11213 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11214 * time/time.h: Likewise.
11216 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11219 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11220 in instead of returning them. Return void.
11221 (__libc_mallinfo): Accumulate over all arenas.
11222 (__malloc_stats): Adjust for change in int_mallinfo interface.
11224 2012-05-16 Roland McGrath <roland@hack.frob.com>
11227 * configure.in (NM): Add AC_CHECK_TOOL for it.
11228 (libc_extra_cflags): New substituted variable.
11229 Check for -fstack-protector being used implicitly.
11230 * configure: Regenerated.
11231 * config.make.in (config-extra-cflags): New variable,
11232 gets @libc_extra_cflags@.
11233 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11236 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11237 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11238 * configure: Regenerated.
11239 * config.make.in (CPPUNDEFS): New substituted variable.
11240 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11241 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11242 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11244 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11246 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11247 (mq_attr): Use __syscall_slong_t.
11249 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11251 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11252 Check __x86_64__ instead of __WORDSIZE.
11253 (_STAT_VER_LINUX): Likewise.
11254 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11255 __syscall_ulong_t and __syscall_slong_t.
11256 (stat64): Likewise.
11258 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11260 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11262 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11264 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11266 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11268 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11271 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11272 include <bits/wordsize.h>. Check __x86_64__ instead of
11274 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11276 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11278 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11279 include <bits/wordsize.h>. Check __x86_64__ instead of
11281 (user_regs_struct): Use "__extension__ unsigned long long"
11282 instead of "unsigned long" if __x86_64__ is defined.
11283 (user): Likewise. Pad after pointer field if __ILP32__ is
11286 2012-05-16 Joseph Myers <joseph@codesourcery.com>
11288 * configure.in (makeinfo): Require version 4.5 or later. Allow
11290 * configure: Regenerated.
11291 * manual/install.texi (texinfo): Increase version requirement to
11293 * INSTALL: Regenerated.
11295 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11297 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11299 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11301 * sysdeps/x86_64/x32/ffs.c: New file.
11303 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11305 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11306 defined. Use __syscall_ulong_t.
11307 (shminfo): Use __syscall_ulong_t.
11308 (shm_info): Likewise.
11310 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11313 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11315 (msgqnum_t): Use __syscall_ulong_t.
11316 (msglen_t): Likewise.
11317 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11320 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11321 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11323 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11325 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11326 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11328 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11331 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11332 include <bits/wordsize.h>. Check __x86_64__ instead of
11335 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11336 "unsigned long long int" if __x86_64__ is defined.
11337 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11339 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11340 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11341 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11343 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11345 (GET_PC): Cast to uintptr_t first.
11346 (GET_FRAME): Likewise.
11347 (GET_STACK): Likewise.
11349 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11350 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11351 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11352 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11353 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11354 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11355 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11356 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11357 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11358 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11359 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11360 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11361 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11362 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11363 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11364 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11365 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11366 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11367 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11368 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11369 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11370 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11371 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11372 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11373 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11374 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11375 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11376 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11377 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11379 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11381 * Makerules (+depfiles): Also collect depfiles from .oS in
11383 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11384 .oS, $(libnldbl-routines)).
11386 * Makerules (native-compile-mkdep-flags): Define.
11387 * sunrpc/Makefile (extra-objs): Add $(addprefix
11388 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11389 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11390 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11391 calling $(make-target-directory).
11393 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11395 * bits/types.h (__snseconds_t): Removed.
11396 * time/time.h (struct timespec): Replace __snseconds_t with
11398 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11399 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11401 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11402 (__SNSECONDS_T_TYPE): Likewise.
11403 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11404 (__SNSECONDS_T_TYPE): Likewise.
11405 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11406 (__SNSECONDS_T_TYPE): Likewise.
11408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11410 * sysdeps/mach/hurd/bits/typesizes.h
11411 (__SYSCALL_SLONG_TYPE): New macro.
11412 (__SYSCALL_ULONG_TYPE): Likewise.
11414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11416 * bits/types.h (__syscall_slong_t): New type.
11417 (__syscall_ulong_t): Likewise.
11419 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11420 (__SYSCALL_ULONG_TYPE): Likewise.
11421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11422 (__SYSCALL_SLONG_TYPE): Likewise.
11423 (__SYSCALL_ULONG_TYPE): Likewise.
11424 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11425 (__SYSCALL_SLONG_TYPE): Likewise.
11426 (__SYSCALL_ULONG_TYPE): Likewise.
11427 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11428 (__SYSCALL_SLONG_TYPE): Likewise.
11429 (__SYSCALL_ULONG_TYPE): Likewise.
11431 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11433 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11434 Add sigaltstack-offsets.sym.
11435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11436 <sigaltstack-offsets.h>.
11437 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11438 longjmp_msg pointer.
11439 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11440 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11442 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11444 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11446 * elf/stackguard-macros.h: Remove file.
11447 * sysdeps/generic/stackguard-macros.h: New file.
11448 * sysdeps/i386/stackguard-macros.h: Likewise.
11449 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11450 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11451 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11452 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11453 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11454 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11455 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11456 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11457 <elf/stackguard-macros.h>.
11460 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11461 __aligned__ in attribute.
11462 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11463 (gregset_t): Likewise.
11465 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11467 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11468 * sysdeps/x86_64/64/Implies-after: Here. New file.
11469 * sysdeps/x86_64/x32/Implies-after: New file.
11471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11473 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11474 and access return value for _dl_profile_fixup. Use R10_LP to
11477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11479 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11483 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11484 * sysdeps/x86_64/x32/sysdep.h: New file.
11486 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11488 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11489 * sysdeps/x86_64/setjmp.S: Likewise.
11491 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11493 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11494 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11495 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11496 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11497 remove unused global constant.
11499 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11501 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11502 include of <not-cancel.h>.
11504 2012-05-15 Roland McGrath <roland@hack.frob.com>
11506 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11508 2012-05-15 Jeff Law <law@redhat.com>
11509 Andreas Jaeger <aj@suse.de>
11512 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11514 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11515 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11516 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11517 code changing __hst_map_handle.map.
11519 2012-05-15 Roland McGrath <roland@hack.frob.com>
11521 * configure.in (sysnames): Look for Implies-before and Implies-after
11523 * configure: Regenerated.
11525 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11527 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11528 8-byte data alignment with LP_SIZE alignment.
11530 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11532 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11537 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11539 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11541 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11542 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11543 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11545 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11547 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11549 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11550 (stackinfo_sub_sp): Likewise.
11552 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11554 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11557 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11559 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11562 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11564 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11567 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11569 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11571 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11573 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11574 into R11_LP and load __x86_64_shared_cache_size_half into
11577 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11579 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11582 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11584 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11586 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11588 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11590 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11591 powerpc32/power7/fpu/s_logb.c via #include.
11592 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11593 powerpc32/power7/fpu/s_logbf.c via #include.
11594 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11595 powerpc32/power7/fpu/s_logbl.c via #include.
11597 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11599 * README.libm: Remove file.
11601 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11603 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11604 count for x32. Use R*_LP and omit operand-size suffix.
11606 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11608 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11609 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11610 * sysdeps/x86_64/x32/shlib-versions: New file.
11612 2012-05-14 Roland McGrath <roland@hack.frob.com>
11614 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11615 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11616 Use _dl_fatal_printf instead.
11618 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11620 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11621 set if not set by the user. Do not allow for being unset.
11622 * sysdeps/unix/sysv/linux/configure: Regenerated.
11624 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11626 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11627 the `q' suffix from lea and replace .quad with ASM_ADDR.
11629 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11631 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11632 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11634 (PTR_DEMANGLE): Likewise.
11636 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11638 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11640 (ASM_ADDR): Likewise.
11641 (RAX_LP): Likewise.
11642 (RBP_LP): Likewise.
11643 (RBX_LP): Likewise.
11644 (RCX_LP): Likewise.
11645 (RDI_LP): Likewise.
11646 (RSI_LP): Likewise.
11647 (RSP_LP): Likewise.
11650 (R10_LP): Likewise.
11651 (R10_LP): Likewise.
11652 (R11_LP): Likewise.
11653 (R12_LP): Likewise.
11654 (R13_LP): Likewise.
11655 (R14_LP): Likewise.
11656 (R15_LP): Likewise.
11658 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11660 * sysdeps/x86_64/x32/dl-machine.h: New file.
11662 2012-05-14 Andreas Jaeger <aj@suse.de>
11664 * manual/Makefile (subdir): Remove export of subdir.
11665 (all): Remove target.
11666 (.PHONY): Remove all from list.
11667 (mkinstalldirs): Remove.
11668 (.PHONY): Remove installdirs from list.
11669 ($(inst_infodir)/libc.info): Use make-target-directory.
11670 (installdirs): Remove.
11671 (subdir_%): Remove.
11672 (glibc-targets): Remove.
11675 ($(objpfx)stubs ../po/manual.pot): Remove.
11676 ($(objpfx)stamp%): Remove.
11677 (make-target-directory): Remove.
11678 (subdir_install): Remove.
11679 (routines): Remove.
11686 * manual/.gitignore: Remove, it's not needed anymore.
11687 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11689 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11691 (texis): Renamed to $(objpfx)texis.
11692 (texis-path): New, contains path to generated files.
11693 (chapters.%): Use texis-path for complete path, add extra argument
11695 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11696 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11697 (summary,texi, stamp-summary): Use complete path of
11698 files. Generate files in build dir.
11699 (dir-add.texi): Build in build dir.
11700 (libm-err.texi,stamp-libm-err): Likewise.
11701 (version.texi, stamp-version): Likewise.
11702 (.%c.texi): Likewise.
11703 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11704 (mostlyclean): Remove target.
11705 (realclean): Remove target.
11706 (generated): Add new variable with contents from mostlyclean and
11707 realclean, remove entries duplicated in common-mostlyclean, add
11708 stamp-libm-err and stamp-version.
11709 (generated-dirs): Add libc directory.
11710 ($(inst_infodir)/libc.info): Install files from build dir.
11712 * manual/install.texi (Configuring and compiling): Adjust since
11713 the info files are not part of the tar ball anymore.
11715 2012-05-14 Andreas Jaeger <aj@suse.de>
11717 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11720 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11723 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11724 to 2.2.0 where earlier.
11725 * sysdeps/unix/sysv/linux/configure: Regenerated.
11726 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11727 Remove conditional code.
11728 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11729 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11730 Remove conditional code.
11731 [!__NR_lchown]: Likewise.
11732 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11733 [__NR_lchown]: Likewise.
11734 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11735 comment referencing __ASSUME_LCHOWN_SYSCALL.
11736 * sysdeps/unix/sysv/linux/i386/sigaction.c
11737 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11738 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11739 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11740 Remove conditional code.
11741 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11742 (__protocol_available): Remove #if 0 code.
11743 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11745 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11746 * sysdeps/unix/sysv/linux/kernel-features.h
11747 (__ASSUME_GETCWD_SYSCALL): Don't define.
11748 (__ASSUME_REALTIME_SIGNALS): Likewise.
11749 (__ASSUME_PREAD_SYSCALL): Likewise.
11750 (__ASSUME_PWRITE_SYSCALL): Likewise.
11751 (__ASSUME_POLL_SYSCALL): Likewise.
11752 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11753 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11755 (__ASSUME_SIOCGIFNAME): Don't define.
11756 (__ASSUME_MSG_NOSIGNAL): Likewise.
11757 (__ASSUME_SENDFILE): Define unconditionally.
11758 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11759 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11761 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11762 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11763 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11764 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11765 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11766 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11767 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11769 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11770 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11772 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11773 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11775 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11776 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11778 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11779 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11781 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11782 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11784 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11785 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11787 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11788 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11790 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11791 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11792 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11793 Remove conditional code.
11794 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11795 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11796 Remove conditional code.
11797 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11798 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11799 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11800 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11801 Remove conditional code.
11802 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11803 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11804 Remove conditional code.
11805 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11806 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11807 Remove conditional code.
11808 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11809 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11810 Remove conditional code.
11811 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11812 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11813 Remove conditional code.
11814 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11815 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11816 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11817 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11818 * sysdeps/unix/sysv/linux/sigaction.c
11819 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11820 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11821 * sysdeps/unix/sysv/linux/sigpending.c
11822 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11823 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11824 * sysdeps/unix/sysv/linux/sigprocmask.c
11825 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11826 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11827 * sysdeps/unix/sysv/linux/sigsuspend.c
11828 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11829 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11830 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11831 (__libc_missing_rt_sigs): Remove.
11832 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11833 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11834 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11835 Remove conditional code.
11836 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11837 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11839 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11840 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11841 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11842 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11844 2012-05-14 Andreas Jaeger <aj@suse.de>
11846 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11847 it's not used in glibc.
11848 (__coshm1): Likewise.
11849 (__acosh1p): Likewise.
11852 * manual/string.texi (Copying and Concatenation): Add missing
11853 variable in concat example.
11854 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11856 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11859 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11860 __builtin_clzl with __builtin_clzll.
11862 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11865 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11868 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11870 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11871 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11872 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11873 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11875 2012-05-14 Mike Frysinger <vapier@gentoo.org>
11877 * NEWS: Update ia64 info.
11879 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11881 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11884 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11886 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11887 * sysdeps/unix/syscalls.list (dup3): Likewise.
11888 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11889 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11891 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11893 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11894 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11896 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11898 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11900 (TLS_IE): Use mov/add instead of movq/addq to load thread
11902 (TLS_GD_PREFIX): New.
11905 2012-05-11 David S. Miller <davem@davemloft.net>
11907 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11908 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11909 (_FPU_SETCW): Likewise.
11911 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11913 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11914 is 32-byte aligned.
11916 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11919 * iconvdata/gb18030.c: Update tables.
11920 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11921 characters specially.
11922 (BODY for TO_LOOP): Add encoding of missing ranges.
11924 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11927 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11928 * sysdeps/mach/hurd/dup3.c: Likewise.
11929 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11930 * sysdeps/powerpc/memmove.c:: Likewise.
11932 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11934 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11935 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11937 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11939 * elf/elf.h (R_X86_64_RELATIVE64): New.
11940 (R_X86_64_NUM): Updated.
11941 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11942 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11943 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11944 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11945 tst-quad1pie tst-quad2pie
11946 (modules-names): Add tst-quadmod1 tst-quadmod2.
11947 ($(objpfx)tst-quad1): New dependency.
11948 ($(objpfx)tst-quad2): Likewise.
11949 ($(objpfx)tst-quad1pie): Likewise.
11950 ($(objpfx)tst-quad2pie): Likewise.
11951 * sysdeps/x86_64/tst-quad1.c: New file.
11952 * sysdeps/x86_64/tst-quad1pie.c: New file.
11953 * sysdeps/x86_64/tst-quad2.c: Likewise.
11954 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11955 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11956 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11957 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11958 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11960 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11962 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11963 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11964 * streams/stropts.h (t_scalar_t): Define type.
11966 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11967 (_PATH_PRESERVE): Set to "/var/lib".
11968 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11970 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11973 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11974 if __dir_mkfile succeeded.
11976 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11977 checking for _hurd_dtablesize. Unlock it right after having
11978 finished _hurd_dtable allocation.
11980 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11982 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11983 * sysdeps/mach/hurd/configure: Regenerated.
11984 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11985 special-casing to...
11986 * sysdeps/gnu/configure.in: ... this new file.
11987 * sysdeps/unix/sysv/linux/configure: Regenerated.
11988 * sysdeps/gnu/configure: New generated file.
11990 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11991 for Linux: use nsec instead of usec, as well as:
11992 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11993 members of type struct timespec.
11994 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11996 (struct stat64): Likewise.
11997 (_STATBUF_ST_NSEC): New macro.
11998 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12000 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12001 __strtoul_internal rather than strtoul.
12003 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12005 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12008 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12010 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12011 which preserves existing values.
12012 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12014 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12016 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12017 TIMEOUT values. Return EINVAL for NFDS values either negative or
12018 greater than FD_SETSIZE.
12020 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12022 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12023 allocated, call __vm_protect to finish enabling the existing space, and
12024 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12025 allocate the remainder.
12027 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12029 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12030 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
12032 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12034 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12035 sysdeps/mach/hurd/readlink.c.
12037 * posix/tst-sysconf.c (posix_options): Only use
12038 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12039 _POSIX_SYNCHRONIZED_IO when they are defined
12040 * sysdeps/mach/hurd/bits/posix_opt.h:
12041 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12042 (_XOPEN_REALTIME): Undefine macro.
12043 (_XOPEN_REALTIME_THREADS): Undefine macro.
12044 (_XOPEN_SHM): Undefine macro.
12045 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12047 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12049 (_POSIX_ASYNC_IO): Undefine macro.
12050 (_POSIX_PRIORITIZED_IO): Undefine macro.
12051 (_POSIX_SPIN_LOCKS): Define macro to -1.
12053 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12054 SA_NODEFER, SA_RESETHAND.
12055 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12056 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12059 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12061 * elf/Makefile (pldd-modules): Define unconditionally.
12063 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12065 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12067 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12069 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12070 Return ENOENT when name is empty.
12071 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12073 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12075 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12077 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12079 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12081 Fix mlock in all cases except non-readable pages.
12082 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12083 instead of VM_PROT_ALL as parameter to __vm_wire function.
12085 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12086 (__mkdir): When path is `/', just fail with EEXIST.
12087 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12089 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12091 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12092 <sys/uio.h> (for writev).
12093 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12094 and <sys/param.h> (for MIN).
12096 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12098 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12099 REQUESTED_TIME. Properly set the remaining time and return EINTR
12102 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12104 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12105 Depend on against $(link-rpcuserlibs).
12107 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12109 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12110 (__libc_stack_end): Do not use attribute_relro.
12111 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12112 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
12113 to libthread-provided value.
12114 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12117 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12120 * bits/libc-lock.h (__libc_once_get): New macro.
12121 * sysdeps/mach/bits/libc-lock.h: Likewise.
12122 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12123 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12124 instead of using implementation details.
12126 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12127 * libio/freopen.c: Likewise.
12128 * libio/freopen64.c: Likewise.
12129 * misc/syslog.c: Likewise.
12130 * nscd/connections.c: Likewise.
12131 * nscd/netgroupcache.c: Likewise.
12132 * sysdeps/posix/getcwd.c: Likewise.
12134 2012-05-10 Roland McGrath <roland@hack.frob.com>
12136 * math/w_ilogbf.c: Add #include <limits.h>.
12138 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12140 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
12141 path instead of returning without unlocking.
12143 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12144 immediate-write ioctls.
12145 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12147 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12149 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12150 __builtin_frame_address instead of making assumptions about the
12151 location of the return address relative to DATA. Force early load of
12152 the return address.
12153 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12154 __builtin_frame_address.
12157 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12158 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12159 implement dup3 and do some further code clean-ups.
12160 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12161 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12163 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12165 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12167 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12168 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12169 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12170 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12171 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12174 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12175 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12176 when handler == SIG_ERR, not when handler != SIG_ERR.
12178 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12180 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12181 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12184 accept4 for GNU Hurd.
12185 * include/sys/socket.h (__libc_accept4): New prototype.
12186 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12187 to implement __libc_accept4.
12188 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12190 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12192 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12193 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12194 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12195 signal-defines.sym.
12197 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12199 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12201 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12203 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12204 assertion on O_CLOEXEC flag.
12205 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12206 * hurd/intern-fd.c: Likewise.
12207 * hurd/port2fd.c: Likewise.
12209 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12212 * bits/in.h (IPV6_PKTINFO): Define new macro.
12213 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12215 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12220 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12221 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12222 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12223 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12225 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12226 * math/libm-test.inc (logb_test) : Additional logb tests.
12228 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12229 Andreas Jaeger <aj@suse.de>
12231 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12232 * configure: Regenerated.
12233 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12234 * config.make.in (link-obsolete-rpc): New substituted variable.
12235 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12236 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12237 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12238 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12239 so that libc.a contains the symbols.
12240 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12241 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12242 * sunrpc/auth_none.c: Likewise.
12243 * sunrpc/auth_unix.c: Likewise.
12244 * sunrpc/authdes_prot.c: Likewise.
12245 * sunrpc/authuxprot.c: Likewise.
12246 * sunrpc/clnt_gen.c: Likewise.
12247 * sunrpc/clnt_perr.c: Likewise.
12248 * sunrpc/clnt_raw.c: Likewise.
12249 * sunrpc/clnt_simp.c: Likewise.
12250 * sunrpc/clnt_tcp.c: Likewise.
12251 * sunrpc/clnt_udp.c: Likewise.
12252 * sunrpc/clnt_unix.c: Likewise.
12253 * sunrpc/des_crypt.c: Likewise.
12254 * sunrpc/des_soft.c: Likewise.
12255 * sunrpc/get_myaddr.c: Likewise.
12256 * sunrpc/key_call.c: Likewise.
12257 * sunrpc/key_prot.c: Likewise.
12258 * sunrpc/netname.c: Likewise.
12259 * sunrpc/pm_getmaps.c: Likewise.
12260 * sunrpc/pm_getport.c: Likewise.
12261 * sunrpc/pmap_clnt.c: Likewise.
12262 * sunrpc/pmap_prot.c: Likewise.
12263 * sunrpc/pmap_prot2.c: Likewise.
12264 * sunrpc/pmap_rmt.c: Likewise.
12265 * sunrpc/publickey.c: Likewise.
12266 * sunrpc/rpc_cmsg.c: Likewise.
12267 * sunrpc/rpc_common.c: Likewise.
12268 * sunrpc/rpc_dtable.c: Likewise.
12269 * sunrpc/rpc_prot.c: Likewise.
12270 * sunrpc/rpc_thread.c: Likewise.
12271 * sunrpc/rtime.c: Likewise.
12272 * sunrpc/svc.c: Likewise.
12273 * sunrpc/svc_auth.c: Likewise.
12274 * sunrpc/svc_raw.c: Likewise.
12275 * sunrpc/svc_run.c: Likewise.
12276 * sunrpc/svc_tcp.c: Likewise.
12277 * sunrpc/svc_udp.c: Likewise.
12278 * sunrpc/svc_unix.c: Likewise.
12279 * sunrpc/svcauth_des.c: Likewise.
12280 * sunrpc/xcrypt.c: Likewise.
12281 * sunrpc/xdr.c: Likewise.
12282 * sunrpc/xdr_array.c: Likewise.
12283 * sunrpc/xdr_float.c: Likewise.
12284 * sunrpc/xdr_intXX_t.c: Likewise.
12285 * sunrpc/xdr_mem.c: Likewise.
12286 * sunrpc/xdr_rec.c: Likewise.
12287 * sunrpc/xdr_ref.c: Likewise.
12288 * sunrpc/xdr_sizeof.c: Likewise.
12289 * sunrpc/xdr_stdio.c: Likewise.
12291 2012-05-10 Roland McGrath <roland@hack.frob.com>
12293 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12294 change. Update copyright years.
12296 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12298 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12300 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12301 Joseph Myers <joseph@codesourcery.com>
12302 Paul Pluzhnikov <ppluzhnikov@google.com>
12305 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12307 [cross-compiling] (extra-libs): Likewise.
12308 [cross-compiling] (extra-libs-others): Likewise.
12309 [cross-compiling] (librpcsvc-routines): Likewise.
12310 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12311 [cross-compiling] (omit-deps): Likewise.
12312 (sunrpc-CPPFLAGS): New variable.
12313 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12314 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12315 (cross-rpcgen-objs): New variable.
12316 (extra-objs): Append $(cross-rpcgen-objs).
12317 ($(cross-rpcgen-objs)): New rule.
12318 ($(objpfx)cross-rpcgen): Likewise.
12319 (rpcgen-cmd): Define to use $(built-program-file). Expand
12321 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12322 ($(objpfx)x%.stmp): Likewise.
12323 * sunrpc/proto.h [IS_IN_build] (_): Define.
12324 [IS_IN_build] (_libc_intl_domainname): Likewise.
12326 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12328 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12329 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12330 and R_X86_64_TPOFF64.
12332 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12334 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12335 sysdeps/unix/sysv/syscalls.list.
12338 * sysdeps/unix/sysv/syscalls.list: Remove file.
12340 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12343 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12344 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12345 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12346 (__LC_IDENTIFICATION): Make these macros useful in #if
12347 expressions, as required by C99.
12349 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12351 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12352 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12355 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12357 * stdlib/longlong.h: Updated from GCC.
12359 2012-05-09 Andreas Jaeger <aj@suse.de>
12361 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12362 default is first entry.
12363 (run_mode): Set type.
12364 (main): Remove informal message about syslog.
12365 (options): Fix typo.
12368 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12371 (llrintf): Likewise.
12372 (llrint): Likewise.
12375 (nearbyint): Likewise.
12376 (nearbyintf): Likewise.
12378 2012-05-09 Andreas Jaeger <aj@suse.de>
12379 Pedro Alves <palves@redhat.com>
12381 * nscd/nscd.c (run_mode): Use enum.
12382 (main): Cleanup coding style issue.
12384 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
12385 Andreas Jaeger <aj@suse.de>
12387 * nscd/nscd.c (go_background): Replaced with...
12388 (run_mode): ... this.
12389 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12390 (options): Add -F --foreground.
12391 (main): Implement it.
12392 (parse_opt): Parse it.
12394 2012-05-09 Andreas Jaeger <aj@suse.de>
12397 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12398 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12399 -Wconversion warning.
12400 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12403 2012-05-09 Joseph Myers <joseph@codesourcery.com>
12405 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12407 (LC_ALL): Use macro-int-constant.
12408 (LC_COLLATE): Likewise.
12409 (LC_CTYPE): Likewise.
12410 (LC_MESSAGES): Likewise.
12411 (LC_MONETARY): Likewise.
12412 (LC_NUMERIC): Likewise.
12413 (LC_TIME): Likewise.
12414 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12415 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12417 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12419 [C99-based standards] (float_t): Expect type.
12420 [C99-based standards] (double_t): Expect type.
12421 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12423 [C99-based standards] (HUGE_VALL): Likewise.
12424 [C99-based standards] (INFINITY): Likewise.
12425 [C99-based standards] (NAN): Likewise.
12426 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12427 [C99-based standards] (FP_NAN): Likewise.
12428 [C99-based standards] (FP_NORMAL): Likewise.
12429 [C99-based standards] (FP_SUBNORMAL): Likewise.
12430 [C99-based standards] (FP_ZERO): Likewise.
12431 [C99-based standards] (FP_FAST_FMA): Use
12432 optional-macro-int-constant. Specify type. Require == 1.
12433 [C99-based standards] (FP_FAST_FMAF): Likewise.
12434 [C99-based standards] (FP_FAST_FMAL): Likewise.
12435 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12436 [C99-based standards] (FP_ILOGBNAN): Likewise.
12437 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12439 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12440 [C99-based standards] (math_errhandling): Specify type.
12441 [ISO99 || ISO11] (signgam): Do not allow.
12442 [non-C99-based standards] (copysignf): Do not allow.
12443 [non-C99-based standards] (exp2f): Likewise.
12444 [non-C99-based standards] (log2f): Likewise.
12445 [non-C99-based standards] (modff): Allow.
12446 [non-C99-based standards] (erff): Do not allow.
12447 [non-C99-based standards] (erfcf): Likewise.
12448 [non-C99-based standards] (gammaf): Likewise.
12449 [non-C99-based standards] (hypotf): Likewise.
12450 [non-C99-based standards] (j0f): Likewise.
12451 [non-C99-based standards] (j1f): Likewise.
12452 [non-C99-based standards] (jnf): Likewise.
12453 [non-C99-based standards] (lgammaf): Likewise.
12454 [non-C99-based standards] (tgammaf): Likewise.
12455 [non-C99-based standards] (y0f): Likewise.
12456 [non-C99-based standards] (y1f): Likewise.
12457 [non-C99-based standards] (ynf): Likewise.
12458 [non-C99-based standards] (isnanf): Likewise.
12459 [non-C99-based standards] (acoshf): Likewise.
12460 [non-C99-based standards] (asinhf): Likewise.
12461 [non-C99-based standards] (atanhf): Likewise.
12462 [non-C99-based standards] (cbrtf): Likewise.
12463 [non-C99-based standards] (expm1f): Likewise.
12464 [non-C99-based standards] (ilogbf): Likewise.
12465 [non-C99-based standards] (log1pf): Likewise.
12466 [non-C99-based standards] (logbf): Likewise.
12467 [non-C99-based standards] (nextafterf): Likewise.
12468 [non-C99-based standards] (remainderf): Likewise.
12469 [non-C99-based standards] (rintf): Likewise.
12470 [non-C99-based standards] (scalbf): Likewise.
12471 [non-C99-based standards] (copysignl): Likewise.
12472 [non-C99-based standards] (exp2l): Likewise.
12473 [non-C99-based standards] (log2l): Likewise.
12474 [non-C99-based standards] (modfl): Allow.
12475 [non-C99-based standards] (erfl): Do not allow.
12476 [non-C99-based standards] (erfcl): Likewise.
12477 [non-C99-based standards] (gammal): Likewise.
12478 [non-C99-based standards] (hypotl): Likewise.
12479 [non-C99-based standards] (j0l): Likewise.
12480 [non-C99-based standards] (j1l): Likewise.
12481 [non-C99-based standards] (jnl): Likewise.
12482 [non-C99-based standards] (lgammal): Likewise.
12483 [non-C99-based standards] (tgammal): Likewise.
12484 [non-C99-based standards] (y0l): Likewise.
12485 [non-C99-based standards] (y1l): Likewise.
12486 [non-C99-based standards] (ynl): Likewise.
12487 [non-C99-based standards] (isnanl): Likewise.
12488 [non-C99-based standards] (acoshl): Likewise.
12489 [non-C99-based standards] (asinhl): Likewise.
12490 [non-C99-based standards] (atanhl): Likewise.
12491 [non-C99-based standards] (cbrtl): Likewise.
12492 [non-C99-based standards] (expm1l): Likewise.
12493 [non-C99-based standards] (ilogbl): Likewise.
12494 [non-C99-based standards] (log1pl): Likewise.
12495 [non-C99-based standards] (logbl): Likewise.
12496 [non-C99-based standards] (nextafterl): Likewise.
12497 [non-C99-based standards] (remainderl): Likewise.
12498 [non-C99-based standards] (rintl): Likewise.
12499 [non-C99-based standards] (scalbl): Likewise.
12500 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12501 [non-C99-based standards] (FP_*): Do not allow.
12502 [C99-based standards] (FP_*): Change to
12503 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12504 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12506 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12507 (SIG_ERR): Likewise.
12508 [X/Open-based standards] (SIG_HOLD): Likewise.
12509 (SIG_IGN): Likewise.
12510 (SIGABRT): Use macro-int-constant. Specify type. Require
12512 (SIGFPE): Likewise.
12513 (SIGILL): Likewise.
12514 (SIGINT): Likewise.
12515 (SIGSEGV): Likewise.
12516 (SIGTER): Likewise.
12517 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12518 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12519 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12520 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12521 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12522 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12523 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12524 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12525 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12526 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12527 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12528 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12529 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12530 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12531 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12532 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12533 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12534 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12535 [X/Open-based standards] (SIGTRAP): Likewise.
12536 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12537 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12538 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12539 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12540 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12543 2012-05-08 Ian Wienand <ianw@vmware.com>
12546 * time/tzset.c (__tzset_parse_tz): Update default rules for
12547 daylight time changes in the Energy Policy Act of 2005.
12549 2012-05-09 Andreas Jaeger <aj@suse.de>
12552 * elf/ldconfig.c (parse_conf): Change string to make clear that
12553 ldconfig only issued a warning if ld.so.conf does not exist.
12555 2012-05-08 David S. Miller <davem@davemloft.net>
12557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12558 movxtod instead of popping the value on the stack.
12560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12562 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12564 * config.h.in: Add HAVE_ARM_PCS_VFP.
12566 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
12569 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12570 checking but the checks are disabled for any reason.
12572 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12574 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12575 and ELF64_R_TYPE with ELFW(R_TYPE).
12577 2012-05-08 Joseph Myers <joseph@codesourcery.com>
12579 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12580 (ulimit): Likewise.
12582 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12583 (settimeofday): Likewise.
12585 2012-05-08 Mike Frysinger <vapier@gentoo.org>
12587 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12588 a struct th_u2 inside the union, and move tu_block/tu_code into
12589 a new th_u3 union of tu_block/tu_code inside of that. Move
12590 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12591 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12592 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12593 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12594 (th_stuff): Change to th_u1.tu_stuff.
12596 (th_msg): Change to th_u1.th_u2.tu_data.
12598 2012-05-07 David S. Miller <davem@davemloft.net>
12600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12603 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12604 (SETUP_PIC_REG): Use it.
12605 (SETUP_PIC_REG_LEAF): Use it.
12607 2012-05-07 Joseph Myers <joseph@codesourcery.com>
12611 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12613 (EXPL_FINITE): Likewise.
12614 (FLDLOG): Likewise.
12615 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12616 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12618 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12620 (EXPL_FINITE): Likewise.
12621 (FLDLOG): Likewise.
12622 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12623 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12625 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12626 test of -max_value argument for long double.
12627 * sysdeps/i386/fpu/libm-test-ulps: Update.
12628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12630 2012-05-06 David S. Miller <davem@davemloft.net>
12632 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12633 quad soft-float symbols whose references which are compiler
12635 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12637 2012-05-06 Joseph Myers <joseph@codesourcery.com>
12641 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12643 (EXPL_FINITE): Likewise.
12644 (FLDLOG): Likewise.
12647 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12648 Adjust comments for base varying.
12649 (__expl_finite): Change alias to EXPL_FINITE.
12650 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12652 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12653 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12654 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12655 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12656 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12658 (EXPL_FINITE): Likewise.
12659 (FLDLOG): Likewise.
12662 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12663 Adjust comments for base varying.
12664 (__expl_finite): Change alias to EXPL_FINITE.
12665 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12670 * math/libm-test.inc (check_float_internal): Correct ulp
12671 calculation for subnormal expected results.
12673 2012-05-06 Andreas Jaeger <aj@suse.de>
12675 * Makeconfig (+math-flags): New, set to -frounding-math.
12676 (+cflags): Add +math-flags so that all of glibc gets compiled with
12679 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12681 2012-05-05 Joseph Myers <joseph@codesourcery.com>
12683 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12689 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12690 (__ieee754_expl): Allow for and saturate large arguments.
12691 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12692 (u_threshold): Likewise.
12693 (__exp): Call __ieee754_exp before checking for overflow and
12695 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12696 (u_threshold): Likewise.
12697 (__expf): Call __ieee754_expf before checking for overflow and
12699 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12700 (u_threshold): Likewise.
12701 (__expl): Call __ieee754_expl before checking for overflow and
12703 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12704 (__ieee754_expl): Allow for and saturate large arguments.
12705 * math/libm-test.inc (exp_test): Add another test. Do not allow
12706 missing overflow exception on overflow.
12707 (expm1_test): Do not allow missing overflow exception on overflow.
12709 * sysdeps/i386/fpu/e_expl.c: Move to ...
12710 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12711 rather than using inline asm.
12712 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12713 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12714 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12716 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12719 (signal): Likewise.
12723 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12725 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12726 sysdeps/unix/common/syscalls.list.
12727 (fchmod): Likewise.
12728 (fchown): Likewise.
12729 (ftruncate): Likewise.
12730 (getrusage): Likewise.
12731 (gettimeofday): Likewise.
12732 (setpgid): Likewise.
12733 (setregid): Likewise.
12734 (setreuid): Likewise.
12735 (sigaction): Likewise.
12736 (truncate): Likewise.
12737 (vhangup): Likewise.
12738 * sysdeps/unix/common/syscalls.list: Remove file.
12739 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12740 * sysdeps/unix/sysv/linux/Implies: Likewise.
12742 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12744 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12746 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12750 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12753 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12756 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12759 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12762 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12765 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12768 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12772 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12776 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12779 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12783 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12787 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12789 * sysdeps/unix/common/bits/dirent.h: Remove file.
12790 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12792 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12793 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12794 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12795 * sysdeps/unix/bsd/isatty.c: Likewise.
12796 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12797 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12798 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12800 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12803 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12804 long double comparison inaccuracies.
12805 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12808 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12810 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12811 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12813 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12816 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12817 nonzero digits before rounding a hex value.
12818 * stdlib/tst-strtod.c (tests): Add another test.
12820 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12822 * sysdeps/s390/fpu/libm-test-ulps: Update.
12824 2012-05-03 Andreas Jaeger <aj@suse.de>
12826 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12827 does not get optimized out.
12828 (malloc_opt_barrier): New.
12830 2012-05-03 Andreas Jaeger <aj@suse.de>
12831 Roland McGrath <roland@hack.frob.com>
12833 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
12834 intermediate file deletion.
12835 (generated): Add .symlist files.
12837 2012-05-03 Joseph Myers <joseph@codesourcery.com>
12840 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12841 Redirect under this condition.
12842 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12843 [__USE_GNU] (__dprintf_chk): Not under this condition.
12844 [__USE_GNU] (__vdprintf_chk): Likewise.
12845 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12846 under this condition.
12847 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12848 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12849 [__USE_XOPEN2K8] (vdprintf): Likewise.
12850 [__USE_GNU] (__dprintf_chk): Not under this condition.
12851 [__USE_GNU] (__vdprintf_chk): Likewise.
12852 [__USE_GNU] (dprintf): Likewise.
12853 [__USE_GNU] (vdprintf): Likewise.
12855 2012-05-03 Roland McGrath <roland@hack.frob.com>
12857 * elf/Makefile (common-generated): Set this instead of generated for
12858 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12859 $(all-built-dso)-derived lists.
12861 2012-05-03 Andreas Jaeger <aj@suse.de>
12863 * sysdeps/i386/fpu/libm-test-ulps: Update.
12866 * FAQ.in: Likewise.
12867 * scripts/gen-FAQ.pl: Likewise.
12868 * manual/install.texi (Installation): Point to online location of
12870 * Makefile (files-for-dist): Remove FAQ.
12873 2012-05-02 Allan McRae <allan@archlinux.org>
12875 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12876 (LDFLAGS-reldepmod5.so): Likewise.
12877 (LDFLAGS-reldep6mod1.so): Likewise.
12878 (LDFLAGS-reldep6mod4.so): Likewise.
12879 (LDFLAGS-reldep8mod3.so): Likewise.
12880 (LDFLAGS-unload4mod1.so): Likewise.
12881 (LDFLAGS-unload4mod2.so): Likewise.
12882 (LDFLAGS-tst-initorder): Likewise.
12883 (LDFLAGS-tst-initordera2.so): Likewise.
12884 (LDFLAGS-tst-initordera3.so): Likewise.
12885 (LDFLAGS-tst-initordera4.so): Likewise.
12886 (LDFLAGS-tst-initorderb2.so): Likewise.
12887 (LDFLAGS-noload): Likewise.
12888 (LDFLAGS-next): Likewise.
12889 (LDFLAGS-order2mod1.so): Likewise.
12890 (LDFLAGS-order2mod2.so): Likewise.
12891 (LDFLAGS-tst-initorder2): Likewise.
12892 (LDFLAGS-tst-initorder2a.so): Likewise.
12893 (LDFLAGS-tst-initorder2b.so): Likewise.
12894 (LDFLAGS-tst-initorder2c.so): Likewise.
12895 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12897 2012-05-02 David S. Miller <davem@davemloft.net>
12899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12901 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12904 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12906 2012-05-02 Andreas Jaeger <aj@suse.de>
12908 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12909 since we manipulate rounding mode.
12910 (CPPFLAGS-test-idouble.c): Likewise.
12911 (CPPFLAGS-test-ifloat.c): Likewise.
12912 (CFLAGS-test-ldouble.c): Likewise.
12913 (CFLAGS-test-double.c): Likewise.
12914 (CFLAGS-test-float.c): Likewise.
12915 (CFLAGS-test-misc.c): Likewise.
12916 (CFLAGS-test-test-fenv.c): Likewise.
12918 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12922 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12923 comparisons to determine direction to adjust input.
12925 2012-05-01 Roland McGrath <roland@hack.frob.com>
12927 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12928 output to the target.
12930 * scripts/localplt.awk: New file.
12931 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12932 (check-localplt-CFLAGS): Variable removed.
12933 ($(all-built-dso:=.jmprel)): New static pattern rule.
12934 (generated): Add those targets.
12935 (localplt-built-dso): New variable.
12936 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12938 * elf/check-localplt.c: File removed.
12940 * scripts/check-execstack.awk: New file.
12941 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12942 (check-execstack-CFLAGS): Variable removed.
12943 ($(objpfx)check-execstack.h): Target removed.
12944 ($(objpfx)execstack-default): New target.
12945 (generated): Add that instead of check-execstack.h.
12946 ($(all-built-dso:=.phdr)): New static pattern rule.
12947 (generated): Add those targets.
12948 * elf/check-execstack.c: File removed.
12950 * scripts/check-textrel.awk: New file.
12951 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12952 (check-textrel-CFLAGS): Variable removed.
12953 (all-built-dso): Use := to define.o
12954 ($(all-built-dso:=.dyn)): New static pattern rule.
12955 (generated): Add those targets.
12956 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12957 * config.make.in (READELF): New substituted variable.
12958 * elf/check-textrel.c: File removed.
12960 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12962 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12964 * conform/data/ctype.h-data [C99-based standards] (isblank):
12966 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12967 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12968 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12969 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12970 Specify type. Require positive value.
12971 (EILSEQ): Likewise.
12972 (ERANGE): Likewise.
12973 [ISO || POSIX] (EILSEQ): Do not expect.
12974 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12975 Specify type. Require positive value.
12976 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12977 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12978 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12979 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12980 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12981 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12982 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12983 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12984 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12985 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12986 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12987 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12988 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12989 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12990 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12991 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12992 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12993 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12994 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12995 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12996 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12997 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12998 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12999 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13000 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13001 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13002 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13003 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13004 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13005 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13006 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13007 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13008 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13009 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13010 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13011 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13012 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13013 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13014 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13015 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13016 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13017 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13018 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13019 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13020 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13021 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13022 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13023 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13024 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13025 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13026 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13027 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13028 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13029 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13030 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13031 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13032 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13033 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13034 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13035 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13036 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13037 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13038 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13039 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13040 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13041 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13042 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13043 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13044 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13045 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13046 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13047 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13048 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13049 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13050 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13051 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13052 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13054 (FLT_ROUNDS): Expect as macro, not constant.
13055 (FLT_MANT_DIG): Use macro-int-constant.
13056 (DBL_MANT_DIG): Likewise.
13057 (LDBL_MANT_DIG): Likewise.
13058 (FLT_DIG): Likewise.
13059 (DBL_DIG): Likewise.
13060 (LDBL_DIG): Likewise.
13061 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13062 (DBL_MIN_EXP): Likewise.
13063 (LDBL_MIN_EXP): Likewise.
13064 (FLT_MAX_EXP): Use macro-int-constant.
13065 (DBL_MAX_EXP): Likewise.
13066 (LDBL_MAX_EXP): Likewise.
13067 (FLT_MAX_10_EXP): Likewise.
13068 (DBL_MAX_10_EXP): Likewise.
13069 (LDBL_MAX_10_EXP): Likewise.
13070 (FLT_MAX): Use macro-constant.
13071 (DBL_MAX): Likewise.
13072 (LDBL_MAX): Likewise.
13073 (FLT_EPSILON): Use macro-constant. Give upper bound.
13074 (DBL_EPSILON): Likewise.
13075 (LDBL_EPSILON): Likewise.
13076 (FLT_MIN): Likewise.
13077 (DBL_MIN): Likewise.
13078 (LDBL_MIN): Likewise.
13079 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13080 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13081 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13082 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13083 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13084 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13085 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13086 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13087 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13088 [ISO11] (FLT_TRUE_MIN): Likewise.
13089 [ISO11] (LDBL_TRUE_MIN): Likewise.
13090 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13091 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13092 (SCHAR_MIN): Use macro-int-constant. Specify type.
13093 (SCHAR_MAX): Likewise.
13094 (UCHAR_MAX): Likewise.
13095 (CHAR_MIN): Likewise.
13096 (CHAR_MAX): Likewise.
13097 (MB_LEN_MAX): Use macro-int-constant.
13098 (SHRT_MIN): Use macro-int-constant. Specify type.
13099 (SHRT_MAX): Likewise.
13100 (USHRT_MAX): Likewise.
13101 (INT_MAX): Likewise.
13102 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13104 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13106 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13108 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13109 bound negative. Suffix upper bound with "L".
13110 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13112 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13114 [C99-based standards] (LLONG_MAX): Likewise.
13115 [C99-based standards] (ULLONG_MAX): Likewise.
13116 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13118 [ISO11] (max_align_t): Require type.
13119 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13121 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13122 from $CFLAGS, without defining away __attribute__ calls.
13123 (checknamespace): Use $CFLAGS_namespace.
13125 * conform/conformtest.pl (@keywords): Only include C99 keywords
13126 for standards based on C99 or C11.
13128 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13130 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13133 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13134 usability of symbols in #if.
13136 * conform/conformtest.pl: If macro or constant types start
13137 "promoted:", expect the symbol to be of the following type
13138 promoted by the integer promotions.
13140 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13141 in one place. Also handle "macro-constant".
13143 * conform/conformtest.pl: Only accept expected macro values with
13144 "==". Parse all "macro" lines in one place.
13145 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13147 * conform/conformtest.pl: Handle braced types on "constant" lines
13148 instead of handling "typed-constant".
13149 * conform/data/signal.h-data: Use "constant" instead of
13152 * conform/conformtest.pl: Handle "optional-" at start of lines in
13153 one place rather than duplicating several cases. Handle each
13154 format of "macro" line with initial "optional-".
13156 * conform/conformtest.pl: Only accept expected constant or
13157 optional-constant values with "==". Parse all "constant" lines in
13158 one place. Parse all "optional-constant" lines in one place.
13159 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13160 * conform/data/fmtmsg.h-data: Likewise.
13161 * conform/data/netinet/in.h-data: Likewise.
13162 * conform/data/tar.h-data: Likewise.
13163 * conform/data/limits.h-data: Use "==" form on "constant" and
13164 "optional-constant" lines.
13166 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13167 Use -std=c99 for XOPEN2K.
13168 (@knownproblems): Remove.
13169 (newtoken): Don't check %isknown.
13171 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13172 Do not expect macro.
13173 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13174 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13175 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13176 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13177 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13178 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13179 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13180 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13181 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13182 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13183 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13184 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13185 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13186 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13187 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13188 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13189 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13190 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13191 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13192 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13193 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13194 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13195 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13196 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13197 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13198 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13199 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13200 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13201 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13202 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13203 [XPG3] (acosh): Likewise.
13204 [XPG3] (asinh): Likewise.
13205 [XPG3] (atanh): Likewise.
13206 [XPG3] (cbrt): Likewise.
13207 [XPG3] (expm1): Likewise.
13208 [XPG3] (ilogb): Likewise.
13209 [XPG3] (log1p): Likewise.
13210 [XPG3] (logb): Likewise.
13211 [XPG3] (nextafter): Likewise.
13212 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13213 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13214 [XPG3] (remainder): Likewise.
13215 [XPG3] (rint): Likewise.
13216 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13217 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13218 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13219 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13220 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13221 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13222 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13223 [UNIX98 || XOPEN2K] (scalb): Expect.
13224 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13225 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13226 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13227 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13228 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13229 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13230 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13231 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13232 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13233 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13234 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13235 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13236 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13237 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13238 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13239 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13240 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13241 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13242 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13243 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13244 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13245 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13246 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13247 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13248 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13249 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13250 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13251 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13252 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13253 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13254 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13255 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13256 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13257 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13258 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13259 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13260 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13261 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13262 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13263 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13264 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13265 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13266 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13267 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13268 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13269 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13270 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13271 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13272 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13273 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13274 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13275 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13276 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13277 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13278 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13279 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13280 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13281 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13282 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13283 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13284 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13285 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13286 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13287 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13288 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13289 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13290 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13291 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13292 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13293 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13294 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13295 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13296 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13297 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13298 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13299 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13300 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13301 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13302 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13303 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13304 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13305 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13306 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13307 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13308 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13309 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13310 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13311 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13312 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13313 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13314 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13315 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13316 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13317 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13318 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13319 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13320 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13321 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13322 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13323 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13324 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13325 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13326 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13327 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13328 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13329 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13330 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13331 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13332 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13333 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13334 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13335 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13336 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13337 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13338 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13339 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13340 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13341 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13342 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13343 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13344 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13345 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13346 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13347 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13348 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13349 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13350 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13351 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13352 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13353 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13354 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13355 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13356 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13357 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13358 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13359 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13360 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13362 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13363 _XOPEN_SOURCE_EXTENDED for XPG4.
13365 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13367 * Makeconfig (localtime): Remove variable.
13368 (inst_localtime-file): Likewise.
13370 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13391 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13395 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13396 comparisons to determine direction to adjust input.
13397 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13398 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13399 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13401 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13403 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13405 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13406 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13408 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13410 * math/libm-test.inc (nexttoward_test): Add more tests.
13412 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13415 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13416 in version GLIBC_2.1, not GLIBC_2.0.
13417 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13420 2012-04-30 Joseph Myers <joseph@codesourcery.com>
13423 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13425 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13426 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13427 * math/libm-test.inc (acos_test): Add more tests.
13428 (asin_test): Likewise.
13429 * sysdeps/i386/fpu/libm-test-ulps: Update.
13430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13433 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13435 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13436 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13437 * math/libm-test.inc (acos_test_tonearest): New function.
13438 (acos_test_towardzero): Likewise.
13439 (acos_test_downward): Likewise.
13440 (acos_test_upward): Likewise.
13441 (asin_test_tonearest): Likewise.
13442 (asin_test_towardzero): Likewise.
13443 (asin_test_downward): Likewise.
13444 (asin_test_upward): Likewise.
13445 (main): Call the new functions.
13446 * sysdeps/i386/fpu/libm-test-ulps: Update.
13447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13451 * math/e_exp10.c: Include <float.h>.
13452 (__ieee754_exp10): Handle underflow here rather than multiplying
13453 large negative argument by M_LN10.
13454 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13456 * math/e_exp10l.c: Include <float.h>.
13457 (__ieee754_exp10l): Handle underflow here rather than multiplying
13458 large negative argument by M_LN10l.
13459 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13460 spurious overflow exception on underflow.
13462 2012-04-29 Marek Polacek <polacek@redhat.com>
13464 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13465 (__fortify_function): New macro.
13466 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13467 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13468 __extern_always_inline.
13469 * libio/bits/stdio2.h: Likewise.
13470 * libio/bits/stdio.h: Likewise.
13471 * string/string.h: Likewise.
13472 * string/bits/string3.h: Likewise.
13473 * include/stdio.h: Likewise.
13474 * stdlib/bits/stdlib.h: Likewise.
13475 * stdlib/stdlib.h: Likewise.
13476 * rt/bits/mqueue2.h: Likewise.
13477 * rt/mqueue.h: Likewise.
13478 * posix/bits/unistd.h: Likewise.
13479 * posix/unistd.h: Likewise.
13480 * io/bits/poll2.h: Likewise.
13481 * io/bits/fcntl2.h: Likewise.
13482 * io/fcntl.h: Likewise.
13483 * io/sys/poll.h: Likewise.
13484 * misc/bits/syslog.h: Likewise.
13485 * misc/bits/syslog-ldbl.h: Likewise.
13486 * misc/sys/syslog.h: Likewise.
13487 * socket/bits/socket2.h: Likewise.
13488 * socket/sys/socket.h: Likewise.
13489 * debug/tst-chk1.c: Likewise.
13490 * wcsmbs/bits/wchar2.h: Likewise.
13491 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13492 * wcsmbs/wchar.h: Likewise.
13494 2012-04-29 Andreas Jaeger <aj@suse.de>
13496 * Makerules (tests): Remove enable-check-abi protection.
13497 (check-abi-warn): Remove.
13498 (check-abi-%): Remove check-abi-warn usage.
13500 * configure.in: Remove check-abi configure option.
13501 * configure: Regenerated.
13502 * config.make.in (enable-check-abi): Remove.
13504 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13507 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13508 double functions to double *_finite functions.
13511 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13512 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13514 * stdio-common/Makefile (tests): Add tst-sprintf3.
13515 * stdio-common/tst-sprintf3.c: New file.
13517 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13518 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13520 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13522 * conform/conformtest.pl: Remove duplicate typed-constant
13525 2012-04-28 David S. Miller <davem@davemloft.net>
13527 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13528 (check-abi-%): Remove AWK script prerequisite and explicit
13530 (check-abi): Rewrite to just diff the symlist with the abilist.
13531 (config-tls, config-abi-config): Delete, no longer used.
13532 (update-abi-%): Remove AWK script and explicit abilist directory.
13533 (update-abi): Rewrite to simply compare and conditionally copy the
13534 symlist and the sysdep abilist file. Remove update-abi-config
13536 * abilist/ld.abilist: Remove.
13537 * abilist/libBrokenLocale.abilist: Remove.
13538 * abilist/libanl.abilist: Remove.
13539 * abilist/libcrypt.abilist: Remove.
13540 * abilist/libdl.abilist: Remove.
13541 * abilist/librt.abilist: Remove.
13542 * abilist/libthread_db.abilist: Remove.
13543 * abilist/libutil.abilist: Remove.
13544 * scripts/extract-abilist.awk: Remove.
13545 * scripts/merge-abilist.awk: Remove.
13546 * sysdeps/generic/libcidn.abilist: New file.
13547 * sysdeps/generic/libnss_compat.abilist: New file.
13548 * sysdeps/generic/libnss_db.abilist: New file.
13549 * sysdeps/generic/libnss_dns.abilist: New file.
13550 * sysdeps/generic/libnss_files.abilist: New file.
13551 * sysdeps/generic/libnss_hesiod.abilist: New file.
13552 * sysdeps/generic/libnss_nis.abilist: New file.
13553 * sysdeps/generic/libnss_nisplus.abilist: New file.
13554 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13555 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13556 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13558 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13559 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13560 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13561 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13562 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13563 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13564 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13565 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13566 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13568 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13569 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13570 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13571 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13573 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13574 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13575 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13576 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13577 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13578 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13580 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13581 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13582 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13584 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13587 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13687 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13688 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13689 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13691 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13692 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13693 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13694 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13695 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13696 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13697 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13698 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13699 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13700 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13752 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13754 * conform/conformtest.pl: Fix typo in handling typed-constant from
13757 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13759 * README: Cut down references to pre-2.6 Linux kernels and
13760 Linuxthreads. Update lists of configurations in libc and ports
13761 and sort alphabetically. Say "or newer" with Linux kernel version
13764 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13766 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13769 * math/libm-test.inc (logb_test_downward): New test to expose
13770 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13773 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13776 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13778 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13779 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13781 2012-04-26 Joseph Myers <joseph@codesourcery.com>
13783 * sysdeps/unix/i386/brk.S: Remove file.
13784 * sysdeps/unix/i386/dl-brk.S: Likewise.
13785 * sysdeps/unix/i386/pipe.S: Likewise.
13786 * sysdeps/unix/i386/sigreturn.S: Likewise.
13787 * sysdeps/unix/i386/syscall.S: Likewise.
13788 * sysdeps/unix/i386/vfork.S: Likewise.
13789 * sysdeps/unix/i386/wait.S: Likewise.
13791 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13792 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13794 * configure.in (arm*-none*): Do not allow without
13795 --enable-hacker-mode.
13796 (netbsd*): Remove case setting base_os.
13797 (386bsd*): Likewise.
13798 (freebsd*): Likewise.
13801 (sunos*): Likewise.
13802 (ultrix*): Likewise.
13803 (newsos*): Likewise.
13804 (dynix*): Likewise.
13810 (minix*): Likewise.
13811 (irix4*): Likewise.
13812 (irix6*): Likewise.
13813 (solaris[2-9]*): Likewise.
13815 * configure: Regenerated.
13817 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13820 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13821 overflow or cancellation in calculating denominator.
13822 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13823 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13824 down expression to avoid unexpected rounding in newer GCCs.
13825 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13827 2012-04-26 David S. Miller <davem@davemloft.net>
13829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13830 long-double compat symbols.
13831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13845 2012-04-25 David S. Miller <davem@davemloft.net>
13847 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13848 HWCAP_* values only after the memory barriers have been defined.
13849 (atomic_full_barrier): Define.
13850 (atomic_read_barrier): Define.
13851 (atomic_write_barrier): Define.
13853 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13855 * shlib-versions: Add libgcc_s version information.
13856 * sysdeps/generic/libgcc_s.h: Remove.
13857 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13859 * sysdeps/gnu/unwind-resume.c: Likewise.
13860 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13862 2012-04-25 David S. Miller <davem@davemloft.net>
13864 * sysdeps/unix/sparc/brk.S: Delete.
13865 * sysdeps/unix/sparc/dl-brk.S: Delete.
13866 * sysdeps/unix/sparc/pipe.S: Delete.
13867 * sysdeps/unix/sparc/sysdep.S: Delete.
13868 * sysdeps/unix/sparc/sysdep.h: Delete.
13869 * sysdeps/unix/sparc/vfork.S: Delete.
13870 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13871 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13872 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13873 ret_ERRVAL, r0, r1, MOVE): Define.
13874 (JUMPTARGET): Remove.
13875 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13876 sysdeps/unix/sparc/sysdep.h
13877 (ENTRY, END): Remove.
13878 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13880 2012-04-25 Joseph Myers <joseph@codesourcery.com>
13882 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13883 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13886 * timezone/README: Update upstream location and email address for
13888 * timezone/zdump.c: Update from tzcode 2012b.
13889 * timezone/zic.c: Likewise.
13891 * configure.in (libc_cv_as_needed): Remove test.
13892 * configure: Regenerated.
13893 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13894 conditional definition.
13895 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13896 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13897 * config.make.in (have-as-needed): Remove variable.
13899 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13900 Paul Pluzhnikov <ppluzhnikov@google.com>
13902 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13905 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13907 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13908 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13909 * sysdeps/sh/strlen.S: Likewise.
13911 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13913 * sysdeps/unix/fork.S: Remove file.
13914 * sysdeps/unix/i386/fork.S: Likewise.
13915 * sysdeps/unix/sparc/fork.S: Likewise.
13917 * sysdeps/unix/system.c: Remove file.
13918 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13920 * sysdeps/unix/getegid.S: Remove file.
13921 * sysdeps/unix/geteuid.S: Likewise.
13923 2012-04-24 Roland McGrath <roland@hack.frob.com>
13925 * scripts/check-localplt.awk: New file.
13926 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13928 * scripts/data/localplt-generic.data: Add a comment.
13930 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13931 NODE when __dir_mkfile failed.
13932 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13933 Reported by Ludovic Courtès <ludo@gnu.org>.
13935 2012-04-24 Andreas Jaeger <aj@suse.de>
13937 * Makerules (common-clean): Also remove gen-as-const-headers
13940 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13942 * Makerules (native-compile): Do not change working directory for
13943 build. Use $(OUTPUT_OPTION) in command.
13944 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13946 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13949 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13950 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13951 * math/libm-test.inc (floor_test): Add more tests.
13952 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13954 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13956 * sysdeps/unix/getdents.c: Remove file.
13957 * sysdeps/unix/sysv/getdents.c: Likewise.
13958 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13960 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13961 sysdeps/unix/mman/syscalls.list.
13963 (mprotect): Likewise.
13965 (munmap): Likewise.
13966 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13967 * sysdeps/unix/mman/syscalls.list: Remove.
13968 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13970 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13971 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13972 * configure: Regenerated.
13973 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13974 $(libgcc_s_suffix).
13975 * config.make.in (libgcc_s_suffix): Remove variable.
13977 2012-04-23 Joseph Myers <joseph@codesourcery.com>
13979 * sysdeps/unix/sysv/gethostname.c: Move to ...
13980 * sysdeps/posix/gethostname.c: ... here.
13982 * sysdeps/unix/execve.S: Remove file.
13984 * sysdeps/unix/_exit.S: Remove file.
13986 2012-04-23 Andreas Jaeger <aj@suse.de>
13989 * manual/Makefile: Remove make dist support, there's no
13990 need for a stand-alone documentation tar ball.
13991 (TEXI2DVI): Define always, it's not in Makeconfig.
13994 (edition): Removed.
13995 (glibc-doc-$(edition).tar): Removed
13999 (ETAGS): Remove, it's in Makeconfig.
14000 (move-if-change): Remove, it's in Makeconfig.
14002 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
14005 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14006 (strtod, strtof, strtold, strtol, strtoul, strtoq)
14007 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14008 (strtod_l, strtof_l, strtold_l): Remove __wur.
14009 It is not necessarily an error to ignore strtol's return value.
14010 One can reliably look at the stored endptr to decide whether
14011 the number had valid syntax.
14013 2012-04-21 Andreas Jaeger <aj@suse.de>
14016 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14018 2012-04-21 Joseph Myers <joseph@codesourcery.com>
14020 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14021 * sysdeps/unix/sysv/Versions: Remove file.
14023 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
14026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14028 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
14031 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14032 version from __vm86.
14034 2012-04-20 Joseph Myers <joseph@codesourcery.com>
14036 * sysdeps/unix/common/lxstat.c: Remove file.
14037 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14039 * sysdeps/unix/sysv/Makefile: Remove file.
14041 * sysdeps/unix/sysv/direct.h: Remove file.
14043 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14044 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14045 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14046 * sysdeps/unix/sysv/bits/signum.h: Likewise.
14047 * sysdeps/unix/sysv/bits/stat.h: Likewise.
14048 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14049 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14051 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14053 * sysdeps/unix/xmknod.c: Remove file.
14054 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14056 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14058 * sysdeps/unix/sysv/i386/time.S: Remove file.
14060 * sysdeps/unix/fxstat.c: Remove file.
14061 * sysdeps/unix/xstat.c: Likewise.
14062 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14064 * sysdeps/unix/sysv/sigaction.c: Remove file.
14066 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14067 (sysdep_headers): Remove variable.
14068 [termio.h not in sysdep_headers] (generated): Likewise.
14069 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14070 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14071 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14072 * sysdeps/unix/sysv/tcflow.c: Likewise.
14073 * sysdeps/unix/sysv/tcflush.c: Likewise.
14074 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14075 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14076 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14077 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14078 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14080 * sysdeps/unix/siglist.c: Remove file.
14082 * sysdeps/unix/getppid.S: Remove file.
14084 * sysdeps/unix/mkdir.c: Remove file.
14085 * sysdeps/unix/rmdir.c: Likewise.
14087 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14089 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14091 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14092 errlist-compat value.
14094 2012-04-18 David S. Miller <davem@davemloft.net>
14096 * sysdeps/generic/memcopy.h (reg_char): Delete.
14097 * debug/strcat_chk.c: Use char, not reg_char.
14098 * debug/strcpy_chk.c: Likewise.
14099 * debug/strncat_chk.c: Likewise.
14100 * debug/strncpy_chk.c: Likewise.
14101 * string/memchr.c: Likewise.
14102 * string/memrchr.c: Likewise.
14103 * string/rawmemchr.c: Likewise.
14104 * string/strcat.c: Likewise.
14105 * string/strchr.c: Likewise.
14106 * string/strchrnul.c: Likewise.
14107 * string/strcmp.c: Likewise.
14108 * string/strcpy.c: Likewise.
14109 * string/strncat.c: Likewise.
14110 * string/strncmp.c: Likewise.
14111 * string/strncpy.c: Likewise.
14113 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14115 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14116 __builtin_memcopy is called when src and dest ranges are known to not
14119 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14121 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14122 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14123 fwd_align_merge macro call.
14124 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14125 bwd_align_merge macro call.
14126 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14128 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14130 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14131 bwd_align_merge macros.
14132 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14133 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14134 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14136 2012-04-18 David S. Miller <davem@davemloft.net>
14138 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14140 2012-04-18 Andreas Jaeger <aj@suse.de>
14143 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14144 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14145 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14147 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14148 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14149 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14151 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14152 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14153 Adjust for changed ldbl-128 files.
14155 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14156 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14157 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14159 2012-04-17 David S. Miller <davem@davemloft.net>
14161 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14163 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14165 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14166 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14167 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14168 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14169 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14170 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14172 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14175 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14176 * math/libm-test.inc: Add ilogb errno and exception tests.
14177 * math/w_ilogb.c: New file: ilogb wrapper.
14178 * math/w_ilogbf.c: New file: ilogbf wrapper.
14179 * math/w_ilogbl.c: New file: ilogbl wrapper.
14180 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14181 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14182 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14183 exception being thrown with 0.0 as argument.
14184 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14185 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14186 exception being thrown with 0.0 as argument.
14187 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14188 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14189 exception being thrown with 0.0 as argument.
14190 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14191 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14192 exception being thrown with 0.0 as argument.
14193 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14194 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14195 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14196 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14197 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14198 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14199 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14200 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14201 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14203 2012-04-17 Petr Baudis <pasky@ucw.cz>
14205 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14208 2012-04-16 Marek Polacek <polacek@redhat.com>
14210 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14212 2012-04-16 Marek Polacek <polacek@redhat.com>
14214 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14215 operands of fdivp instruction.
14217 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14219 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14220 * elf/tst-auditmod3b.c: Likewise.
14221 * elf/tst-auditmod4b.c: Likewise.
14222 * elf/tst-auditmod5b.c: Likewise.
14223 * elf/tst-auditmod6b.c: Likewise.
14224 * elf/tst-auditmod6c.c: Likewise.
14225 * elf/tst-auditmod7b.c: Likewise.
14226 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14227 * sysdeps/x86_64/preconfigure.in: Likewise.
14228 * sysdeps/x86_64/preconfigure: Regenerated.
14230 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14232 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14235 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
14237 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14238 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14240 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14243 * locale/iso-639.def: Fix gl language name. Spotted by
14246 2012-04-12 Roland McGrath <roland@hack.frob.com>
14249 * libio/libio.h (__io_write_fn): Update comment.
14251 2012-04-12 Petr Baudis <pasky@ucw.cz>
14254 * stdio.texi (Hook Functions): The user provided writer function
14255 is not allowed to return -1.
14257 2012-04-11 David S. Miller <davem@davemloft.net>
14259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14261 2012-04-11 Mike Frysinger <vapier@gentoo.org>
14263 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14264 Add a leading slash to rtkaio.
14266 2012-04-11 Jim Meyering <meyering@redhat.com>
14269 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14270 It is not necessarily an error to ignore fwrite's return
14271 value. One can reliably use ferror to test for errors after
14274 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14276 * bits/types.h (__snseconds_t): New type.
14277 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14279 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14280 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14281 (__SNSECONDS_T_TYPE): Likewise.
14282 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14283 (__SNSECONDS_T_TYPE): Likewise.
14284 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14285 (__SNSECONDS_T_TYPE): Likewise.
14287 2012-04-10 Andreas Jaeger <aj@suse.de>
14290 * manual/time.texi (Processor Time): Return type of times is
14291 elapsed real time since an arbitrary point in the past.
14292 (CPU Time): Move CLK_TCK from here...
14293 (Processor Time): ...to here. Correct description.
14294 * manual/conf.texi (Constants for Sysconf): Correct description of
14297 2012-04-10 David S. Miller <davem@davemloft.net>
14300 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14301 where the is a gap between DT_REL(A) and DT_JMPREL.
14303 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14305 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14306 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14307 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14309 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14311 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14312 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14313 (dl_main): Handle --inhibit-cache.
14314 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14316 * elf/dl-load.c (_dl_map_object): Use it.
14317 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14319 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14322 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14323 (__ieee754_powl): Saturate large exponents rather than testing for
14324 overflow of y*log2(x).
14325 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14326 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14330 * math/s_ctan.c: Include <float.h>.
14331 (__ctan): Avoid internal overflow or cancellation in calculating
14333 * math/s_ctanf.c: Likewise.
14334 * math/s_ctanl.c: Likewise.
14335 * math/s_ctanh.c: Likewise.
14336 * math/s_ctanhf.c: Likewise.
14337 * math/s_ctanhl.c: Likewise.
14338 * math/libm-test.inc (ctan_test): Add more tests.
14339 (ctanh_test): Likewise.
14340 * sysdeps/i386/fpu/libm-test-ulps: Update.
14341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14343 2012-04-09 Andreas Jaeger <aj@suse.de>
14346 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14347 is an optional BSD extension.
14350 * manual/stdio.texi (Opening Streams): Document additional fopen
14353 2012-04-09 Roland McGrath <roland@hack.frob.com>
14355 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14356 %eax without telling the compiler.
14358 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14361 * manual/install.texi: Use sourceware.org.
14363 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14366 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14367 (__ieee754_pow): Generate overflow and underflow using huge*huge
14368 and tiny*tiny rather than just returning constant infinity or zero
14369 for large exponents.
14370 * math/libm-test.inc (pow_test): Require overflow exceptions for
14371 applicable cases of large exponents.
14374 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14375 (__ieee754_pow): Use iterative multiplication algorithm only for
14376 integer exponents with absolute value below 1024. Check for odd
14377 integer exponents when using algorithm for real exponents.
14378 * math/libm-test.inc (pow_test): Add more tests.
14379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14381 2012-04-08 Joseph Myers <joseph@codesourcery.com>
14384 * math/libm-test.inc (exp_test): Do not allow overflow exception
14387 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14390 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14391 instead of __kernel_standard_f.
14393 2012-04-08 Mike Frysinger <vapier@gentoo.org>
14395 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14396 * sysdeps/x86_64/memset_chk.S: Likewise.
14398 2012-04-08 Andreas Jaeger <aj@suse.de>
14401 * manual/startup.texi (Environment Access): Describe return value
14402 for putenv and setenv.
14405 * manual/filesys.texi (Directory Entries): Add description for
14409 * manual/filesys.texi (Directory Entries): Clarify that it's file
14410 system not operating system in the description of DT_UNKNOWN.
14413 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14415 2012-04-08 Stephen Compall <s11@member.fsf.org>
14418 * manual/llio.texi (Opening and Closing Files): Add cross
14419 reference to explain mode argument.
14421 2012-04-07 Mike Frysinger <vapier@gentoo.org>
14423 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14424 * sysdeps/x86_64/memset_chk.S: Likewise.
14426 2012-04-07 David S. Miller <davem@davemloft.net>
14428 * elf/elf.h (R_SPARC_WDISP10): Define.
14429 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14431 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14432 R_SPARC_SIZE64 and R_SPARC_H34.
14434 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14436 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14437 conditions and remove no longer applicable assertion.
14439 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14441 * bits/byteswap.h: Include <features.h>.
14442 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14443 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14445 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14447 * bits/byteswap.h (__bswap_16): Removed.
14448 Include <bits/byteswap-16.h> to get __bswap_16.
14449 * sysdeps/i386/bits/byteswap.h: Likewise.
14450 * sysdeps/s390/bits/byteswap.h: Likewise.
14451 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14452 * bits/byteswap-16.h: New file.
14453 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14454 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14455 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14456 * string/Makefile (headers): Add bits/byteswap-16.h.
14458 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14461 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14463 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14464 * nss/tst-nss-static.c: New.
14466 2012-04-06 Robert Millan <rmh@gnu.org>
14469 * manual/llio.texi (File Position Primitive): lseek
14470 refers to WHENCE when it really means OFFSET.
14472 2012-04-06 Andreas Jaeger <aj@suse.de>
14474 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14475 strncmp declarations.
14477 * abilist/libc.abilist: Add __poll and __ppoll.
14479 2012-04-05 David S. Miller <davem@davemloft.net>
14481 * scripts/check-local-headers.sh: Accept a host triplet in the
14482 path matched by the exclude regexp.
14484 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14486 * sysdeps/powerpc/powerpc32/dl-machine.h
14487 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14488 * sysdeps/s390/s390-32/dl-machine.h
14489 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14490 * sysdeps/sparc/sparc32/dl-machine.h
14491 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14492 * sysdeps/sparc/sparc64/dl-machine.h
14493 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14495 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14497 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14498 undefined symbol errors.
14500 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14503 2012-04-05 Michael Matz <matz@suse.de>
14506 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14508 2012-04-05 Andreas Jaeger <aj@suse.de>
14511 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14514 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14516 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14517 which ROUND is no valid rounding mode.
14519 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14521 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14523 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14525 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14527 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14528 an exception using FPU order intentionally.
14530 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14532 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14533 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14534 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14535 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14537 2012-04-05 Simon Josefsson <simon@josefsson.org>
14540 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14541 EINVAL when BUFLEN is too smal.
14543 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14546 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14547 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14549 2012-04-03 Andreas Jaeger <aj@suse.de>
14552 * manual/setjmp.texi (System V contexts): Fix sentence.
14555 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14556 New macro for this case.
14557 [!__GNUC__] (__bswap_64): New inline function for this case.
14558 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14559 * bits/byteswap.h: Likewise.
14560 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14561 ull, guard with __GLIBC_HAVE_LONG_LONG.
14563 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14564 __GLIBC_HAVE_LONG_LONG.
14566 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14567 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14569 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14572 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14573 inptr and inend, rather than using last_ch.
14575 2012-04-02 David S. Miller <davem@davemloft.net>
14577 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14578 * stdio-common/printf-parse.h (read_int): Change return type to
14579 'int', return -1 on INT_MAX overflow.
14580 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14581 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14582 overflows INT_MAX. Check for overflow of in-format-string precision
14583 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14584 SIZE_MAX not INT_MAX for integer overflow test.
14585 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14586 skip the construct in the format string but do not record anything.
14587 * stdio-common/bug22.c: Adjust to test both width/prevision
14588 INT_MAX overflow as well as total length INT_MAX overflow. Check
14589 explicitly for proper errno values.
14591 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14593 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14595 * string/test-strcmp.c [! WIDE]: Likewise.
14596 * time/tst-mktime2.c: Likewise for INT_MAX.
14597 * string/test-string.h: #include <sys/param.h> for MIN.
14599 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14600 * sysdeps/i386/init-first.c (init): Likewise.
14601 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14602 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14603 * sysdeps/sh/init-first.c (init): Likewise.
14605 2012-04-01 Ulrich Drepper <drepper@gmail.com>
14607 * po/ru.po: Update from translation team.
14608 * po/vi.po: Likewise.
14610 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14612 * resolv/nss_dns/dns-host.c: Merge copyright years.
14614 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14616 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14617 Optimize memcpy with prefetch if
14618 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14619 src, dst pointers have unequal 16 byte alignments.
14621 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14624 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14625 from a CNAME entry and return the minimum ttl for the query.
14626 (gaih_getanswer_slice): Likewise.
14628 2012-03-30 Jeff Law <law@redhat.com>
14630 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14632 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14633 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14635 * resolv/nss_dns/dns-host.c: Update copyright year.
14637 2012-03-30 Ulrich Drepper <drepper@gmail.com>
14639 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
14640 requests to save a system call. Fix check that all bytes are sent.
14642 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14643 comments for sendmmsg.
14645 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14648 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14649 with only 1 character between 0x0041 and 0x01b0.
14650 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14651 * wcsmbs/tst-mbsnrtowcs.c: New file.
14653 2012-03-29 David S. Miller <davem@davemloft.net>
14655 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14656 small copies by hand.
14658 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14661 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14662 _nss_compat_initgroups_dyn): Fall back to malloc/free
14663 for large group memberships.
14665 2012-03-28 David S. Miller <davem@davemloft.net>
14667 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14668 that branches into memcpy.
14669 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14670 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14671 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14672 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14673 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14675 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14676 implementation too.
14677 * sysdeps/sparc/mempcpy.S: New file.
14679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14680 the IFUNC routine in the libc case.
14681 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14683 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14684 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14685 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14686 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14687 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14688 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14689 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14690 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14692 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14693 loop to 256 bytes instead of 64 bytes and fix test signedness.
14695 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14696 * sysdeps/sparc/sparc32/Makefile: rather than here...
14697 * sysdeps/sparc/sparc64/Makefile: and here.
14699 2012-03-28 Ulrich Drepper <drepper@gmail.com>
14701 * malloc/mallocbug.c: Avoid warnings about unused variables.
14703 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14706 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14707 in the right place. Discard and retry query if response is
14708 larger than input buffer size.
14710 2012-03-28 Joseph Myers <joseph@codesourcery.com>
14715 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14716 x for large integer exponent.
14717 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14718 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14719 sign of result as needed afterwards.
14720 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14721 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14722 result for underflowing pow the same as for overflow.
14723 (__kernel_standard_l): Handle powl overflow and underflow here
14724 rather than calling __kernel_standard.
14725 * math/libm-test.inc (pow_test): Add more tests.
14740 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14741 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14742 (__kernel_standard_l): New function.
14743 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14745 * math/w_acosl.c (__acosl): Likewise.
14746 * math/w_asinl.c (__asinl): Likewise.
14747 * math/w_atan2l.c (__atan2l): Likewise.
14748 * math/w_atanhl.c (__atanhl): Likewise.
14749 * math/w_coshl.c (__coshl): Likewise.
14750 * math/w_exp10l.c (__exp10l): Likewise.
14751 * math/w_exp2l.c (__exp2l): Likewise.
14752 * math/w_fmodl.c (__fmodl): Likewise.
14753 * math/w_hypotl.c (__hypotl): Likewise.
14754 * math/w_j0l.c (__j0l, __y0l): Likewise.
14755 * math/w_j1l.c (__j1l, __y1l): Likewise.
14756 * math/w_jnl.c (__jnl, __ynl): Likewise.
14757 * math/w_lgammal.c (__lgammal): Likewise.
14758 * math/w_log10l.c (__log10l): Likewise.
14759 * math/w_log2l.c (__log2l): Likewise.
14760 * math/w_logl.c (__logl): Likewise.
14761 * math/w_powl.c (__powl): Likewise.
14762 * math/w_remainderl.c (__remainderl): Likewise.
14763 * math/w_scalbl.c (sysv_scalbl): Likewise.
14764 * math/w_sinhl.c (__sinhl): Likewise.
14765 * math/w_sqrtl.c (__sqrtl): Likewise.
14766 * math/w_tgammal.c (__tgammal): Likewise.
14767 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14768 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14769 * math/libm-test.inc (acos_test): Add more tests.
14770 (acosh_test): Likewise.
14771 (asin_test): Likewise.
14772 (atanh_test): Likewise.
14773 (exp_test): Likewise.
14774 (exp10_test): Likewise.
14775 (exp2_test): Likewise.
14776 (expm1_test): Likewise.
14777 (lgamma_test): Likewise.
14778 (log_test): Likewise.
14779 (log10_test): Likewise.
14780 (log1p_test): Likewise.
14781 (log2_test): Likewise.
14782 (pow_test): Do not allow some spurious overflow exceptions.
14783 (sqrt_test): Add more tests.
14784 (tgamma_test): Likewise.
14785 (y0_test): Likewise.
14786 (y1_test): Likewise.
14787 (yn_test): Likewise.
14789 2012-03-27 Anton Blanchard <anton@samba.org>
14791 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14793 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14794 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14795 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14797 2012-03-27 David S. Miller <davem@davemloft.net>
14799 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14801 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14802 have-as-vis3 check.
14804 2012-03-27 Andreas Jaeger <aj@suse.de>
14806 * sysdeps/x86_64/elf/configure.in: Moved to ...
14807 * sysdeps/x86_64/configure.in: ... here.
14808 * sysdeps/x86_64/elf/start.S: Moved to ...
14809 * sysdeps/x86_64/start.S: ... here.
14810 * sysdeps/x86_64/elf/configure: Delete.
14812 * sysdeps/x86_64/configure.in: Merge contents from
14813 sysdeps/i386/configure.in (without i686 check).
14815 * sysdeps/i386/elf/Versions: Merge into ...
14816 * sysdeps/i386/Versions: ... this.
14817 * sysdeps/i386/elf/Versions: Delete file.
14818 * sysdeps/i386/elf/start.S: Moved to ...
14819 * sysdeps/i386/start.S: ...here.
14820 * sysdeps/i386/elf/configure.in: Merge into...
14821 * sysdeps/i386/configure.in: ...here.
14822 * sysdeps/i386/elf/configure.in: Delete file.
14823 * sysdeps/i386/elf/configure: Delete file.
14825 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14826 * debug/backtracesyms.c: ... here.
14827 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14828 * debug/backtracesymsfd.c: ... here.
14829 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14830 * sysdeps/generic/ifunc-sel.h: ... here.
14832 * sysdeps/unix/i386/start.c: Delete file.
14833 * sysdeps/unix/sparc/start.c: Delete file.
14834 * sysdeps/unix/start.c: Delete file.
14836 * sysdeps/sh/elf/configure.in: Moved to ...
14837 * sysdeps/sh/configure.in: ... here.
14838 * sysdeps/sh/elf/start.S: Moved to ...
14839 * sysdeps/sh/start.S: ... here.
14840 * sysdeps/sh/elf/configure: Delete file.
14842 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14843 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14844 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14845 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14846 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14847 * sysdeps/powerpc/powerpc64/start.S: here.
14848 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14849 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14850 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14851 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14852 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14854 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14855 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14856 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14857 * sysdeps/powerpc/powerpc32/start.S: ... here.
14858 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14859 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14860 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14862 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14863 * sysdeps/powerpc/ifunc-sel.h: ... here.
14864 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14865 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14867 * sysdeps/sparc/elf/configure.in: Moved to ...
14868 * sysdeps/sparc/configure.in: ... here.
14869 * sysdeps/sparc/elf/configure: Delete file.
14870 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14871 * sysdeps/sparc/sparc32/start.S: ... here.
14872 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14873 * sysdeps/sparc/sparc64/start.S: ... here.
14874 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14875 * sysdeps/sparc/sparc32/Makefile: ... this.
14876 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14877 * sysdeps/sparc/sparc64/Makefile: ... this.
14879 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14880 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14881 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14882 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14883 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14884 * sysdeps/s390/s390-32/setjmp.S: ... here.
14885 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14886 * sysdeps/s390/s390-32/configure.in: ... here.
14887 * sysdeps/s390/s390-32/elf/configure: Delete file.
14888 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14889 * sysdeps/s390/s390-32/start.S: ... here.
14891 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14892 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14893 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14894 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14895 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14896 * sysdeps/s390/s390-64/setjmp.S: ... here.
14897 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14898 * sysdeps/s390/s390-64/configure.in: ... here
14899 * sysdeps/s390/s390-64/elf/configure: Delete file.
14900 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14901 * sysdeps/s390/s390-64/start.S: ... here.
14902 * sysdeps/s390/s390-64/elf/configure: Delete.
14904 * configure.in: Remove support for elf directories in sysdeps.
14906 * configure: Regenerated.
14907 * sysdeps/i386/configure: Regenerated.
14908 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14909 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14910 * sysdeps/s390/s390-32/configure: Regenerated.
14911 * sysdeps/s390/s390-64/configure: Regenerated.
14912 * sysdeps/sh/configure: Regenerated.
14913 * sysdeps/sparc/configure: Regenerated.
14914 * sysdeps/x86_64/configure: Regenerated.
14916 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14920 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14921 denormal result into account.
14923 2012-03-25 Roland McGrath <roland@hack.frob.com>
14925 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14926 Reported by Allan McRae <allan@archlinux.org>.
14928 2012-03-23 Jeff Law <law@redhat.com>
14930 * nss/getnssent.c (__nss_getent): Fix typo.
14932 2012-03-23 David S. Miller <davem@davemloft.net>
14934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14936 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14938 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14939 to pad to uint64_t for each field.
14940 (dl_tls_index): Replace unsigned long with uint64_t.
14942 2012-03-23 Daniel Jacobowitz <dmj@google.com>
14943 Paul Pluzhnikov <ppluzhnikov@google.com>
14946 * grp/Makefile (otherlibs): Don't set it.
14947 * inet/Makefile (otherlibs): Likewise.
14948 * login/Makefile (otherlibs): Likewise.
14949 * nscd/Makefile (otherlibs): Likewise.
14950 * posix/Makefile (otherlibs): Likewise.
14951 * pwd/Makefile (otherlibs): Likewise.
14952 * rt/Makefile (otherlibs): Likewise.
14953 * sunrpc/Makefile (otherlibs): Likewise.
14954 * nss/Makefile (otherlibs): Likewise.
14955 Add libnss_files to routines and static-only-routines.
14956 ($(objpfx)getent): Remove rule.
14957 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14958 static-only-routines.
14960 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14963 * math/s_cexp.c: Include <float.h>.
14964 (__cexp): Handle exp result overflowing not necessarily
14965 overflowing both real and imaginary parts of result.
14966 * math/s_cexpf.c: Likewise.
14967 * math/s_cexpl.c: Likewise.
14968 * math/libm-test.inc (cexp_test): Add more tests.
14969 * sysdeps/i386/fpu/libm-test-ulps: Update.
14970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14972 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14974 * include/link.h (ELFW): New macro.
14975 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14976 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14978 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14980 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14983 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14985 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14987 (struct La_x32_retval): Likewise.
14989 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14991 * sysdeps/x86_64/preconfigure.in: New file.
14992 * sysdeps/x86_64/preconfigure: New generated file.
14994 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14997 * math/e_exp2l.c: Include <float.h>.
14998 (__ieee754_exp2l): Handle overflow and underflow cases
14999 separately. Only pass fractional part of argument to
15001 * math/libm-test.inc (exp2_test): Add more tests.
15003 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15004 negating x to take absolute value.
15005 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15007 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15008 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15010 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15011 computing low part if x was negated.
15012 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15014 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15016 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15017 la_x32_gnu_pltexit.
15018 (pltexit): Cast int_retval to ptrdiff_t.
15019 * elf/tst-auditmod3b.c: Likewise.
15020 * elf/tst-auditmod4b.c: Likewise.
15021 * elf/tst-auditmod5b.c: Likewise.
15022 * elf/tst-auditmod6b.c: Likewise.
15023 * elf/tst-auditmod6c.c: Likewise.
15024 * elf/tst-auditmod7b.c: Likewise.
15026 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15027 and x32_gnu_pltexit.
15029 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15030 __ELF_NATIVE_CLASS.
15031 (La_x32_regs): New macro.
15032 (La_x32_retval): Likewise.
15033 (la_x32_gnu_pltenter): New function prototype.
15034 (la_x32_gnu_pltexit): Likewise.
15036 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
15038 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15043 * configure.in (libc_cv_cc_nofma): Check for option to disable
15044 generation of FMA instructions.
15045 * configure: Regenerate.
15046 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15047 * sysdeps/ieee754/dbl-64/Makefile: New file.
15048 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15049 Remove brandred-fma4.
15050 (CFLAGS-brandred-fma4.c): Remove.
15051 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15052 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15054 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15057 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15059 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15060 LLONG_MAX != LONG_MAX.
15061 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15062 (_fitoa_word): Likewise.
15063 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15064 LLONG_MAX != LONG_MAX.
15065 * stdio-common/_itowa.h: Include <_itoa.h>.
15066 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15067 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15068 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15069 only if not defined.
15070 (_ITOA_WORD_TYPE): Likewise.
15071 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15072 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15074 2012-03-21 David S. Miller <davem@davemloft.net>
15076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15078 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15080 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15081 of x86_64 when setting libc_cv_slibdir, libdir and
15083 * sysdeps/unix/sysv/linux/configure: Regenerated.
15085 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15087 * manual/lang.texi (Old Varargs): Remove section.
15088 (How Variadic): Update menu.
15089 (va_start): Do not mention varargs.h.
15091 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15092 Joseph Myers <joseph@codesourcery.com>
15094 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15096 * configure: Regenerated.
15098 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15100 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15101 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15104 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15107 * Makefile (files-for-dist): Remove NOTES.
15108 (NOTES): Remove rule.
15109 * README: Don't refer to NOTES.
15110 * manual/creature.texi: Don't include macros.texi.
15111 * manual/intro.texi (creature.texi): Remove comment referring to
15114 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15115 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15116 * configure: Regenerated.
15117 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15118 LIBC_TRY_CC_OPTION.
15119 (libc_cv_as_i686): Likewise.
15120 (libc_cv_cc_avx): Likewise.
15121 (libc_cv_cc_sse2avx): Likewise.
15122 (libc_cv_cc_fma4): Likewise.
15123 (libc_cv_cc_novzeroupper): Likewise.
15124 * sysdeps/i386/configure: Regenerated.
15127 * sysdeps/i386/fpu/s_cexp.S: Remove.
15128 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15129 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15130 * math/libm-test.inc (cexp_test): Add more tests.
15131 * sysdeps/i386/fpu/libm-test-ulps: Update.
15132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15134 2012-03-21 Allan McRae <allan@archlinux.org>
15136 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15138 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15141 * math/w_exp2.c: Do not include <float.h>.
15142 (o_threshold, u_threshold): Remove.
15143 (__exp2): Calculate result before checking finiteness and calling
15145 * math/w_exp2f.c: Likewise.
15146 * math/w_exp2l.c: Likewise.
15147 * math/libm-test.inc (exp2_test): Require overflow exception for
15151 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15152 range of signed 64-bit integers before using fistpll. Remove
15153 checks for whether integers fit in mantissa bits.
15154 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15155 the range of signed 32-bit integers before using fistpl. Remove
15156 checks for whether integers fit in mantissa bits.
15157 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15158 (__ieee754_powl): Test for y outside the range of signed 64-bit
15159 integers before using fistpll. Reduce 64-bit values to 63-bit
15161 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15162 divide-by-zero is raised for zero to large negative powers.
15163 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15164 (__ieee754_powl): Test for y outside the range of signed 64-bit
15165 integers before using fistpll. Reduce 64-bit values to 63-bit
15167 * math/libm-test.inc (pow_test): Add more tests.
15169 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15171 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15172 <stdio-common/_itoa.h>.
15173 * debug/segfault.c: Likewise.
15174 * elf/dl-cache.c: Likewise.
15175 * elf/dl-minimal.c: Likewise.
15176 * elf/dl-misc.c: Likewise.
15177 * elf/dl-sysdep.c: Likewise.
15178 * elf/dl-version.c: Likewise.
15179 * elf/rtld.c: Likewise.
15180 * hurd/hurdsock.c: Likewise.
15181 * hurd/lookup-retry.c: Likewise.
15182 * malloc/malloc.c: Likewise.
15183 * malloc/mtrace.c: Likewise.
15184 * nscd/nscd_getgr_r.c: Likewise.
15185 * nscd/nscd_getpw_r.c: Likewise.
15186 * nscd/nscd_getserv_r.c: Likewise.
15187 * posix/getopt_init.c: Likewise.
15188 * posix/wordexp.c: Likewise.
15189 * stdio-common/_itoa.c: Likewise.
15190 * stdio-common/printf_fphex.c: Likewise.
15191 * stdio-common/vfprintf.c: Likewise.
15192 * string/_strerror.c: Likewise.
15193 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15194 * sysdeps/i386/i686/hp-timing.h: Likewise.
15195 * sysdeps/mach/_strerror.c: Likewise.
15196 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15197 * sysdeps/mach/hurd/sethostid.c: Likewise.
15198 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15199 * sysdeps/mach/xpg-strerror.c: Likewise.
15200 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15201 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15202 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15203 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15204 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15205 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15206 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15207 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15208 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15209 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15210 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15211 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15212 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15213 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15214 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15215 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15216 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15217 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15218 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15219 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15220 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15222 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15224 * stdio-common/_itoa.h: Moved to ...
15225 * sysdeps/generic/_itoa.h: Here.
15227 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15229 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15230 instead of "_itoa.h" and "_itowa.h".
15231 * stdio-common/vfprintf.: Likewise.
15233 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15235 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15237 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15238 (__signbit): Likwise.
15239 (llrintf): Likwise.
15242 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15244 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15247 2012-03-20 Joseph Myers <joseph@codesourcery.com>
15249 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15250 OVERFLOW_EXCEPTION_OK.
15251 * math/libm-test.inc ("Philosophy"): Update comment about
15253 (OVERFLOW_EXCEPTION): Define.
15254 (OVERFLOW_EXCEPTION_OK): Likewise.
15255 (INVALID_EXCEPTION_OK): Renumber.
15256 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15257 (IGNORE_ZERO_INF_SIGN): Likewise.
15258 (test_exceptions): Handle FE_OVERFLOW.
15259 (exp10_test): Expect overflow exceptions.
15260 (exp2_test): Likewise.
15261 (expm1_test): Likewise.
15262 (nextafter_test): Likewise.
15263 (pow_test): Likewise.
15264 (scalbn_test): Likewise.
15265 (scalbln_test): Likewise.
15267 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15269 * sysdeps/x86_64/bits/atomic.h
15270 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15272 (atomic_exchange_acq): Likewise.
15273 (__arch_exchange_and_add_body): Likewise.
15274 (__arch_add_body): Likewise.
15275 (atomic_add_negative): Likewise.
15276 (atomic_add_zero): Likewise.
15278 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15280 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15281 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15283 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15285 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15286 Check __x86_64__ instead of __WORDSIZE.
15288 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15290 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15292 2012-03-19 David S. Miller <davem@davemloft.net>
15294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15296 * sysdeps/sparc/fpu/fenv_private.h: New file.
15297 * sysdeps/sparc/fpu/math_private.h: Use it.
15298 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15300 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15301 (libc_feholdexcept_setroundl): Remove.
15302 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15304 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15305 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15307 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15309 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15310 int64_t instead of long int.
15311 (INSERT_WORDS64): Likwise.
15313 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15315 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15316 _Unwind_GetCFA return to _Unwind_Ptr first.
15318 2012-03-19 Joseph Myers <joseph@codesourcery.com>
15321 * math/s_clog.c: Include <float.h>.
15322 (__clog): Scale large or subnormal inputs.
15323 * math/s_clogf.c: Likewise.
15324 * math/s_clogl.c: Likewise.
15325 * math/s_clog10.c: Include <float.h>.
15326 (M_LOG10_2): Define.
15327 (__clog10): Scale large or subnormal inputs.
15328 * math/s_clog10f.c: Likewise.
15329 * math/s_clog10l.c: Likewise.
15330 * math/libm-test.inc (clog_test): Add more tests.
15331 (clog10_test): Likewise.
15332 * sysdeps/i386/fpu/libm-test-ulps: Update.
15333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15336 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15338 * math/libm-test.inc (atan2_test): Add another test.
15340 * Makerules (common-objdir-compile): Remove.
15341 * sysdeps/unix/Makefile (config-generated): Do not add
15342 $(unix-generated) to variable.
15343 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15344 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15346 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15348 [generic bits/local_lim.h] (before-compile): Do not append to
15350 [generic bits/local_lim.h] (common-generated): Likewise.
15351 [generic sys/param.h] (before-compile): Do not append to variable.
15352 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15353 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15354 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15355 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15357 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15358 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15359 [generic sys/param.h] ($(addprefix
15360 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15361 [generic sys/param.h] (common-generated): Do not append to
15363 [generic sys/param.h] (sysdep_headers): Likewise.
15364 [generic bits/errno.h] (before-compile): Do not append to
15366 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15368 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15369 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15370 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15371 [generic bits/errno.h] (common-generated): Do not append to
15373 [generic bits/ioctls.h] (before-compile): Do not append to
15375 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15377 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15378 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15379 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15381 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15382 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15383 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15384 [generic bits/ioctls.h] (common-generated): Do not append to
15386 [generic sys/syscall.h] (syscall.h): Remove variable.
15387 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15389 [generic sys/syscall.h] (before-compile): Do not append to
15391 [generic sys/syscall.h] (common-generated): Likewise.
15392 * sysdeps/unix/errnos-tmpl.c: Remove file.
15393 * sysdeps/unix/errnos.awk: Likewise.
15394 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15395 * sysdeps/unix/ioctls.awk: Likewise.
15396 * sysdeps/unix/mk-local_lim.c: Likewise.
15397 * sysdeps/unix/snarf-ioctls: Likewise.
15399 2012-03-19 Richard Henderson <rth@twiddle.net>
15401 * sysdeps/i386/fpu/fenv_private.h: New file.
15402 * sysdeps/i386/fpu/math_private.h: Use it.
15403 (math_opt_barrier, math_force_eval): Remove.
15404 (libc_feholdexcept_setround_53bit): Remove.
15405 (libc_feupdateenv_53bit): Remove.
15406 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15407 (math_opt_barrier, math_force_eval): Remove.
15408 (libc_feholdexcept): Remove.
15409 (libc_feholdexcept_setround): Remove.
15410 (libc_fetestexcept, libc_fesetenv): Remove.
15411 (libc_feupdateenv_test): Remove.
15412 (libc_feupdateenv, libc_feholdsetround): Remove.
15413 (libc_feresetround): Remove.
15415 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15416 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15418 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15419 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15420 (libc_feupdateenv_testl): New.
15421 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15422 (libc_feupdateenv_testf): New.
15423 (libc_feupdateenv): Use libc_feupdateenv_test.
15424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15425 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15427 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15428 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15429 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15430 (libc_feresetround_noex): New.
15431 (libc_feresetround_noexf): New.
15432 (libc_feresetround_noexl): New.
15433 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15434 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15435 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15436 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15438 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15439 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15441 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15442 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15443 SET_RESTORE_ROUND_NOEX.
15444 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15445 SET_RESTORE_ROUND_NOEXF.
15446 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15447 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15448 (libc_feholdsetroundf): New.
15449 (libc_feresetround, libc_feresetroundf): New.
15451 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15452 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15453 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15455 * sysdeps/generic/math_private.h: Include <fenv.h>.
15456 (default_libc_feholdexcept): New.
15457 (default_libc_feholdexcept_setround): New.
15458 (default_libc_fesetenv, default_libc_feupdateenv): New.
15459 (libc_feholdexcept): Only define if undefined.
15460 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15461 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15462 (libc_feholdexcept_setroundl): Likewise.
15463 (libc_feholdexcept_setround_53bit): Likewise.
15464 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15465 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15466 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15467 (libc_feupdateenv_53bit): Likewise.
15468 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15469 (libc_feholdexcept): Convert from macro to inline function.
15470 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15471 (libc_fesetenv, libc_feupdateenv): Likewise.
15473 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15474 not previously defined.
15475 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15476 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15477 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15478 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15479 * sysdeps/ieee754/flt-32/math_private.h: New file.
15480 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15481 math_private.h below SET_FLOAT_WORD.
15482 (__isnan, __isinf_ns, __finite): Remove.
15483 (__isnanf, __isinf_nsf, __finitef): Remove.
15485 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15489 2012-03-17 David S. Miller <davem@davemloft.net>
15492 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15495 2012-03-16 David S. Miller <davem@davemloft.net>
15497 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15501 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15503 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15504 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15505 sysdep_routines when subdir is sysvipc.
15506 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15507 __getshmlba helper.
15509 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15511 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15513 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15516 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15518 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15519 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15520 (__lround): Renamed to ...
15521 (__llround): This. Replace long int with long long int.
15522 Define lround functions as aliases of llround functions.
15523 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15525 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15527 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15528 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15529 adresses to uintptr_t. Replace "long int" and "unsigned long
15530 int" with "greg_t" on va_arg.
15532 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15534 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15535 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15537 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15538 Move e_machine check before EI_CLASS check. Handle x32
15539 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15540 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15541 SKIP_EM_IA_64 and include
15542 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15544 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15545 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15546 (add_system_dir): New macro.
15548 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15549 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15551 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15562 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15564 * math/w_j0f.c (j0f): Likewise.
15566 * math/w_j0l.c (__j0l): Likewise.
15568 * math/w_j1.c (j1): Likewise.
15570 * math/w_j1f.c (j1f): Likewise.
15572 * math/w_j1l.c (__j1l): Likewise.
15574 * math/w_jn.c (jn): Likewise.
15576 * math/w_jnf.c (jnf): Likewise.
15578 * math/w_jnl.c (__jnl): Likewise.
15580 * math/libm-test.inc (j0_test): Add more tests.
15581 (j1_test): Likewise.
15582 (jn_test): Likewise. Add trailing semicolon to existing test.
15583 (y0_test): Likewise.
15584 (y1_test): Likewise.
15585 * sysdeps/i386/fpu/libm-test-ulps: Update.
15586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15590 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15591 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15592 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15593 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15594 (__tanl): Set errno for infinite argument.
15595 * sysdeps/i386/fpu/mptan.c: Remove.
15596 * sysdeps/i386/fpu/s_tan.S: Likewise.
15597 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15598 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15599 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15600 * math/libm-test.inc (tan_test): Add more tests and enable more
15601 tests for double and long double.
15602 * sysdeps/i386/fpu/libm-test-ulps: Update.
15603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15605 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15607 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15608 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15610 2012-03-16 Roland McGrath <roland@hack.frob.com>
15612 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15613 * configure.in: Use it for both main tree and add-ons.
15614 * configure: Regenerated.
15616 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15618 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15620 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15622 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15626 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15627 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15628 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15629 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15630 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15632 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15633 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15634 != 0 for prec == 2.
15635 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15636 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15637 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15638 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15639 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15640 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15641 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15642 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15643 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15644 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15645 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15646 * math/libm-test.inc (cos_test): Add more tests and enable more
15647 tests for long double.
15648 (sin_test): Likewise.
15649 (sincos_test): Likewise.
15650 * sysdeps/i386/fpu/libm-test-ulps: Update.
15651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15653 2012-03-16 David S. Miller <davem@davemloft.net>
15655 * sysdeps/sparc/fpu/math_private.h: New file.
15657 2012-03-15 David S. Miller <davem@davemloft.net>
15659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
15662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15669 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15673 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15674 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15676 * sysdeps/sparc/sparc-ifunc.h: New file.
15677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
15693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15703 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15704 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15719 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15722 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15724 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15728 2012-03-15 Andreas Jaeger <aj@suse.de>
15731 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15732 ieee754/flt-32 implementation for sin, cos and sincos.
15733 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15734 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15735 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15736 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15737 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15738 ieee754/flt-32 implementation for tan.
15740 * math/libm-test.inc (cos_test): Enable some large input tests for
15742 (sin_test): Likewise.
15743 (sincos_test): Likewise.
15744 (tan_test): Add tests for large input.
15746 * sysdeps/i386/fpu/libm-test-ulps: Update.
15748 2012-03-15 Andreas Jaeger <aj@suse.de>
15751 * math/libm-test.inc (cos_test): Add more test cases.
15752 (sin_test): Likewise.
15753 (sincos_test): Likewise.
15755 2012-03-15 Andreas Jaeger <aj@suse.de>
15758 * math/libm-test.inc (cos_test): Add a test case for large input
15760 (sin_test): Likewise.
15761 (sincos_test): Likewise.
15763 2012-03-15 Andreas Jaeger <aj@suse.de>,
15764 Joseph Myers <joseph@codesourcery.com>
15767 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
15768 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15769 * sysdeps/i386/fpu/branred.c: Likewise.
15770 * sysdeps/i386/fpu/dosincos.c: Likewise.
15771 * sysdeps/i386/fpu/mpa.c: Likewise.
15772 * sysdeps/i386/fpu/s_cos.S: Likewise.
15773 * sysdeps/i386/fpu/s_sin.S: Likewise.
15774 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15775 * sysdeps/i386/fpu/sincos32.c: Likewise.
15777 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15779 (libc_feupdateenv_53bit): Define.
15780 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15782 (libc_feupdateenv_53bit): Define.
15784 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15785 53 bit (without extend i386 double precision).
15787 * math/libm-test.inc (sincos_test): Add tests for large input.
15791 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15793 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15797 2012-03-15 David S. Miller <davem@davemloft.net>
15799 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15800 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15801 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15802 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
15814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
15817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
15820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
15823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15826 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15827 fmin/fmax sysdep routines.
15828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15830 2012-03-14 David S. Miller <davem@davemloft.net>
15832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15836 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15837 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15838 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15839 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15840 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15844 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15852 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15853 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15854 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15855 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15856 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15857 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15858 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15859 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
15860 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
15865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
15868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
15871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
15874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
15877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
15892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
15895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
15898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
15901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15904 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15909 * sysdeps/sparc/configure.in: New file.
15910 * sysdeps/sparc/configure: Generate.
15911 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15912 * configure: Regenerate.
15913 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15914 * config.make.in (have-as-vis3): New.
15915 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15916 available use -Av9d instead of -Av9a.
15917 * sysdeps/sparc/sparc64/Makefile: Likewise.
15918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
15919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15927 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15928 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15930 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15931 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15933 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15934 fzeros/fnegs to load 0x80000000 into a float register instead of
15936 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15938 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15942 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15943 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15944 ($(inst_includedir)/bits/syscall.h): Remove rule.
15945 ($(objpfx)bits/syscall.d): Include instead of
15946 $(objpfx)syscall-list.d.
15947 (generated): Change syscall-list.h and syscall-list.d to
15948 bits/syscall.h and bits/syscall.d.
15950 2012-03-14 Roland McGrath <roland@hack.frob.com>
15953 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15955 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15958 * math/s_csqrt.c: Include <float.h>.
15959 (__csqrt): Scale large or subnormal inputs.
15960 * math/s_csqrtf.c: Likewise.
15961 * math/s_csqrtl.c: Likewise.
15962 * math/libm-test.inc (csqrt_test): Add more tests.
15963 * sysdeps/i386/fpu/libm-test-ulps: Update.
15964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15967 * math/libm-test.inc (hypot_test): Add more tests.
15969 2012-03-13 David S. Miller <davem@davemloft.net>
15972 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15973 double-precision for the calculation instead of scaling.
15975 2012-03-13 Joseph Myers <joseph@codesourcery.com>
15977 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15978 manipulate bits before adding and subtracting TWO52[sx].
15979 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15980 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15982 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15984 2012-03-13 David S. Miller <davem@davemloft.net>
15986 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15987 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15988 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15989 rtld-global-offsets.h
15990 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15992 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15995 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15997 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15998 'err' in the ifdef scope in which it is actually used.
16000 * nss/nss_db/db-init.c: Include string.h
16002 2012-03-12 David S. Miller <davem@davemloft.net>
16004 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16005 masking out of the most significant byte of random value used.
16006 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16007 Fix coding style in previous change.
16009 * sysdeps/unix/sysv/linux/kernel-features.h
16010 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16011 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16013 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16016 2012-03-11 David S. Miller <davem@davemloft.net>
16018 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16019 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16020 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16021 for 'resultvar' otherwise things get truncated on 64-bit.
16023 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16024 Fix masking out of the most significant byte of random value used.
16026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16028 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
16030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16032 2012-03-09 David S. Miller <davem@davemloft.net>
16034 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16035 variables with appropriate CPP guards.
16036 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16037 frame pointer, not the stack pointer. Correct layout comments. Fix test
16038 on resulting framesize and the management of the outregs buffer for pltexit.
16039 Preserve floating point return values across _dl_call_pltexit call.
16040 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16041 framesize and the management of the outregs buffer for pltexit.
16042 Preserve floating point return values across _dl_call_pltexit
16044 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16045 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16046 (print_exit): Fix format string for return register value.
16048 2012-03-10 Joseph Myers <joseph@codesourcery.com>
16050 * sunrpc/Makefile (others): Add rpcgen.
16051 ($(objpfx)rpcgen): Remove special build rule and dependency on
16053 * sunrpc/rpcgen.c: New file.
16055 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16058 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16059 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16060 * sysdeps/i386/crti.S: Likewise.
16061 * sysdeps/i386/crtn.S: Likewise.
16062 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16063 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16064 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16065 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16066 * sysdeps/sh/crti.S: Likewise.
16067 * sysdeps/sh/crtn.S: Likewise.
16068 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16071 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16073 * locale/programs/locfile-kw.gperf: Likewise.
16074 * locale/programs/charmap-kw.h: Regenerated.
16075 * locale/programs/locfile-kw.h: Likewise.
16078 * intl/plural.y: Replace FSF snail mail address with URL.
16079 * intl/plural.c: Regenerated.
16081 2012-03-09 Richard Henderson <rth@twiddle.net>
16083 * include/math_private.h: Remove file.
16084 * math/math_private.h: Move file ...
16085 * sysdeps/generic/math_private.h: ... here.
16087 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16088 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16089 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16091 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
16092 and <math_private.h>.
16093 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16094 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16095 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16096 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16097 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16098 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16099 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16100 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16101 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16102 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16103 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16104 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16105 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16106 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16107 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16108 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16109 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16110 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16111 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16112 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16113 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16114 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16115 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16116 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16117 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16118 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16119 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16120 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16121 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16122 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16123 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16124 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16125 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16126 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16127 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16128 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16129 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16130 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16131 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16132 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16133 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16134 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16135 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16136 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16137 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16138 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16139 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16140 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16141 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16142 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16143 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16144 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16145 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16146 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16147 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16148 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16149 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16150 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16151 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16152 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16153 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16154 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16155 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16156 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16157 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16158 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16159 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16160 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16161 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16162 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16163 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16164 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16165 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16166 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16167 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16168 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16170 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16171 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16172 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16173 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16174 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16175 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16176 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16177 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16178 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16179 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16180 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16181 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16182 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16183 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16184 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16185 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16186 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16187 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16188 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16189 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16190 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16191 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16192 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16193 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16194 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16195 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16196 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16197 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16198 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16199 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16200 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16201 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16202 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16203 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16204 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16205 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16206 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16207 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16208 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16209 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16210 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16211 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16212 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16213 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16214 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16215 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16216 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16217 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16218 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16219 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16220 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16221 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16222 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16223 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16224 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16225 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16226 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16227 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16228 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16229 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16230 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16231 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16232 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16233 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16234 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16235 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16236 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16237 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16238 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16239 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16240 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16241 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16242 * sysdeps/ieee754/k_standard.c: Likewise.
16243 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16244 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16245 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16246 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16247 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16248 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16249 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16250 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16251 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16252 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16253 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16254 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16255 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16256 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16257 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16258 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16259 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16260 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16261 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16262 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16263 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16264 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16265 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16266 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16267 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16268 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16269 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16270 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16271 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16272 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16273 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16274 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16275 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16276 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16277 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16278 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16279 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16280 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16281 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16282 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16283 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16284 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16285 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16286 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16287 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16288 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16289 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16290 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16291 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16292 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16293 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16294 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16295 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16296 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16297 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16298 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16299 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16300 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16301 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16302 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16303 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16304 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16305 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16306 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16307 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16308 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16309 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16310 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16311 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16312 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16313 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16314 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16315 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16316 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16317 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16318 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16319 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16320 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16321 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16322 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16323 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16324 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16325 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16326 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16327 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16328 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16329 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16330 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16331 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16332 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16333 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16334 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16335 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16336 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16337 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16338 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16339 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16340 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16341 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16342 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16343 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16344 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16345 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16346 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16347 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16348 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16349 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16350 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16351 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16352 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16353 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16354 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16355 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16356 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16357 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16358 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16359 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16360 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16361 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16362 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16363 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16364 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16365 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16366 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16367 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16368 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16369 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16370 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16371 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16372 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16373 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16374 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16375 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16376 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16377 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16378 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16379 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16380 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16381 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16382 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16383 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16384 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16385 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16386 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16387 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16388 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16389 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16390 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16391 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16392 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16393 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16394 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16395 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16396 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16397 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16398 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16399 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16400 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16401 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16402 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16403 * sysdeps/ieee754/s_lib_version.c: Likewise.
16404 * sysdeps/ieee754/s_matherr.c: Likewise.
16405 * sysdeps/ieee754/s_signgam.c: Likewise.
16406 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16407 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16408 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16409 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16410 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16411 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16412 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16413 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16414 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16415 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16416 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16417 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16418 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16419 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16420 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16421 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16422 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16423 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16424 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16425 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16426 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16428 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16430 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16431 * sunrpc/rpc_main.c: Likewise.
16432 * sunrpc/rpc_svcout.c: Likewise.
16434 2012-03-09 David S. Miller <davem@davemloft.net>
16436 * include/math_private.h: New file.
16438 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16440 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16441 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16442 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16443 from <bits/socket_type.h>.
16444 (enum __socket_type): Don't define here.
16445 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16447 bits/socket_type.h.
16450 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16451 checking __USE_GNU.
16453 * Makerules ($(inst_includedir)/%.h): New rule.
16454 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16455 (install-others): Remove variable setting.
16456 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16458 2012-03-08 Richard Henderson <rth@twiddle.net>
16460 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16461 from macro to inline function; merge with the
16462 !__LIBC_INTERNAL_MATH_INLINES version.
16463 (__ieee754_sqrtf): Likewise.
16465 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16466 to inline function.
16467 (__rintf, __floor, __floorf): Likewise.
16469 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16470 macro to inline function.
16471 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16473 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16474 not <math/math_private.h>.
16476 2012-03-08 David S. Miller <davem@davemloft.net>
16478 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16480 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16482 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16484 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16486 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16487 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16489 2012-03-08 Ulrich Drepper <drepper@gmail.com>
16491 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16492 be defined individually, they must be defined as a block. Define
16493 S for printing a string instead of hidint the different by using a
16494 macro for adding the 'l'.
16495 * stdio-common/tst-fphex-wide.c: Adjust.
16497 2012-03-07 Marek Polacek <polacek@redhat.com>
16499 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16501 2012-03-08 Marek Polacek <polacek@redhat.com>
16504 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16505 * stdio-common/tst-fphex.c: Define a few macros to make the
16506 test reusable. Use them.
16507 * stdio-common/tst-fphex-wide.c: New file.
16509 2012-03-08 Joseph Myers <joseph@codesourcery.com>
16512 * manual/macros.texi (gnusystems): New macro.
16513 (nongnusystems): Likewise.
16514 (gnulinuxhurdsystems): Likewise.
16515 (gnuhurdsystems): Likewise..
16516 (gnulinuxsystems): Likewise.
16517 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16518 variants of the GNU system, not "GNU system".
16519 * manual/conf.texi: Likewise.
16520 * manual/errno.texi: Likewise. Update example of errno macro
16522 * manual/filesys.texi: Likewise.
16523 (getumask): Document as specific to GNU/Hurd.
16524 * manual/install.texi: Likewise. Reword some references to
16526 * manual/intro.texi: Likewise.
16527 * manual/io.texi: Likewise.
16528 (File Name Portability): Detail which constraints are inapplicable
16529 to all GNU systems and which are only inapplicable to GNU/Hurd.
16530 * manual/job.texi: Likewise.
16531 * manual/llio.texi: Likewise.
16532 (O_NOCTTY): Document as present on GNU/Linux.
16533 * manual/maint.texi: Likewise.
16534 * manual/memory.texi: Likewise.
16535 * manual/pattern.texi: Likewise.
16536 * manual/pipe.texi: Likewise.
16537 * manual/process.texi: Likewise.
16538 * manual/resource.texi: Likewise.
16539 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16541 * manual/setjmp.texi: Likewise.
16542 * manual/signal.texi: Likewise.
16543 * manual/startup.texi: Likewise.
16544 * manual/stdio.texi: Likewise.
16545 * manual/terminal.texi: Likewise.
16546 (ONLCR): Document as POSIX.
16547 (OXTABS): Document availability on GNU/Linux as XTABS.
16548 (ONOEOT): Document availability separately from other bits.
16549 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16550 * manual/time.texi: Likewise.
16551 * manual/users.texi: Likewise.
16552 * INSTALL: Regenerated.
16553 * sysdeps/gnu/errlist.c: Regenerated.
16555 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16556 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16557 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16559 * configure: Regenerated.
16561 2012-03-07 Joseph Myers <joseph@codesourcery.com>
16563 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16564 default includes instead of AC_HEADER_CHECK.
16565 * sysdeps/i386/configure: Regenerated.
16568 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16569 * math/s_cacoshf.c (__cacoshf): Likewise.
16570 * math/s_cacoshl.c (__cacoshl): Likewise.
16571 * math/s_casinh.c (__casinh): Set signs of result from argument.
16572 * math/s_casinhf.c (__casinhf): Likewise.
16573 * math/s_casinhl.c (__casinhl): Likewise.
16574 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16575 (casinh_test): Add more tests.
16576 * sysdeps/i386/fpu/libm-test-ulps: Update.
16577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16579 2012-03-07 Ulrich Drepper <drepper@gmail.com>
16581 * po/zh_TW.po: Update from translation team.
16583 * login/Makefile (distribute): Remove variable.
16584 * catgets/Makefile: Likewise.
16585 * mach/Makefile: Likewise.
16586 * malloc/Makefile: Likewise.
16587 * misc/Makefile: Likewise.
16588 * iconv/Makefile: Likewise.
16589 * nscd/Makefile: Likewise.
16590 * hurd/Makefile: Likewise.
16591 * manual/Makefile: Likewise.
16592 * locale/Makefile: Likewise.
16593 * intl/Makefile: Likewise.
16594 * conform/Makefile: Likewise.
16595 * nss/Makefile: Likewise.
16596 * time/Makefile: Likewise.
16597 * soft-fp/Makefile: Likewise.
16598 * dirent/Makefile: Likewise.
16599 * gmon/Makefile: Likewise.
16600 * po/Makefile: Likewise.
16601 * rt/Makefile: Likewise.
16602 * socket/Makefile: Likewise.
16603 * math/Makefile: Likewise.
16604 * signal/Makefile: Likewise.
16605 * debug/Makefile: Likewise.
16606 * elf/Makefile: Likewise.
16607 * timezone/Makefile: Likewise.
16608 * stdlib/Makefile: Likewise.
16609 * iconvdata/Makefile: Likewise.
16610 * sunrpc/Makefile: Likewise.
16611 * io/Makefile: Likewise.
16612 * argp/Makefile: Likewise.
16613 * inet/Makefile: Likewise.
16614 * hesiod/Makefile: Likewise.
16615 * grp/Makefile: Likewise.
16616 * csu/Makefile: Likewise.
16617 * wctype/Makefile: Likewise.
16618 * crypt/Makefile: Likewise.
16619 * libio/Makefile: Likewise.
16620 * string/Makefile: Likewise.
16621 * nis/Makefile: Likewise.
16622 * resolv/Makefile: Likewise.
16623 * stdio-common/Makefile: Likewise.
16624 * wcsmbs/Makefile: Likewise.
16625 * dlfcn/Makefile: Likewise.
16626 * posix/Makefile: Likewise.
16629 * timezone/Makefile: Don't install timezone files, just the programs
16632 2012-03-06 Ulrich Drepper <drepper@gmail.com>
16634 * nss/databases.def: Add missing gshadow entry.
16636 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16638 2012-03-06 Marek Polacek <polacek@redhat.com>
16641 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16642 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16643 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16644 * stdio-common/tst-long-dbl-fphex.c: New file.
16646 2012-03-06 David S. Miller <davem@davemloft.net>
16648 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16649 (set_obp_int): New function.
16650 (get_obp_int): New function.
16651 (__get_clockfreq_via_dev_openprom): Likewise.
16652 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16653 Avoid unused variable warnings on 'val' and use builtin_expect.
16654 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16656 (INLINE_CLONE_SYSCALL): Likewise.
16658 2012-03-05 David S. Miller <davem@davemloft.net>
16660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16662 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16666 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16667 only for |x| >= 40.
16668 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16670 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
16672 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16673 Replace gettimeofday with __vdso_gettimeofday.
16675 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16676 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16677 __vdso_clock_gettime and __vdso_getcpu.
16679 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16680 time with __vdso_time.
16682 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16684 * manual/lang.texi (size_t): Note types to which size_t may be
16685 equivalent with the GNU C Library, but do not describe when
16686 differences between them are significant.
16688 2012-03-05 Andreas Jaeger <aj@suse.de>
16690 * sysdeps/i386/fpu/libm-test-ulps: Update.
16692 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16695 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16696 (__ieee754_pow): Save and restore rounding mode and use
16697 round-to-nearest for main computations.
16698 * math/libm-test.inc (pow_test_tonearest): New function.
16699 (pow_test_towardzero): Likewise.
16700 (pow_test_downward): Likewise.
16701 (pow_test_upward): Likewise.
16702 (main): Call the new functions.
16703 * sysdeps/i386/fpu/libm-test-ulps: Update.
16704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16707 * math/libm-test.inc (cosh_test_tonearest): New function.
16708 (cosh_test_towardzero): Likewise.
16709 (cosh_test_downward): Likewise.
16710 (cosh_test_upward): Likewise.
16711 (sinh_test_tonearest): Likewise.
16712 (sinh_test_towardzero): Likewise.
16713 (sinh_test_downward): Likewise.
16714 (sinh_test_upward): Likewise.
16715 (main): Call the new functions.
16716 * sysdeps/i386/fpu/libm-test-ulps: Update.
16717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16719 2012-03-05 Tom de Vries <tom@codesourcery.com>
16721 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16722 default stack guard is set in last bytes.
16723 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16725 2012-03-05 Kees Cook <keescook@chromium.org>
16727 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
16730 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16731 possibly allocate from heap instead of stack.
16732 * stdio-common/bug-vfprintf-nargs.c: New file.
16733 * stdio-common/Makefile (tests): Add nargs overflow test.
16735 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16739 2012-03-03 Marek Polacek <polacek@redhat.com>
16741 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16742 * math/math_private.h: Likewise.
16743 * stdlib/tst-strtod.c: Likewise.
16744 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16745 * sysdeps/x86_64/bits/atomic.h: Likewise.
16747 2012-03-02 David S. Miller <davem@davemloft.net>
16749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16753 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16754 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16755 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16756 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16758 2012-03-02 Roland McGrath <roland@hack.frob.com>
16761 * manual/examples/README: New file, says the example source files
16762 can be used under GPL>=2.
16763 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16764 line containing just "*/".
16765 * manual/examples/add.c: Add copyright header (GPL>=2).
16766 * manual/examples/argp-ex1.c: Likewise.
16767 * manual/examples/argp-ex2.c: Likewise.
16768 * manual/examples/argp-ex3.c: Likewise.
16769 * manual/examples/argp-ex4.c: Likewise.
16770 * manual/examples/atexit.c: Likewise.
16771 * manual/examples/db.c: Likewise.
16772 * manual/examples/dir.c: Likewise.
16773 * manual/examples/dir2.c: Likewise.
16774 * manual/examples/execinfo.c: Likewise.
16775 * manual/examples/filecli.c: Likewise.
16776 * manual/examples/filesrv.c: Likewise.
16777 * manual/examples/fmtmsgexpl.c: Likewise.
16778 * manual/examples/genpass.c: Likewise.
16779 * manual/examples/inetcli.c: Likewise.
16780 * manual/examples/inetsrv.c: Likewise.
16781 * manual/examples/isockad.c: Likewise.
16782 * manual/examples/longopt.c: Likewise.
16783 * manual/examples/memopen.c: Likewise.
16784 * manual/examples/memstrm.c: Likewise.
16785 * manual/examples/mkfsock.c: Likewise.
16786 * manual/examples/mkisock.c: Likewise.
16787 * manual/examples/mygetpass.c: Likewise.
16788 * manual/examples/pipe.c: Likewise.
16789 * manual/examples/popen.c: Likewise.
16790 * manual/examples/rprintf.c: Likewise.
16791 * manual/examples/search.c: Likewise.
16792 * manual/examples/select.c: Likewise.
16793 * manual/examples/setjmp.c: Likewise.
16794 * manual/examples/sigh1.c: Likewise.
16795 * manual/examples/sigusr.c: Likewise.
16796 * manual/examples/stpcpy.c: Likewise.
16797 * manual/examples/strdupa.c: Likewise.
16798 * manual/examples/strftim.c: Likewise.
16799 * manual/examples/strncat.c: Likewise.
16800 * manual/examples/subopt.c: Likewise.
16801 * manual/examples/swapcontext.c: Likewise.
16802 * manual/examples/termios.c: Likewise.
16803 * manual/examples/testopt.c: Likewise.
16804 * manual/examples/testpass.c: Likewise.
16805 * manual/examples/timeval_subtract.c: Likewise.
16808 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16810 * manual/timeval_subtract.c.texi: ... here, new file.
16812 2012-03-02 David S. Miller <davem@davemloft.net>
16814 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16816 2012-03-02 Joseph Myers <joseph@codesourcery.com>
16819 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16820 (__sin): Save and restore rounding mode and use round-to-nearest
16821 for all computations.
16822 (__cos): Save and restore rounding mode and use round-to-nearest
16823 for all computations.
16824 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16826 (tan): Save and restore rounding mode and use round-to-nearest for
16828 * math/libm-test.inc (cos_test_tonearest): New function.
16829 (cos_test_towardzero): Likewise.
16830 (cos_test_downward): Likewise.
16831 (cos_test_upward): Likewise.
16832 (sin_test_tonearest): Likewise.
16833 (sin_test_towardzero): Likewise.
16834 (sin_test_downward): Likewise.
16835 (sin_test_upward): Likewise.
16836 (tan_test_tonearest): Likewise.
16837 (tan_test_towardzero): Likewise.
16838 (tan_test_downward): Likewise.
16839 (tan_test_upward): Likewise.
16840 (main): Call the new functions.
16841 * sysdeps/i386/fpu/libm-test-ulps: Update.
16842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16845 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16846 small n, then large n, before computing and testing k+n.
16847 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16848 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16850 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16852 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16853 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16854 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16855 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16856 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16857 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16858 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16859 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16860 * math/libm-test.inc (scalbn_test): Add more tests.
16861 (scalbln_test): Likewise.
16863 * manual/filesys.texi (mode_t): Describe constraints on size and
16864 signedness, not exact equivalence to a particular type.
16866 (ino64_t): Likewise.
16868 (nlink_t): Likewise.
16869 (blkcnt_t): Likewise.
16870 (blkcnt64_t): Likewise.
16871 * manual/llio.texi (off_t): Likewise.
16874 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16875 (__ieee754_exp): Save and restore rounding mode and use
16876 round-to-nearest for all computations.
16877 * math/libm-test.inc (exp_test_tonearest): New function.
16878 (exp_test_towardzero): Likewise.
16879 (exp_test_downward): Likewise.
16880 (exp_test_upward): Likewise.
16881 (main): Call the new functions.
16882 * sysdeps/i386/fpu/libm-test-ulps: Update.
16883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16885 2012-03-01 Chris Demetriou <cgd@google.com>
16887 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16888 have predictable order.
16890 2012-03-01 David S. Miller <davem@davemloft.net>
16892 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16894 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16895 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16896 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16897 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16899 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16900 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16901 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16903 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16904 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16905 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16906 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16907 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16911 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16912 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16913 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16915 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16916 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16917 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16918 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16919 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16920 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16921 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16922 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16923 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16924 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16925 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16926 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16927 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16928 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16929 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16930 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16931 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16932 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16933 * sysdeps/sparc/elf/configure: Regenerated.
16935 2012-03-01 Joseph Myers <joseph@codesourcery.com>
16937 * configure.in (AS, LD): Require binutils 2.20 or later.
16938 * configure: Regenerated.
16939 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16940 as required minimum version.
16941 * INSTALL: Regenerated.
16945 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16946 before squaring exponent.
16947 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16948 bottom long double and 27 bits of top long double before squaring
16950 * math/libm-test.inc (erfc_test): Add more tests.
16951 * sysdeps/i386/fpu/libm-test-ulps: Update.
16952 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16955 2012-03-01 Kai Tietz <ktietz@redhat.com>
16957 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16958 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16959 containing bit-fields.
16960 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16961 * soft-fp/single.h (_FP_UNION_S): Likewise.
16962 * soft-fp/double.h (_FP_UNION_D): Likewise.
16964 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16967 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16968 not include ../strcmp.S.
16969 [USE_AS_STRNCASECMP_L]: Likewise.
16970 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16971 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16972 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16973 (__strncasecmp_l_ia32): Define as alias to
16974 __strncasecmp_l_nonascii.
16977 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16978 * sysdeps/i386/fpu/libm-test-ulps: Update.
16979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16981 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16984 2012-02-29 Jeff Law <law@redhat.com>
16986 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16987 out of bounds read.
16989 2012-02-29 Marek Polacek <polacek@redhat.com>
16992 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16993 * elf/Makefile: Add rules to run tst-unused-dep.out.
16995 2012-02-28 David S. Miller <davem@davemloft.net>
16997 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16998 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16999 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17000 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17001 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17002 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17004 2012-02-29 Joseph Myers <joseph@codesourcery.com>
17006 * math/libm-test.inc (llround_test): Move one test from
17007 lround_test. Use TEST_f_L in moved test.
17008 (lround_test): Move misplaced test to llround_test. Add testcase
17011 2012-02-28 Ulrich Drepper <drepper@gmail.com>
17013 * sysdeps/x86_64/fpu/e_expf.S: New file.
17014 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17016 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
17019 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17020 of remain_len that may cause incomplete multi-byte character and
17022 * posix/bug-regex33.c: New file.
17023 * posix/Makefile (tests): Add bug-regex33.
17025 2012-02-28 Joseph Myers <joseph@codesourcery.com>
17027 * manual/macros.texi: New file.
17028 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17029 * manual/libc.texinfo: Include macros.texi.
17030 * manual/creatute.texi: Likewise.
17031 * manual/install.texi: Likewise.
17032 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17033 @glibcadj{} in references to the GNU C Library.
17034 * manual/charset.texi: Likewise.
17035 * manual/conf.texi: Likewise.
17036 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
17037 when not using those macros.
17038 * manual/creature.texi: Likewise.
17039 * manual/crypt.texi: Likewise.
17040 * manual/errno.texi: Likewise.
17041 * manual/filesys.texi: Likewise.
17042 * manual/header.texi: Likewise.
17043 * manual/install.texi: Likewise.
17044 * manual/intro.texi: Likewise.
17045 * manual/io.texi: Likewise.
17046 * manual/job.texi: Likewise.
17047 * manual/lang.texi: Likewise.
17048 * manual/libc.texiinfo: Likewise.
17049 * manual/llio.texi: Likewise.
17050 * manual/locale.texi: Likewise.
17051 * manual/maint.texi: Likewise.
17052 * manual/math.texi: Likewise.
17053 * manual/memory.texi: Likewise.
17054 * manual/message.texi: Likewise.
17055 * manual/nss.texi: Likewise.
17056 * manual/pattern.texi: Likewise.
17057 * manual/process.texi: Likewise.
17058 * manual/resource.texi: Likewise.
17059 * manual/search.texi: Likewise.
17060 * manual/setjmp.texi: Likewise.
17061 * manual/signal.texi: Likewise.
17062 * manual/socket.texi: Likewise.
17063 * manual/startup.texi: Likewise.
17064 * manual/stdio.texi: Likewise.
17065 * manual/string.texi: Likewise.
17066 * manual/sysinfo.texi: Likewise.
17067 * manual/syslog.texi: Likewise.
17068 * manual/terminal.texi: Likewise.
17069 * manual/time.texi: Likewise.
17070 * manual/users.texi: Likewise.
17071 * INSTALL: Regenerated.
17072 * NOTES: Regenerated.
17073 * sysdeps/gnu/errlist.c: Regenerated.
17075 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17077 * include/dirent.h: Include <dirstream.h> before
17080 2012-02-28 David S. Miller <davem@davemloft.net>
17082 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17083 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17084 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17085 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17087 2012-02-27 David S. Miller <davem@davemloft.net>
17089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17091 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17092 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17095 frame pointer instead of stack pointer relative arg slot.
17096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17097 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17098 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17100 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17103 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17105 2012-02-27 David S. Miller <davem@davemloft.net>
17107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17111 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17112 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17113 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17114 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17116 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17118 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17119 later. Allow versions 5-9.
17120 * configure: Regenerated.
17121 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17122 required minimum version and 4.6 as recommended version. Do not
17123 mention bugs in GCC 2.7 and 2.8.
17124 * INSTALL: Regenerated.
17126 2012-02-27 David S. Miller <davem@davemloft.net>
17128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17132 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17133 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17134 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17135 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17137 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17138 manipulate bits before adding and subtracting TWO112[sx].
17139 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17141 2012-02-27 Roland McGrath <roland@hack.frob.com>
17144 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17145 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17146 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17147 being in POSIX, because they are in 1003.1-2008.
17149 * rt/tst-aio.c: Include <fcntl.h>.
17150 * rt/tst-aio7.c: Likewise.
17151 * rt/tst-aio64.c: Likewise.
17153 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17155 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17157 * manual/install.texi (--with-headers): Describe headers as
17158 interface headers, not private headers.
17159 (Specific advice for GNU/Linux systems): Describe use of headers
17160 from "make headers_install", not private headers from older
17162 * INSTALL: Regenerated.
17163 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17165 * sysdeps/unix/sysv/linux/configure: Regenerated.
17167 * manual/llio.texi (fclean): Remove documentation.
17169 * manual/Makefile (libc-texi-generated): New variable. Include
17171 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17172 $(libc-texi-generated), not duplicated list of files.
17173 (version.texi, stamp-version): New rules.
17174 (realclean): Remove $(libc-texi-generated), not individual files
17175 from that list. Do not remove dir-add.texinfo.
17176 * manual/libc.texinfo: Comment out uses of edition numbers and
17177 references to printed manual. Remove last-updated dates.
17178 (EDITION): Comment out.
17180 (VERSION, UPDATED): Remove.
17181 (version.texi): Include.
17183 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17185 * sysdeps/posix/spawni.c: Include <signal.h>.
17186 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17187 * sysdeps/pthread/aio_fsync.c: Likewise.
17189 2012-02-26 Ulrich Drepper <drepper@gmail.com>
17191 * conform/Makefile (tests): Run only when not cross-compiling and
17192 when fast-check is not defined.
17194 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17195 * conform/data/limits.h-data: Fixes for POSIX2008.
17196 * conform/run-conformtest.sh: Run all tests.
17197 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17199 * include/bits/dlfcn.h: Likewise.
17200 * include/langinfo.h: Likewise.
17201 * include/monetary.h: Likewise.
17202 * include/sys/poll.h: Likewise.
17204 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17206 * posix/spawn.h: Define __need_sigset_t.
17207 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17208 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17209 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17210 to get sigevent_t only.
17211 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17212 only for __USE_GNU.
17213 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17214 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17215 process_vm_writev only for __USE_GNU.
17216 * termios/termios.h: Declare tcgetsid also for POSIX2008.
17218 * conform/Makefile: For now ignore errors from run-conformtest.
17219 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17220 POSIX to avoid namespace pollution. Don't prepend headers.
17221 * conform/data/aio.h-data: Fixes for POSIX testing.
17222 * conform/data/fcntl.h-data: Likewise.
17223 * conform/data/glob.h-data: Likewise.
17224 * conform/data/grp.h-data: Likewise.
17225 * conform/data/pthread.h-data: Likewise.
17226 * conform/data/pwd.h-data: Likewise.
17227 * conform/data/signal.h-data: Likewise.
17228 * conform/data/spawn.h-data: Likewise.
17229 * conform/data/stdio.h-data: Likewise.
17230 * conform/data/stdlib.h-data: Likewise.
17231 * conform/data/stropts.h-data: Likewise.
17232 * conform/data/sys/mman.h-data: Likewise.
17233 * conform/data/sys/stat.h-data: Likewise.
17234 * conform/data/sys/types.h-data: Likewise.
17235 * conform/data/sys/wait.h-data: Likewise.
17236 * conform/data/time.h-data: Likewise.
17237 * conform/data/unistd.h-data: Likewise.
17238 * conform/data/utime.h-data: Likewise.
17240 * io/sys/stat.h: fchmod was always in POSIX.
17241 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17242 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17243 * rt/aio.h: Define __need_timespec before including <time.h>.
17244 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17245 struct. Add forward declaration of pthread_attr_t and use it in
17247 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17248 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17249 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17250 always remove CLK_TCK definition.
17252 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17254 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17256 2012-02-25 Ulrich Drepper <drepper@gmail.com>
17258 * conform/run-conformtest.sh: New file.
17259 * conform/Makefile: Run run-conformtest for tests.
17260 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17263 * conform/data/uchar.h-data: New file.
17264 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17265 * conform/data/arpa/inet.h-data: Likewise.
17266 * conform/data/assert.h-data: Likewise.
17267 * conform/data/complex.h-data: Likewise.
17268 * conform/data/cpio.h-data: Likewise.
17269 * conform/data/ctype.h-data: Likewise.
17270 * conform/data/dirent.h-data: Likewise.
17271 * conform/data/dlfcn.h-data: Likewise.
17272 * conform/data/errno.h-data: Likewise.
17273 * conform/data/fcntl.h-data: Likewise.
17274 * conform/data/float.h-data: Likewise.
17275 * conform/data/fmtmsg.h-data: Likewise.
17276 * conform/data/fnmatch.h-data: Likewise.
17277 * conform/data/ftw.h-data: Likewise.
17278 * conform/data/glob.h-data: Likewise.
17279 * conform/data/grp.h-data: Likewise.
17280 * conform/data/iconv.h-data: Likewise.
17281 * conform/data/inttypes.h-data: Likewise.
17282 * conform/data/langinfo.h-data: Likewise.
17283 * conform/data/libgen.h-data: Likewise.
17284 * conform/data/limits.h-data: Likewise.
17285 * conform/data/locale.h-data: Likewise.
17286 * conform/data/math.h-data: Likewise.
17287 * conform/data/monetary.h-data: Likewise.
17288 * conform/data/mqueue.h-data: Likewise.
17289 * conform/data/ndbm.h-data: Likewise.
17290 * conform/data/net/if.h-data: Likewise.
17291 * conform/data/netdb.h-data: Likewise.
17292 * conform/data/netinet/in.h-data: Likewise.
17293 * conform/data/nl_types.h-data: Likewise.
17294 * conform/data/poll.h-data: Likewise.
17295 * conform/data/pthread.h-data: Likewise.
17296 * conform/data/pwd.h-data: Likewise.
17297 * conform/data/regex.h-data: Likewise.
17298 * conform/data/sched.h-data: Likewise.
17299 * conform/data/search.h-data: Likewise.
17300 * conform/data/semaphore.h-data: Likewise.
17301 * conform/data/setjmp.h-data: Likewise.
17302 * conform/data/signal.h-data: Likewise.
17303 * conform/data/spawn.h-data: Likewise.
17304 * conform/data/stdarg.h-data: Likewise.
17305 * conform/data/stdio.h-data: Likewise.
17306 * conform/data/stdlib.h-data: Likewise.
17307 * conform/data/string.h-data: Likewise.
17308 * conform/data/strings.h-data: Likewise.
17309 * conform/data/stropts.h-data: Likewise.
17310 * conform/data/sys/ipc.h-data: Likewise.
17311 * conform/data/sys/mman.h-data: Likewise.
17312 * conform/data/sys/msg.h-data: Likewise.
17313 * conform/data/sys/resource.h-data: Likewise.
17314 * conform/data/sys/select.h-data: Likewise.
17315 * conform/data/sys/sem.h-data: Likewise.
17316 * conform/data/sys/shm.h-data: Likewise.
17317 * conform/data/sys/socket.h-data: Likewise.
17318 * conform/data/sys/stat.h-data: Likewise.
17319 * conform/data/sys/statvfs.h-data: Likewise.
17320 * conform/data/sys/time.h-data: Likewise.
17321 * conform/data/sys/timeb.h-data: Likewise.
17322 * conform/data/sys/times.h-data: Likewise.
17323 * conform/data/sys/types.h-data: Likewise.
17324 * conform/data/sys/uio.h-data: Likewise.
17325 * conform/data/sys/un.h-data: Likewise.
17326 * conform/data/sys/utsname.h-data: Likewise.
17327 * conform/data/sys/wait.h-data: Likewise.
17328 * conform/data/syslog.h-data: Likewise.
17329 * conform/data/tar.h-data: Likewise.
17330 * conform/data/termios.h-data: Likewise.
17331 * conform/data/utime.h-data: Likewise.
17332 * conform/data/utmpx.h-data: Likewise.
17333 * conform/data/varargs.h-data: Likewise.
17334 * conform/data/wchar.h-data: Likewise.
17335 * conform/data/wctype.h-data: Likewise.
17336 * conform/data/wordexp.h-data: Likewise.
17338 * include/stropts.h: New file.
17339 * include/uchar.h: New file.
17340 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17341 * include/assert.h: Likewise.
17342 * include/ctype.h: Likewise.
17343 * include/dirent.h: Likewise.
17344 * include/dlfcn.h: Likewise.
17345 * include/fcntl.h: Likewise.
17346 * include/fnmatch.h: Likewise.
17347 * include/glob.h: Likewise.
17348 * include/grp.h: Likewise.
17349 * include/libio.h: Likewise.
17350 * include/locale.h: Likewise.
17351 * include/math.h: Likewise.
17352 * include/net/if.h: Likewise.
17353 * include/netdb.h: Likewise.
17354 * include/netinet/in.h: Likewise.
17355 * include/pthread.h: Likewise.
17356 * include/pwd.h: Likewise.
17357 * include/regex.h: Likewise.
17358 * include/sched.h: Likewise.
17359 * include/search.h: Likewise.
17360 * include/setjmp.h: Likewise.
17361 * include/signal.h: Likewise.
17362 * include/stdio.h: Likewise.
17363 * include/stdlib.h: Likewise.
17364 * include/string.h: Likewise.
17365 * include/sys/cdefs.h: Likewise.
17366 * include/sys/mman.h: Likewise.
17367 * include/sys/msg.h: Likewise.
17368 * include/sys/resource.h: Likewise.
17369 * include/sys/select.h: Likewise.
17370 * include/sys/socket.h: Likewise.
17371 * include/sys/stat.h: Likewise.
17372 * include/sys/statvfs.h: Likewise.
17373 * include/sys/time.h: Likewise.
17374 * include/sys/times.h: Likewise.
17375 * include/sys/uio.h: Likewise.
17376 * include/sys/utsname.h: Likewise.
17377 * include/sys/wait.h: Likewise.
17378 * include/termios.h: Likewise.
17379 * include/time.h: Likewise.
17380 * include/ulimit.h: Likewise.
17381 * include/unistd.h: Likewise.
17382 * include/utime.h: Likewise.
17383 * include/wchar.h: Likewise.
17384 * include/wctype.h: Likewise.
17385 * include/wordexp.h: Likewise.
17387 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17389 * time/time.h: TIME_UTC must be a macro.
17390 Make timespec_get available for ISO C11 only as well.
17392 2012-02-24 Ulrich Drepper <drepper@gmail.com>
17394 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17395 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17397 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17399 * configure.in: Use -o not -a in test for unsupported multi-arch.
17401 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17403 * manual/texinfo.tex: Update to version 2012-01-19.16.
17405 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17407 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17409 2012-02-24 Roland McGrath <roland@hack.frob.com>
17412 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17413 * manual/fdl-1.3.texi: New file.
17414 * manual/fdl-1.1.texi: File removed.
17417 * manual/libc.texinfo (FDL_VERSION): New @set.
17418 Use it for mention of FDL in cover text.
17419 (Documentation License): Use it in @include file name.
17421 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17422 Roland McGrath <roland@hack.frob.com>
17425 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17426 not LONG_LONG_MAX and LONG_LONG_MIN.
17427 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17428 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17430 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17432 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17436 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17437 manipulate bits before adding and subtracting TWO23[sx].
17438 * math/libm-test.inc (nearbyint_test): Add more tests.
17440 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17443 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17444 bits before adding and subtracting TWO23[sx].
17445 * math/libm-test.inc (rint_test): Add more tests.
17446 (rint_test_tonearest): Likewise.
17447 (rint_test_towardzero): Likewise.
17448 (rint_test_downward): Likewise.
17449 (rint_test_upward: Likewise.
17451 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17454 * include/stdc-predef.h: New file. Extracted from features.h.
17455 * include/features.h: Include stdc-predef.h.
17456 * Makefile (headers): Add stdc-predef.h.
17457 * CONFORMANCE (Compiler limitations): Update.
17459 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17461 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17463 2012-02-21 David S. Miller <davem@davemloft.net>
17465 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17466 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17468 2012-02-20 David S. Miller <davem@davemloft.net>
17470 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17471 using a normal save/restore sequence, rather than allocating a
17472 dummy stack frame just to store a frame pointer and restore.
17473 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17475 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17477 * manual/install.texi: Fix stray word in line-wrapped comment.
17479 2012-02-20 David S. Miller <davem@davemloft.net>
17481 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17482 both binutils and gcc support GOTDATA.
17484 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17485 "rd %pc" in the PIC register setup sequences.
17487 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17488 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17489 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17490 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17491 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17492 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17493 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17494 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17495 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17496 (SYSCALL_ERROR_HANDLER): Likewise.
17497 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17498 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17499 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17500 (SYSCALL_ERROR_HANDLER): Likewise.
17502 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17503 (HAVE_GCC_GOTDATA): New.
17504 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17505 relocation support in both binutils and gcc.
17506 * sysdeps/sparc/elf/configure: Regenerate.
17508 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17509 * sysdeps/sparc/sparc32/elf/configure: Delete.
17510 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17511 * sysdeps/sparc/sparc64/elf/configure: Delete.
17512 * sysdeps/sparc/elf/configure.in: New file.
17513 * sysdeps/sparc/elf/configure: Generate.
17515 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17516 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17517 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17518 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17519 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17521 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17523 * manual/install.texi: Do not mention specific glibc version
17525 * manual/libc.texinfo (VERSION, UPDATED): Update.
17526 (@copying): Use @copyright{} and range of years.
17528 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17531 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17532 [crti.S not in sysdirs] (generated): Do not append.
17533 [crti.S not in sysdirs] (omit-deps): Likewise.
17534 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17535 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17536 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17537 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17538 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17540 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17541 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17542 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17543 * csu/defs.awk: Remove file.
17544 * sysdeps/generic/initfini.c: Likewise.
17545 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17547 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17550 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17552 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17553 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17554 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17555 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17556 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17557 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17559 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17560 (__EPOLL_PACKED): Define to empty if not defined by
17562 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17566 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17568 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17569 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17570 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17571 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17573 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17577 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17579 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17581 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17582 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17583 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17586 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17588 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17589 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17591 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17593 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17594 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17596 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17598 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17601 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17603 * math/w_acos.c: Use non-signaling floating-point comparisons.
17604 * math/w_acosf.c: Likewise.
17605 * math/w_acosh.c: Likewise.
17606 * math/w_acoshf.c: Likewise.
17607 * math/w_acoshl.c: Likewise.
17608 * math/w_acosl.c: Likewise.
17609 * math/w_asin.c: Likewise.
17610 * math/w_asinf.c: Likewise.
17611 * math/w_asinl.c: Likewise.
17612 * math/w_atanh.c: Likewise.
17613 * math/w_atanhf.c: Likewise.
17614 * math/w_atanhl.c: Likewise.
17615 * math/w_exp2.c: Likewise.
17616 * math/w_exp2f.c: Likewise.
17617 * math/w_exp2l.c: Likewise.
17618 * math/w_j0.c: Likewise.
17619 * math/w_j0f.c: Likewise.
17620 * math/w_j0l.c: Likewise.
17621 * math/w_j1.c: Likewise.
17622 * math/w_j1f.c: Likewise.
17623 * math/w_j1l.c: Likewise.
17624 * math/w_jn.c: Likewise.
17625 * math/w_jnf.c: Likewise.
17626 * math/w_log.c: Likewise.
17627 * math/w_log10.c: Likewise.
17628 * math/w_log10f.c: Likewise.
17629 * math/w_log10l.c: Likewise.
17630 * math/w_log2.c: Likewise.
17631 * math/w_log2f.c: Likewise.
17632 * math/w_log2l.c: Likewise.
17633 * math/w_logf.c: Likewise.
17634 * math/w_logl.c: Likewise.
17635 * math/w_sqrt.c: Likewise.
17636 * math/w_sqrtf.c: Likewise.
17637 * math/w_sqrtl.c: Likewise.
17638 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17639 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17640 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17641 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17642 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17644 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17647 * manual/string.texi (strnlen): Use correct parameter name in
17648 equivalent expression.
17650 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17653 * manual/users.texi (seteuid): Consistently use neweuid for
17656 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17659 * manual/nss.texi (Services in the NSS configuration): Correct
17660 list of services in example configuration file.
17662 2012-02-19 Nick Bowler <nbowler@draconx.ca>
17665 * manual/arith.texi: Remove statements about negative zero
17666 behaving identically to zero.
17668 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17671 * manual/install.texi: Do not document upgrading from libc5.
17673 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17676 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17678 2012-02-18 David S. Miller <davem@davemloft.net>
17680 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17681 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17682 %o7 across the call.
17683 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17685 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17686 SETUP_PIC_REG_LEAF.
17687 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17688 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17689 * sysdeps/sparc/crtn.S: Likewise.
17691 2012-02-17 Ulrich Drepper <drepper@gmail.com>
17693 * aout/Makefile: Remove.
17695 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17698 * manual/examples/argp-ex1.c (main): Format definition in GNU
17700 * manual/examples/argp-ex2.c (main): Likewise.
17701 * manual/examples/argp-ex3.c (main): Likewise.
17702 * manual/examples/argp-ex4.c (main): Likewise.
17703 * manual/examples/longopt.c (main): Use new-style prototype
17705 * manual/examples/strncat.c (main): Specify return type and use
17706 (void) for arguments.
17707 * manual/examples/subopt.c (main): Use char **argv argument.
17709 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17712 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17715 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17718 * manual/string.texi (strchr): Change when strchrnul is
17721 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17724 * manual/locale.texi (setlocale): Document LOCPATH.
17726 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17729 * manual/process.texi (execle): Move @dots{} before last argument.
17731 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
17734 * manual/charset.texi (Generic Charset Conversion): Fix typo
17735 (LC_TYPE -> LC_CTYPE).
17737 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17740 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17741 (scalbnf): Likewise.
17742 (scalbnl): Likewise.
17743 (scalbln): Likewise.
17744 (scalblnf): Likewise.
17745 (scalblnl): Likewise.
17746 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17747 (vwarnx): Likewise.
17750 * manual/filesys.texi (telldir): Use braces around return type.
17751 * manual/llio.texi (mmap): Add space after comma.
17752 (mmap64): Likewise.
17753 * manual/math.texi (jn): Use @var{} on parameter names.
17759 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17761 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17763 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17764 (sched_get_priority_max): Likewise.
17765 * manual/signal.texi (sigvec): Add space after comma.
17766 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17768 (if_indextoname): Likewise.
17769 (if_freenameindex): Likewise.
17770 (sendto): Use ',' instead of '.' in prototype.
17771 * manual/startup.texi (syscall): Use @dots{} instead of literal
17773 * manual/stdio.texi (__fpending): Separate initial words of
17774 paragraph from @deftypefun line.
17775 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17777 (vsyslog): Use @var{} on parameter names.
17778 * manual/terminal.texi (stty): Use @var{} on parameter names.
17779 * manual/users.texi (getutmp): Use @var{} on parameter names.
17780 (getutmpx): Likewise.
17782 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17785 * manual/stdio.texi (fopen): Fix typos in description of
17788 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17791 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17792 get clock_id definition.
17794 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
17797 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17798 (madvise): Cast every argument to void on its own.
17800 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17803 * manual/startup.texi (Exit Status): Fix typo.
17805 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17808 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17809 * manual/examples/argp-ex2.c: Likewise.
17810 * manual/examples/argp-ex3.c: Likewise.
17812 2012-02-16 Richard Henderson <rth@redhat.com>
17814 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17815 * sysdeps/s390/s390-32/initfini.c: Remove.
17816 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17817 * sysdeps/s390/s390-64/initfini.c: Remove.
17819 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17821 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17822 compiler output for sysdeps/generic/initfini.c.
17823 * sysdeps/sh/elf/initfini.c: Remove file.
17825 2012-02-16 David S. Miller <davem@davemloft.net>
17828 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17830 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17831 * sysdeps/sparc/crti.S: New file.
17832 * sysdeps/sparc/crtn.S: New file.
17833 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17834 * sysdeps/sparc/sparc64/Makefile: Likewise.
17836 2012-02-15 Mike Frysinger <vapier@gentoo.org>
17839 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17841 2012-02-15 Roland McGrath <roland@hack.frob.com>
17844 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17846 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17847 (write, read, close): Likewise.
17848 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17850 2012-02-15 Joseph Myers <joseph@codesourcery.com>
17852 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17853 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17854 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17855 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17857 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17861 2012-02-14 Marek Polacek <polacek@redhat.com>
17863 * sysdeps/x86_64/crti.S: New file.
17864 * sysdeps/x86_64/crtn.S: New file.
17865 * sysdeps/x86_64/elf/initfini.c: Remove file.
17867 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17869 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17870 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17871 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17872 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17874 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17878 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17880 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17881 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17882 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17883 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17885 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17889 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17891 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17892 __feraiseexcept instead of feraiseexcept.
17894 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17895 nanosleep invocations.
17896 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17897 strings, and add error checking for a nanosleep invocations.
17899 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17901 Replace FSF snail mail address with URLs, as per GNU coding standards.
17902 Most of the snail mail addresses were wrong anyway, and omitting
17903 them makes the source code easier to maintain. Almost all of the
17904 changes are to license notices and to locale LC_IDENTIFICATION
17905 addresses, except for this one:
17906 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17907 not its snail mail address.
17909 2012-02-09 Richard Henderson <rth@twiddle.net>
17911 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17912 of kernel-features.h.
17914 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17916 2012-02-08 Marek Polacek <polacek@redhat.com>
17918 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17919 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17920 * sysdeps/gnu/_G_config.h: Likewise.
17921 * sysdeps/generic/_G_config.h: Likewise.
17923 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17925 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17929 * sysdeps/powerpc/powerpc32/crti.S: New file.
17930 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17931 * sysdeps/powerpc/powerpc64/crti.S: New file.
17932 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17934 * Makeconfig (have-initfini): Don't set.
17935 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17936 * configure.in (nopic_initfini): Don't substitute.
17937 * config.h.in (HAVE_INITFINI): Don't #undef.
17938 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17939 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17941 2012-02-08 Joseph Myers <joseph@codesourcery.com>
17943 Support crti.S and crtn.S provided directly by architectures.
17944 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17945 [crti.S in sysdirs] (omit-deps): Likewise.
17946 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17947 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17948 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17949 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17950 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17951 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17952 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17953 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17954 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17955 compiler output for sysdeps/generic/initfini.c.
17956 * sysdeps/i386/elf/Makefile: Remove file.
17957 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17959 2012-02-07 Marek Polacek <polacek@redhat.com>
17961 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17962 * sysdeps/gnu/_G_config.h: Likewise.
17963 * sysdeps/mach/hurd/_G_config.h: Likewise.
17965 2012-02-07 Marek Polacek <polacek@redhat.com>
17967 * math/Makefile (tests): Add tst-CMPLX2.
17968 * math/tst-CMPLX2.c: New file.
17970 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17972 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17974 * math/libm-test.inc (jn_test): Add missing L suffix.
17976 2012-02-06 Marek Polacek <polacek@redhat.com>
17978 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17979 * sysdeps/i386/fpu/e_powf.S: Likewise.
17980 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17981 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17982 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17983 * sysdeps/i386/fpu/e_pow.S: Likewise.
17984 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17985 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17986 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17987 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17988 * sysdeps/i386/fpu/e_log2.S: Likewise.
17989 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17990 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17991 * sysdeps/i386/fpu/e_powl.S: Likewise.
17992 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17993 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17994 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17995 * sysdeps/i386/fpu/e_logl.S: Likewise.
17996 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17997 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17998 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17999 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18000 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18001 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18002 * sysdeps/i386/fpu/e_log.S: Likewise.
18003 * sysdeps/i386/fpu/s_cexp.S: Likewise.
18004 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18005 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18006 * sysdeps/i386/fpu/e_logf.S: Likewise.
18007 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18008 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18009 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18010 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18011 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18012 * sysdeps/i386/fpu/e_log10.S: Likewise.
18013 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18014 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18015 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18016 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18017 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18018 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18019 * sysdeps/i386/asm-syntax.h: Likewise.
18020 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18021 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18022 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18023 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18024 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18025 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18026 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18027 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18028 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18029 * sysdeps/powerpc/sysdep.h: Likewise.
18030 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18031 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18033 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18036 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18038 2012-02-06 Joseph Myers <joseph@codesourcery.com>
18040 * sysdeps/i386/sysdep.h: Include <features.h>.
18041 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18044 2012-02-05 Joseph Myers <joseph@codesourcery.com>
18046 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18048 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18051 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18053 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18054 (SETUP_PIC_REG): Use GET_PC_THUNK.
18055 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18058 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18060 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18061 for non-PIC compilation.
18062 (SETUP_PIC_REG): Add .p2align directive.
18063 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18064 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18065 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18066 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18067 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18068 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18069 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18070 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18071 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18072 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18073 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18074 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18075 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18076 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18077 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18078 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18079 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18080 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18081 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18082 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18083 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18084 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18085 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18086 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18087 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18089 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18090 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18091 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18092 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18093 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18094 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18095 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18096 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18097 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18098 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18099 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18100 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18101 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18102 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18103 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18105 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18107 * math/tst-CMPLX.c: Include <stdio.h>.
18109 2012-01-31 Joseph Myers <joseph@codesourcery.com>
18111 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18113 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18114 * sysdeps/sparc/bits/mathdef.h: Likewise.
18116 2012-01-31 Marek Polacek <polacek@redhat.com>
18118 * libio/libio.h: Don't define _PARAMS.
18119 * locale/programs/config.h: Don't define PARAMS.
18120 * stdlib/strtol_l.c: Likewise.
18121 (__strtol_l): Remove PARAMS from the prototype.
18123 2012-01-31 Ulrich Drepper <drepper@gmail.com>
18125 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18126 names. Just use the correct names. Remove unnecessary wrapper
18128 * malloc/arena.c: Likewise.
18129 * malloc/hooks.c: Likewise.
18131 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18132 ARENA_TEST says not to. Simplify test for creation of a new arena.
18133 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18135 2012-01-30 Ulrich Drepper <drepper@gmail.com>
18137 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18139 (update_get_addr): New function.
18140 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18141 GET_ADDR_MODULE parameter.
18143 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18145 * crypt/cert.c: Remove __STDC__ conditionals.
18146 * crypt/crypt-entry.c: Likewise.
18147 * crypt/crypt_util.c: Likewise.
18148 * libio/filedoalloc.c: Likewise.
18149 * libio/fileops.c: Likewise.
18150 * libio/genops.c: Likewise.
18151 * libio/iofclose.c: Likewise.
18152 * libio/iofdopen.c: Likewise.
18153 * libio/iofopen.c: Likewise.
18154 * libio/iofopen64.c: Likewise.
18155 * libio/iogetdelim.c: Likewise.
18156 * libio/iopopen.c: Likewise.
18157 * libio/obprintf.c: Likewise.
18158 * libio/oldfileops.c: Likewise.
18159 * libio/oldiofclose.c: Likewise.
18160 * libio/oldiofdopen.c: Likewise.
18161 * libio/oldiofopen.c: Likewise.
18162 * libio/oldiopopen.c: Likewise.
18163 * libio/wfiledoalloc.c: Likewise.
18164 * libio/wgenops.c: Likewise.
18165 * locale/programs/xmalloc.c: Likewise.
18166 * misc/syslog.c: Likewise.
18167 * stdio-common/xbug.c: Likewise.
18168 * string/memchr.c: Likewise.
18169 * string/memcmp.c: Likewise.
18170 * string/memrchr.c: Likewise.
18171 * string/rawmemchr.c: Likewise.
18172 * sysdeps/posix/getcwd.c: Likewise.
18173 * time/strftime_l.c: Likewise.
18175 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18177 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18178 * config.make.in (config-cflags-sse2avx): Define.
18179 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18182 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18184 * scripts/config.guess: Update from upstream config git repository.
18185 * scripts/config.sub: Likewise.
18187 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18189 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18191 (R_TILEPRO_*, R_TILEGX_*): New macros.
18193 * scripts/firstversions.awk: Fix bug in version range handling.
18195 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18197 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18199 * include/sys/epoll.h: New file.
18200 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18203 2012-01-28 Ulrich Drepper <drepper@gmail.com>
18205 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18206 Avoid unnecessary __WORDSIZE == 64 test.
18207 (fmaxf): Use VEX format if possible.
18212 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18213 * math/math_private.h: Remove libc_fegetround* and
18215 * sysdeps/i386/configure.in: Check for -msse2avx.
18216 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18217 also if SSE2AVX is defined.
18218 Remove libc_fegetround* and libc_fesetround*.
18219 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18220 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18221 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18223 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18224 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18225 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18226 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18227 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18229 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18231 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18233 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18235 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18237 2012-01-27 Ulrich Drepper <drepper@gmail.com>
18240 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18242 * Makeconfig (libm): Define.
18243 * elf/Makefile: Add rules to build and run tst-relsort1.
18244 * elf/tst-relsort1.c: New file.
18245 * elf/tst-relsort1mod1.c: New file.
18246 * elf/tst-relsort1mod2.c: New file.
18248 2012-01-27 Joseph Myers <joseph@codesourcery.com>
18250 * math/s_ldexp.c: Remove __STDC__ conditionals.
18251 * math/s_ldexpf.c: Likewise.
18252 * math/s_ldexpl.c: Likewise.
18253 * math/s_nextafter.c: Likewise.
18254 * math/s_nexttowardf.c: Likewise.
18255 * math/s_significand.c: Likewise.
18256 * math/s_significandf.c: Likewise.
18257 * math/s_significandl.c: Likewise.
18258 * math/w_jnl.c: Likewise.
18259 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18260 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18261 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18262 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18263 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18264 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18265 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18266 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18267 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18268 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18269 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18270 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18271 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18272 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18273 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18274 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18275 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18276 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18277 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18278 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18279 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18280 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18281 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18282 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18283 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18284 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18285 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18286 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18287 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18288 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18289 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18290 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18291 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18292 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18293 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18294 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18295 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18296 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18297 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18298 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18299 * sysdeps/ieee754/k_standard.c: Likewise.
18300 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18301 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18302 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18303 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18304 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18308 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18309 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18319 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18322 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18323 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18326 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18328 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18331 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18332 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18333 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18334 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18335 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18336 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18337 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18338 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18339 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18340 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18341 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18342 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18343 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18344 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18346 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18347 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18348 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18349 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18350 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18351 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18352 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18354 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18355 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18356 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18357 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18358 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18359 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18360 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18361 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18362 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18363 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18364 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18365 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18366 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18367 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18368 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18369 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18370 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18371 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18372 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18373 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18374 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18375 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18376 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18377 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18378 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18379 * sysdeps/ieee754/s_matherr.c: Likewise.
18380 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18381 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18382 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18383 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18385 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18387 * crypt/md5.h: Remove __STDC__ conditionals.
18388 * libio/libioP.h: Likewise.
18389 * locale/programs/config.h: Likewise.
18390 * sysdeps/generic/sysdep.h: Likewise.
18391 * sysdeps/i386/asm-syntax.h: Likewise.
18392 * sysdeps/s390/asm-syntax.h: Likewise.
18393 * sysdeps/unix/sysdep.h: Likewise.
18394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18397 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18399 * libio/libio.h: Remove __STDC__ conditionals.
18400 * malloc/obstack.h: Likewise.
18401 * math/complex.h: Likewise.
18402 * math/math.h: Likewise.
18403 * sysdeps/generic/_G_config.h: Likewise.
18404 * sysdeps/gnu/_G_config.h: Likewise.
18405 * sysdeps/mach/hurd/_G_config.h: Likewise.
18406 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18407 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18408 * sysdeps/sparc/bits/mathdef.h: Likewise.
18410 2012-01-26 Ulrich Drepper <drepper@gmail.com>
18413 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18414 Clean up HAS_* macros.
18415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18416 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18418 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18420 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18421 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18422 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18423 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18424 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18426 2012-01-25 Joseph Myers <joseph@codesourcery.com>
18428 * elf/tst-unique3.cc (gets): Remove declaration.
18429 * elf/tst-unique3lib.cc (gets): Likewise.
18430 * elf/tst-unique3lib2.cc (gets): Likewise.
18431 * elf/tst-unique4.cc (gets): Likewise.
18433 2012-01-24 Ulrich Drepper <drepper@gmail.com>
18435 * include/stdio.h: Add C++ protection. Add gets declarations and
18437 * debug/tst-chk1.c: Don't declare gets here.
18438 * stdio-common/tst-gets.c: Likewise.
18440 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18442 * posix/glob: Remove directory.
18444 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18446 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18448 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18450 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18451 of the non-standard EPFNOSUPPORT.
18453 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18455 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18456 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18457 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18459 2012-01-21 Ulrich Drepper <drepper@gmail.com>
18461 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18463 2012-01-20 Ulrich Drepper <drepper@gmail.com>
18465 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18467 * nscd/grpcache.c (cache_addgr): Likewise.
18468 * nscd/hstcache.c (cache_addhst): Likewise.
18469 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18470 * nscd/pwdcache.c (cache_addpw): Likewise.
18471 * nscd/servicescache.c (cache_addserv): Likewise.
18473 2012-01-16 Ulrich Drepper <drepper@gmail.com>
18475 * malloc/malloc.c: Various cleanups.
18476 * malloc/hooks.c: Likewise.
18478 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18479 * stdlib/bug-fmtmsg1.c: New file.
18481 * stdlib/fmtmsg.c (init): Add missing unlock.
18482 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18484 2012-01-12 Marek Polacek <polacek@redhat.com>
18486 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18489 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18491 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18492 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18493 macro to ensure uniqueness of label name.
18494 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18495 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18497 2012-01-11 Ulrich Drepper <drepper@gmail.com>
18499 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18501 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18502 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18503 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18504 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18506 2012-01-10 Ulrich Drepper <drepper@gmail.com>
18508 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18510 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18511 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18512 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18514 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18516 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
18517 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18518 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18519 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
18521 * math/bits/math-finite.h: Add ldexp support.
18523 2012-01-10 Marek Polacek <polacek@redhat.com>
18525 * locale/programs/localedef.h (show_archive_content): Add noreturn
18528 2012-01-09 Ulrich Drepper <drepper@gmail.com>
18530 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18532 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18534 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18536 * io/Makefile (headers): Add bits/poll2.h.
18538 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18541 typo #include statement.
18543 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18545 * include/sys/cdefs.h: Define __attribute_alloc_size.
18546 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18547 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18548 * elf/pldd.c: Likewise.
18549 * iconv/iconv_charmap.c: Likewise.
18550 * iconv/iconvconfig.c: Likewise.
18551 * iconv/strtab.c: Likewise.
18552 * locale/programs/locale.c: Likewise.
18553 * locale/programs/localedef.h: Likewise.
18554 * locale/programs/simple-hash.c: Likewise.
18555 * nscd/nscd.h: Likewise.
18556 * nss/makedb.c: Likewise.
18557 * sysdeps/generic/ldconfig.h: Likewise.
18558 * locale/programs/localedef.c: Remove xmalloc prototype.
18559 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18561 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18563 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18566 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18568 * math/Makefile (tests): Add tst-CMPLX.
18569 * math/tst-CMPLX.c: New file.
18571 * math/complex.h (CMPLXL): Fix typo.
18573 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18574 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18576 * debug/tst-chk1.c: Add poll and ppoll tests.
18577 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18578 * include/sys/poll.h: Add hidden proto for ppoll.
18579 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18580 * sysdeps/mach/hurd/ppoll.c: Likewise.
18581 * io/ppoll.c: Likewise.
18582 * debug/poll_chk.c: New file.
18583 * debug/ppoll_chk.c: New file.
18584 * include/bits/poll2.h: New file.
18585 * io/bits/poll2.h: New file.
18588 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18590 * configure.in: static is always set to yes. Remove.
18591 * config.make.in: Don't set build-static.
18592 * Makeconfig: Remove use of build-static.
18593 * dlfcn/Makefile: Likewise.
18594 * elf/Makefile: Likewise.
18595 * math/Makefile: Likewise.
18596 * misc/Makefile: Likewise.
18597 * nptl/Makefile: Likewise.
18598 * sysdeps/mach/hurd/Makefile: Likewise.
18600 * configure.in: PWD_P is not used anymore.
18601 * config.make.in: Remove PWD_P entry.
18603 * configure.in: Remove last remnants of RANLIB.
18604 No need to check for signed size_t anymore.
18605 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18607 Remove __builtin_expect test because we require at least gcc 3.4.
18608 * aclocal.m4: Likewise.
18610 * wcsmbs/mbrtoc16.c: Implement using towc function.
18611 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18612 * wcsmbs/wcsmbsload.c: Likewise.
18613 * iconv/gconv_simple.c: Likewise.
18614 * iconv/gconv_int.h: Likewise.
18615 * iconv/gconv_builtin.h: Likewise.
18616 * iconv/iconv_prog.c: Remove CHAR16 handling.
18618 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18620 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18622 * configure.in: Remove --with-elf and --enable-bounded options.
18623 Dont set base_machine for ia64. More non-ELF conditions removed.
18624 Remove testing and setting of leading underscore information.
18625 * config.make.in (build-bounded): Set to no.
18626 * config.h.in: Remove NO_UNDERSCORES entry.
18627 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18629 * csu/start.c: Remove !NO_UNDERSCORE code.
18630 * locale/localeinfo.h: Likewise.
18631 * sysdeps/generic/machine-gmon.h: Likewise.
18632 * sysdeps/generic/sysdep.h: Likewise.
18633 * sysdeps/i386/sysdep.h: Likewise.
18634 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18635 * sysdeps/mach/sysdep.h: Likewise.
18636 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18637 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18638 * sysdeps/sh/sysdep.h: Likewise.
18639 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18640 * sysdeps/unix/i386/sysdep.S: Likewise.
18641 * sysdeps/unix/sparc/start.c: Likewise.
18642 * sysdeps/unix/sparc/sysdep.S: Likewise.
18643 * sysdeps/unix/sparc/sysdep.h: Likewise.
18644 * sysdeps/unix/start.c: Likewise.
18645 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18646 * sysdeps/x86_64/sysdep.h: Likewise.
18648 2012-01-07 Ulrich Drepper <drepper@gmail.com>
18651 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18653 * argp/argp-fmtstream.h: Use const instead __const.
18654 * argp/argp.h: Likewise.
18655 * assert/assert.h: Likewise.
18656 * bits/fenv.h: Likewise.
18657 * bits/sched.h: Likewise.
18658 * bits/sigset.h: Likewise.
18659 * bits/sigthread.h: Likewise.
18660 * catgets/nl_types.h: Likewise.
18661 * conform/data/pthread.h-data: Likewise.
18662 * crypt/crypt-private.h: Likewise.
18663 * crypt/crypt.h: Likewise.
18664 * crypt/crypt_util.c: Likewise.
18665 * ctype/ctype.h: Likewise.
18666 * debug/execinfo.h: Likewise.
18667 * debug/mbsnrtowcs_chk.c: Likewise.
18668 * debug/mbsrtowcs_chk.c: Likewise.
18669 * debug/wcsnrtombs_chk.c: Likewise.
18670 * debug/wcsrtombs_chk.c: Likewise.
18671 * debug/wcstombs_chk.c: Likewise.
18672 * dirent/dirent.h: Likewise.
18673 * dlfcn/dlfcn.h: Likewise.
18674 * elf/neededtest4.c: Likewise.
18675 * grp/grp.h: Likewise.
18676 * gshadow/gshadow.h: Likewise.
18677 * iconv/gconv.h: Likewise.
18678 * iconv/gconv_int.h: Likewise.
18679 * iconv/gconv_simple.c: Likewise.
18680 * iconv/iconv.h: Likewise.
18681 * iconv/loop.c: Likewise.
18682 * iconv/skeleton.c: Likewise.
18683 * include/aio.h: Likewise.
18684 * include/aliases.h: Likewise.
18685 * include/argz.h: Likewise.
18686 * include/arpa/inet.h: Likewise.
18687 * include/assert.h: Likewise.
18688 * include/dirent.h: Likewise.
18689 * include/dlfcn.h: Likewise.
18690 * include/execinfo.h: Likewise.
18691 * include/fcntl.h: Likewise.
18692 * include/fenv.h: Likewise.
18693 * include/glob.h: Likewise.
18694 * include/grp.h: Likewise.
18695 * include/libintl.h: Likewise.
18696 * include/mntent.h: Likewise.
18697 * include/netdb.h: Likewise.
18698 * include/pwd.h: Likewise.
18699 * include/rpc/netdb.h: Likewise.
18700 * include/sched.h: Likewise.
18701 * include/search.h: Likewise.
18702 * include/shadow.h: Likewise.
18703 * include/signal.h: Likewise.
18704 * include/stdio.h: Likewise.
18705 * include/stdlib.h: Likewise.
18706 * include/string.h: Likewise.
18707 * include/sys/socket.h: Likewise.
18708 * include/sys/stat.h: Likewise.
18709 * include/sys/statfs.h: Likewise.
18710 * include/sys/statvfs.h: Likewise.
18711 * include/sys/syslog.h: Likewise.
18712 * include/sys/time.h: Likewise.
18713 * include/sys/uio.h: Likewise.
18714 * include/time.h: Likewise.
18715 * include/unistd.h: Likewise.
18716 * include/utmp.h: Likewise.
18717 * include/wchar.h: Likewise.
18718 * include/wctype.h: Likewise.
18719 * inet/aliases.h: Likewise.
18720 * inet/arpa/inet.h: Likewise.
18721 * inet/netinet/ether.h: Likewise.
18722 * inet/netinet/in.h: Likewise.
18723 * intl/libintl.h: Likewise.
18724 * io/bits/fcntl2.h: Likewise.
18725 * io/fcntl.h: Likewise.
18726 * io/ftw.h: Likewise.
18727 * io/sys/poll.h: Likewise.
18728 * io/sys/stat.h: Likewise.
18729 * io/sys/statfs.h: Likewise.
18730 * io/sys/statvfs.h: Likewise.
18731 * io/utime.h: Likewise.
18732 * libio/bits/stdio.h: Likewise.
18733 * libio/bits/stdio2.h: Likewise.
18734 * libio/libio.h: Likewise.
18735 * libio/libioP.h: Likewise.
18736 * libio/stdio.h: Likewise.
18737 * locale/lc-ctype.c: Likewise.
18738 * locale/locale.h: Likewise.
18739 * login/utmp.h: Likewise.
18740 * malloc/arena.c: Likewise.
18741 * malloc/malloc.c: Likewise.
18742 * malloc/malloc.h: Likewise.
18743 * malloc/mcheck.c: Likewise.
18744 * malloc/mtrace.c: Likewise.
18745 * math/bits/mathcalls.h: Likewise.
18746 * math/fenv.h: Likewise.
18747 * math/math_private.h: Likewise.
18748 * misc/bits/error.h: Likewise.
18749 * misc/bits/syslog.h: Likewise.
18750 * misc/err.h: Likewise.
18751 * misc/error.h: Likewise.
18752 * misc/fstab.h: Likewise.
18753 * misc/mntent.h: Likewise.
18754 * misc/regexp.h: Likewise.
18755 * misc/search.h: Likewise.
18756 * misc/sgtty.h: Likewise.
18757 * misc/sys/mman.h: Likewise.
18758 * misc/sys/syslog.h: Likewise.
18759 * misc/sys/uio.h: Likewise.
18760 * misc/sys/xattr.h: Likewise.
18761 * misc/ttyent.h: Likewise.
18762 * nis/rpcsvc/ypclnt.h: Likewise.
18763 * nss/nss.h: Likewise.
18764 * posix/bits/unistd.h: Likewise.
18765 * posix/fnmatch.h: Likewise.
18766 * posix/glob.h: Likewise.
18767 * posix/sched.h: Likewise.
18768 * posix/spawn.h: Likewise.
18769 * posix/sys/wait.h: Likewise.
18770 * posix/unistd.h: Likewise.
18771 * posix/wordexp.h: Likewise.
18772 * pwd/pwd.h: Likewise.
18773 * resolv/netdb.h: Likewise.
18774 * resource/sys/resource.h: Likewise.
18775 * rt/aio.h: Likewise.
18776 * rt/bits/mqueue2.h: Likewise.
18777 * rt/mqueue.h: Likewise.
18778 * shadow/shadow.h: Likewise.
18779 * signal/signal.h: Likewise.
18780 * socket/send.c: Likewise.
18781 * socket/sendto.c: Likewise.
18782 * socket/sys/socket.h: Likewise.
18783 * stdio-common/printf.h: Likewise.
18784 * stdlib/bits/stdlib.h: Likewise.
18785 * stdlib/fmtmsg.h: Likewise.
18786 * stdlib/monetary.h: Likewise.
18787 * stdlib/stdlib.h: Likewise.
18788 * stdlib/ucontext.h: Likewise.
18789 * streams/stropts.h: Likewise.
18790 * string/argz.h: Likewise.
18791 * string/bits/string2.h: Likewise.
18792 * string/string.h: Likewise.
18793 * string/strings.h: Likewise.
18794 * sunrpc/rpc/auth.h: Likewise.
18795 * sunrpc/rpc/auth_des.h: Likewise.
18796 * sunrpc/rpc/clnt.h: Likewise.
18797 * sunrpc/rpc/netdb.h: Likewise.
18798 * sunrpc/rpc/pmap_clnt.h: Likewise.
18799 * sunrpc/rpc/xdr.h: Likewise.
18800 * sysdeps/generic/inttypes.h: Likewise.
18801 * sysdeps/generic/net/if.h: Likewise.
18802 * sysdeps/generic/sys/swap.h: Likewise.
18803 * sysdeps/gnu/net/if.h: Likewise.
18804 * sysdeps/gnu/utmpx.h: Likewise.
18805 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18806 * sysdeps/i386/i486/bits/string.h: Likewise.
18807 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18808 * sysdeps/s390/bits/string.h: Likewise.
18809 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18810 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18811 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18812 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18813 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18814 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18815 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18816 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18817 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18818 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18819 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18820 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18821 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18822 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18823 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18824 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18825 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18827 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18828 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18829 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18830 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18831 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18832 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18833 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18834 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18835 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18836 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18837 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18838 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18839 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18840 * sysvipc/sys/ipc.h: Likewise.
18841 * sysvipc/sys/msg.h: Likewise.
18842 * sysvipc/sys/sem.h: Likewise.
18843 * sysvipc/sys/shm.h: Likewise.
18844 * termios/termios.h: Likewise.
18845 * time/sys/time.h: Likewise.
18846 * time/time.h: Likewise.
18847 * wcsmbs/bits/wchar2.h: Likewise.
18848 * wcsmbs/uchar.h: Likewise.
18849 * wcsmbs/wchar.h: Likewise.
18850 * wctype/wctype.h: Likewise.
18853 * Makeconfig: Remove all but ELF support including AIX support.
18854 * Makerules: Likewise.
18855 * config.h.in: Likewise.
18856 * config.make.in: Likewise.
18857 * configure: Likewise.
18858 * configure.in: Likewise.
18859 * csu/Makefile: Likewise.
18860 * csu/version.c: Likewise.
18861 * debug/Makefile: Likewise.
18862 * dlfcn/Makefile: Likewise.
18863 * elf/Makefile: Likewise.
18864 * extra-lib.mk: Likewise.
18865 * iconv/Makefile: Likewise.
18866 * include/libc-symbols.h: Likewise.
18867 * include/shlib-compat.h: Likewise.
18868 * resolv/Makefile: Likewise.
18869 * resolv/res_libc.c: Likewise.
18870 * rt/Makefile: Likewise.
18871 * sysdeps/i386/asm-syntax.h: Likewise.
18872 * sysdeps/i386/sysdep.h: Likewise.
18873 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18874 * sysdeps/mach/sysdep.h: Likewise.
18875 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18876 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18877 * sysdeps/s390/asm-syntax.h: Likewise.
18878 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18879 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18880 * sysdeps/sh/sysdep.h: Likewise.
18881 * sysdeps/unix/sparc/sysdep.h: Likewise.
18882 * sysdeps/wordsize-32/divdi3.c: Likewise.
18883 * sysdeps/x86_64/sysdep.h: Likewise.
18885 * argp/Versions: Remove _argp_unlock_xxx.
18888 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18889 * abilist/libBrokenLocale.abilist: Likewise.
18890 * abilist/libanl.abilist: Likewise.
18891 * abilist/libc.abilist: Likewise.
18892 * abilist/libcrypt.abilist: Likewise.
18893 * abilist/libdl.abilist: Likewise.
18894 * abilist/libm.abilist: Likewise.
18895 * abilist/libnsl.abilist: Likewise.
18896 * abilist/libpthread.abilist: Likewise.
18897 * abilist/libresolv.abilist: Likewise.
18898 * abilist/librt.abilist: Likewise.
18899 * abilist/libthread_db.abilist: Likewise.
18900 * abilist/libutil.abilist: Likewise.
18901 * abilist/libnss_db.abilist: New file.
18903 * scripts/abilist.awk: Add support for indirect functions.
18905 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18907 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18909 * shlib-versions: Remove entries for ports architectures.
18911 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18913 * elf/stackguard-macros.h: Remove support for IA-64.
18914 * elf/tst-auditmod1.c: Likewise.
18915 * sysdeps/generic/ldsodefs.h: Likewise.
18917 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18918 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18922 * configure.in: Remove --enable-omitfp support.
18924 * config.make.in: Likewise.
18925 * Makeconfig: Likewise.
18926 * manual/install.texi: Likewise.
18928 In case anyone cares, the IA-64 architecture could move to ports.
18929 * sysdeps/ia64/*: Removed.
18930 * sysdeps/unix/sysv/linux/ia64/*: Removed.
18931 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
18934 * configure.in: Remove entries for unsupported architectures.
18937 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18938 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18940 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18941 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18942 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18943 fall back to using wcrtomb.
18944 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18945 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18947 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18948 * wcsmbs/tst-c16c32-1.c: New file.
18950 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18953 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18955 * elf/tst-unique3.cc: Add explicit declaration of gets.
18956 * elf/tst-unique3lib.cc: Likewise.
18957 * elf/tst-unique3lib2.cc: Likewise.
18958 * elf/tst-unique4.cc: Likewise.
18960 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18962 2012-01-06 Joseph Myers <joseph@codesourcery.com>
18965 * assert/assert.h (static_assert): Don't define for C++.
18966 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18967 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18969 2012-01-03 Ulrich Drepper <drepper@gmail.com>
18971 * iconv/loop.c (single loop): Fix assertion in storing of
18974 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18976 2012-01-01 Ulrich Drepper <drepper@gmail.com>
18978 * posix/getconf.c: Update copyright year.
18979 * nss/getent.c: Likewise.
18980 * nss/makedb.c: Likewise.
18981 * iconv/iconvconfig.c: Likewise.
18982 * iconv/iconv_prog.c: Likewise.
18983 * elf/ldconfig.c: Likewise.
18984 * elf/pldd.c: Likewise.
18985 * elf/sotruss.ksh: Likewise.
18986 * catgets/gencat.c: Likewise.
18987 * csu/version.c: Likewise.
18988 * elf/ldd.bash.in: Likewise.
18989 * elf/sprof.c (print_version): Likewise.
18990 * locale/programs/locale.c: Likewise.
18991 * locale/programs/localedef.c: Likewise.
18992 * login/programs/pt_chown.c: Likewise.
18993 * nscd/nscd.c (print_version): Likewise.
18994 * debug/xtrace.sh: Likewise.
18995 * malloc/memusage.sh: Likewise.
18996 * malloc/mtrace.pl: Likewise.
18997 * debug/catchsegv.sh: Likewise.
18999 2011-12-30 Jakub Jelinek <jakub@redhat.com>
19001 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19004 2011-12-24 Ulrich Drepper <drepper@gmail.com>
19007 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19008 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19010 * iconv/gconv_int.h: Likewise.
19011 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19012 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19013 from libc for GLIBC_2.16.
19014 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19015 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19016 * wcsmbs/uchar.h: Really define mbstate_t.
19017 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19018 * wcsmbs/c16rtomb.c: New file.
19019 * wcsmbs/mbrtoc16.c: New file.
19020 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19021 for C/POSIX locale.
19022 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19023 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19025 * wcsmbs/wchar.h: Add missing __restrict.
19027 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19030 * time/Makefile (routines): Add timespec_get.
19031 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19032 * time/time.h: Define TIME_UTC and declare timespec_get. Define
19033 timespec for ISO C11.
19034 * time/timespec_get.c: New file.
19035 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19036 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19039 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19040 * stdlib/stdlib.h: Declare aligned_alloc.
19041 * Versions.def: Add GLIBC_2.16 for libc.
19042 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19045 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19048 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
19052 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19055 * assert/assert.h (static_assert): Define.
19057 * version.h: Update for 2.16 development version.
19060 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19063 * version.h (RELEASE): Bump for 2.15 release.
19064 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19066 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19067 Patch by Marek Polacek <mpolacek@redhat.com>.
19069 * bits/byteswap.h: Protect long long constants with __extension__.
19070 * sysdeps/i386/bits/byteswap.h: Likewise.
19071 * sysdeps/ia64/bits/byteswap.h: Likewise.
19072 * sysdeps/s390/bits/byteswap.h: Likewise.
19073 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19075 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19078 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19079 destination buffer.
19080 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19082 2011-12-23 Marek Polacek <polacek@redhat.com>
19084 * elf/dl-addr.c (determine_info): Add inline keyword.
19085 * elf/tst-auditmod4b.c (check_avx): Likewise.
19086 * elf/tst-auditmod6b.c (check_avx): Likewise.
19087 * elf/tst-auditmod6c.c (check_avx): Likewise.
19088 * elf/tst-auditmod7b.c (check_avx): Likewise.
19090 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19092 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19095 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19098 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19099 processing for last bytes.
19101 2011-08-06 Bruno Haible <bruno@clisp.org>
19104 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19105 U+0385, not to U+1FEE.
19108 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19109 entry for U+00A5 U+0301.
19111 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19114 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19115 buffer for the output is too small.
19117 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19121 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19122 SSE flags if possible.
19124 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19127 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19128 processing for last bytes.
19130 2011-12-22 Joseph Myers <joseph@codesourcery.com>
19132 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19133 (syscall-list-default-options, syscall-list-default-condition)
19134 (syscall-list-includes): Define.
19135 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19136 list of ABIs and options and #if conditions for each ABI. Do not
19137 handle common syscalls between ABIs specially.
19138 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19140 (syscall-list-variants, syscall-list-32bit-options)
19141 (syscall-list-32bit-condition, syscall-list-64bit-options)
19142 (syscall-list-64bit-condition): Define.
19143 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19144 (syscall-list-variants, syscall-list-32bit-options)
19145 (syscall-list-32bit-condition, syscall-list-64bit-options)
19146 (syscall-list-64bit-condition): Define.
19147 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19149 (syscall-list-variants, syscall-list-32bit-options)
19150 (syscall-list-32bit-condition, syscall-list-64bit-options)
19151 (syscall-list-64bit-condition): Define.
19152 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19154 (syscall-list-variants, syscall-list-32bit-options)
19155 (syscall-list-32bit-condition, syscall-list-64bit-options)
19156 (syscall-list-64bit-condition): Define.
19158 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19160 * locale/iso-639.def: Add brx entry.
19163 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19164 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19166 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19167 __feraiseexcept_renamed.
19169 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19172 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19173 EPOLLET with unsigned values.
19174 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19175 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19177 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19178 to large cancellation.
19179 * math/s_cacoshf.c: Likewise.
19180 * math/s_cacoshl.c: Likewise.
19182 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19186 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19187 * math/s_cacoshf.c: Likewise.
19188 * math/s_cacoshl.c: Likewise.
19190 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19193 * iconv/gconv.h: Define __GCONV_SWAP.
19194 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19195 * iconvdata/utf-16.c: Likewise.
19196 * iconvdata/utf-32.c: Likewise.
19198 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19201 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19202 numerator after shifting it by one limb.
19204 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19206 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19207 under [__USE_EXTERN_INLINES].
19209 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19212 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19214 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19216 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19217 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19219 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19220 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19221 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19222 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19223 for strncasecmp/strncasecmp_l compilation.
19224 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19225 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19227 2011-12-08 Marek Polacek <mpolacek@redhat.com>
19230 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19233 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19236 * time/tzfile.c (__tzfile_read): Check values from file header.
19238 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19240 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19241 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19242 * powerpc/powerpc32/dl-start.S: Likewise.
19243 * powerpc/powerpc32/elf/start.S: Likewise.
19244 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19245 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19246 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19247 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19248 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19249 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19250 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19251 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19252 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19253 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19254 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19255 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19256 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19257 * powerpc/powerpc32/memset.S: Likewise.
19258 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19259 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19260 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19261 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19262 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19263 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19264 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19265 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19266 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19267 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19268 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19269 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19270 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19272 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19274 * math/libm-test.inc: Added more nearbyint tests.
19275 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19276 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19277 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19280 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19282 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19285 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19287 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19288 Add wcscpy-ssse3 wcscpy-c.
19289 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19290 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19291 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19292 * sysdeps/x86_64/wcschr.S: New file.
19293 * sysdeps/x86_64/wcsrchr.S: New file.
19294 * string/test-strcmp.c: Remove checking of wcscmp function for
19296 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19297 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19298 wcsrchr-sse2 wcsrchr-c.
19299 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19300 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19301 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19302 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19303 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19304 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19305 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19306 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19307 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19308 * wcsmbc/wcschr.c (WCSCHR): New macro.
19310 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19312 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19313 * wcsmbs/test-wcsrchr.c: New file.
19314 * string/test-strrchr.c: Add wcsrchr support.
19316 * wcsmbs/test-wcscpy.c: New file.
19317 * string/test-strcpy.c: Add wcscpy support.
19320 2011-12-10 Ulrich Drepper <drepper@gmail.com>
19322 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19325 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19328 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19330 2011-12-04 Ulrich Drepper <drepper@gmail.com>
19332 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19333 Minor optimizations.
19335 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19336 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19337 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19339 2011-12-03 Ulrich Drepper <drepper@gmail.com>
19341 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19342 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19343 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19344 for gcc to avoid warnings.
19345 * inet/Makefile (tests): Add tst-checks.
19346 * inet/tst-checks.c: New file.
19348 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19351 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19354 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19355 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19357 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19359 2011-12-02 Ulrich Drepper <drepper@gmail.com>
19361 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19364 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19366 2011-11-29 Joseph Myers <joseph@codesourcery.com>
19368 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19369 conditional on GCC version.
19370 (__arch_compare_and_exchange_val_8_acq)
19371 (__arch_compare_and_exchange_val_16_acq)
19372 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19373 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19374 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19376 2011-12-02 Joseph Myers <joseph@codesourcery.com>
19378 * sysdeps/sh/backtrace.c: New file.
19380 2011-12-02 Andreas Schwab <schwab@redhat.com>
19382 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19385 2011-12-01 Andreas Schwab <schwab@redhat.com>
19387 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19388 falling back to utime.
19390 2011-11-30 Andreas Schwab <schwab@redhat.com>
19392 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19393 expectations for float.
19395 2011-11-29 Andreas Schwab <schwab@redhat.com>
19397 * locale/weight.h (findidx): Add parameter len.
19398 * locale/weightwc.h (findidx): Likewise.
19399 * posix/fnmatch_loop.c (FCT): Adjust caller.
19400 * posix/regcomp.c (build_equiv_class): Likewise.
19401 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19402 * posix/regexec.c (check_node_accept_bytes): Likewise.
19403 * string/strcoll_l.c (STRCOLL): Likewise.
19404 * string/strxfrm_l.c (STRXFRM): Likewise.
19406 2011-11-17 Ulrich Drepper <drepper@gmail.com>
19408 * Makefile.in: Remove CVSOPT handling.
19409 * configure.in: Remove use of AC_REVISION.
19410 * iconvdata/Makefile (distribute): No need to filter out CVS.
19411 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19414 2011-11-16 Andreas Schwab <schwab@redhat.com>
19416 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19417 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19418 [USE_AS_STRNCASECMP_L]: Likewise.
19419 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19420 NO_TLS_DIRECT_SEG_REFS.
19421 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19422 Fix argument offsets for non-PIC.
19423 [USE_AS_STRNCASECMP_L]: Likewise.
19424 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19425 NO_TLS_DIRECT_SEG_REFS.
19427 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19429 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19431 * locale/loadlocale.c (_nl_load_locale): Likewise.
19433 2011-11-15 Andreas Schwab <schwab@redhat.com>
19435 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19436 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19437 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19438 (SYSCALL_GETTIME): Set errno on error.
19440 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19441 count references to noai6ai_cached.
19443 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19445 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19447 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19448 FD_CLOEXEC for /proc/self/maps.
19450 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19451 FD_CLOEXEC for /proc/meminfo.
19453 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19456 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19457 FD_CLOEXEC for given file.
19459 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19461 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19462 FD_CLOEXEC for /etc/hosts.
19463 (_gethtent): Likewise.
19465 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19467 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19468 cancellation and set FD_CLOEXEC for /etc/netgroup.
19470 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19471 reading /etc/publickey.
19473 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19474 allow cancellation when reading /etc/group.
19476 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19478 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19480 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19481 when using data file.
19483 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19485 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19486 (write_nis_obj): Use "c" and "e" in fopen.
19488 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19490 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19492 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19494 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19496 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19499 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19501 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19503 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19505 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19506 file parsing and set FD_CLOEXEC.
19508 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19510 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19512 2011-11-14 Andreas Schwab <schwab@redhat.com>
19514 * malloc/arena.c (arena_get2): Don't call reused_arena when
19515 _int_new_arena failed.
19517 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19519 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19520 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19521 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19522 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19523 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19524 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19525 to compile strcasecmp and strncasecmp.
19526 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19527 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19529 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19531 2011-11-13 Ulrich Drepper <drepper@gmail.com>
19533 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19534 locale-defines.sym to gen-as-const-headers.
19535 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19536 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19537 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19538 to compile strcasecmp and strncasecmp.
19539 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19540 strcasecmp_l and strncasecmp_l.
19541 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19542 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19543 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19544 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19545 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19546 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19547 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19548 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19549 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19550 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19551 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19553 2011-11-12 Ulrich Drepper <drepper@gmail.com>
19555 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19556 result of SYSDEP_GETTIME_CPU to retval.
19557 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19558 parameter list to macro. Remove trailing semicolon. Adjust users.
19560 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19563 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19565 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19567 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19568 from unused variable.
19570 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19572 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19575 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19578 * sunrpc/rpc_prot.c (rejected): Fix case value.
19580 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19581 unsigned long long int to avoid warnings in shift.
19583 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19585 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19588 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19589 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19590 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19592 * nis/nis_table.c (nis_list): Use variable of correct type for
19593 result of __follow_path call.
19595 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19597 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19598 of math functions ceil, trunc, floor, round, and sqrt, when
19599 avaliable on the platform.
19600 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19602 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19603 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19604 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19606 2011-10-30 Marek Polacek <mpolacek@redhat.com>
19608 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19609 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19611 2011-11-11 Roland McGrath <roland@hack.frob.com>
19613 * include/unistd.h: Fix __readlink return type.
19614 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19616 2011-11-11 Ulrich Drepper <drepper@gmail.com>
19618 * stdlib/ucontext.h: Undo last change for makecontext.
19620 2011-11-11 Andreas Schwab <schwab@redhat.com>
19622 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19624 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19625 * setjmp/setjmp.h: Mark functions as non-leaf.
19626 * setjmp/bits/setjmp2.h: Likewise.
19627 * stdlib/ucontext.h: Likewise.
19629 2011-11-10 Andreas Schwab <schwab@redhat.com>
19631 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19632 (reused_arena): Don't check arena limit.
19633 (arena_get2): Atomically check arena limit.
19635 2011-11-08 Ulrich Drepper <drepper@gmail.com>
19637 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19638 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19640 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19643 2011-11-07 Andreas Schwab <schwab@redhat.com>
19645 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19646 handler when locking.
19648 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19649 Fix size of allocated buffer.
19651 2011-11-04 Andreas Schwab <schwab@redhat.com>
19654 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19655 declarations for long double functions.
19656 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19658 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19660 2011-11-03 Andreas Schwab <schwab@redhat.com>
19662 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19665 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19668 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19670 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19672 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19674 * include/alloca.h (stackinfo_alloca_round): Define.
19675 (extend_alloca): Use it.
19676 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19677 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19680 * scripts/check-local-headers.sh: Ignore libaudit.h.
19682 * nscd/Makefile (extra-objs): Make recursively expanded.
19684 2011-11-01 Ulrich Drepper <drepper@gmail.com>
19686 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19687 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19689 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19690 * posix/tst-rfc3484-2.c: Likewise.
19691 * posix/tst-rfc3484-3.c: Likewise.
19693 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19695 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19697 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19698 process_vm_writev from libc using GLIBC_2.15 version.
19700 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19702 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19704 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19707 2011-10-31 Ulrich Drepper <drepper@gmail.com>
19710 * nss/getent.c (initgroups_keys): Show error message in case no group
19713 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19714 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19715 __bump_nl_timestamp.
19716 * nscd/connections (nscd_init): When host database is served open
19717 netlink socket and request notification about configuration changes.
19718 (main_loop_poll): Track netlink file descriptor and bump timestamp
19719 in case data becomes available.
19720 (main_loop_epoll): Likewise.
19721 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19722 (database_pers_head): Add extra_data fileds.
19723 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19724 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19725 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19727 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19728 in6ai data, call __free_in6ai.
19729 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19730 Add -DHAVE_NETLINK.
19731 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19732 interface information. Reuse previous data if netlink timestamp
19734 (__bump_nl_timestamp): New function.
19735 (__free_in6ai): New function.
19737 2011-10-30 Ulrich Drepper <drepper@gmail.com>
19739 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19740 close_not_cancel_no_status here.
19741 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19743 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19746 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19749 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
19750 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19751 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19753 2011-07-03 Andreas Jaeger <aj@suse.de>
19756 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19757 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19758 * math/libm-test.inc (sin_test): Add test case.
19760 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19763 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19764 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19766 * elf/chroot_canon.c (chroot_canon): Cleanups.
19768 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19771 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19772 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19774 * string/test-strchr.c: Make usable for strchrnul testing.
19775 * string/test-strchrnul.c: New file.
19776 * string/Makefile (strop-tests): Add strchrnul.
19778 * po/it.po: Update from translation team.
19779 * po/es.po: Likewise.
19781 2011-10-28 Ulrich Drepper <drepper@gmail.com>
19783 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19784 the three constants needed as parameters. Drop the others.
19785 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19786 __m128i_strloadu_tolower.
19787 Create and initialize variable zero and use it in all the places
19788 where _mm_setzero_si128 was used.
19790 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19791 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19792 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19793 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19795 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19796 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19797 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19798 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19799 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19800 __mpranred, __mptan.
19801 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19802 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19803 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19804 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19805 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19806 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19807 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19808 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19809 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19811 2011-10-28 Andreas Schwab <schwab@redhat.com>
19813 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19814 redefine if SHARED.
19815 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19817 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19818 wide char related routines to wcsmbs subdir.
19820 2011-10-27 Andreas Schwab <schwab@redhat.com>
19823 * misc/sys/cdefs.h (__THROWNL): Define.
19824 * posix/unistd.h: Use __THREADNL instead of __THREAD
19825 for memory synchronization functions.
19827 2011-10-26 Roland McGrath <roland@hack.frob.com>
19830 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19832 * manual/stdio.texi (Obstack Streams): Node removed.
19834 2011-10-26 Andreas Schwab <schwab@redhat.com>
19836 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19837 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19838 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19840 * math/math_private.h (math_force_eval): Allow non-addressable
19842 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19844 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19846 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19847 file is not needed.
19849 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19850 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19851 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19852 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19853 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19854 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19855 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19856 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19858 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19859 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19860 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19861 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19862 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19863 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19864 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19865 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19866 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19867 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19868 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19869 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19870 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19871 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19872 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19873 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19874 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19875 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19876 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19878 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19879 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19881 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19882 place. Use VEX encoding when compiling for AVX.
19884 2011-10-25 Andreas Schwab <schwab@redhat.com>
19886 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19887 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19889 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19891 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19893 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
19894 useless if() expression.
19895 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19896 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19897 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19898 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19899 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19900 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19901 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19902 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19903 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19904 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19905 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19906 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19907 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19908 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19909 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19910 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19911 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19912 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19913 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19915 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19917 2011-10-25 Andreas Schwab <schwab@redhat.com>
19919 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19921 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19923 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19925 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19926 .text section. Avoid duplicate constants.
19927 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19928 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19929 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19931 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19932 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19933 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19934 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19935 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19936 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19937 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19938 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19939 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19940 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19941 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19942 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19943 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19944 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19945 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19946 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19947 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19948 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19949 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19950 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19951 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19952 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19953 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19954 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19955 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19956 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19957 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19958 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19959 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19960 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19961 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19962 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19963 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19964 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19965 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19966 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19967 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19968 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19969 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19970 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19971 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19973 2011-10-24 Ulrich Drepper <drepper@gmail.com>
19975 * sysdeps/x86_64/dla.h: Move to ...
19976 * sysdeps/x86_64/fpu/dla.h: ...here.
19977 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19978 situations. Use __builtin_fma only for gcc 4.6 and up.
19980 * config.make.in: Add have-mfma4 entry.
19981 * configure.in: Substitute libc_cv_cc_fma4.
19982 * math/Makefile (dbl-only-routines): Add sincostab.
19983 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19984 Use __sincostab not sincos.
19985 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19987 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19990 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19992 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19993 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19994 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19995 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19997 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19998 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20000 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
20001 define aliases when function name is a macro.
20002 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20003 sysdeps/ieee754/dbl-64/sincos.tbl.
20004 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20005 fma4-enabled routines.
20006 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20007 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20008 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20009 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20010 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20011 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20012 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20013 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20014 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20015 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20016 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20017 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20018 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20019 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20020 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20021 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20022 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20023 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20024 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20025 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20026 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20027 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20028 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20029 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20030 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20031 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20032 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20033 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20034 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20035 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20037 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20039 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20040 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20041 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20042 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20043 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20044 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20045 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20046 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20048 2011-10-24 Andreas Schwab <schwab@redhat.com>
20050 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20052 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20054 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20056 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20058 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20060 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20061 Remove unused variable magic_bits.
20062 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20064 * string/strnlen.c: Define and use STRNLEN macro.
20065 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20066 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20067 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20068 * wcsmbs/wcslen.c: Define and use WCSLEN.
20069 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20070 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20071 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20072 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20073 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20074 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20075 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20077 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20080 strnlen-sse2-no-bsf.
20081 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20082 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20083 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20084 Add strnlen support.
20085 (USE_AS_STRNLEN): New macro.
20086 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20087 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20088 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20089 * sysdeps/x86_64/wcslen.S: New file.
20091 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20093 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20094 XMM-moves are used for copying on small sizes.
20096 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20098 * wcsmbs/Makefile (strop-tests): Add wcschr.
20099 * wcsmbs/test-wcschr.c: New file.
20100 * string/test-strchr.c: Update.
20101 Add wcschr support.
20104 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20106 * wcsmbs/Makefile (strop-tests): Add wcslen.
20107 * wcsmbs/test-wcslen.c: New file.
20108 * string/test-strlen.c: Update.
20109 Add wcslen support.
20112 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20114 * po/it.po: Update from translation team.
20116 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20118 * sysdeps/x86_64/wcscmp.S: Update.
20119 Fix wrong comparison semantics.
20120 wcscmp shall use signed comparison not unsigned.
20121 Don't use substraction to avoid overflow bug.
20122 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20123 * wcsmbc/wcscmp.c: Likewise.
20124 * string/test-strcmp.c: Likewise.
20125 Add new tests to check cases with negative values.
20127 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20129 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20130 * sysdeps/x86_64/dla.h: ...here. New file.
20131 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20132 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20133 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20136 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20137 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20138 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20139 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20141 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20143 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20144 __ynl_finite aliases.
20146 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20150 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20152 [DLA_FMA] (EMULV): Use DLA_FMA.
20153 [DLA_FMA] (MUL12): Use EMULV.
20154 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20155 that are not needed.
20156 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20157 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20158 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20159 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20160 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20161 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20162 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20164 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20166 * math/s_nan.c: Undef __nan.
20167 * math/s_nanf.c: Undef __nanf.
20168 * math/s_nanl.c: Undef __nanl.
20169 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20172 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20174 * math/s_catan.c: Add branch predictions.
20175 * math/s_catanf.c: Likewise.
20176 * math/s_catanh.c: Likewise.
20177 * math/s_catanhf.c: Likewise.
20178 * math/s_catanhl.c: Likewise.
20179 * math/s_catanl.c: Likewise.
20180 * math/s_cexp.c: Likewise.
20181 * math/s_cexpf.c: Likewise.
20182 * math/s_cexpl.c: Likewise.
20183 * math/s_clog.c: Likewise.
20184 * math/s_clog10.c: Likewise.
20185 * math/s_clog10f.c: Likewise.
20186 * math/s_clog10l.c: Likewise.
20187 * math/s_clogf.c: Likewise.
20188 * math/s_clogl.c: Likewise.
20189 * math/s_csqrt.c: Likewise.
20190 * math/s_csqrtf.c: Likewise.
20191 * math/s_csqrtl.c: Likewise.
20192 * math/s_ctanf.c: Likewise.
20193 * math/s_ctanh.c: Likewise.
20194 * math/s_ctanhf.c: Likewise.
20195 * math/s_ctanhl.c: Likewise.
20196 * math/s_ctanl.c: Likewise.
20198 * math/math_private.h: Define __nan, __nanf, __nanl.
20199 * math/s_cacosh.c: Include <math_private.h>.
20200 * math/s_cacoshl.c: Likewise.
20201 * math/s_casinh.c: Likewise.
20202 * math/s_casinhf.c: Likewise.
20203 * math/s_casinhl.c: Likewise.
20204 * math/s_ccos.c: Rely entire on ccosh.
20205 * math/s_ccosf.c: Rely entire on ccoshf.
20206 * math/s_ccosl.c: Rely entirely on ccoshl.
20207 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20208 Remove tests for FE_INVALID.
20209 * math/s_ccoshf.c: Likewise.
20210 * math/s_ccoshl.c: Likewise.
20211 * math/s_csin.c: Likewise.
20212 * math/s_csinf.c: Likewise.
20213 * math/s_csinh.c Likewise.
20214 * math/s_csinhf.c: Likewise.
20215 * math/s_csinhl.c: Likewise.
20216 * math/s_csinl.c: Likewise.
20217 * math/s_ctan.c: Likewise.
20218 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20219 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20220 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20222 2011-10-21 Ulrich Drepper <drepper@gmail.com>
20224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20225 compilation problems.
20227 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20230 2011-10-20 Ulrich Drepper <drepper@gmail.com>
20232 * sysdeps/i386/configure.in: Test for -mfma4 option.
20233 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20234 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20235 COMMON_CPUID_INDEX_80000001.
20236 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20237 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20238 use it if FMA3 is not supported.
20239 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20241 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20242 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20244 2011-10-20 Andreas Schwab <schwab@redhat.com>
20247 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20248 it would create a cycle with a link time dependency.
20250 2011-10-19 Ulrich Drepper <drepper@gmail.com>
20252 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20254 * string/Makefile (strop-tests): Add rawmemchr.
20255 * string/test-rawmemchr.c: New file.
20257 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20258 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20259 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20260 when compiling str{,n}casecmp and when AVX is available. Hook up
20261 new optimized code in initializers.
20263 2011-10-19 Andreas Schwab <schwab@redhat.com>
20265 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20266 __feraiseexcept instead of feraiseexcept.
20268 2011-10-18 Ulrich Drepper <drepper@gmail.com>
20270 * math/math_private.h: Define defaults for libc_fetestexcept and
20272 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20273 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20274 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20275 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20276 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20277 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20278 libc_fetestexcept and libc_feupdateenv.
20280 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20281 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20282 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20283 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20284 libc_feholdexcept_setround.
20286 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20287 Add s_nearbyint-c and s_nearbyintf-c.
20288 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20289 nearbyintf inlines.
20290 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20291 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20292 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20293 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20295 * math/math_private.h: Define defaults for libc_fegetround,
20296 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20297 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20298 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20299 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20300 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20301 standard functions.
20302 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20303 Remove comments and hacks for old compiler versions.
20304 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20305 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20306 libc_feholdexceptl.
20308 2011-10-18 Andreas Schwab <schwab@redhat.com>
20310 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20311 (__feraiseexcept_renamed): Add __NTH.
20312 (feraiseexcept): Add __NTH. Rename local variables to fix
20313 namespace violations.
20315 2011-10-17 Ulrich Drepper <drepper@gmail.com>
20317 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20319 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20321 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20322 recently added interfaces.
20323 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20325 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20326 about macro parameter expansion.
20328 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20329 __NO_MATH_INLINES is defined. Cleanups.
20331 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20332 and __floorf is target has SSE4.1.
20333 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20334 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20335 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20336 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20338 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20340 (floorf): Likewise.
20342 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20344 2011-10-17 Andreas Schwab <schwab@redhat.com>
20346 * misc/sys/cdefs.h: Fix last change.
20348 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20351 2011-10-16 Ulrich Drepper <drepper@gmail.com>
20353 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20355 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20356 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20357 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20358 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20359 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20360 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20361 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20362 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20363 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20364 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20365 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20366 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20367 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20368 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20369 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20370 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20371 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20372 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20373 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20374 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20375 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20376 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20378 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20379 ceil, ceilf, floor, floorf.
20381 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20382 Perform IRELATIVE relocations last.
20384 * elf/do-rel.h: Add another parameter nrelative, replacing the
20385 local variable with the same name. Change name of the function
20386 to end in Rel or Rela (uppercase).
20387 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20388 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20389 elf_dynamic_do_##reloc function.
20391 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20393 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20394 is sufficient, at least on modern CPUs.
20396 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20398 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20399 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20401 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20403 * math/bits/math-finite.h: Add entries for exp.
20404 * math/e_expl.c: Add __*_finite alias.
20405 * sysdeps/i386/fpu/e_exp.S: Likewise.
20406 * sysdeps/i386/fpu/e_expf.S: Likewise.
20407 * sysdeps/i386/fpu/e_expl.c: Likewise.
20408 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20409 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20410 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20411 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20412 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20413 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20414 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20416 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20417 is sufficient, at least on modern CPUs.
20419 * ctype/ctype-info.c (__ctype_init): Define.
20420 * include/ctype.h (__ctype_init): Declare.
20421 (__ctype_b_loc): The variable is always initialized.
20422 (__ctype_toupper_loc): Likewise.
20423 (__ctype_tolower_loc): Likewise.
20424 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20425 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20427 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20429 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20431 * configure.in: Also look in $cxxmachine/include for C++ system
20434 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20436 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20437 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20438 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20439 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20440 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20441 (USE_AS_WMEMCMP): New macro.
20443 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20444 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20445 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20446 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20447 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20448 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20449 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20450 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20451 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20452 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20453 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20454 (USE_AS_WMEMCMP): New macro.
20455 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20456 * sysdeps/string/test-memcmp.c: Update.
20457 Fix simple_wmemcmp.
20459 * wcsmbs/wmemcmp.c: Update.
20460 (WMEMCMP): New macro.
20463 2011-10-12 Andreas Jaeger <aj@suse.de>
20466 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20468 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20470 * libio/iofwide.c (do_length): Avoid warning.
20472 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20474 2011-10-14 Ulrich Drepper <drepper@gmail.com>
20476 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20478 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20479 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20480 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20481 * sysdeps/i386/i686/fpu/e_log.S: New file.
20482 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20483 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20485 * ctype/ctype.h: Add support for inlined isXXX functions when
20486 compiling C++ code.
20488 2011-10-14 Andreas Schwab <schwab@redhat.com>
20490 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20492 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20494 2011-10-13 Roland McGrath <roland@hack.frob.com>
20497 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20499 2011-10-13 Andreas Schwab <schwab@redhat.com>
20501 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20502 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20505 * sysdeps/x86_64/memrchr.S: Check for zero size.
20507 * string/stratcliff.c: Add memrchr tests.
20509 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20512 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20513 rawmemchr-sse2 rawmemchr-sse2-bsf.
20514 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20515 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20516 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20517 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20518 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20519 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20520 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20521 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20522 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20523 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20524 * string/memrchr.c (MEMRCHR): New macro.
20526 2011-10-12 Ulrich Drepper <drepper@gmail.com>
20528 Add integration with gcc's -ffinite-math-only and optimize wrapper
20530 * Versions.def: Define GLIBC_2.15 version for libm.
20531 * math/Makefile (headers): Add bits/math-finite.h.
20532 * math/bits/math-finite.h: New file.
20533 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20534 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20535 * math/e_acoshl.c: Add __*_finite alias.
20536 * math/e_acosl.c: Likewise.
20537 * math/e_asinl.c: Likewise.
20538 * math/e_atan2l.c: Likewise.
20539 * math/e_atanhl.c: Likewise.
20540 * math/e_coshl.c: Likewise.
20541 * math/e_exp10.c: Likewise.
20542 * math/e_exp10f.c: Likewise.
20543 * math/e_exp10l.c: Likewise.
20544 * math/e_exp2l.c: Likewise.
20545 * math/e_fmodl.c: Likewise.
20546 * math/e_gammal_r.c: Likewise.
20547 * math/e_hypotl.c: Likewise.
20548 * math/e_j0l.c: Likewise.
20549 * math/e_j1l.c: Likewise.
20550 * math/e_jnl.c: Likewise.
20551 * math/e_lgammal_r.c: Likewise.
20552 * math/e_log10l.c: Likewise.
20553 * math/e_log2l.c: Likewise.
20554 * math/e_logl.c: Likewise.
20555 * math/e_powl.c: Likewise.
20556 * math/e_sinhl.c: Likewise.
20557 * math/e_sqrtl.c: Likewise.
20558 * math/e_scalb.c: Completely rewritten and optimized.
20559 * math/e_scalbf.c: Likewise.
20560 * math/e_scalbl.c: Likewise.
20561 * math/w_acos.c: Likewise.
20562 * math/w_acosf.c: Likewise.
20563 * math/w_acosl.c: Likewise.
20564 * math/w_acosh.c: Likewise.
20565 * math/w_acoshf.c: Likewise.
20566 * math/w_acoshl.c: Likewise.
20567 * math/w_asin.c: Likewise.
20568 * math/w_asinf.c: Likewise.
20569 * math/w_asinl.c: Likewise.
20570 * math/w_atan2.c: Likewise.
20571 * math/w_atan2f.c: Likewise.
20572 * math/w_atan2l.c: Likewise.
20573 * math/w_atanh.c: Likewise.
20574 * math/w_atanhf.c: Likewise.
20575 * math/w_atanhl.c: Likewise.
20576 * math/w_exp10.c: Likewise.
20577 * math/w_exp10f.c: Likewise.
20578 * math/w_exp10l.c: Likewise.
20579 * math/w_fmod.c: Likewise.
20580 * math/w_fmodf.c: Likewise.
20581 * math/w_fmodl.c: Likewise.
20582 * math/w_j0.c: Likewise.
20583 * math/w_j0f.c: Likewise.
20584 * math/w_j0l.c: Likewise.
20585 * math/w_j1.c: Likewise.
20586 * math/w_j1f.c: Likewise.
20587 * math/w_j1l.c: Likewise.
20588 * math/w_jn.c: Likewise.
20589 * math/w_jnf.c: Likewise.
20590 * math/w_log.c: Likewise.
20591 * math/w_logf.c: Likewise.
20592 * math/w_logl.c: Likewise.
20593 * math/w_log10.c: Likewise.
20594 * math/w_log10f.c: Likewise.
20595 * math/w_log10l.c: Likewise.
20596 * math/w_log2.c: Likewise.
20597 * math/w_log2f.c: Likewise.
20598 * math/w_log2l.c: Likewise.
20599 * math/w_pow.c: Likewise.
20600 * math/w_powf.c: Likewise.
20601 * math/w_powl.c: Likewise.
20602 * math/w_remainder.c: Likewise.
20603 * math/w_remainderf.c: Likewise.
20604 * math/w_remainderl.c: Likewise.
20605 * math/w_scalb.c: Likewise.
20606 * math/w_scalbf.c: Likewise.
20607 * math/w_scalbl.c: Likewise.
20608 * math/w_sqrt.c: Likewise.
20609 * math/w_sqrtf.c: Likewise.
20610 * math/w_sqrtl.c: Likewise.
20611 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20612 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20614 * math/math_private.h: Declare __kernel_standard_f.
20615 * math/w_cosh.c: Remove cruft and optimize a bit.
20616 * math/w_coshf.c: Likewise.
20617 * math/w_coshl.c: Likewise.
20618 * math/w_exp2.c: Likewise.
20619 * math/w_exp2f.c: Likewise.
20620 * math/w_exp2l.c: Likewise.
20621 * math/w_hypot.c: Likewise.
20622 * math/w_hypotf.c: Likewise.
20623 * math/w_hypotl.c: Likewise.
20624 * math/w_lgamma.c: Likewise.
20625 * math/w_lgamma_r.c: Likewise.
20626 * math/w_lgammaf.c: Likewise.
20627 * math/w_lgammaf_r.c: Likewise.
20628 * math/w_lgammal.c: Likewise.
20629 * math/w_lgammal_r.c: Likewise.
20630 * math/w_sinh.c: Likewise.
20631 * math/w_sinhf.c: Likewise.
20632 * math/w_sinhl.c: Likewise.
20633 * math/w_tgamma.c: Likewise.
20634 * math/w_tgammaf.c: Likewise.
20635 * math/w_tgammal.c: Likewise.
20636 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20637 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20638 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20639 Minor optimizations. Pretty printing. Remove cruft.
20640 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20641 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20642 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20643 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20644 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20645 * sysdeps/i386/fpu/e_asin.S: Likewise.
20646 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20647 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20648 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20649 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20650 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20651 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20652 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20653 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20654 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20655 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20656 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20657 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20658 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20659 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20660 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20661 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20662 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20663 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20664 * sysdeps/i386/fpu/e_log.S: Likewise.
20665 * sysdeps/i386/fpu/e_log10.S: Likewise.
20666 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20667 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20668 * sysdeps/i386/fpu/e_log2.S: Likewise.
20669 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20670 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20671 * sysdeps/i386/fpu/e_logf.S: Likewise.
20672 * sysdeps/i386/fpu/e_logl.S: Likewise.
20673 * sysdeps/i386/fpu/e_pow.S: Likewise.
20674 * sysdeps/i386/fpu/e_powf.S: Likewise.
20675 * sysdeps/i386/fpu/e_powl.S: Likewise.
20676 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20677 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20678 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20679 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20680 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20681 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20682 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20683 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20684 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20685 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20686 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20687 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20688 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20689 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20690 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20691 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20692 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20693 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20694 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20695 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20696 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20697 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20698 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20699 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20700 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20701 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20702 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20703 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20704 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20705 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20706 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20707 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20708 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20709 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20710 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20711 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20712 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20713 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20714 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20715 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20716 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20717 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20718 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20719 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20720 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20721 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20722 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20723 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20724 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20725 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20726 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20727 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20728 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20729 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20730 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20731 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20732 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20733 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20734 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20735 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20736 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20737 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20738 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20739 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20740 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20741 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20742 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20743 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20744 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20745 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20746 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20747 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20748 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20749 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20750 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20751 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20752 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20753 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20754 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20755 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20756 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20757 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20758 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20759 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20760 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20761 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20762 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20763 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20764 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20765 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20766 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20767 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20768 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20769 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20770 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20771 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20772 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20773 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20774 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20775 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20776 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20777 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20778 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20779 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20780 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20781 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20782 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20783 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20784 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20785 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20786 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20787 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20788 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20789 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20790 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20791 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20792 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20793 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20794 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20795 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20796 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20797 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20798 (__isnanf): Likewise.
20799 (__isinf_ns): Likewise.
20800 (__isinf_nsf): Likewise.
20801 (__finite): Likewise.
20802 (__finitef): Likewise.
20803 (__ieee754_sqrt): Define as macro.
20804 (__ieee754_sqrtf): Define as macro.
20805 (__ieee754_sqrtl): Define as macro.
20806 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20808 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20809 __FINITE_MATH_ONLY__ consistent.
20810 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20812 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20814 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20817 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20819 2011-10-09 Ulrich Drepper <drepper@gmail.com>
20821 * po/ja.po: Update from translation team.
20823 2011-10-08 Roland McGrath <roland@hack.frob.com>
20825 * locale/programs/locarchive.c (prepare_address_space): New function.
20826 (create_archive, enlarge_archive, open_archive): Use it.
20828 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20829 inside [SHARED], where it is used.
20831 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20833 * nss/getent.c (netgroup_keys): Remove unused variable.
20834 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20836 2011-10-08 Ulrich Drepper <drepper@gmail.com>
20838 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20839 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20840 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20841 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20842 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20843 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20844 * math/Makefile (libm-calls): Add s_isinf_ns.
20845 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20846 * math/multc3.c: Likewise.
20847 * math/s_casin.c: Likewise.
20848 * math/s_casinf.c: Likewise.
20849 * math/s_casinl.c: Likewise.
20850 * math/s_ccos.c: Likewise.
20851 * math/s_ccosf.c: Likewise.
20852 * math/s_ccosl.c: Likewise.
20853 * math/s_ctan.c: Likewise.
20854 * math/s_ctanf.c: Likewise.
20855 * math/s_ctanh.c: Likewise.
20856 * math/s_ctanhf.c: Likewise.
20857 * math/s_ctanhl.c: Likewise.
20858 * math/s_ctanl.c: Likewise.
20859 * math/w_fmod.c: Likewise.
20860 * math/w_fmodf.c: Likewise.
20861 * math/w_fmodl.c: Likewise.
20862 * math/w_remainder.c: Likewise.
20863 * math/w_remainderf.c: Likewise.
20864 * math/w_remainderl.c: Likewise.
20865 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20866 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20867 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20868 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20869 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20870 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20871 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20872 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20874 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20876 * stdio-common/printf_fphex.c: Likewise.
20877 * stdio-common/printf_size.c: Likewise.
20879 * math/e_exp10.c: Include math_private.h using <...> not "...".
20880 * math/e_exp10f.c: Likewise.
20881 * math/e_exp10l.c: Likewise.
20882 * math/e_exp2l.c: Likewise.
20883 * math/e_j0l.c: Likewise.
20884 * math/e_j1l.c: Likewise.
20885 * math/e_jnl.c: Likewise.
20886 * math/e_lgammal_r.c: Likewise.
20887 * math/e_rem_pio2l.c: Likewise.
20888 * math/e_scalb.c: Likewise.
20889 * math/e_scalbf.c: Likewise.
20890 * math/e_scalbl.c: Likewise.
20891 * math/k_cosl.c: Likewise.
20892 * math/k_sinl.c: Likewise.
20893 * math/k_tanl.c: Likewise.
20894 * math/s_cacoshf.c: Likewise.
20895 * math/s_catan.c: Likewise.
20896 * math/s_catanf.c: Likewise.
20897 * math/s_catanh.c: Likewise.
20898 * math/s_catanhf.c: Likewise.
20899 * math/s_catanhl.c: Likewise.
20900 * math/s_catanl.c: Likewise.
20901 * math/s_ccosh.c: Likewise.
20902 * math/s_ccoshf.c: Likewise.
20903 * math/s_ccoshl.c: Likewise.
20904 * math/s_cexp.c: Likewise.
20905 * math/s_cexpf.c: Likewise.
20906 * math/s_cexpl.c: Likewise.
20907 * math/s_clog.c: Likewise.
20908 * math/s_clog10.c: Likewise.
20909 * math/s_clog10f.c: Likewise.
20910 * math/s_clog10l.c: Likewise.
20911 * math/s_clogf.c: Likewise.
20912 * math/s_clogl.c: Likewise.
20913 * math/s_csin.c: Likewise.
20914 * math/s_csinf.c: Likewise.
20915 * math/s_csinh.c: Likewise.
20916 * math/s_csinhf.c: Likewise.
20917 * math/s_csinhl.c: Likewise.
20918 * math/s_csinl.c: Likewise.
20919 * math/s_csqrt.c: Likewise.
20920 * math/s_csqrtf.c: Likewise.
20921 * math/s_csqrtl.c: Likewise.
20922 * math/s_ctan.c: Likewise.
20923 * math/s_ctanf.c: Likewise.
20924 * math/s_ctanh.c: Likewise.
20925 * math/s_ctanhf.c: Likewise.
20926 * math/s_ctanhl.c: Likewise.
20927 * math/s_ctanl.c: Likewise.
20928 * math/s_ldexp.c: Likewise.
20929 * math/s_ldexpf.c: Likewise.
20930 * math/s_ldexpl.c: Likewise.
20931 * math/s_significand.c: Likewise.
20932 * math/s_significandf.c: Likewise.
20933 * math/s_significandl.c: Likewise.
20934 * math/w_acos.c: Likewise.
20935 * math/w_acosf.c: Likewise.
20936 * math/w_acosh.c: Likewise.
20937 * math/w_acoshf.c: Likewise.
20938 * math/w_acoshl.c: Likewise.
20939 * math/w_acosl.c: Likewise.
20940 * math/w_asin.c: Likewise.
20941 * math/w_asinf.c: Likewise.
20942 * math/w_asinl.c: Likewise.
20943 * math/w_atan2.c: Likewise.
20944 * math/w_atan2f.c: Likewise.
20945 * math/w_atan2l.c: Likewise.
20946 * math/w_atanh.c: Likewise.
20947 * math/w_atanhf.c: Likewise.
20948 * math/w_atanhl.c: Likewise.
20949 * math/w_cosh.c: Likewise.
20950 * math/w_coshf.c: Likewise.
20951 * math/w_coshl.c: Likewise.
20952 * math/w_dremf.c: Likewise.
20953 * math/w_exp10.c: Likewise.
20954 * math/w_exp10f.c: Likewise.
20955 * math/w_exp10l.c: Likewise.
20956 * math/w_exp2.c: Likewise.
20957 * math/w_exp2f.c: Likewise.
20958 * math/w_fmod.c: Likewise.
20959 * math/w_fmodf.c: Likewise.
20960 * math/w_fmodl.c: Likewise.
20961 * math/w_hypot.c: Likewise.
20962 * math/w_hypotf.c: Likewise.
20963 * math/w_hypotl.c: Likewise.
20964 * math/w_j0.c: Likewise.
20965 * math/w_j0f.c: Likewise.
20966 * math/w_j0l.c: Likewise.
20967 * math/w_j1.c: Likewise.
20968 * math/w_j1f.c: Likewise.
20969 * math/w_j1l.c: Likewise.
20970 * math/w_jn.c: Likewise.
20971 * math/w_jnf.c: Likewise.
20972 * math/w_jnl.c: Likewise.
20973 * math/w_lgamma.c: Likewise.
20974 * math/w_lgamma_r.c: Likewise.
20975 * math/w_lgammaf.c: Likewise.
20976 * math/w_lgammaf_r.c: Likewise.
20977 * math/w_lgammal.c: Likewise.
20978 * math/w_lgammal_r.c: Likewise.
20979 * math/w_log.c: Likewise.
20980 * math/w_log10.c: Likewise.
20981 * math/w_log10f.c: Likewise.
20982 * math/w_log10l.c: Likewise.
20983 * math/w_log2.c: Likewise.
20984 * math/w_log2f.c: Likewise.
20985 * math/w_log2l.c: Likewise.
20986 * math/w_logf.c: Likewise.
20987 * math/w_logl.c: Likewise.
20988 * math/w_pow.c: Likewise.
20989 * math/w_powf.c: Likewise.
20990 * math/w_powl.c: Likewise.
20991 * math/w_remainder.c: Likewise.
20992 * math/w_remainderf.c: Likewise.
20993 * math/w_remainderl.c: Likewise.
20994 * math/w_scalb.c: Likewise.
20995 * math/w_scalbf.c: Likewise.
20996 * math/w_scalbl.c: Likewise.
20997 * math/w_sinh.c: Likewise.
20998 * math/w_sinhf.c: Likewise.
20999 * math/w_sinhl.c: Likewise.
21000 * math/w_sqrt.c: Likewise.
21001 * math/w_sqrtf.c: Likewise.
21002 * math/w_sqrtl.c: Likewise.
21003 * math/w_tgamma.c: Likewise.
21004 * math/w_tgammaf.c: Likewise.
21005 * math/w_tgammal.c: Likewise.
21007 * po/ja.po: Update from translation team.
21009 2011-09-29 Andreas Jaeger <aj@suse.de>
21012 * sunrpc/netname.c (netname2host): Fix logic.
21016 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21018 * math/w_remainder.c (__remainder): Likewise.
21019 * math/w_remainderf.c (__remainderf): Likewise.
21020 * math/libm-test.inc (remainder_test): Add test cases.
21022 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21024 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
21027 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21029 * string/test-memcmp.c: Avoid unncessary #defines.
21030 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21032 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21034 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21035 Use new sse2 version for core i3 - i7 as it's faster
21036 than sse42 version.
21037 (bit_Prefer_PMINUB_for_stringop): New.
21038 * sysdeps/x86_64/rawmemchr.S: Update.
21039 Replace with faster SSE2 version.
21040 * sysdeps/x86_64/memrchr.S: New file.
21041 * sysdeps/x86_64/memchr.S: Update.
21042 Replace with faster SSE2 version.
21044 2011-09-12 Marek Polacek <mpolacek@redhat.com>
21046 * elf/dl-load.c (lose): Add cast to avoid warning.
21048 2011-10-07 Ulrich Drepper <drepper@gmail.com>
21050 * po/ca.po: Update from translation team.
21052 * inet/getnetgrent_r.c: Hook up nscd.
21053 * nscd/Makefile (routines): Add nscd_netgroup.
21054 (nscd-modules): Add netgroupcache.
21055 (CFLAGS-netgroupcache.c): Define.
21056 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21057 (cache_search): Add const to second parameter.
21058 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21060 (dbs): Add netgrdb entry.
21061 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21062 (verify_persistent_db): Handle netgrdb.
21063 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21064 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21066 (netgroup_response_header): Define.
21067 (innetgroup_response_header): Define.
21068 (datahead): Add netgroup_response_header and innetgroup_response_header
21070 * nscd/nscd.conf: Add entries for netgroup cache.
21071 * nscd/nscd.h (dbtype): Add netgrdb.
21072 (_PATH_NSCD_NETGROUP_DB): Define.
21073 (netgroup_iov_disabled): Declare.
21074 (xmalloc, xcalloc, xrealloc): Move declarations here.
21075 (cache_search): Adjust prototype.
21076 Add netgroup-related prototypes.
21077 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21078 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21079 (__nscd_innetgr): Declare.
21080 * nscd/selinux.c (perms): Use access_vector_t as element type and
21081 add netgroup-related initializers.
21082 * nscd/netgroupcache.c: New file.
21083 * nscd/nscd_netgroup.c: New file.
21084 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21085 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21086 For four parameters use innetgr.
21087 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21088 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21089 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21090 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21092 * nscd/connections.c (register_traced_file): Don't register file
21093 for disabled databases.
21095 2011-10-06 Ulrich Drepper <drepper@gmail.com>
21097 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21099 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21100 from tree and freeing node.
21102 2011-09-25 Jiri Olsa <jolsa@redhat.com>
21104 * nss/nsswitch.c (__nss_database_lookup): Handle
21105 nss_parse_service_list out of memory case.
21107 2011-09-15 Jiri Olsa <jolsa@redhat.com>
21109 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21110 out of memory case.
21112 2011-10-04 Andreas Schwab <schwab@redhat.com>
21114 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21115 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21117 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21118 elf_machine_rela, elf_machine_lazy_rel.
21119 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21120 (ELF_DYNAMIC_DO_REL): Likewise.
21121 (ELF_DYNAMIC_DO_RELA): Likewise.
21122 (ELF_DYNAMIC_RELOCATE): Likewise.
21123 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21124 to ELF_DYNAMIC_DO_REL.
21125 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21126 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21127 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21129 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21130 skip_ifunc, don't call ifunc function if non-zero.
21131 (elf_machine_rela): Likewise.
21132 (elf_machine_lazy_rel): Likewise.
21133 (elf_machine_lazy_rela): Likewise.
21134 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21135 (elf_machine_lazy_rel): Likewise.
21136 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21138 (elf_machine_lazy_rel): Likewise.
21139 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21141 (elf_machine_lazy_rel): Likewise.
21142 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21143 (elf_machine_lazy_rel): Likewise.
21144 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21145 (elf_machine_lazy_rel): Likewise.
21146 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21147 (elf_machine_lazy_rel): Likewise.
21148 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21149 (elf_machine_lazy_rel): Likewise.
21150 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21151 (elf_machine_lazy_rel): Likewise.
21152 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21153 (elf_machine_lazy_rel): Likewise.
21155 2011-09-28 Ulrich Drepper <drepper@gmail.com>
21157 * nss/nss_files/files-init.c (_nss_files_init): Use static
21158 initialization for all the *_traced_file variables.
21160 2011-09-28 Andreas Schwab <schwab@redhat.com>
21162 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21164 2011-09-27 Roland McGrath <roland@hack.frob.com>
21167 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21169 2011-09-27 Andreas Schwab <schwab@redhat.com>
21171 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21172 Reread the line before reparsing it.
21174 2011-09-26 Andreas Schwab <schwab@redhat.com>
21176 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21178 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21179 Maxim Kuvyrkov <maxim@codesourcery.com>
21180 Joseph Myers <joseph@codesourcery.com>
21182 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21183 if needed for __stack_chk_guard.
21185 2011-09-19 Roland McGrath <roland@hack.frob.com>
21187 * sysdeps/posix/spawni.c (script_execute): Always define it.
21188 It will be optimized away if unused.
21189 (maybe_script_execute): New function.
21190 (__spawni): Call it.
21192 * Makerules: Don't include tls.make.
21193 (config-tls): Always set to thread.
21194 * tls.make.c: File removed.
21196 2011-09-19 Mike Frysinger <vapier@gentoo.org>
21198 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21199 * config.make.in (CPPFLAGS-config): New substituted variable.
21201 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21203 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21206 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21207 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21209 2011-09-15 Roland McGrath <roland@hack.frob.com>
21211 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21212 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21213 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21214 (CALL_FAIL): Likewise.
21215 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21216 (CALL_FAIL): Macro removed.
21217 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21219 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21221 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21222 for __FINITE_MATH_ONLY__ == 1.
21224 2011-09-15 Andreas Schwab <schwab@redhat.com>
21226 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21227 __ieee754_sqrt instead of sqrt.
21228 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21229 __ieee754_sqrtf instead of sqrtf.
21230 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21231 __floorf instead of floorf.
21232 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21233 __floorf, __truncf instead of floorf, truncf.
21235 2011-09-14 Ulrich Drepper <drepper@gmail.com>
21237 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21239 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21240 __extern_always_inline.
21241 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21244 2011-09-14 Andreas Schwab <schwab@redhat.com>
21246 * elf/rtld.c (dl_main): Also relocate in dependency order when
21247 doing symbol dependency testing.
21249 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21251 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21252 Always define `refsym'.
21254 2011-09-13 Andreas Schwab <schwab@redhat.com>
21256 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21257 (__FD_ELT): Renamed from __FDELT.
21258 * misc/bits/select2.h (__FD_ELT): Likewise.
21259 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21260 __FD_MASK instead of __FDELT, __FDMASK.
21261 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21263 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21266 * elf/Makefile (gen-ldd): Fix pattern.
21268 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21269 (init_tls): Likewise.
21271 2011-09-12 Ulrich Drepper <drepper@gmail.com>
21273 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21275 2011-09-12 Andreas Schwab <schwab@redhat.com>
21277 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21278 `struct cmsghdr *' instead of `void *'.
21279 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21282 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21284 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21286 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21287 ldd_rewrite_script.
21289 2011-09-11 Ulrich Drepper <drepper@gmail.com>
21291 * configure.in: Remove --with-tls option.
21292 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21293 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21294 out in case it is missing.
21295 * sysdeps/ia64/elf/configure.in: Likewise.
21296 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21297 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21298 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21299 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21300 * sysdeps/sh/elf/configure.in: Likewise.
21301 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21302 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21303 * sysdeps/x86_64/elf/configure.in: Likewise.
21304 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21305 * sysdeps/mach/hurd/tls.h: Likewise.
21308 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21311 * configure.in: Fix use of AC_INIT.
21313 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21315 2011-09-10 Ulrich Drepper <drepper@gmail.com>
21317 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21319 * malloc/hooks.c: Likewise.
21322 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21323 variables statically.
21324 (narenas): Initialize.
21325 (list_lock): Initialize.
21326 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21327 initializtion of main_arena and list_lock. Small cleanups.
21328 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21329 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21330 Add initializers to main_arena and mp_.
21331 (malloc_state): Remove pagesize member. Change all users to use
21334 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21335 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21336 is always initialized.
21338 * malloc/malloc.c: Removed unused configurations and dead code.
21339 * malloc/arena.c: Likewise.
21340 * malloc/hooks.c: Likewise.
21341 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21343 * include/tls.h: Removed. USE___THREAD must always be defined.
21344 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21345 * elf/dl-libc.c: Likewise.
21346 * elf/dl-tsd.c: Likewise.
21347 * include/errno.h: Likewise.
21348 * include/netdb.h: Likewise.
21349 * include/resolv.h: Likewise.
21350 * inet/herrno-loc.c: Likewise.
21351 * inet/herrno.c: Likewise.
21352 * malloc/arena.c: Likewise.
21353 * malloc/hooks.c: Likewise.
21354 * malloc/malloc.c: Likewise.
21355 * resolv/res-state.c: Likewise.
21356 * resolv/res_libc.c: Likewise.
21357 * sysdeps/i386/dl-machine.h: Likewise.
21358 * sysdeps/ia64/dl-machine.h: Likewise.
21359 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21360 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21361 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21362 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21363 * sysdeps/sh/dl-machine.h: Likewise.
21364 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21365 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21366 * sysdeps/unix/i386/sysdep.S: Likewise.
21367 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21368 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21369 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21370 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21371 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21372 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21373 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21374 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21375 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21377 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21378 * sysdeps/x86_64/dl-machine.h: Likewise.
21379 * tls.make.c: Likewise.
21381 * configure.in: Remove --with-__thread option. Make tests for
21382 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21383 tls_model attribute fail if no support is available. Remove
21385 * Makeconfig: Adjust for dropped configure option. All features are
21387 * Makerules: Likewise.
21388 * Versions.def: Likewise.
21389 * argp/argp-fmtstream.c: Likewise.
21390 * argp/argp-fmtstream.h: Likewise.
21391 * argp/argp-help.c: Likewise.
21392 * assert/assert.c: Likewise.
21393 * config.h.in: Likewise.
21394 * config.make.in: Likewise.
21395 * configure: Likewise.
21396 * configure.in: Likewise.
21397 * csu/Versions: Likewise.
21398 * csu/init.c: Likewise.
21399 * elf/tst-audit2.c: Likewise.
21400 * elf/tst-tls10.c: Likewise.
21401 * elf/tst-tls10.h: Likewise.
21402 * elf/tst-tls11.c: Likewise.
21403 * elf/tst-tls12.c: Likewise.
21404 * elf/tst-tls14.c: Likewise.
21405 * elf/tst-tlsmod11.c: Likewise.
21406 * elf/tst-tlsmod12.c: Likewise.
21407 * elf/tst-tlsmod13.c: Likewise.
21408 * elf/tst-tlsmod13a.c: Likewise.
21409 * elf/tst-tlsmod14a.c: Likewise.
21410 * elf/tst-tlsmod15b.c: Likewise.
21411 * elf/tst-tlsmod16a.c: Likewise.
21412 * elf/tst-tlsmod16b.c: Likewise.
21413 * elf/tst-tlsmod7.c: Likewise.
21414 * elf/tst-tlsmod8.c: Likewise.
21415 * elf/tst-tlsmod9.c: Likewise.
21416 * gmon/gmon.c: Likewise.
21417 * grp/fgetgrent_r.c: Likewise.
21418 * grp/putgrent.c: Likewise.
21419 * hurd/fopenport.c: Likewise.
21420 * include/libc-symbols.h: Likewise.
21421 * include/tls.h: Likewise.
21422 * intl/gettextP.h: Likewise.
21423 * intl/loadinfo.h: Likewise.
21424 * locale/global-locale.c: Likewise.
21425 * locale/localeinfo.h: Likewise.
21426 * mach/devstream.c: Likewise.
21427 * malloc/arena.c: Likewise.
21428 * malloc/set-freeres.c: Likewise.
21429 * misc/err.c: Likewise.
21430 * misc/getttyent.c: Likewise.
21431 * misc/mntent_r.c: Likewise.
21432 * posix/getopt.c: Likewise.
21433 * posix/wordexp.c: Likewise.
21434 * pwd/fgetpwent_r.c: Likewise.
21435 * resolv/Versions: Likewise.
21436 * resolv/res_hconf.c: Likewise.
21437 * shadow/fgetspent_r.c: Likewise.
21438 * shadow/putspent.c: Likewise.
21439 * stdio-common/printf_fphex.c: Likewise.
21440 * stdio-common/tmpfile.c: Likewise.
21441 * stdlib/abort.c: Likewise.
21442 * stdlib/fmtmsg.c: Likewise.
21443 * sunrpc/auth_unix.c: Likewise.
21444 * sunrpc/clnt_perr.c: Likewise.
21445 * sunrpc/clnt_tcp.c: Likewise.
21446 * sunrpc/clnt_udp.c: Likewise.
21447 * sunrpc/clnt_unix.c: Likewise.
21448 * sunrpc/openchild.c: Likewise.
21449 * sunrpc/svc_simple.c: Likewise.
21450 * sunrpc/svc_tcp.c: Likewise.
21451 * sunrpc/svc_udp.c: Likewise.
21452 * sunrpc/svc_unix.c: Likewise.
21453 * sunrpc/xdr.c: Likewise.
21454 * sunrpc/xdr_array.c: Likewise.
21455 * sunrpc/xdr_rec.c: Likewise.
21456 * sunrpc/xdr_ref.c: Likewise.
21457 * sunrpc/xdr_stdio.c: Likewise.
21459 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21461 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21463 2011-07-03 Andreas Jaeger <aj@suse.de>
21465 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21466 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21467 regenerate with gen-libm-tests.pl.
21469 2010-05-12 Petr Baudis <pasky@suse.cz>
21472 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21473 around j0() zero points by switching to j1().
21474 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21475 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21476 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21477 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21479 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21481 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21483 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21486 Patch in part by Pavel Roskin <proski@gnu.org>.
21489 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21491 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21492 Free memory block if necessary.
21495 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21496 be NULL. Don't lock in this case.
21498 2011-09-09 Roland McGrath <roland@hack.frob.com>
21500 * elf/elf.h (ELFOSABI_GNU): New macro.
21501 (ELFOSABI_LINUX): Define to that.
21503 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21505 * string/strncat.c (strncat): Undef the symbol in case it has been
21506 defined in bits/string.h.
21508 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21510 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21512 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21515 2011-08-17 Andreas Jaeger <aj@suse.de>
21517 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21519 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21520 Ian Lance Taylor <iant@google.com>
21522 * math/libm-test.inc (lround_test): New testcase.
21523 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21525 2011-09-08 Ulrich Drepper <drepper@gmail.com>
21527 * Makefile: Remove support for automatic cvs check-ins.
21528 * Makerules: Likewise.
21529 * config.make.in: Likewise.
21530 * configure.in: Likewise.
21531 * intl/Makefile: Likewise.
21532 * locale/Makefile: Likewise.
21533 * po/Makefile: Likewise.
21534 * posix/Makefile: Likewise.
21535 * sysdeps/gnu/Makefile: Likewise.
21536 * sysdeps/mach/hurd/Makefile: Likewise.
21537 * sysdeps/sparc/sparc32/Makefile: Likewise.
21540 * posix/Makefile (bug-regex32-ENV): Define.
21541 Patch by John Stanley <jpsinthemix@verizon.net>.
21543 * misc/Makefile (headers): Add bits/select2.h.
21544 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21545 * misc/bits/select2.h: New file.
21546 * include/bits/select2.h: New file.
21547 * debug/Makefile (routines): Add fdelt_chk.
21548 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21549 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21551 * debug/fdelt_chk.c: New file.
21553 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21554 * wcsmbs/test-wmemcmp.c: Likewise.
21555 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
21556 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
21558 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21560 * string/Makefile (strop-tests): Add memcmp.
21561 * string/test-wmemcmp.c: New file.
21562 * string/test-memcmp.c: Add wmemcmp support.
21564 2011-09-08 Roland McGrath <roland@hack.frob.com>
21567 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21570 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21571 garbage value in a __mach_port_mod_refs call in the cases of the
21572 task-self and thread-self ports.
21574 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21576 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21578 2011-09-08 Andreas Schwab <schwab@redhat.com>
21580 * elf/dl-load.c (lose): Check for non-null L.
21582 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21584 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21586 * elf/dl-libc.c (dlerror_run): Pass back error code from
21590 * elf/dl-load.c (lose): Free l_origin if it is valid.
21592 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21594 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21595 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21596 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21597 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21598 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21599 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21601 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21603 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21604 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21605 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21606 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21607 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21608 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21609 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21610 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21611 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21612 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21614 2011-08-15 Alan Modra <amodra@gmail.com>
21617 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21618 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21619 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21620 ppc_mcount to static-only-routines.
21621 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21623 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21624 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21626 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21628 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21629 for finite and infinity parameters.
21631 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21633 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21634 and add nop instructions for throughput optimization.
21635 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21637 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21639 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21640 aligned copy for power7 with vector-scalar instructions.
21641 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21643 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21645 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21648 2011-09-07 Andreas Schwab <schwab@redhat.com>
21651 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21654 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21656 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21657 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21658 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21659 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21662 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21664 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21665 Forgot to demangle the pointer.
21667 * sysdeps/i386/sysdep.h: Define atom_text_section.
21668 * sysdeps/x86_64/sysdep.h: Likewise.
21669 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21670 section with atom_text_section.
21671 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21672 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21673 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21674 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21675 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21677 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21678 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21679 already be defined. Change to take two parameters and don't assign
21680 result to variable. Adjust all users.
21681 Define INTERNAL_GETTIME if not already defined.
21682 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21685 HAVE_CLOCK_GETTIME_VSYSCALL.
21686 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21688 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21689 gettimeofday vsyscall, just use time.
21691 2011-09-06 Andreas Schwab <schwab@redhat.com>
21693 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21696 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21698 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21702 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21703 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21704 syscall if possible.
21706 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21708 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21709 e_ident. Don't pass to find_mapsXX.
21710 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21712 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21715 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21716 * sysdeps/x86_64/multiarch/strchr.S: Update.
21717 Check bit_slow_BSF bit.
21718 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21719 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21720 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21722 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21725 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21727 (tryshell): Define.
21728 (__spawni): Change last parameter to be flag. Test
21729 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21730 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21731 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21732 * posix/spawni.c: Likewise.
21733 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21734 * posix/spawnp.c: Likewise. Change normal version to use
21735 SPAWN_XFLAGS_USE_PATH.
21736 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21737 SPAWN_XFLAGS_TRY_SHELL.
21740 * posix/glob.h: Remove gcc 1.x support.
21743 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21745 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21747 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21748 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21750 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21751 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21752 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21753 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21754 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21755 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21757 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21759 * sysdeps/x86_64/wcscmp.S: New file.
21761 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21762 wcscmp-c wcscmp-sse2
21763 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21764 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21765 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21766 * wcsmbs/wcscmp.c: Allow renaming.
21768 2011-09-05 David S. Miller <davem@davemloft.net>
21770 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21771 stack slot, rather than the struct return pointer slot.
21772 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21773 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21775 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21777 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21779 * po/ja.po: Update from translation team.
21782 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21783 kernel in 64-bit binaries.
21785 2011-09-01 David S. Miller <davem@davemloft.net>
21787 * elf/elf.h (HWCAP_SPARC_*): Move to..
21788 * sysdeps/sparc/sysdep.h: this new file and add new values.
21789 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21790 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21791 _DL_HWCAP_COUNT to 24.
21792 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21794 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21795 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21796 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21797 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21798 instead of magic constants.
21799 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21801 2011-08-31 David S. Miller <davem@davemloft.net>
21803 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21804 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21805 Reimplement to do errno handling inline.
21806 (SYSCALL_ERROR_HANDLER): New macro.
21807 (__SYSCALL_STRING): Do not do errno handling in asm.
21808 (__CLONE_SYSCALL_STRING): Delete.
21809 (__INTERNAL_SYSCALL_STRING): Delete.
21810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21811 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21812 (PSEUDO): Reimplement to do errno handling inline.
21813 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21814 (SYSCALL_ERROR_HANDLER): New macro.
21815 (__SYSCALL_STRING): Do not do errno handling in asm.
21816 (__CLONE_SYSCALL_STRING): Delete.
21817 (__INTERNAL_SYSCALL_STRING): Delete.
21818 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21819 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21821 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21822 (inline_syscall*): Add 'err' argument.
21823 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21824 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21825 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21826 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21828 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21829 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21831 2011-08-30 Andreas Schwab <schwab@redhat.com>
21833 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21835 2011-08-29 Jiri Olsa <jolsa@redhat.com>
21837 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21840 2011-08-24 David S. Miller <davem@davemloft.net>
21842 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21844 2011-08-24 Andreas Schwab <schwab@redhat.com>
21846 * elf/Makefile: Add rules to build and run unload8 test.
21847 * elf/unload8.c: New file.
21848 * elf/unload8mod1.c: New file.
21849 * elf/unload8mod1x.c: New file.
21850 * elf/unload8mod2.c: New file.
21851 * elf/unload8mod3.c: New file.
21853 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21856 2011-08-23 David S. Miller <davem@davemloft.net>
21858 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21859 subtract stack bias.
21860 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21861 %sp not %fp in calculations.
21862 (_JMPBUF_UNWINDS_ADJ): Likewise.
21864 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21865 (aio_suspend): Call it to force an exception region around the
21866 AIO_MISC_WAIT() invocation.
21868 2011-08-23 Andreas Schwab <schwab@redhat.com>
21870 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21873 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21875 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21877 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21878 and <dl-machine.h>.
21879 (Elf64_FuncDesc): Remove.
21881 2011-08-22 David S. Miller <davem@davemloft.net>
21883 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21884 sigaltstack check, add missing cfi directives.
21885 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21886 missing cfi directives, and sigaltstack handling.
21888 2011-08-16 Andreas Schwab <schwab@redhat.com>
21891 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21892 object is seen twice.
21893 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21895 * elf/Makefile (distribute): Add tst-initorder2.c.
21896 (tests): Add tst-initorder2.
21897 (modules-names): Add tst-initorder2a tst-initorder2b
21898 tst-initorder2c tst-initorder2d. Add rules to build them.
21899 ($(objpfx)tst-initorder2.out): New rule.
21900 * elf/tst-initorder2.c: New file.
21901 * elf/tst-initorder2.exp: New file.
21903 2011-08-22 Andreas Schwab <schwab@redhat.com>
21905 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21907 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21908 dependencies back to end of function.
21910 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21911 $(elfobjdir)/ld.so.
21913 2011-08-21 Ulrich Drepper <drepper@gmail.com>
21915 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21916 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21917 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21918 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21919 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21920 of __vdso_gettimeofday.
21921 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21922 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21924 (_libc_vdso_platform_setup): Remove initialization of
21925 __vdso_gettimeofday and __vdso_time.
21927 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21929 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21930 and fgetc_unlocked.
21931 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21934 * elf/dl-open.c (add_to_global): Report additions to the global scope
21935 for LD_DEBUG=scopes.
21936 (dl_open_worker): Also print scope of newly loaded dependencies.
21937 (_dl_show_scope): Indicate if there is no scope.
21940 * stdio-common/Makefile (tests): Add bug24.
21941 * stdio-common/bug24.c: New file.
21943 2011-08-19 Andreas Jaeger <aj@suse.de>
21946 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21947 non-existant file when using close-on-exec mode.
21949 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21951 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21952 the very first instruction.
21954 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21955 the CFI state in the end.
21956 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21957 inclusion of dl-trampoline.h.
21958 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21960 2011-08-19 Andreas Schwab <schwab@redhat.com>
21962 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21963 expectations for long double.
21965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21966 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21968 2011-08-14 David S. Miller <davem@davemloft.net>
21970 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21971 artificual limit depends upon the system page size.
21973 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21975 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21976 * resolv/Makefile: Define CFLAGS-libresolv.
21978 2011-08-17 Andreas Schwab <schwab@redhat.com>
21980 * nss/makedb.c (compute_tables): Make variables used in nested
21983 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21985 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21986 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21987 if buffer was too small.
21989 * elf/pldd.c (main): Attach to all threads in the process.
21990 Rewrite /proc handling to use *at functions.
21992 2011-08-16 Ulrich Drepper <drepper@gmail.com>
21994 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21995 specifies first scope to show.
21996 (dl_open_worker): Update callers. Move printing scope of new
21997 object to before the relocation.
21998 * elf/rtld.c (dl_main): Update _dl_show_scope call.
21999 * sysdeps/generic/ldsodefs.h: Update declaration.
22001 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22002 string for the scope number.
22004 2011-08-14 Ulrich Drepper <drepper@gmail.com>
22006 * nscd/servicescache.c (cache_addserv): Make sure written is always
22009 2011-08-14 Roland McGrath <roland@hack.frob.com>
22011 * sysdeps/i386/i486/bits/atomic.h
22012 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22013 statement expression, so as to suppress "set but not used" warning.
22014 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22016 * string/strncat.c (STRNCAT): Use prototype definition.
22018 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22019 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22021 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22022 (localedef-modules): Add localedef.
22023 (locale-modules): Add locale.
22025 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22026 * elf/rtld.c (dl_main): Invert order of assignment in last change,
22027 to avoid a warning.
22029 2011-08-14 David S. Miller <davem@davemloft.net>
22031 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22032 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22034 2011-08-13 Ulrich Drepper <drepper@gmail.com>
22036 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22037 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22038 * elf/rtld.c (dl_main): Set l_name of vDSO.
22039 Call _dl_show_scope when DL_DEBUG_SCOPES.
22040 (process_dl_debug): Recognize scopes flag and also set it for all.
22041 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22042 Declare _dl_show_scope.
22044 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22045 (do_dlopen): Pass caller_dlopen to dl_open.
22046 (__libc_dlopen_mode): Initialize caller_dlopen.
22048 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22049 of libc. Make tolower call locale-independent. Optimize a bit by
22050 using isdigit instead of isalnum.
22051 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22053 2011-08-12 Ulrich Drepper <drepper@gmail.com>
22055 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22056 was a dependency or dynamically loaded.
22058 2011-08-11 Ulrich Drepper <drepper@gmail.com>
22060 * intl/l10nflist.c: Allow architecture-specific pop function.
22061 * sysdeps/x86_64/l10nflist.c: New file.
22063 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22066 2011-08-10 Andreas Schwab <schwab@redhat.com>
22068 * include/dirent.h: Add libc_hidden_proto for scandirat and
22069 scandirat64. Don't declare __scandirat64.
22070 * dirent/scandirat.c: Add libc_hidden_def.
22071 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22072 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22074 2011-08-10 David S. Miller <davem@davemloft.net>
22076 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22078 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22079 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22080 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22082 2011-08-09 Ulrich Drepper <drepper@gmail.com>
22084 * Versions.def [libc]: Add GLIBC_2.15.
22085 * dirent/Makefile (routines): Add scandirat and scandirat64.
22086 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22088 * dirent/dirent.h: Declare scandirat and scandirat64.
22089 * dirent/scandirat.c: New file.
22090 * dirent/scandirat64.c: New file.
22091 * sysdeps/wordsize-64/scandirat.c: New file.
22092 * sysdeps/wordsize-64/scandirat64.c: New file.
22093 * dirent/opendir.c: Define opendirat.
22094 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22096 * dirent/scandir64.c: Adjust for scandir.c change.
22097 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22098 __scandirat64, and __scandir_cancel_handler.
22099 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22100 additional parameter and use openat instead of open (outside of ld.so).
22101 Add new __opendir as wrapper around __opendirat.
22102 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22103 here without requiring old scandirat implementation.
22105 2011-08-08 Ulrich Drepper <drepper@gmail.com>
22107 * dirent/scandir.c (cancel_handler): Renamed to
22108 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22109 defined. Adjust users.
22110 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22111 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22113 2011-08-04 Ulrich Drepper <drepper@gmail.com>
22115 * string/test-string.h (IMPL): Use __STRING to expand name and then
22118 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22121 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22123 * string/Makefile: Update.
22124 (strop-tests): Append strncat.
22125 * string/test-wcscmp.c: New file.
22126 New comprehensive test for wcscmp.
22127 * string/test-strcmp.c: Update.
22128 (WIDE): New define.
22130 2011-07-22 Andreas Schwab <schwab@redhat.com>
22132 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22135 2011-07-26 Andreas Schwab <schwab@redhat.com>
22137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22138 encoding to ACE if AI_IDN.
22140 2011-08-01 Jakub Jelinek <jakub@redhat.com>
22142 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22143 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22145 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22147 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22148 Fix overflow bug in strncat.
22149 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22151 * string/test-strncat.c: Update.
22152 Add new tests for checking overflow bugs.
22154 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22156 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22157 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22158 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22159 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22160 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22161 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22162 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22163 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22164 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22166 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22167 (USE_AS_STRCAT): Define.
22168 Add strcat and strncat support.
22169 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22171 2011-07-25 Andreas Schwab <schwab@redhat.com>
22173 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22174 __n bigger than INT_MAX+1.
22175 (__strncmp_g): Likewise.
22177 2011-07-23 Ulrich Drepper <drepper@gmail.com>
22179 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22180 * libio/stido.h: Likewise.
22182 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22184 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22187 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22188 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22189 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22190 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22191 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22194 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22197 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22199 (_dl_x86_64_save_sse): Likewise.
22201 2011-07-22 Ulrich Drepper <drepper@gmail.com>
22203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22205 (_dl_x86_64_save_sse): Likewise.
22207 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22209 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22211 2011-07-21 Andreas Schwab <schwab@redhat.com>
22213 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22215 (_dl_x86_64_save_sse): Use correct AVX check.
22217 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22219 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22220 bug in strncpy/strncat.
22221 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22223 2011-07-21 Ulrich Drepper <drepper@gmail.com>
22225 * string/tester.c (test_strcat): Add tests for different alignments
22226 of source and destination.
22227 (test_strncat): Likewise.
22229 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22232 * posix/glob.c (glob): Check passed in values before using them in
22233 expressions to avoid some overflows.
22234 (glob_in_dir): Likewise.
22237 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22238 check for AVX enablement so that we don't crash with old kernels and
22240 * elf/tst-audit4.c: Add same checks here.
22241 * elf/tst-audit6.c: Likewise.
22243 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22245 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22247 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22249 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22251 * po/cs.po: Update from translation team.
22252 * po/bg.po: Likewise.
22254 2011-07-12 Marek Polacek <mpolacek@redhat.com>
22256 * misc/sys/cdefs.h: Add support for const attribute.
22257 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22258 to gnu_dev_{major,minor,makedev} functions.
22260 2011-07-20 Marek Polacek <mpolacek@redhat.com>
22262 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22264 2011-07-20 Andreas Schwab <schwab@redhat.com>
22266 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22269 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22271 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22272 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22273 register in order to avoid conflicts with the soft frame pointer
22274 being held in r11 when necessary.
22275 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22276 (INTERNAL_VSYSCALL_NCS): Likewise.
22278 2011-07-14 Marek Polacek <mpolacek@redhat.com>
22280 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22281 * elf/dl-fini.c (_dl_fini): Adjust caller.
22282 * elf/dl-close.c (_dl_close_worker): Likewise.
22283 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22285 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22287 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22288 "aux_cache->nlibs < 0".
22290 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22291 in the reload-count case.
22293 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22296 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22297 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22298 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22299 * sysdeps/x86_64/multiarch/strcat.S: New file.
22300 * sysdeps/x86_64/multiarch/strncat.S: New file.
22301 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22302 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22303 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22304 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22305 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22306 (USE_AS_STRCAT): Define.
22307 Add strcat and strncat support.
22308 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22309 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22310 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22311 * string/strncat.c: Update.
22312 (USE_AS_STRNCAT): Define.
22313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22314 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22316 * sysdeps/x86_64/multiarch/init-arch.h
22317 (bit_Prefer_PMINUB_for_stringop): New.
22318 (index_Prefer_PMINUB_for_stringop): Likewise.
22319 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22320 bit_Prefer_PMINUB_for_stringop.
22322 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22324 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22326 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22327 of casting of buffer.
22328 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22329 buffer32 and buffer64.
22330 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22331 writes instead of casting of buffer.
22332 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22334 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22337 2011-07-19 Andreas Schwab <schwab@redhat.com>
22339 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22341 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22343 * nscd/nscd.c (termination_handler): Don't do anything for a database
22344 if it has not yet been initialized.
22346 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22348 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22350 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22352 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22354 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22356 * po/nl.po: Update from translation team.
22357 * po/sv.po: Likewise.
22359 2011-07-16 Roland McGrath <roland@hack.frob.com>
22361 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22362 now disallowed by GCC.
22364 * configure.in (use-default-link): Default to yes if a test -shared
22365 link meets our qualifications.
22366 * configure: Regenerated.
22368 * config.make.in (output-format): New variable.
22369 * configure.in: Check for ld --print-output-format support.
22370 * configure: Regenerated.
22371 * Makerules ($(common-objpfx)format.lds)
22372 [$(output-format) != unknown]: Just use $(output-format),
22373 instead of the linker-script munging.
22375 2011-07-14 Roland McGrath <roland@hack.frob.com>
22377 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22378 of $(common-objpfx)shlib.lds.
22379 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22381 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22382 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22384 * configure.in (-z relro check): Adjust test code to add a large
22385 writable data section after it.
22386 * configure: Regenerated.
22388 2011-07-11 Roland McGrath <roland@hack.frob.com>
22390 * configure.in (-z relro check): Fix test code to make the variable
22392 * configure: Regenerated.
22394 2011-07-11 Ulrich Drepper <drepper@gmail.com>
22396 * nscd/nscd.h (struct traced_file): Define.
22397 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22398 elements. Add traced_files.
22399 (inotify_fd): Declare.
22400 (register_traced_file): Declare.
22401 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22402 (inotify_fd): Export.
22403 (resolv_conf_descr): Remove.
22404 (nscd_init): Move inotify descriptor creation to main.
22405 Don't register files for notification here.
22406 (register_traced_file): New function.
22407 (invalidate_cache): Don't use reset_res to determine whether to call
22408 res_init, go through the list of registered files.
22409 (main_loop_poll): The inotify descriptors are now stored in the
22410 structures for the traced files.
22411 (main_loop_epoll): Likewise
22412 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22413 to __nss_disable_nscd.
22414 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22415 for a database anymore. Check the records for all the registered
22417 * nss/Makefile (libnss_files-routines): Add files-init.
22418 (libnss_db-routines): Add db-init.
22419 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22420 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22421 * nss/nss_db/db-init.c: New file.
22422 * nss/nss_files/files-init.c: New file.
22423 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22424 __nss_lookup_function.
22425 (__nss_lookup_function): Call nss_load_library.
22426 (nss_load_all_libraries): New function.
22427 (__nss_disable_nscd): Take parameter with callback function for files
22428 to register. Set is_nscd. Load all the DSOs for the NSS modules
22429 used for the cached services.
22430 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22431 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22432 options for features to all the files in nscd.
22434 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22436 2011-07-10 Roland McGrath <roland@hack.frob.com>
22438 * csu/elf-init.c (__libc_csu_init): Comment typo.
22440 2011-07-09 Ulrich Drepper <drepper@gmail.com>
22442 * po/pl.po: Update from translation team.
22443 * po/ja.po: Likewise.
22444 * po/ru.po: Likewise.
22445 * po/ko.po: Likewise.
22446 * po/fr.po: Likewise.
22448 2011-07-09 Roland McGrath <roland@hack.frob.com>
22450 * configure.in (.ctors/.dtors header and trailer check):
22451 Use an empirical test on a built program.
22452 * configure: Regenerated.
22454 * configure.in (-z relro check): Use an empirical test on a built DSO.
22455 Detect, but do not require, on ia64.
22456 * configure: Regenerated.
22458 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22459 Update tests that use readelf to use $READELF instead.
22460 * configure: Regenerated.
22462 2011-07-08 Ulrich Drepper <drepper@gmail.com>
22464 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22465 if the result is not used.
22467 2011-07-05 Andreas Jaeger <aj@suse.de>
22470 * stdlib/tst-strtod.c: Add testcase.
22472 2011-07-07 Ulrich Drepper <drepper@gmail.com>
22474 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22475 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22476 The latter has a higher limit. Take additional parameter to pass to
22478 (__pathconf): Pass file to __statfs_link_max.
22479 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22481 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22485 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22486 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22488 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22489 (__statfs_filesize_max): Likewise.
22490 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22492 2011-07-05 Andreas Jaeger <aj@suse.de>
22494 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22496 2011-07-06 Marek Polacek <mpolacek@redhat.com>
22498 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22500 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22503 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22505 * Makefile (strop-tests): Add strncat.
22506 * string/test-strncat.c: New file.
22508 2011-06-30 Marek Polacek <mpolacek@redhat.com>
22510 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22512 2011-06-21 Andreas Jaeger <aj@suse.de>
22514 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22515 Copy rule from iconvdata/Makefile.
22517 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22520 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22521 but no long options are defined, just return 'W'.
22523 2011-06-22 Marek Polacek <mpolacek@redhat.com>
22526 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22528 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22530 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22532 (innetgr): Likewise.
22534 2011-07-05 Roland McGrath <roland@hack.frob.com>
22536 * config.make.in (install_root): Default to $(DESTDIR).
22538 2011-07-05 Ulrich Drepper <drepper@gmail.com>
22540 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22542 2011-07-02 Roland McGrath <roland@hack.frob.com>
22544 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22546 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22547 containing directory rather than embedding absolute directory names.
22549 * scripts/check-local-headers.sh: Rewritten using awk.
22550 Match by word, not by line. Print error messages for matches.
22551 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22553 * Makerules [shlib-lds-flags empty]:
22554 ($(common-objpfx)libc_pic.opts): New target.
22555 ($(common-objpfx)libc_pic.os.clean): New target.
22556 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22558 * config.make.in (OBJCOPY): New variable.
22559 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22560 * configure: Regenerated.
22562 * config.make.in (use-default-link): New variable.
22563 * configure.in (use_default_link): Grok --with-default-link to set it.
22564 * configure: Regenerated.
22565 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22566 (shlib-lds, shlib-lds-flags): Define to empty.
22568 * Makerules (shlib-lds): New variable.
22569 (shlib-lds-flags): New variable.
22570 (build-shlib, build-moduile, build-module-asneeded): Use it.
22571 ($(common-objpfx)libc.so): Use $(shlib-lds).
22572 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22573 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22575 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22576 DT_FLAGS/DT_FLAGS_1 with zero flags.
22578 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22579 linker script munging.
22581 2011-07-02 Ulrich Drepper <drepper@gmail.com>
22583 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22585 * crypt/sha512.c (sha512_process_block): Perform total addition using
22586 128-bit if possible.
22587 (__sha512_finish_ctx): Likewise.
22588 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22590 * crypt/sha256.c (SWAP64): Define.
22591 (sha256_process_block): Perform total addition using 64-bit if
22593 (__sha256_finish_ctx): Likewise.
22595 2011-07-01 Ulrich Drepper <drepper@gmail.com>
22597 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22598 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22599 * nscd/hstcache.c (cache_addhst): Likewise.
22600 * nscd/grpcache.c (cache_addgr): Likewise.
22601 * nscd/aicache.c (addhstaiX): Likewise
22602 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22604 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
22606 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22607 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22608 * nscd/hstcache.c (cache_addhst): Likewise.
22609 * nscd/grpcache.c (cache_addgr): Likewise.
22610 * nscd/aicache.c (addhstaiX): Likewise
22612 2011-07-01 Andreas Schwab <schwab@redhat.com>
22614 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22615 domain only when needed.
22617 2011-06-30 Andreas Schwab <schwab@redhat.com>
22619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22620 is always restored.
22622 2011-06-29 Ulrich Drepper <drepper@gmail.com>
22624 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22625 are re-adding the entry.
22626 * nscd/servicescache.c (cache_addserv): Likewise.
22628 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22630 * sysdeps/generic/dl-irel.h: fix protection against multiple
22632 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22634 2011-06-28 Ulrich Drepper <drepper@gmail.com>
22637 * malloc/memusage.sh: Fix quoting in message.
22638 * debug/xtrace.sh: Likewise.
22640 * configure.in: Remove support for --experimental-malloc option, make
22642 * config.make.in: Likewise.
22643 * malloc/Makefile: Likewise.
22645 2011-06-27 Andreas Schwab <schwab@redhat.com>
22647 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22648 two-byte characters.
22650 2011-06-27 Roland McGrath <roland@hack.frob.com>
22652 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22653 AC_CACHE_CHECK invocation.
22654 * configure: Regenerated.
22656 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22658 2011-06-27 Ulrich Drepper <drepper@gmail.com>
22661 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22662 bit from old_res_options.
22664 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22666 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22667 value type for setfct.
22669 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22671 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22672 __gettimeofday instead of gettimeofday.
22674 2011-06-26 Ulrich Drepper <drepper@gmail.com>
22676 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22678 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22680 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22682 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22685 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22687 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22688 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22689 strcpy-sse2-unaligned strncpy-sse2-unaligned
22690 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22691 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22692 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22693 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22694 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22695 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22696 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22697 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22698 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22699 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22700 (STRCPY): Support SSE2 and SSSE3 versions.
22702 2011-06-24 Ulrich Drepper <drepper@gmail.com>
22705 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22706 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22707 kernels which artificially limit size of requests.
22709 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22711 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22712 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22713 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22714 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22715 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22716 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22717 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22718 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22719 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22720 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22721 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22722 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22723 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22724 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22725 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22727 Enable unaligned load optimization for Intel Core i3, i5 and i7
22729 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22731 (index_Fast_Unaligned_Load): Define.
22732 (HAS_FAST_UNALIGNED_LOAD): Define.
22734 2011-06-23 Marek Polacek <mpolacek@redhat.com>
22736 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22738 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22741 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22742 until it is clear that the information is realy needed.
22743 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22745 2011-06-22 Andreas Schwab <schwab@redhat.com>
22747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22749 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22751 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22752 /sys/devices/system/cpu/online if it is usable.
22754 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22755 reading the information from the /proc filesystem to once a second.
22757 2011-06-21 Andreas Jaeger <aj@suse.de>
22759 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22760 NULL after inclusion of kernel headers.
22762 2011-06-21 Ulrich Drepper <drepper@gmail.com>
22764 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22765 calls to internal_setent.
22768 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22769 addresses using gethostbyname4_r ignore IPv4 addresses.
22771 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22772 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22774 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22776 2011-06-20 David S. Miller <davem@davemloft.net>
22778 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22780 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22782 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22783 (elf_irel): Use it.
22784 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22785 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22786 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22787 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22788 * sysdeps/x86_64/dl-irel.h: Likewise.
22790 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22791 * elf/dl-sym.c: Likewise.
22793 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22795 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22796 need to dereference resplen2.
22798 2011-06-14 Andreas Schwab <schwab@redhat.com>
22800 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22802 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22804 * Makeconfig: Define vardbdir and inst_vardbdir.
22805 * nss/Makefile: Add rules to install db-Makefile.
22807 * nss/nss_db/db-XXX.c: Cleanup.
22809 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22810 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22812 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22813 * nss/makedb.c: Implement -g option to specify that value strings
22814 are generated and should not be added to table iterated over for
22816 * nss/nss_db/db-initgroups.c: New file.
22818 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22821 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22822 (internal_getgrouplist): Adjust to name change.
22823 Update use_initgroups_entry if this is not the first call.
22824 * nss/databases.def: Add initgroups entry.
22826 * nss/makedb.c (compute_tables): Check result of multiple hash table
22827 sizes to minimize maximum chain length.
22829 2011-06-14 Ulrich Drepper <drepper@gmail.com>
22831 * Versions.def: Add entry for libnss_db.
22832 * shlib-versions: Likewise.
22833 * nss/Makefile: Add rules to build libnss_db.
22834 * nss/Versions: Add libnss_db information. Organize libnss_files
22836 * nss/db-Makefile: Add gshadow support. Change rules for the new
22837 makedb progra. Some minor improvements to generate smaller files.
22838 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22840 * nss/makedb.c: ...here.
22841 Improve database format to be smaller and require less memory at
22843 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22845 * nss/nss_db/db-netgrp.c: Likewise.
22846 * nss/nss_db/db-open.c: Likewise.
22847 * nss/nss_files/flies-XXX.x: Adjust comments.
22848 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22849 * nss/nss_files/files-grp.c: Likewise.
22850 * nss/nss_files/files-hosts.c: Likewise.
22851 * nss/nss_files/files-network.c: Likewise.
22852 * nss/nss_files/files-proto.c: Likewise.
22853 * nss/nss_files/files-pwd.c: Likewise.
22854 * nss/nss_files/files-rpc.c: Likewise.
22855 * nss/nss_files/files-service.c: Likewise.
22856 * nss/nss_files/files-sgrp.c: Likewise.
22857 * nss/nss_files/files-spwd.c: Likewise.
22858 * nss/nss_db/db-alias.c: Removed.
22859 * nss/nss_db/dummy-db.h: Removed.
22861 2011-06-02 Ulrich Drepper <drepper@gmail.com>
22863 * nss/makedb.c: Rewritten to not use database library.
22864 * nss/Makefile: Update to build new makedb program.
22866 2011-06-14 Andreas Jaeger <aj@suse.de>
22868 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22869 memset declaration.
22871 2011-06-10 Andreas Schwab <schwab@redhat.com>
22873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22876 2011-06-10 Roland McGrath <roland@hack.frob.com>
22878 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22879 * elf/Makefile ($(objpfx)ld.so): Likewise.
22881 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22882 Don't list ld.so twice in dependencies.
22884 * posix/bug-regex31.c: Include <stdlib.h>.
22886 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22888 * nis/nss_compat/compat-spwd.c
22889 (getspent_next_nss_netgr): Remove unused variable.
22890 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22892 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22893 nonmembers" output to use the right array.
22895 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22897 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22899 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22900 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22901 * catgets/gencat.c (read_input_file): Likewise.
22902 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22904 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22905 variable definition inside #if's controlling its use.
22907 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22909 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22911 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22913 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22916 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22918 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22919 * configure: Regenerated.
22921 * Makerules: Revert last change.
22922 * elf/Makefile: Likewise.
22924 2011-06-09 Roland McGrath <roland@hack.frob.com>
22926 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22927 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22928 (reloc-link): Likewise.
22930 2011-06-09 Ulrich Drepper <drepper@gmail.com>
22932 * elf/Makefile: Add rules to build pldd.
22933 * elf/pldd.c: New file.
22934 * elf/pldd-xx.c: New file.
22936 2011-06-07 Ulrich Drepper <drepper@gmail.com>
22938 * version.h: Update for 2.15 development version.
22940 2011-06-07 David S. Miller <davem@davemloft.net>
22942 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22944 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22945 elf_machine_lazy_rel): Likewise.
22946 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22947 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22948 elf_machine_lazy_rel): Likewise.
22949 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22950 dl_hwcap via passed in argument.
22951 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22954 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22956 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22958 2011-06-06 Roland McGrath <roland@hack.frob.com>
22961 * manual/fdl-1.1.texi: New file, verbatim from:
22962 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22963 * manual/lgpl-2.1.texi: New file, verbatim from:
22964 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22965 * manual/Makefile (licenses): New variable, list those new file names.
22967 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22969 * manual/fdl.texi: File removed.
22970 * manual/lesser.texi: File removed.
22971 * manual/libc.texinfo (Copying, Documentation License):
22972 Use new @include file names, put @appendix directive before @include.
22974 2011-06-04 Jakub Jelinek <jakub@redhat.com>
22977 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22978 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22979 (mq_open): Add __NTH.
22981 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22984 Assume Intel Core i3/i5/i7 processor if AVX is available.
22986 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22988 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22991 2011-05-31 Andreas Schwab <schwab@redhat.com>
22993 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22994 memory. Use alloca_account. Fix memory leak when retrying.
22996 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22998 * version.h (RELEASE): Bump for 2.14 release.
22999 * include/features.h (__GLIBC_MINOR__): Bump to 14.
23001 * config.make.in (RANLIB): Remove entry.
23003 2011-05-30 Ulrich Drepper <drepper@gmail.com>
23005 * po/Makefile (po-sed-cmd): Add ksh to extensions.
23006 (libc.pot): Work around missing support for .ksh extension in xgettext.
23009 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23010 if both request failed.
23011 (send_dg): In case of server errors clear resplen or *resplen2.
23014 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23015 when there are multiple maps.
23016 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23017 (_dl_fini): Remove test here.
23019 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23021 2011-05-29 Ulrich Drepper <drepper@gmail.com>
23024 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23025 bit from old_res_options.
23026 (gaih_inet): Likewise.
23029 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23032 * resolv/res_init.c (res_setoptions): Make the code more compact.
23035 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23039 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23041 * malloc/malloc.h: Mark malloc hook variables as deprecated.
23044 * malloc/malloc.h: Declare malloc hook variables as volatile.
23046 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23050 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
23051 raise in the comment.
23052 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23053 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23054 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23056 2011-05-28 Ulrich Drepper <drepper@gmail.com>
23059 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23060 grow the buffers more if it already has to be sufficient.
23061 (build_wcs_upper_buffer): Likewise.
23062 * posix/regexec.c (check_matching): Likewise.
23063 (clean_state_log_if_needed): Likewise.
23064 (extend_buffers): Don't enlarge buffers beyond size of the input
23066 Patches mostly by Emil Wojak <emil@wojak.eu>.
23067 * posix/bug-regex32.c: New file.
23068 * posix/Makefile (tests): Add bug-regex32.
23070 * locale/findlocale.c (_nl_find_locale): Return right away if
23071 _nl_explode_name failed.
23072 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23074 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23076 * debug/xtrace.sh: Unify messages.
23077 * malloc/memusage.sh: Likewise.
23080 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23081 time symbol from vDSO. Substitute with vsyscall if not available.
23082 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23085 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23086 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23087 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23088 Add sendmmsg and internal_sendmmsg.
23089 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23090 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23091 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23093 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23094 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23095 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23097 2011-05-27 Ulrich Drepper <drepper@gmail.com>
23100 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23101 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23103 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23107 * iconvdata/Makefile (tests): Add bug-iconv9.
23108 * iconvdata/bug-iconv9.c: New file.
23110 2011-05-27 Andreas Schwab <schwab@redhat.com>
23113 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23115 2011-05-25 Jakub Jelinek <jakub@redhat.com>
23117 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23118 (struct user_regs_struct): Change intcs field back to cs.
23120 2011-05-25 Ulrich Drepper <drepper@gmail.com>
23122 * po/ja.po: Update from translation team.
23124 2011-05-23 Ulrich Drepper <drepper@gmail.com>
23127 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23128 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23130 2011-05-20 Andreas Schwab <schwab@redhat.com>
23132 * stdlib/longlong.h: Update from GCC.
23134 2011-05-23 Andreas Schwab <schwab@redhat.com>
23136 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23138 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23139 Add parameter name.
23140 (__sysconf): Pass it down.
23142 2011-05-22 Ulrich Drepper <drepper@gmail.com>
23145 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23147 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23148 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23149 add in in __libc_use_alloca calls. Adjust callers.
23150 (glob): Use malloc in some situations.
23152 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23153 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23156 2011-05-21 Ulrich Drepper <drepper@gmail.com>
23158 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23159 and CLOCK_BOOTTIME_ALARM.
23162 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23165 * string/_strerror.c (__strerror_r): Print negative errors as signed
23169 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23170 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23171 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23173 * configure.in: Fix typo in redirection and correct removal of test
23174 files in two cases.
23177 * locale/setlocale.c (new_composite_name): Fix test to check for
23178 identical name of all categories.
23181 * libio/filedoalloc.c (local_isatty): New function.
23182 (_IO_file_doallocate): Use local_isatty.
23183 * stdio-common/perror.c (perror): In case a new stream is used
23184 forward the stream error.
23185 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23188 2011-05-20 Ulrich Drepper <drepper@gmail.com>
23191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23193 * include/alloca.h (extend_alloca_account): Define.
23196 * posix/regex.h: Fix comments with documentation of user-accessible
23197 fields after compilation and describe correct free'ing of pattern
23198 after re_compile_pattern.
23199 Patch by Reuben Thomas <rrt@sc3d.org>.
23201 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23203 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23204 and -mno-altivec to prevent the compiler from using Altivec and/or
23205 VSX instructions when the corresponding registers are not available.
23207 2011-05-19 Andreas Schwab <schwab@redhat.com>
23209 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23211 2011-05-19 Ulrich Drepper <drepper@gmail.com>
23213 * libio/freopen.c (freopen): Use __dup2, not dup2.
23214 * libio/freopen64.c (freopen64): Likewise.
23216 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23219 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23220 * math/Makefile (tests): Add test-powl.
23221 (CFLAGS-test-powl.c): Define.
23222 * math/test-powl.c: New file.
23224 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23226 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23228 2011-05-17 Ulrich Drepper <drepper@gmail.com>
23231 * iconvdata/gb18030.c: Update to GB18020-2005.
23233 2011-05-16 Ulrich Drepper <drepper@gmail.com>
23235 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23236 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23237 Patch by Aharon Robbins <arnold@skeeve.com>.
23240 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23244 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23245 through underflows.
23248 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23249 point to strings before performing equality test for error_one_per_line
23253 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23256 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23257 (struct user_fpregs_struct): Avoid __uint*_t types.
23260 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23261 symbol info. Use it instead of calling _dl_addr locally.
23262 (lock_and_info): New function.
23263 (tr_freehook): Call lock_and_info and pass symbol info as additional
23264 parameter to tr_where.
23265 (tr_mallochook): Likewise.
23266 (tr_reallochook): Likewise.
23267 (tr_memalignhook): Likewise.
23269 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23270 used and couldn't be at all thread-safe.
23272 2011-05-15 Ulrich Drepper <drepper@gmail.com>
23274 * libio/freopen.c (freopen): Don't close old file descriptor
23275 before the new one is opened. Instead dup the new file descriptor
23276 to the old one after the new stream is created.
23277 * libio/freopen64.c (freopen64): Likewise.
23278 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23279 * libio/fileops.c (_IO_new_file_close_it): Handle new
23280 _IO_FLAGS2_NOCLOSE flag.
23281 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23282 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23283 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23284 _IO_FLAGS2_NOCLOSE flag.
23285 * include/unistd.h: Add hidden_proto for dup3.
23286 Define __have_dup3.
23287 * io/dup3.c: Define hidden symbol.
23288 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23291 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23292 when an incomplete long option is used.
23293 * posix/tst-getopt_long1.c: New file.
23294 * posix/Makefile (tests): Add tst-getopt_long1.
23297 * scripts/config.guess: Update from autoconf-2.68.
23298 * scripts/config.sub: Likewise.
23301 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23303 (has_cpuclock): ...this. New function.
23304 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23305 macro here based on has_cpuclock code.
23308 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23309 First byte (not low byte) is now always NUL.
23310 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23312 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23313 Use non-cancelable interfaces.
23316 * locale/iso-639.def: Add entry for Sorani.
23319 * include/stdlib.h: Move include protection to the right place.
23320 Define abort_msg_s. Declare __abort_msg with it.
23321 * stdlib/abort.c (__abort_msg): Adjust type.
23322 * assert/assert.c (__assert_fail_base): New function. Majority
23323 of code from __assert_fail. Allocate memory for __abort_msg with
23325 (__assert_fail): Now call __assert_fail_base.
23326 * assert/assert-perr.c: Remove bulk of implementation. Use
23327 __assert_fail_base.
23328 * include/assert.hL Declare __assert_fail_base.
23329 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23331 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23333 2011-05-14 Ulrich Drepper <drepper@gmail.com>
23337 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23338 until all modules are registered in the DTV.
23339 * elf/Makefile: Add rules to build and run tst-tls19.
23340 * elf/tst-tls19.c: New file.
23341 * elf/tst-tls19mod1.c: New file.
23342 * elf/tst-tls19mod2.c: New file.
23343 * elf/tst-tls19mod3.c: New file.
23344 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23347 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23351 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23352 two-byte sequence errors.
23353 * iconvdata/Makefile (tests): Add bug-iconv8.
23354 * iconvdata/bug-iconv8.c: New file.
23357 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23360 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23363 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23364 (dummy_getcfa): New function.
23365 (init): Get _Unwind_GetCFA address, use dummy if not found.
23366 (backtrace_helper): In recursion check, also check whether CFA changes.
23367 (__backtrace): Completely initialize arg.
23369 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23370 storing incomplete byte sequence in state object. Avoid testing for
23371 guaranteed too small input if we know there is enough data available.
23373 2011-05-11 Andreas Schwab <schwab@redhat.com>
23375 * Makeconfig (+link-pie): Indent.
23376 * Rules (binaries-pie): Define if $(have-fpie) and
23378 (binaries-shared): Also filter out $(binaries-pie).
23379 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23380 * nscd/Makefile (others-pie): Add nscd.
23381 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23382 ($(objpfx)nscd): Remove command override.
23383 * login/Makefile (others-pie): Add pt_chown.
23384 ($(objpfx)pt_chown): Remove command override.
23385 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23386 remove command overrides.
23388 2011-05-13 Ulrich Drepper <drepper@gmail.com>
23390 * libio/tst_putwc.c: Fix error messages.
23393 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23394 currently writing and seek to current position when not.
23395 * libio/Makefile (tests): Add bug-fclose1.
23396 * libio/bug-fclose1.c: New file.
23398 2011-05-12 Ulrich Drepper <drepper@gmail.com>
23401 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23402 don't set DF_1_NODELETE here.
23403 (do_lookup_x): When entering new entry test for copy relocation
23404 and if necessary set DF_1_NODELETE flag.
23405 * elf/tst-unique4.cc: New file.
23406 * elf/tst-unique4.h: New file.
23407 * elf/tst-unique4lib.cc: New file.
23408 * elf/Makefile: Add rules to build and run tst-unique4.
23409 Patch by Piotr Bury <pbury@goahead.com>.
23411 2011-05-11 Ulrich Drepper <drepper@gmail.com>
23414 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23417 * misc/mntent_r.c (addmntent): Flush the stream after the output
23420 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23421 (is_trusted_path_normalize): Skip initial colon. Append slash
23422 to empty buffer. Duplicate is_trusted_path code but allow
23423 constructed patch to be prefix.
23424 (is_dst): Allow $ORIGIN followed by /.
23425 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23426 Correct testing of result of is_trusted_path_normalize
23427 (decompose_rpath): Fix warning.
23429 2011-05-10 Ulrich Drepper <drepper@gmail.com>
23432 * grp/initgroups.c (internal_getgrouplist): When we found the service
23433 list through the initgroups entry in nsswitch.conf do not always
23434 continue on a successful lookup. Don't always use the
23435 __nss_group_database value if it is set.
23436 * nss/nsswitch.conf (initgroups): Change action for successful db
23437 lookup to continue for compatibility.
23439 2011-05-09 Ulrich Drepper <drepper@gmail.com>
23442 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23444 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23446 * iconvdata/tst-tables.sh: Likewise.
23447 * iconvdata/cp770.c: New file.
23448 * iconvdata/cp771.c: New file.
23449 * iconvdata/cp772.c: New file.
23450 * iconvdata/cp773.c: New file.
23451 * iconvdata/cp774.c: New file.
23452 * iconvdata/testdata/CP770: New file.
23453 * iconvdata/testdata/CP770..UTF8: New file.
23454 * iconvdata/testdata/CP771: New file.
23455 * iconvdata/testdata/CP771..UTF8: New file.
23456 * iconvdata/testdata/CP772: New file.
23457 * iconvdata/testdata/CP772..UTF8: New file.
23458 * iconvdata/testdata/CP773: New file.
23459 * iconvdata/testdata/CP773..UTF8: New file.
23460 * iconvdata/testdata/CP774: New file.
23461 * iconvdata/testdata/CP774..UTF8: New file.
23463 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23465 * iconvdata/gen-8bit-gap.sh: Likewise.
23466 * iconvdata/gen-8bit.sh: Likewise.
23468 * locale/iso-639.def: Add ary entry.
23471 * locale/C-translit.h.in: Add U20A1 transliteration.
23474 * locale/iso-639.def: Add wae entry.
23475 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23478 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23482 * locale/C-translit.h.in: Add entry for U20B9.
23483 Patch by pravin.d.s@gmail.com.
23485 2011-05-08 Ulrich Drepper <drepper@gmail.com>
23488 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23489 ENAMETOOLONG use generic getcwd.
23490 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23491 in rtld. Use *stat64.
23492 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23493 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23494 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23495 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23496 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23497 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23498 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23499 __fstatat64 macros.
23500 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23501 * dirent/rewinddir.c: Add libc_hidden_def.
23502 * sysdeps/mach/hurd/rewinddir.c: Likewise.
23503 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
23505 * include/dirent.h (__alloc_dir): Add flags parameter.
23506 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23507 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23509 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23510 from fdopendir if O_CLOEXEC is already set.
23512 2011-03-15 Alan Modra <amodra@gmail.com>
23514 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23515 l_tls_firstbyte_offset non-zero. Save padding offset in
23516 l_tls_firstbyte_offset for later use.
23517 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23518 freeing static tls block.
23520 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23522 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23523 where #ifdef was intended. The intent is to prevent ARG_MAX from
23524 being defined by the kernel headers.
23526 2011-05-07 Ulrich Drepper <drepper@gmail.com>
23529 * resolv/resolv.h: Define RES_NOTLDQUERY.
23530 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23531 no-tld-query and set RES_NOTLDQUERY.
23532 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23533 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23534 modern BIND to search name as TLD unless forbidden.
23536 2011-05-07 Petr Baudis <pasky@suse.cz>
23537 Ulrich Drepper <drepper@gmail.com>
23540 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23541 (is_trusted_path): ...to here.
23542 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
23543 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
23544 using is_trusted_path_normalize() in setuid scripts.
23546 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23548 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23549 __BEGIN/__END_DECLS.
23551 2011-05-06 Ulrich Drepper <drepper@gmail.com>
23553 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23554 NSS_STATUS_NOTFOUND if no record was found.
23556 2011-05-05 Andreas Schwab <schwab@redhat.com>
23558 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23559 (headers-not-in-tirpc): Remove rpc/netdb.h
23560 * resolv/netdb.h: Revert last change.
23562 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23564 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23565 circular dependency between libgcc.a and libc.a.
23567 2011-05-05 Andreas Schwab <schwab@redhat.com>
23569 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23570 * nis/Makefile: Don't install rpcsvc/*.
23571 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23572 instead of <rpc/types.h>.
23573 (MAXHOSTNAMELEN): Define.
23575 2011-05-03 Andreas Schwab <schwab@redhat.com>
23577 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23579 2011-04-28 Maciej Babinski <mbabinski@google.com>
23582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23583 gethostbyname4_r when IPv6 results are possible.
23585 2011-05-02 Ulrich Drepper <drepper@gmail.com>
23588 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23589 _PC_PIPE_BUF handling.
23591 2011-04-30 Bruno Haible <bruno@clisp.org>
23594 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23595 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23597 * inet/getnameinfo.c (getnameinfo): Likewise.
23599 2011-04-29 Ulrich Drepper <drepper@gmail.com>
23601 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23602 to groups setting in database lookup.
23603 * nss/nsswitch.conf: Add initgroups entry.
23605 2011-04-22 Ulrich Drepper <drepper@gmail.com>
23608 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23610 Patch by Eric Blake <eblake@redhat.com>.
23612 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23614 * sunrpc/Makefile (need-export-routines): Add svc_run.
23615 (routines): Remove svc_run.
23616 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23617 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23618 * sunrpc/svc_run.c (svc_run): Likewise.
23619 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23621 2011-04-21 Ulrich Drepper <drepper@gmail.com>
23623 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23624 problem in reallocation in last patch.
23626 2011-04-20 Ulrich Drepper <drepper@gmail.com>
23628 * sunrpc/Makefile: Move inclusion of Rules.
23630 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23632 * nss/nss_files/files-initgroups.c: New file.
23633 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23634 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23635 _nss_files_initgroups_dyn.
23637 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23639 * elf/elf.h (R_ARM_IRELATIVE): Define.
23641 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23643 * po/ru.po: Update from translation team.
23645 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23647 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23650 2011-02-06 Mike Frysinger <vapier@gentoo.org>
23653 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23654 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23655 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23656 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23657 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23659 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23661 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23663 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23664 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23665 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23667 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23670 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23672 * stdlib/bug-getcontext.c: New file.
23673 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23675 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23677 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23678 instructions into .machine "z9-109".
23679 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23680 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23682 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23684 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23685 between environment variables and auxiliary vector.
23687 2011-04-16 Ulrich Drepper <drepper@gmail.com>
23689 * Makefile: Add rules to build linkobj/libc.so.
23690 * include/libc-symbols.h: Define libc_hidden_nolink.
23691 * include/rpc/auth.h: Mark functions which are to be hidden.
23692 * include/rpc/auth_des.h: Likewise.
23693 * include/rpc/auth_unix.h: Likewise.
23694 * include/rpc/clnt.h: Likewise.
23695 * include/rpc/des_crypt.h: Likewise.
23696 * include/rpc/key_prot.h: Likewise.
23697 * include/rpc/pmap_clnt.h: Likewise.
23698 * include/rpc/pmap_prot.h: Likewise.
23699 * include/rpc/pmap_rmt.h: Likewise.
23700 * include/rpc/rpc_msg.h: Likewise.
23701 * include/rpc/svc.h: Likewise.
23702 * include/rpc/svc_auth.h: Likewise.
23703 * include/rpc/xdr.h: Likewise.
23704 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23705 * nss/Makefile: Likewise.
23706 * sunrpc/Makefile: Don't install headers. Build library with normal
23707 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23708 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23709 for the compat linking library. Remove use of INTDEF/INTUSE.
23710 * sunrpc/auth_none.c: Likewise.
23711 * sunrpc/auth_unix.c: Likewise.
23712 * sunrpc/authdes_prot.c: Likewise.
23713 * sunrpc/authuxprot.c: Likewise.
23714 * sunrpc/clnt_gen.c: Likewise.
23715 * sunrpc/clnt_perr.c: Likewise.
23716 * sunrpc/clnt_raw.c: Likewise.
23717 * sunrpc/clnt_simp.c: Likewise.
23718 * sunrpc/clnt_tcp.c: Likewise.
23719 * sunrpc/clnt_udp.c: Likewise.
23720 * sunrpc/clnt_unix.c: Likewise.
23721 * sunrpc/des_crypt.c: Likewise.
23722 * sunrpc/des_soft.c: Likewise.
23723 * sunrpc/get_myaddr.c: Likewise.
23724 * sunrpc/key_call.c: Likewise.
23725 * sunrpc/key_prot.c: Likewise.
23726 * sunrpc/netname.c: Likewise.
23727 * sunrpc/pm_getmaps.c: Likewise.
23728 * sunrpc/pm_getport.c: Likewise.
23729 * sunrpc/pmap_clnt.c: Likewise.
23730 * sunrpc/pmap_prot.c: Likewise.
23731 * sunrpc/pmap_prot2.c: Likewise.
23732 * sunrpc/pmap_rmt.c: Likewise.
23733 * sunrpc/publickey.c: Likewise.
23734 * sunrpc/rpc_cmsg.c: Likewise.
23735 * sunrpc/rpc_common.c: Likewise.
23736 * sunrpc/rpc_dtable.c: Likewise.
23737 * sunrpc/rpc_prot.c: Likewise.
23738 * sunrpc/rpc_thread.c: Likewise.
23739 * sunrpc/rtime.c: Likewise.
23740 * sunrpc/svc.c: Likewise.
23741 * sunrpc/svc_auth.c: Likewise.
23742 * sunrpc/svc_authux.c: Likewise.
23743 * sunrpc/svc_raw.c: Likewise.
23744 * sunrpc/svc_run.c: Likewise.
23745 * sunrpc/svc_simple.c: Likewise.
23746 * sunrpc/svc_tcp.c: Likewise.
23747 * sunrpc/svc_udp.c: Likewise.
23748 * sunrpc/svc_unix.c: Likewise.
23749 * sunrpc/svcauth_des.c: Likewise.
23750 * sunrpc/xcrypt.c: Likewise.
23751 * sunrpc/xdr.c: Likewise.
23752 * sunrpc/xdr_array.c: Likewise.
23753 * sunrpc/xdr_float.c: Likewise.
23754 * sunrpc/xdr_intXX_t.c: Likewise.
23755 * sunrpc/xdr_mem.c: Likewise.
23756 * sunrpc/xdr_rec.c: Likewise.
23757 * sunrpc/xdr_ref.c: Likewise.
23758 * sunrpc/xdr_sizeof.c: Likewise.
23759 * sunrpc/xdr_stdio.c: Likewise.
23761 2011-04-10 Ulrich Drepper <drepper@gmail.com>
23764 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23765 * sysdeps/ia64/dl-tls.h: Likewise.
23766 * sysdeps/powerpc/dl-tls.h: Likewise.
23767 * sysdeps/s390/dl-tls.h: Likewise.
23768 * sysdeps/sh/dl-tls.h: Likewise.
23769 * sysdeps/sparc/dl-tls.h: Likewise.
23770 * sysdeps/x86_64/dl-tls.h: Likewise.
23771 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23773 2011-03-14 Andreas Schwab <schwab@redhat.com>
23775 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23776 rpath element also skip the following colon.
23777 (expand_dynamic_string_token): Add is_path parameter and pass
23778 down to DL_DST_REQUIRED and _dl_dst_substitute.
23779 (decompose_rpath): Call expand_dynamic_string_token with
23780 non-zero is_path. Ignore empty rpaths.
23781 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23784 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23789 2011-04-09 Ulrich Drepper <drepper@gmail.com>
23792 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23793 Patch by Filipe David Manana <fdmanana@apache.org>.
23795 2011-04-07 Andreas Schwab <schwab@redhat.com>
23797 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23798 Maintain aligned stack.
23799 (CHECK_RSP): Remove unused macro.
23801 2011-04-03 Ulrich Drepper <drepper@gmail.com>
23803 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23804 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23806 2011-04-02 Ulrich Drepper <drepper@gmail.com>
23808 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23810 * include/features.h: Mention __USE_XOPEN2K8 in comment.
23812 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23815 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23816 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23817 * sysdeps/x86_64/memmove.c: New file.
23818 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23819 (memcpy): Renamed to ...
23820 (__new_memcpy): This.
23821 (memcpy): Provide GLIBC_2_14 memcpy.
23822 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23823 (memcpy): Provide GLIBC_2_2_5 memcpy.
23825 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23828 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23830 2011-03-30 Andreas Schwab <schwab@redhat.com>
23832 * misc/syncfs.c: New file.
23833 * misc/Makefile (routines): Add syncfs.
23834 * posix/unistd.h: Declare syncfs.
23835 * sysdeps/unix/syscalls.list: Add syncfs.
23837 2011-04-01 Andreas Schwab <schwab@redhat.com>
23839 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23841 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23842 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23843 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23844 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23846 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23847 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23849 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23851 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23852 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23853 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23854 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23855 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23856 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23857 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23859 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23860 sync_file_range.c with -fexceptions.
23861 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23862 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23863 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23864 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23865 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23866 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23867 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
23868 sync_file_range as cancellation point
23869 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23870 now a wrapper around __call_sync_file_range with cancellation handling.
23871 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23872 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23873 function name to __call_sync_file_range.
23874 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23875 Add call_sync_file_range.
23877 2011-04-01 Andreas Schwab <schwab@redhat.com>
23879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23882 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23884 * iconv/iconv.h: Fix typo in comment.
23885 * io/fcntl.h: Likewise.
23886 * libio/stdio.h: Likewise.
23887 * posix/spawn.h: Likewise.
23888 * posix/unistd.h: Likewise.
23889 * stdlib/stdlib.h: Likewise.
23890 * time/time.h: Likewise.
23891 * wcsmbs/wchar.h: Likewise.
23893 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23894 open_by_handle): Add.
23895 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23896 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23897 Augment a few comments.
23898 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23899 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23900 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23901 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23902 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23903 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23906 * io/fcntl.h (AT_EMPTY_PATH): Define.
23908 2011-03-30 Ulrich Drepper <drepper@gmail.com>
23910 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23911 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23912 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23914 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
23915 * Versions.def: Add GLIBC_2.14.
23916 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23919 2011-03-22 Ulrich Drepper <drepper@gmail.com>
23921 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23923 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23925 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23928 * string/test-strncmp.c (do_page_test): New function.
23929 (check2): Likewise.
23930 (test_main): Call check2.
23931 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23933 2011-03-20 Ulrich Drepper <drepper@gmail.com>
23936 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23937 Handle cache information in CPU leaf 4.
23938 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23940 2011-03-18 Ulrich Drepper <drepper@gmail.com>
23943 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23944 character representation.
23945 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23947 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23949 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23950 END(__isnan) to END(__isnanf) to match function entry point/label
23951 EALIGN(__isnanf,...).
23953 2011-03-10 Jakub Jelinek <jakub@redhat.com>
23955 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23957 2011-03-10 Ulrich Drepper <drepper@gmail.com>
23960 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23961 copy from the symbol referenced in the relocation to initialize the
23963 Patch by Piotr Bury <pbury@goahead.com>.
23964 * elf/Makefile: Add rules to build and tst-unique3.
23965 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23966 * elf/tst-unique3.cc: New file.
23967 * elf/tst-unique3.h: New file.
23968 * elf/tst-unique3lib.cc: New file.
23969 * elf/tst-unique3lib2.cc: New file.
23971 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23973 2011-03-10 Mike Frysinger <vapier@gentoo.org>
23975 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23976 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23979 2011-03-06 Ulrich Drepper <drepper@gmail.com>
23981 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23982 to-be-loaded object along a path to loader is ld.so.
23984 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23985 Ulrich Drepper <drepper@gmail.com>
23987 * sysdeps/x86_64/memset.S: After aligning destination, code
23988 branches to different locations depending on the value of
23989 misalignment, when multiarch is enabled. Fix this.
23991 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23993 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23994 Set _x86_64_preferred_memory_instruction for AMD processsors.
23995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23996 Set bit_Prefer_SSE_for_memop for AMD processors.
23998 2011-03-04 Ulrich Drepper <drepper@gmail.com>
24000 * libio/fmemopen.c (fmemopen): Optimize a bit.
24002 2011-03-03 Andreas Schwab <schwab@redhat.com>
24004 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24006 2011-03-03 Roland McGrath <roland@redhat.com>
24008 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24010 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
24012 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24013 __bzero_ultra1 instead of __memset_ultra1.
24015 2011-02-23 Andreas Schwab <schwab@redhat.com>
24016 Ulrich Drepper <drepper@gmail.com>
24019 * include/link.h (struct link_map): Add l_orig_initfini.
24020 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24021 returning unsuccessfully.
24022 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24023 close of a file loaded at startup, restore the original l_initfini
24025 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24026 list, store the pointer.
24027 * elf/Makefile ($(objpfx)noload-mem): New rule.
24028 (noload-ENV): Define.
24029 (tests): Add $(objpfx)noload-mem.
24030 * elf/noload.c: Include <memcheck.h>.
24031 (main): Call mtrace. Close all opened handles.
24033 2011-02-17 Andreas Schwab <schwab@redhat.com>
24036 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24037 dependencies are missing.
24039 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24041 Fix __if_freereq crash: Unlike the generic version which uses free,
24043 * sysdeps/mach/hurd/ifreq.h: New file.
24045 2011-01-27 Petr Baudis <pasky@suse.cz>
24046 Ulrich Drepper <drepper@gmail.com>
24049 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24050 to extend_alloca().
24051 * stdio-common/bug23.c: New file.
24052 * stdio-common/Makefile (tests): Add bug23.
24054 2010-09-28 Andreas Schwab <schwab@redhat.com>
24055 Ulrich Drepper <drepper@gmail.com>
24058 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24059 before performing relro protection. At old place add assertion
24060 to make sure nothing changed.
24062 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24063 Glauber de Oliveira Costa <glommer@gmail.com>
24065 * elf/elf.h: Add new ARM TLS relocs.
24067 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24070 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24072 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24074 * sysdeps/wordsize-64/tst-writev.c: New file.
24076 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24078 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24079 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24080 insns in _dl_start to prevent a TOC reference before relocs are
24083 2011-02-15 Ulrich Drepper <drepper@gmail.com>
24086 * Makeconfig: Remove RANLIB definition.
24087 * Makerules: Don't use RANLIB.
24088 * aclocal.m4: Remove ranlib test.
24089 * configure.in: No need to check for ranlib.
24090 * elf/rtld-Rules: Don't use RANLIB.
24092 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24094 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24096 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24097 inclusion protection macro.
24099 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24100 SIGRTMIN and SIGRTMAX and print information in that case only when
24101 SIGRTMIN is defined.
24103 2011-02-11 Jakub Jelinek <jakub@redhat.com>
24105 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24106 arginfo fn returning -1.
24108 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24109 and thousands string is zero terminated.
24111 2011-02-03 Andreas Schwab <schwab@redhat.com>
24113 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24114 sysdeps/unix/sysv/linux/bits/socket.h.
24116 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24118 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24119 (__CPU_COUNT): Remove old macros.
24120 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24121 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24122 (__CPU_ALLOC, __CPU_FREE): Add macros.
24123 (__sched_cpualloc, __sched_cpufree): Add declarations.
24125 2011-02-05 Ulrich Drepper <drepper@gmail.com>
24127 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24128 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24129 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24130 (readdhstai): Return value of addhstaiX call.
24131 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24132 (addgrbyX): Return value returned by cache_addgr.
24133 (readdgrbyname): Return value returned by addgrbyX.
24134 (readdgrbygid): Likewise.
24135 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24136 (addpwbyX): Return value returned by cache_addpw.
24137 (readdpwbyname): Return value returned by addhstbyX.
24138 (readdpwbyuid): Likewise.
24139 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24140 (addservbyX): Return value returned by cache_addserv.
24141 (readdservbyname): Return value returned by addservbyX:
24142 (readdservbyport): Likewise.
24143 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24144 (addhstbyX): Return value returned by cache_addhst.
24145 (readdhstbyname): Return value returned by addhstbyX.
24146 (readdhstbyaddr): Likewise.
24147 (readdhstbynamev6): Likewise.
24148 (readdhstbyaddrv6): Likewise.
24149 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24150 (readdinitgroups): Return value returned by addinitgroupsX.
24151 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24152 (prune_cache): Keep track of timeout value of re-added entries.
24153 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24154 * nscd/nscd.h: Adjust prototypes of readd* functions.
24156 2011-02-04 Roland McGrath <roland@redhat.com>
24158 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24159 (nis_stats): Likewise.
24160 * nis/nis_modify.c (nis_modify): Likewise.
24161 * nis/nis_remove.c (nis_remove): Likewise.
24162 * nis/nis_add.c (nis_add): Likewise.
24164 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24166 * posix/fnmatch_loop.c: Add some consts.
24168 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24170 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24173 * config.make.in (config-cflags-novzeroupper): Define.
24174 * configure.in: Substitute libc_cv_cc_novzeroupper.
24175 * elf/Makefile (AVX-CFLAGS): Define.
24176 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24177 (CFLAGS-tst-auditmod4a.c): Likewise.
24178 (CFLAGS-tst-auditmod4b.c): Likewise.
24179 (CFLAGS-tst-auditmod6b.c): Likewise.
24180 (CFLAGS-tst-auditmod6c.c): Likewise.
24181 (CFLAGS-tst-auditmod7b.c): Likewise.
24182 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24184 2011-02-02 Ulrich Drepper <drepper@gmail.com>
24186 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24187 function to the callback.
24188 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24190 2011-02-02 Andreas Schwab <schwab@redhat.com>
24192 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24195 2011-01-19 Ulrich Drepper <drepper@gmail.com>
24198 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24200 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24202 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24205 * elf/Makefile: Add rules to build and run new test.
24206 * elf/tst-initorder.c: New file.
24207 * elf/tst-initorder.exp: New file.
24208 * elf/tst-initordera1.c: New file.
24209 * elf/tst-initordera2.c: New file.
24210 * elf/tst-initordera3.c: New file.
24211 * elf/tst-initordera4.c: New file.
24212 * elf/tst-initorderb1.c: New file.
24213 * elf/tst-initorderb2.c: New file.
24214 * elf/tst-order-a1.c: New file.
24215 * elf/tst-order-a2.c: New file.
24216 * elf/tst-order-a3.c: New file.
24217 * elf/tst-order-a4.c: New file.
24218 * elf/tst-order-b1.c: New file.
24219 * elf/tst-order-b2.c: New file.
24220 * elf/tst-order-main.c: New file.
24221 New test case by George Gensure <werkt0@gmail.com>.
24223 2010-10-01 Andreas Schwab <schwab@redhat.com>
24225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24226 decoding ACE if AI_CANONIDN.
24228 2011-01-18 Ulrich Drepper <drepper@gmail.com>
24230 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24232 2011-01-17 Ulrich Drepper <drepper@gmail.com>
24234 * version.h (RELEASE): Bump for 2.13 release.
24235 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24237 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24239 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24241 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24242 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24243 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24244 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24245 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24246 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24248 * posix/getconf.c: Update copyright year.
24249 * catgets/gencat.c: Likewise.
24250 * csu/version.c: Likewise.
24251 * debug/catchsegv.sh: Likewise.
24252 * debug/xtrace.sh: Likewise.
24253 * elf/ldconfig.c: Likewise.
24254 * elf/ldd.bash.in: Likewise.
24255 * elf/sprof.c (print_version): Likewise.
24256 * iconv/iconv_prog.c: Likewise.
24257 * iconv/iconvconfig.c: Likewise.
24258 * locale/programs/locale.c: Likewise.
24259 * locale/programs/localedef.c: Likewise.
24260 * malloc/memusage.sh: Likewise.
24261 * malloc/mtrace.pl: Likewise.
24262 * nscd/nscd.c (print_version): Likewise.
24263 * nss/getent.c: Likewise.
24265 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24266 PF_CAIF, and PF_ALG.
24267 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24269 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24271 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24272 (modules-names): Use them.
24273 (ifunc-test-modules, ifunc-pie-tests): Define.
24274 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24275 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24276 (test-extras): Likewise.
24277 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24278 $(compile-command.c).
24279 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24280 (all-built-dso): Define.
24281 (check-textrel.out, check-execstack.out): Depend on it.
24283 * configure.in: Don't override --enable-multi-arch.
24285 2011-01-15 Ulrich Drepper <drepper@gmail.com>
24288 * nscd/hstcache.c (tryagain): Define.
24289 (cache_addhst): Return tryagain not notfound for temporary errors.
24290 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24293 2011-01-14 Ulrich Drepper <drepper@gmail.com>
24296 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24297 to make the syscall.
24298 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24301 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24302 and fall back to matching as normal character if the string ends before
24303 the matching ']' is found. This is what POSIX requires.
24304 * posix/testfnm.c: Adjust test result.
24305 * posix/globtest.sh: Adjust test result. Add new test.
24306 * posix/tst-fnmatch.input: Likewise.
24307 * posix/tst-fnmatch2.c: Add new test.
24309 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24311 * elf/Makefile (check-execstack): Revert last change. Depend on
24313 (check-execstack.h): New target.
24314 (generated): Add check-execstack.h.
24315 * elf/check-execstack.c: Include "check-execstack.h".
24316 (main): Revert last change.
24317 (handle_file): Return zero if GNU_STACK is absent and
24318 DEFAULT_STACK_PERMS doesn't include PF_X.
24320 2011-01-13 Ulrich Drepper <drepper@gmail.com>
24322 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24323 in child fails because the descriptor is already closed.
24324 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24325 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24326 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24329 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24333 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24334 temporary buffer used to handle multi lookups locally.
24335 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24337 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24339 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24342 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24344 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24345 alignment for SSE2.
24347 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24350 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24351 characters. When rounding increased number of integer digits recompute
24353 * stdio-common/tst-grouping.c: New file.
24354 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24356 2011-01-09 Ulrich Drepper <drepper@gmail.com>
24358 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24359 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24361 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24363 * bits/select.h: Likewise.
24365 2011-01-08 Ulrich Drepper <drepper@gmail.com>
24367 * po/ja.po: Update from translation team.
24369 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
24372 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24373 implementation just like for lxstat, fxstatat, et al.
24375 2010-12-27 Jim Meyering <meyering@redhat.com>
24378 * posix/regexec.c (build_trtable): Return failure indication upon
24379 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24381 2010-12-25 Ulrich Drepper <drepper@gmail.com>
24384 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24385 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24386 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24387 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24390 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24393 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24394 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24396 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24398 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24399 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24400 script has SORT_BY_INIT_PRIORITY.
24401 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24402 NO_CTORS_DTORS_SECTIONS is defined.
24403 * elf/soinit.c: Likewise.
24404 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24405 NO_CTORS_DTORS_SECTIONS is defined.
24406 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24407 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24408 * sysdeps/sh/init-first.c: Likewise.
24409 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24411 2010-12-24 Ulrich Drepper <drepper@gmail.com>
24413 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24414 always use the slow path.
24416 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24418 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24419 similar rule which adds the sysdep directories to the header search in
24420 order to pick up the correct platform stackinfo.h.
24421 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24422 perform test if it is, otherwise return successfully without testing.
24423 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24424 DEFAULT_STACK_PERMS define in stackinfo.h.
24425 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24426 defined in stackinfo.h.
24427 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24428 DEFAULT_STACK_PERMS defined in stackinfo.h.
24429 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24430 * sysdeps/ia64/stackinfo.h: Likewise.
24431 * sysdeps/s390/stackinfo.h: Likewise.
24432 * sysdeps/sh/stackinfo.h: Likewise.
24433 * sysdeps/sparc/stackinfo.h: Likewise.
24434 * sysdeps/x86_64/stackinfo.h: Likewise.
24435 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24436 PF_X for powerpc64. Retain PF_X for powerpc32.
24438 2010-12-19 Ulrich Drepper <drepper@gmail.com>
24440 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24442 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24443 GETDENTS_64BIT_ALIGNED.
24445 2010-12-14 Ulrich Drepper <dreper@gmail.com>
24447 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24449 2010-12-10 Andreas Schwab <schwab@redhat.com>
24451 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24454 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24455 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24457 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24458 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24460 2010-12-09 Ulrich Drepper <drepper@gmail.com>
24463 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24466 2010-12-09 Jakub Jelinek <jakub@redhat.com>
24468 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24470 2010-12-03 Ulrich Drepper <drepper@gmail.com>
24472 * po/it.po: Update from translation team.
24474 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24476 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24479 2010-11-30 Ulrich Drepper <drepper@gmail.com>
24481 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24483 2010-11-24 Andreas Schwab <schwab@redhat.com>
24485 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24487 (gaih_getanswer_slice): Likewise.
24489 2010-10-20 Jakub Jelinek <jakub@redhat.com>
24491 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24493 2010-05-31 Petr Baudis <pasky@suse.cz>
24496 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24497 silently even in the chroot mode.
24499 2010-11-22 Ulrich Drepper <drepper@gmail.com>
24501 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24502 last patch a bit. Pretty printing
24504 2010-05-31 Petr Baudis <pasky@suse.cz>
24507 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24508 initialization of skip_initgroups_dyn.
24510 2010-11-19 Ulrich Drepper <drepper@gmail.com>
24512 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24513 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24515 2010-11-16 Ulrich Drepper <drepper@gmail.com>
24517 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24519 2010-11-11 Andreas Schwab <schwab@redhat.com>
24521 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24522 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24523 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24524 ($(objpfx)tst-fnmatch-mem): New rule.
24525 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24526 * posix/tst-fnmatch.c (main): Call mtrace.
24528 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24531 Support Intel processor model 6 and model 0x2c.
24533 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
24535 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24538 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24541 * string/test-strncasecmp.c (check_result): New function.
24542 (do_one_test): Use it.
24543 (check1): New function.
24544 (test_main): Use it.
24545 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24546 Support strcasecmp and strncasecmp.
24548 2010-11-08 Ulrich Drepper <drepper@gmail.com>
24551 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24552 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24554 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24556 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24560 * sysdeps/x86_64/multiarch/bzero.S: New file.
24561 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24562 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24563 * sysdeps/x86_64/multiarch/memset.S: New file.
24564 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24566 Set bit_Prefer_SSE_for_memop for Intel processors.
24567 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24569 (index_Prefer_SSE_for_memop): Define.
24570 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24572 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
24574 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24575 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24577 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24580 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24581 (__x86_64_raw_data_cache_size_half): Likewise.
24582 (__x86_64_raw_shared_cache_size): Likewise.
24583 (__x86_64_raw_shared_cache_size_half): Likewise.
24585 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24586 (__x86_64_raw_data_cache_size_half): Likewise.
24587 (__x86_64_raw_shared_cache_size): Likewise.
24588 (__x86_64_raw_shared_cache_size_half): Likewise.
24589 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24590 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24591 and __x86_64_raw_shared_cache_size_half. Round
24592 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24593 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24594 to multiple of 256 bytes.
24596 2010-11-03 Ulrich Drepper <drepper@gmail.com>
24599 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24600 of inacessible symlinks. Verify result of symlink before returning it.
24601 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24602 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24604 2010-10-28 Erich Ritz <erichritz@gmail.com>
24606 * math/math.h (isinf): Fix typo in comment.
24608 2010-11-01 Ulrich Drepper <drepper@gmail.com>
24610 * po/da.po: Update from translation team.
24612 2010-10-26 Ulrich Drepper <drepper@gmail.com>
24614 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24615 is added to the list.
24617 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24618 Ulrich Drepper <drepper@gmail.com>
24620 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24621 the global list here. Move code to...
24622 (_dl_add_to_namespace_list): ...here. New function.
24623 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24624 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24625 * elf/dl-load.c (lose): Don't remove the element from the list.
24626 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24627 (_dl_map_object): Likewise.
24629 2010-10-25 Ulrich Drepper <drepper@gmail.com>
24632 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24633 into all bytes of SSE register.
24634 Patch by Richard Li <richardpku@gmail.com>.
24636 2010-10-24 Ulrich Drepper <drepper@gmail.com>
24639 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24642 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24644 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24645 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24646 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24647 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24652 2010-10-22 Andreas Schwab <schwab@redhat.com>
24654 * include/dlfcn.h (__RTLD_SECURE): Define.
24655 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24656 mode & __RTLD_SECURE instead.
24657 (open_path): Rename preloaded parameter to secure.
24658 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24659 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24660 * elf/dl-deps.c (openaux): Likewise.
24661 * elf/rtld.c (struct map_args): Remove is_preloaded.
24662 (map_doit): Don't use it.
24663 (dl_main): Likewise.
24664 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24665 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24667 2010-09-09 Andreas Schwab <schwab@redhat.com>
24669 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24670 (sysd-rules-targets): Remove duplicates.
24671 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24672 rtld-%.$o dependency.
24674 2010-10-18 Andreas Schwab <schwab@redhat.com>
24676 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24677 _dl_map_object do it.
24679 2010-10-19 Ulrich Drepper <drepper@gmail.com>
24681 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24682 fast fma builtins, define the macros in the C99 standard.
24683 (FP_FAST_FMAF): Likewise.
24684 (FP_FAST_FMAL): Likewise.
24685 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24687 * bits/mathdef.h: Update copyright year.
24688 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24690 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24692 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24693 builtins, define the macros in the C99 standard.
24694 (FP_FAST_FMAF): Likewise.
24695 (FP_FAST_FMAL): Likewise.
24696 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24698 (FP_FAST_FMAF): Likewise.
24700 2010-10-15 Jakub Jelinek <jakub@redhat.com>
24703 * math/libm-test.inc (fma_test): Some new testcases.
24704 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24705 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24706 y and infinite z. Do multiplication by C already in long double.
24707 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24709 y and infinite z. Do bitwise or of inexact bit into u.d.
24710 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24711 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24712 * sysdeps/i386/fpu/s_fma.S: Removed.
24713 * sysdeps/i386/fpu/s_fmal.S: Removed.
24715 2010-10-16 Jakub Jelinek <jakub@redhat.com>
24718 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24719 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24720 computation is not scheduled after fetestexcept. Fix value
24721 of minimum denormal long double.
24723 2010-10-14 Jakub Jelinek <jakub@redhat.com>
24726 * math/libm-test.inc (fma_test): Add some more tests.
24727 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24730 2010-10-15 Andreas Schwab <schwab@redhat.com>
24732 * scripts/data/localplt-s390-linux-gnu.data: New file.
24733 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24735 2010-10-13 Jakub Jelinek <jakub@redhat.com>
24738 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24739 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24741 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24743 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24745 if one of x and y is very large and the other is subnormal.
24746 * sysdeps/s390/fpu/s_fmaf.c: New file.
24747 * sysdeps/s390/fpu/s_fma.c: New file.
24748 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24749 * sysdeps/powerpc/fpu/s_fma.S: New file.
24750 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24751 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24752 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24754 2010-10-12 Jakub Jelinek <jakub@redhat.com>
24757 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24759 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24760 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24761 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24762 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24763 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24764 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24765 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24767 2010-10-12 Ulrich Drepper <drepper@redhat.com>
24770 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24771 * posix/bug-regex31.input: Add test case.
24773 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24775 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24776 * posix/bug-regex31.input: New file.
24779 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24780 (parse_sub_exp): Fix last change, use postorder.
24782 * posix/bug-regex31.c: New file.
24783 * posix/Makefile: Add rules to build and run bug-regex31.
24785 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24788 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24791 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24792 to have entries in sys_siglist.
24795 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24798 2010-10-07 Jakub Jelinek <jakub@redhat.com>
24801 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24802 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24803 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24804 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24805 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24806 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24807 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24808 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24809 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24810 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24811 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24812 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24813 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24814 * math/ftestexcept.c (fetestexcept): Likewise.
24815 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24816 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24817 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24818 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24819 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24820 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24821 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24823 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24826 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24829 2010-10-06 Ulrich Drepper <drepper@gmail.com>
24831 * string/bug-strstr1.c: New file.
24832 * string/Makefile: Add rules to build and run bug-strstr1.
24834 2010-10-05 Eric Blake <eblake@redhat.com>
24837 * string/str-two-way.h (two_way_long_needle): Always clear memory
24838 when skipping input due to the shift table.
24840 2010-10-03 Ulrich Drepper <drepper@gmail.com>
24843 * malloc/mcheck.c: Handle large requests.
24846 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24847 for strncmp and strncasecmp.
24848 * string/stratcliff.c: Add tests for strcmp and strncmp.
24849 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24851 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24853 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24856 2010-09-30 Andreas Jaeger <aj@suse.de>
24858 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24859 (CGROUP_SUPER_MAGIC): Define.
24860 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24861 Handle btrfs and cgroup file systems.
24862 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24865 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
24867 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24868 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24870 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24873 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24874 trying to locate the ELF header.
24876 2010-09-27 Andreas Schwab <schwab@redhat.com>
24879 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24880 Mask out sign-bit copies when constructing f_fsid.
24882 2010-09-24 Petr Baudis <pasky@suse.cz>
24884 * debug/stack_chk_fail_local.c: Add missing licence exception.
24885 * debug/warning-nop.c: Likewise.
24887 2010-09-15 Joseph Myers <joseph@codesourcery.com>
24889 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24890 implementing getdents64 using getdents syscall, set d_type if
24891 __ASSUME_GETDENTS32_D_TYPE.
24893 2010-09-16 Andreas Schwab <schwab@redhat.com>
24895 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24896 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24898 2010-09-21 Ulrich Drepper <drepper@redhat.com>
24901 * posix/unistd.h: Undo change of feature selection for ftruncate from
24904 2010-09-20 Ulrich Drepper <drepper@redhat.com>
24906 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
24909 2010-09-20 Andreas Schwab <schwab@redhat.com>
24911 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24913 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24915 2010-09-14 Andreas Schwab <schwab@redhat.com>
24917 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24918 variables after CHECK_SP call.
24919 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24921 2010-09-13 Andreas Schwab <schwab@redhat.com>
24922 Ulrich Drepper <drepper@redhat.com>
24924 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24925 re-relocationg ld.so.
24926 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24927 _dl_init_paths call.
24928 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24931 2010-09-14 Ulrich Drepper <drepper@redhat.com>
24933 * resolv/res_init.c (__res_vinit): Count the default server we added.
24935 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24936 Ulrich Drepper <drepper@redhat.com>
24939 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24940 (____longjmp_chk): Use %ebx for saving value across system call.
24943 2010-09-06 Andreas Schwab <schwab@redhat.com>
24945 * manual/Makefile: Don't mix pattern rules with normal rules.
24947 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24949 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24951 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24952 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24953 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24954 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24955 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24958 2010-09-04 Ulrich Drepper <drepper@redhat.com>
24961 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24962 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24964 2010-09-02 Ulrich Drepper <drepper@redhat.com>
24966 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24967 * sysdeps/x86_64/addmul_1.S: Likewise.
24968 * sysdeps/x86_64/lshift.S: Likewise.
24969 * sysdeps/x86_64/mul_1.S: Likewise.
24970 * sysdeps/x86_64/rshift.S: Likewise.
24971 * sysdeps/x86_64/sub_n.S: Likewise.
24972 * sysdeps/x86_64/submul_1.S: Likewise.
24974 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24976 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24977 Define __sched_param instead of SCHED_* and sched_param when
24978 <bits/sched.h> is included with __need_schedparam defined.
24979 * bits/sched.h [__need_schedparam]
24980 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
24981 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24982 (__defined_schedparam): Define to 1.
24983 (__sched_param): New structure, identical to sched_param.
24984 (__need_schedparam): Undefine.
24986 2010-08-31 Mike Frysinger <vapier@gentoo.org>
24988 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24989 (epoll_create1): Declare.
24991 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24993 2010-08-31 Andreas Schwab <schwab@redhat.com>
24996 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24997 shifting retval into place.
24999 2010-09-01 Ulrich Drepper <drepper@redhat.com>
25001 * nis/rpcsvc/nis.h: Update copyright notice.
25002 * nis/rpcsvc/nis.x: Likewise.
25003 * nis/rpcsvc/nis_callback.h: Likewise.
25004 * nis/rpcsvc/nis_callback.x: Likewise.
25005 * nis/rpcsvc/nis_object.x: Likewise.
25006 * nis/rpcsvc/nis_tags.h: Likewise.
25007 * nis/rpcsvc/yp.h: Likewise.
25008 * nis/rpcsvc/yp.x: Likewise.
25009 * nis/rpcsvc/ypupd.h: Likewise.
25010 * nis/yp_xdr.c: Likewise.
25011 * nis/ypupdate_xdr.c: Likewise.
25013 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
25014 mainly the body of pmap_getport. Add parameters to specify timeouts.
25015 (pmap_getport): Use __libc_rpc_getport.
25016 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25017 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25018 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25020 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
25022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25025 2010-08-27 Roland McGrath <roland@redhat.com>
25027 * sysdeps/i386/i686/multiarch/Makefile
25028 (CFLAGS-varshift.c): New variable.
25030 2010-08-27 Ulrich Drepper <drepper@redhat.com>
25032 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25033 * sysdeps/i386/i686/multiarch/varshift.c: New file.
25035 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25037 * sysdeps/x86_64/strlen.S: Minimal code improvement.
25039 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
25041 * sysdeps/x86_64/strlen.S: Unroll the loop.
25042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25043 strlen-sse2 strlen-sse2-bsf.
25044 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25045 __strlen_no_bsf if bit_Slow_BSF is set.
25046 (__strlen_sse42): Removed.
25047 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25048 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25050 2010-08-25 Roland McGrath <roland@redhat.com>
25052 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25053 * sysdeps/x86_64/multiarch/varshift.c: New file.
25054 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25055 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25056 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25057 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25059 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25061 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25062 strlen-sse2 strlen-sse2-bsf.
25063 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25064 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25065 (__strlen_sse2): Removed.
25066 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25067 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25069 bit_Slow_BSF for Atom.
25070 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25071 (index_Slow_BSF): Define.
25072 (HAS_SLOW_BSF): Define.
25074 2010-08-25 Ulrich Drepper <drepper@redhat.com>
25077 * resolv/res_init.c (__res_vinit): When no server address at all
25078 is given default to loopback.
25080 2010-08-24 Roland McGrath <roland@redhat.com>
25082 * configure.in: Remove config-name.h generation.
25083 * configure: Regenerated.
25084 * config-name.in: File removed.
25085 * scripts/config-uname.sh: New file.
25086 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25087 ($(objdir)config-name.h): New target.
25089 * sunrpc/rpc_parse.h: Avoid nested comment.
25091 2010-08-24 Richard Henderson <rth@redhat.com>
25092 Ulrich Drepper <drepper@redhat.com>
25093 H.J. Lu <hongjiu.lu@intel.com>
25095 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25097 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25098 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25099 _mm_alignr_epi8 with _mm_loadu_si128.
25100 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25101 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25102 (__m128i_shift_right): Removed.
25103 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25104 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25105 * sysdeps/x86_64/multiarch/varshift.h: New file.
25106 * sysdeps/x86_64/multiarch/varshift.S: New file.
25108 2010-08-21 Mike Frysinger <vapier@gentoo.org>
25110 * configure.in: Move assembler checks to before sysdep dir checking.
25112 2010-08-20 Petr Baudis <pasky@suse.cz>
25114 * LICENSES: Sync the sunrpc license.
25116 2010-08-19 Ulrich Drepper <drepper@redhat.com>
25118 * sunrpc/auth_des.c: Update copyright notice once again.
25119 * sunrpc/auth_none.c: Likewise.
25120 * sunrpc/auth_unix.c: Likewise.
25121 * sunrpc/authdes_prot.c: Likewise.
25122 * sunrpc/authuxprot.c: Likewise.
25123 * sunrpc/bindrsvprt.c: Likewise.
25124 * sunrpc/clnt_gen.c: Likewise.
25125 * sunrpc/clnt_perr.c: Likewise.
25126 * sunrpc/clnt_raw.c: Likewise.
25127 * sunrpc/clnt_simp.c: Likewise.
25128 * sunrpc/clnt_tcp.c: Likewise.
25129 * sunrpc/clnt_udp.c: Likewise.
25130 * sunrpc/clnt_unix.c: Likewise.
25131 * sunrpc/des_crypt.c: Likewise.
25132 * sunrpc/des_soft.c: Likewise.
25133 * sunrpc/get_myaddr.c: Likewise.
25134 * sunrpc/getrpcport.c: Likewise.
25135 * sunrpc/key_call.c: Likewise.
25136 * sunrpc/key_prot.c: Likewise.
25137 * sunrpc/openchild.c: Likewise.
25138 * sunrpc/pm_getmaps.c: Likewise.
25139 * sunrpc/pm_getport.c: Likewise.
25140 * sunrpc/pmap_clnt.c: Likewise.
25141 * sunrpc/pmap_prot.c: Likewise.
25142 * sunrpc/pmap_prot2.c: Likewise.
25143 * sunrpc/pmap_rmt.c: Likewise.
25144 * sunrpc/rpc/auth.h: Likewise.
25145 * sunrpc/rpc/auth_unix.h: Likewise.
25146 * sunrpc/rpc/clnt.h: Likewise.
25147 * sunrpc/rpc/des_crypt.h: Likewise.
25148 * sunrpc/rpc/key_prot.h: Likewise.
25149 * sunrpc/rpc/netdb.h: Likewise.
25150 * sunrpc/rpc/pmap_clnt.h: Likewise.
25151 * sunrpc/rpc/pmap_prot.h: Likewise.
25152 * sunrpc/rpc/pmap_rmt.h: Likewise.
25153 * sunrpc/rpc/rpc.h: Likewise.
25154 * sunrpc/rpc/rpc_des.h: Likewise.
25155 * sunrpc/rpc/rpc_msg.h: Likewise.
25156 * sunrpc/rpc/svc.h: Likewise.
25157 * sunrpc/rpc/svc_auth.h: Likewise.
25158 * sunrpc/rpc/types.h: Likewise.
25159 * sunrpc/rpc/xdr.h: Likewise.
25160 * sunrpc/rpc_clntout.c: Likewise.
25161 * sunrpc/rpc_cmsg.c: Likewise.
25162 * sunrpc/rpc_common.c: Likewise.
25163 * sunrpc/rpc_cout.c: Likewise.
25164 * sunrpc/rpc_dtable.c: Likewise.
25165 * sunrpc/rpc_hout.c: Likewise.
25166 * sunrpc/rpc_main.c: Likewise.
25167 * sunrpc/rpc_parse.c: Likewise.
25168 * sunrpc/rpc_parse.h: Likewise.
25169 * sunrpc/rpc_prot.c: Likewise.
25170 * sunrpc/rpc_sample.c: Likewise.
25171 * sunrpc/rpc_scan.c: Likewise.
25172 * sunrpc/rpc_scan.h: Likewise.
25173 * sunrpc/rpc_svcout.c: Likewise.
25174 * sunrpc/rpc_tblout.c: Likewise.
25175 * sunrpc/rpc_util.c: Likewise.
25176 * sunrpc/rpc_util.h: Likewise.
25177 * sunrpc/rpcinfo.c: Likewise.
25178 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25179 * sunrpc/rpcsvc/key_prot.x: Likewise.
25180 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25181 * sunrpc/rpcsvc/mount.x: Likewise.
25182 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25183 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25184 * sunrpc/rpcsvc/rex.x: Likewise.
25185 * sunrpc/rpcsvc/rstat.x: Likewise.
25186 * sunrpc/rpcsvc/rusers.x: Likewise.
25187 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25188 * sunrpc/rpcsvc/spray.x: Likewise.
25189 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25190 * sunrpc/rtime.c: Likewise.
25191 * sunrpc/svc.c: Likewise.
25192 * sunrpc/svc_auth.c: Likewise.
25193 * sunrpc/svc_authux.c: Likewise.
25194 * sunrpc/svc_raw.c: Likewise.
25195 * sunrpc/svc_run.c: Likewise.
25196 * sunrpc/svc_simple.c: Likewise.
25197 * sunrpc/svc_tcp.c: Likewise.
25198 * sunrpc/svc_udp.c: Likewise.
25199 * sunrpc/svc_unix.c: Likewise.
25200 * sunrpc/svcauth_des.c: Likewise.
25201 * sunrpc/xcrypt.c: Likewise.
25202 * sunrpc/xdr.c: Likewise.
25203 * sunrpc/xdr_array.c: Likewise.
25204 * sunrpc/xdr_float.c: Likewise.
25205 * sunrpc/xdr_mem.c: Likewise.
25206 * sunrpc/xdr_rec.c: Likewise.
25207 * sunrpc/xdr_ref.c: Likewise.
25208 * sunrpc/xdr_sizeof.c: Likewise.
25209 * sunrpc/xdr_stdio.c: Likewise.
25211 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25214 2010-08-19 Andreas Schwab <schwab@redhat.com>
25216 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25218 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
25220 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25221 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25222 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25223 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25224 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25225 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25226 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25227 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25228 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25229 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25230 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25231 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25232 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25233 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25235 2010-07-26 Anton Blanchard <anton@samba.org>
25237 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25238 * malloc/arena.c (heap_trim): Likewise.
25240 2010-08-16 Ulrich Drepper <drepper@redhat.com>
25242 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25244 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25245 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25247 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25249 * sysdeps/i386/elf/Makefile: New file.
25251 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25253 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25254 from fanotify_init.
25255 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25256 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25258 2010-08-15 Ulrich Drepper <drepper@redhat.com>
25260 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25262 * sysdeps/multiarch/strcmp.S: Likewise.
25264 2010-08-14 Ulrich Drepper <drepper@redhat.com>
25266 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25267 strncase_l-nonascii.
25268 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25269 Add strncase_l-ssse3.
25270 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25271 * sysdeps/x86_64/strcmp.S: Likewise.
25272 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25273 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25274 * sysdeps/x86_64/strncase.S: New file.
25275 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25276 * sysdeps/x86_64/strncase_l.S: New file.
25277 * string/Makefile (strop-tests): Add strncasecmp.
25278 * string/test-strncasecmp.c: New file.
25280 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25283 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25284 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25286 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25288 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25290 2010-08-12 Ulrich Drepper <drepper@redhat.com>
25292 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25293 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25294 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25296 2010-05-01 Alan Modra <amodra@gmail.com>
25298 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25299 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25300 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25301 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25302 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25303 tidying. Don't tail-call __sigjmp_save for static lib.
25304 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25306 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25307 (CALL_MCOUNT): Add eh info, and nop after bl.
25308 (TAIL_CALL_SYSCALL_ERROR): New macro.
25309 (PSEUDO_RET): Use it.
25310 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25311 Correct save location of integer regs and cr.
25312 (_dl_profile_resolve): Correct cr save location. Delete nops
25313 after bl when SHARED. Reduce cfi size a little by better
25314 placement of cfi directives.
25315 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25316 make a stack frame. Instead use parm save area as a temp.
25317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25318 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25320 Don't make a stack frame for parent, use parm save area.
25321 Increase child stack frame to 112 bytes. Don't save unused reg,
25322 and adjust reg usage. Set up cfi on error recovery and
25323 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25325 (__makecontext): Add dummy nop after jump to exit.
25326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25327 Use correct parm save area and cr save, reduce stack frame.
25328 Correct cfi for possible PSEUDO_RET frame setup.
25329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25330 Branch to local label emitted by PSEUDO_RET rather than
25333 2010-08-12 Andreas Schwab <schwab@redhat.com>
25336 * locale/programs/locale.c (print_assignment): New function.
25337 (show_locale_vars): Use it.
25339 2010-08-11 Ulrich Drepper <drepper@redhat.com>
25341 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25343 (struct statfs64): Likewise.
25344 (_STATFS_F_FLAGS): Define.
25345 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25346 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25347 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25348 (ST_VALID): Define locally.
25349 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25350 __statvfs_getflags, use the provided value.
25351 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25352 __ASSUME_STATFS_F_FLAGS.
25354 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25356 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25357 Add sys/fanotify.h.
25358 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25359 fanotify_mask for GLIBC_2.13.
25360 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25361 fanotify_init and fanotify_mark.
25362 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25363 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25365 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25367 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25368 prlimit64 for GLIBC_2.13.
25369 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25371 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25374 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25375 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25376 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25377 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25379 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25382 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25383 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25385 * nss/Makefile: Add rules to build and run tst-nss-test1.
25386 * shlib-versions: Add entry for libnss_test1.
25387 * nss/nss_test1.c: New file.
25388 * nss/tst-nss-test1.c: New file.
25390 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25391 (__nss_configure_lookup): Set appropriate entry in
25392 __nss_configure_lookup to true.
25393 * nss/nsswitch.h: Define enum with indeces of databases in
25394 databases and __nss_database_custom arrays. Declare
25395 __nss_database_custom.
25396 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25397 to avoid using nscd when custom rules are installed.
25398 * nss/getXXbyYY_r.c: Likewise.
25399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25401 * nss/nss_files/files-parse.c: Whitespace fixes.
25403 2010-08-09 Ulrich Drepper <drepper@redhat.com>
25406 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25407 * posix/fnmatch_loop.c: Likewise.
25409 2010-07-17 Andi Kleen <ak@linux.intel.com>
25411 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25412 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25413 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25414 * Versions.def [GLIBC_2.13]: Add.
25416 2010-08-06 Ulrich Drepper <drepper@redhat.com>
25418 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25419 Also fail if tpwd after pwuid call is NULL.
25421 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25423 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25424 when converting to ms.
25426 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25428 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25429 EOPNOTSUPP errors with ENOTTY.
25430 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25431 EOPNOTSUPP errors with ENOTTY.
25433 2010-07-31 Ulrich Drepper <drepper@redhat.com>
25435 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25436 Add strcasecmp_l-ssse3.
25437 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25439 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25440 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25441 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25443 2010-07-30 Ulrich Drepper <drepper@redhat.com>
25445 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25447 * string/Makefile (strop-tests): Add strcasecmp.
25448 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25449 strcasecmp_l-nonascii.
25450 (gen-as-const-headers): Add locale-defines.sym.
25451 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25452 * sysdeps/x86_64/strcasecmp.S: New file.
25453 * sysdeps/x86_64/strcasecmp_l.S: New file.
25454 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25455 * sysdeps/x86_64/locale-defines.sym: New file.
25456 * string/test-strcasecmp.c: New file.
25458 * string/test-strcasestr.c: Test both ends of the range of characters.
25459 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25461 2010-07-29 Roland McGrath <roland@redhat.com>
25464 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25466 2010-07-27 Ulrich Drepper <drepper@redhat.com>
25468 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25471 2010-07-27 Andreas Schwab <schwab@redhat.com>
25473 * manual/memory.texi (Malloc Tunable Parameters): Document
25476 2010-07-26 Roland McGrath <roland@redhat.com>
25479 * configure.in (-fgnu89-inline check): Set and substitute
25480 gnu89_inline, not libc_cv_gnu89_inline.
25481 * configure: Regenerated.
25482 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25484 2010-07-26 Ulrich Drepper <drepper@redhat.com>
25486 * string/test-strnlen.c: New file.
25487 * string/Makefile (strop-tests): Add strnlen.
25488 * string/tester.c (test_strnlen): Add a few more test cases.
25489 * string/tst-strlen.c: Better error reporting.
25491 * sysdeps/x86_64/strnlen.S: New file.
25493 2010-07-24 Ulrich Drepper <drepper@redhat.com>
25495 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25496 lower-latency instructions.
25498 2010-07-23 Ulrich Drepper <drepper@redhat.com>
25500 * string/test-strcasestr.c: New file.
25501 * string/test-strstr.c: New file.
25502 * string/Makefile (strop-tests): Add strstr and strcasestr.
25503 * string/str-two-way.h: Don't undefine MAX.
25504 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25506 2010-07-21 Andreas Schwab <schwab@redhat.com>
25508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25509 strcasestr-nonascii.
25510 (CFLAGS-strcasestr-nonascii.c): Define.
25511 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25512 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25513 Remove unused attribute.
25515 2010-07-20 Roland McGrath <roland@redhat.com>
25517 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25518 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25519 ld.so.cache was broken. With it, there is no way to disable dsocaps
25520 like LD_HWCAP_MASK can disable hwcaps.
25522 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25524 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25526 2010-07-16 Ulrich Drepper <drepper@redhat.com>
25528 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25529 call in strcasestr.
25530 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25531 __strcasestr_sse42_nonascii.
25532 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25533 strcasestr-nonascii.c.
25534 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25536 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
25538 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25539 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25540 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25541 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25543 2010-07-09 Ulrich Drepper <drepper@redhat.com>
25545 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25548 2010-07-06 Andreas Schwab <schwab@redhat.com>
25551 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25554 2010-07-06 Ulrich Drepper <drepper@redhat.com>
25556 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25557 _PC_PIPE_BUF using F_GETPIPE_SZ.
25559 2010-07-05 Roland McGrath <roland@redhat.com>
25561 * manual/arith.texi (Rounding Functions): Fix rint description
25562 implicit in round description.
25564 2010-07-02 Ulrich Drepper <drepper@redhat.com>
25566 * elf/Makefile: Fix linking for a few tests to make recent linker
25569 2010-06-30 Andreas Schwab <schwab@redhat.com>
25571 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25572 $(common-objpfx)libc_nonshared.a.
25574 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
25576 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25577 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25578 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25579 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25580 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25581 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25582 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25583 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25598 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25599 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25600 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25601 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25602 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25603 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25604 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25605 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25606 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25607 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25608 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25609 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25625 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25627 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25628 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25629 * string/memmove.c (memmove): Renamed to ...
25630 (MEMMOVE): ...this. Default to memmove.
25631 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25632 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25635 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25636 mempcpy-ssse3-back memmove-ssse3-back.
25637 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25638 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25639 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25640 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25641 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25642 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25643 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25644 * sysdeps/x86_64/multiarch/memmove.c: New file.
25645 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25646 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25647 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25648 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25649 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25650 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25652 (index_Fast_Copy_Backward): Define.
25653 (HAS_ARCH_FEATURE): Define.
25654 (HAS_FAST_REP_STRING): Define.
25655 (HAS_FAST_COPY_BACKWARD): Define.
25657 2010-06-21 Andreas Schwab <schwab@redhat.com>
25659 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25660 Restore proper fallback handling.
25662 2010-06-19 Ulrich Drepper <drepper@redhat.com>
25665 * posix/group_member.c (__group_member): Correct checking loop.
25667 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25668 OOM in getpwuid_r correctly. Return error number when the caller
25669 should return, otherwise -1.
25670 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25671 call returning > 0 value.
25672 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25674 2010-06-07 Andreas Schwab <schwab@redhat.com>
25676 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25677 libc_nonshared.a from targets in modules-names.
25679 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25681 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25684 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
25686 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25687 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25688 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25689 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25691 2010-06-02 Andreas Schwab <schwab@redhat.com>
25693 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25695 2010-06-14 Ulrich Drepper <drepper@redhat.com>
25697 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25699 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25700 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25701 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25702 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25703 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25704 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25706 2010-06-14 Roland McGrath <roland@redhat.com>
25708 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25710 2010-06-07 Jakub Jelinek <jakub@redhat.com>
25712 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25713 __REDIRECT followed by __THROW.
25714 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25715 * posix/getopt.h (getopt): Likewise.
25717 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25719 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25720 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25721 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25723 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25724 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25726 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
25728 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25730 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25734 Properly check family and model.
25736 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25738 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25740 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
25742 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25744 2010-05-21 Ulrich Drepper <drepper@redhat.com>
25746 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25749 2010-05-19 Andreas Schwab <schwab@redhat.com>
25751 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25754 2010-05-21 Andreas Schwab <schwab@redhat.com>
25756 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25757 and internal_recvmmsg.
25758 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25759 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25760 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25761 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25763 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25764 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25765 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25767 2010-05-20 Andreas Schwab <schwab@redhat.com>
25769 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25771 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
25773 POWER7 optimizations.
25774 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25775 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25777 2010-05-19 Ulrich Drepper <drepper@redhat.com>
25779 * version.h: Update for 2.13 development version.
25781 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
25783 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25784 exceptions. Return 0.
25786 2010-05-07 Roland McGrath <roland@redhat.com>
25788 * elf/ldconfig.c (main): Add a const.
25790 2010-05-06 Ulrich Drepper <drepper@redhat.com>
25792 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25793 (args_options): Add no-idn option.
25794 (ahosts_keys_int): Add idn_flags to ai_flags.
25795 (parse_option): Handle 'i' option to clear idn_flags.
25797 * malloc/malloc.c (_int_free): Possible race in the most recently
25798 added check. Only act on the data if no current modification
25801 See ChangeLog.17 for earlier changes.