1 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14 (ENTER): Remove both macro definitions.
16 (CHECK_BOUNDS_LOW): Likewise.
17 (CHECK_BOUNDS_HIGH): Likewise.
18 (CHECK_BOUNDS_BOTH): Likewise.
19 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20 (RETURN_BOUNDED_POINTER): Likewise.
21 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23 (POP_ERRNO_LOCATION_RETURN): Likewise.
24 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
33 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
40 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
43 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
46 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
48 * sysdeps/i386/i586/memset.S (memset): Likewise.
49 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
50 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
53 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
55 Change uses of L(2) to L(out).
56 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
57 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
58 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
59 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
62 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
65 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
67 (RETURN): Do not use macro LEAVE.
68 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
69 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
71 * sysdeps/i386/i686/memset.S (memset): Likewise.
72 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
73 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
74 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
75 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
77 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
78 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
79 L(1_2) and L(1_3) into L(1).
80 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
81 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
82 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
83 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
84 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
85 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
86 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
87 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
88 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
90 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
91 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
92 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
93 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
94 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
95 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
96 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
97 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
98 * sysdeps/i386/strcspn.S (strcspn): Likewise.
99 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
100 * sysdeps/i386/strrchr.S (strrchr): Likewise.
101 * sysdeps/i386/strspn.S (strspn): Likewise.
102 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
104 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
105 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
106 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
107 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
109 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
110 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
111 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
113 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
115 2013-02-19 Jakub Jelinek <jakub@redhat.com>
117 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
120 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
122 * math/atest-exp.c (exp_mpn): Remove ROUND.
123 * math/atest-exp2.c (exp_mpn): Likewise.
124 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
126 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
127 * stdlib/tst-tls-atexit-lib.c: Likewise.
128 * stdlib/tst-tls-atexit.c: Likewise.
130 2013-02-18 Mike Frysinger <vapier@gentoo.org>
132 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
133 and __attribute_alloc_size__.
135 2013-02-18 Mike Frysinger <vapier@gentoo.org>
137 * include/programs/xmalloc.h: Change __attribute_alloc_size to
138 __attribute_alloc_size__.
139 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
140 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
142 2013-02-18 Mike Frysinger <vapier@gentoo.org>
144 * include/programs/xmalloc.h: New file.
145 * catgets/gencat.c: Include it.
146 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
147 * elf/pldd.c: Likewise.
148 * iconv/iconv_charmap.c: Likewise.
149 * iconv/iconvconfig.c: Likewise.
150 * iconv/strtab.c: Likewise.
151 * locale/programs/locale.c: Likewise.
152 * locale/programs/localedef.h: Likewise.
153 * locale/programs/simple-hash.c: Likewise.
154 * nscd/nscd.h: Likewise.
155 * nss/makedb.c: Likewise.
156 * sysdeps/generic/ldconfig.h: Likewise.
158 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
160 * Versions.def: Add GLIBC_2.18.
161 * include/link.h (struct link_map): New member l_tls_dtor_count.
162 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
163 (__call_tls_dtors): Likewise.
164 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
165 __cxa_thread_atexit_impl.
166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
174 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
182 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
183 (tests): Add test case tst-tls-atexit.
184 (modules-names): Add shared library for tst-tls-atexit.
185 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
186 (GLIBC_PRIVATE): Add __call_tls_dtors.
187 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
189 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
190 * stdlib/tst-tls-atexit.c: New test case.
191 * stdlib/tst-tls-atexit-lib.c: New test case.
193 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
195 * elf/Versions (ld): Add _dl_find_dso_for_object.
196 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
197 * elf/dl-open.c (_dl_find_dso_for_object): New function.
198 (dl_open_worker): Use _dl_find_dso_for_object.
199 * elf/dl-sym.c (do_sym): Likewise.
200 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
202 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
204 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
205 Syntactic changes only.
206 (_dl_runtime_profile): Do a tail-call to the resolved function.
208 2013-02-17 Joseph Myers <joseph@codesourcery.com>
211 * sysdeps/x86_64/bp-asm.h: Remove file.
212 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
213 <bp-sym.h> and <bp-asm.h>.
214 (__clone): Do not use BP_SYM.
215 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
216 <bp-sym.h> and <bp-asm.h>.
217 * sysdeps/unix/x86_64/sysdep.S: Likewise.
218 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
220 (_setjmp): Do not use BP_SYM.
221 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
223 (setjmp): Do not use BP_SYM.
224 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
226 (mempcpy): Do not use BP_SYM in weak_alias.
227 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
229 (strchr): Do not use BP_SYM.
230 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
232 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
233 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
234 (_start): Do not use BP_SYM.
235 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
237 (strcat): Do not use BP_SYM.
238 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
240 (STRCMP): Do not use BP_SYM.
241 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
243 (STRCPY): Do not use BP_SYM.
244 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
246 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
248 (FUNCTION): Do not use BP_SYM.
249 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
251 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
253 2013-02-17 Andreas Jaeger <aj@suse.de>
255 * time/Versions: Sort entries.
256 * string/Versions: Likewise.
257 * resolv/Versions: Likewise.
258 * posix/Versions: Likewise.
259 * iconv/Versions: Likewise.
260 * elf/Versions: Likewise.
261 * wcsmbs/Versions: Likewise.
263 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
265 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
266 loop termination condition.
268 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
269 variable to calculate EZ.
272 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
273 the lower precision input.
275 2013-02-15 Joseph Myers <joseph@codesourcery.com>
278 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
279 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
280 (run-via-rtld-prefix): Do not handle %-bp tests.
281 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
282 (all-object-suffixes): Remove .ob.
283 (bppfx): Remove variable.
284 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
285 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
286 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
287 [$(build-bounded) = yes] (libtype.ob): Likewise.
288 * Makerules (elide-routines.ob): Remove variable.
289 (do-tests-clean): Do not handle *-bp.out.
290 (common-mostlyclean): Do not handle *-bp and *-bp.out.
291 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
292 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
293 (tests): Do not include $(tests-bp.out).
294 (xtests): Do not include $(xtests-bp.out).
295 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
296 [$(build-bounded) = yes] ($(addprefix
297 $(objpfx),$(binaries-bounded))): Remove rule.
298 ($(objpfx)%-bp.out): Remove rule.
299 * config.make.in (build-bounded): Remove variable.
300 * crypt/Makefile [$(build-bounded) = yes]
301 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
302 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
304 [$(build-bounded) = yes] (install-lib): Likewise.
305 [$(build-bounded) = yes] (generated): Likewise.
306 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
308 * intl/Makefile [$(build-bounded) = yes]
309 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
310 * math/Makefile [$(build-bounded) = yes]
311 ($(tests:%=$(objpfx)%-bp): Likewise.
312 * misc/Makefile [$(build-bounded) = yes]
313 ($(objpfx)tst-tsearch-bp): Likewise.
314 * nptl/Makeconfig (bounded-thread-library): Remove variable.
315 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
317 * string/Makefile (o-objects.ob): Remove variable.
318 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
319 (CFLAGS-.ob): Remove variable.
320 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
321 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
322 both definitions of variable.
323 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
324 (ASFLAGS-.ob): Remove variable.
326 2013-02-14 Joseph Myers <joseph@codesourcery.com>
329 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
330 Remove __BOUNDED_POINTERS__ from condition.
331 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
332 * string/bits/string2.h [!__NO_STRING_INLINES &&
333 !__BOUNDED_POINTERS__]: Likewise.
334 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
336 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
337 Remove conditional code.
338 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
339 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
340 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
344 * csu/libc-start.c: Do not include <bp-sym.h>.
345 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
346 * elf/dl-open.c: Do not include <bp-sym.h>.
347 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
348 * math/fegetenv.c: Do not include <bp-sym.h>.
349 (fegetenv): Do not use BP_SYM in versioned symbols.
350 * nptl/sysdeps/pthread/bits/libc-lockP.h
351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
354 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
356 (__pthread_mutex_destroy): Likewise.
357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
358 (__pthread_mutex_lock): Likewise.
359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
360 (__pthread_mutex_trylock): Likewise.
361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
362 (__pthread_mutex_unlock): Likewise.
363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
364 (__pthread_mutexattr_init): Likewise.
365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
366 (__pthread_mutexattr_destroy): Likewise.
367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
368 (__pthread_mutexattr_settype): Likewise.
369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
370 (__pthread_rwlock_init): Likewise.
371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
372 (__pthread_rwlock_destroy): Likewise.
373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
374 (__pthread_rwlock_rdlock): Likewise.
375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
376 (__pthread_rwlock_tryrdlock): Likewise.
377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
378 (__pthread_rwlock_wrlock): Likewise.
379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
380 (__pthread_rwlock_trywrlock): Likewise.
381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
382 (__pthread_rwlock_unlock): Likewise.
383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
384 (__pthread_key_create): Likewise.
385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
386 (__pthread_setspecific): Likewise.
387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
388 (__pthread_getspecific): Likewise.
389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
392 (_pthread_cleanup_push_defer): Likewise.
393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
394 (_pthread_cleanup_pop_restore): Likewise.
395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
396 (pthread_setcancelstate): Likewise.
397 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
399 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
400 (memchr): Do not use BP_SYM in weak_alias.
401 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
402 (fegetenv): Do not use BP_SYM in versioned symbols.
403 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
404 (fesetenv): Do not use BP_SYM in versioned symbols.
405 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
406 (feupdateenv): Do not use BP_SYM in versioned symbols.
407 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
408 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
409 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
410 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
411 (open64): Do not use BP_SYM in weak_alias.
412 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
413 (fegetenv): Do not use BP_SYM in versioned symbols.
414 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
415 (fesetenv): Do not use BP_SYM in versioned symbols.
416 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
417 (feupdateenv): Do not use BP_SYM in versioned symbols.
418 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
419 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
420 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
421 (feraiseexcept): Do not use BP_SYM in versioned symbols.
422 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
423 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
424 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
426 (__libc_start_main): Do not use BP_SYM.
428 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
431 redundant return line.
435 (sub_magnitudes): Likewise.
441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
445 (sub_magnitudes): Likewise.
452 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
454 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
455 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
458 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
459 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
460 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
461 of __mul for squares.
462 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
466 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
467 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
469 2013-02-13 Joseph Myers <joseph@codesourcery.com>
472 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
474 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
475 prototype or function definition. Rename ubp_* variables and
476 parameters. Remove argv definitions conditional on
477 [__BOUNDED_POINTERS__].
478 * debug/backtrace.c (__backtrace): Do not use __unbounded.
479 * elf/dl-runtime.c (_dl_fixup): Likewise.
480 * include/set-hooks.h (RUN_HOOK): Likewise.
481 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
483 * string/strcpy.c (strcpy): Do not use __unbounded.
484 * sysdeps/generic/frame.h (struct layout): Likewise.
485 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
486 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
487 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
488 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
489 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
490 (__backtrace): Likewise.
491 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
493 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
494 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
495 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
497 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
498 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
499 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
500 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
501 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
502 Do not use __unbounded.
503 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
504 Rename __unboundedrlimits parameter to rlimits in prototype.
505 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
506 Do not use __unbounded.
507 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
509 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
510 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
511 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
512 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
513 __ptrvalue or __unbounded.
514 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
515 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
517 (__new_msgctl): Do not use __ptrvalue.
518 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
520 (__libc_msgrcv): Do not use __ptrvalue.
521 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
522 startup_info): Do not use __unbounded.
523 (__libc_start_main): Likewise. Rename ubp_* variables and
524 parameters. Remove argv definitions conditional on
525 [__BOUNDED_POINTERS__].
526 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
528 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
530 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
532 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
534 (__new_shmctl): Do not use __ptrvalue.
535 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
536 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
538 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
539 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
540 (__libc_sigaction): Likewise.
541 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
542 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
544 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
546 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
548 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
550 * string/mempcpy.c: Implement by calling memcpy.
552 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
554 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
556 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
559 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
560 values in the mantissa.
562 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
563 minimize writes to Z.
564 (sub_magnitudes): Simplify code a bit.
566 2013-02-12 Roland McGrath <roland@hack.frob.com>
568 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
569 from the message. The linker prefixes all warnings with that already.
571 2013-02-12 Andreas Schwab <schwab@suse.de>
574 * posix/regexec.c (extend_buffers): Add parameter min_len.
575 (check_matching): Pass minimum needed length.
576 (clean_state_log_if_needed): Likewise.
577 (get_subexp): Likewise.
578 * posix/Makefile (tests): Add bug-regex34.
579 (bug-regex34-ENV): Define.
580 * posix/bug-regex34.c: New file.
583 * posix/regcomp.c (parse_bracket_exp): When looking up collating
584 elements compare against the byte sequence of it, not its name.
585 * posix/Makefile (tests): Add bug-regex35.
586 (bug-regex35-ENV): Define.
587 * posix/bug-regex35.c: New file.
589 2013-02-11 Tom de Vries <tom@codesourcery.com>
591 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
593 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
594 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
595 (CHECK_EOL): Add undef.
597 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
599 * bits/stdlib-bsearch.h: New file.
600 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
601 * stdlib/stdlib.h: Likewise.
603 2013-02-11 Roland McGrath <roland@hack.frob.com>
605 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
606 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
608 * manual/search.texi (Array Search Function): Add missing const in
610 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
611 declaration to use rlim_t.
612 (Basic Scheduling Functions): Remove erroneous const from
613 sched_getparam prototype. Remove erroneous * from
614 sched_get_priority_max and sched_get_priority_min prototypes.
615 (Resource Usage): Fix summary @comment on vtimes to refer to
616 sys/vtimes.h rather than vtimes.h.
617 Add missing *s in vtimes prototype.
618 (Limits on Resources): Fix ulimit prototype to return long int.
619 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
620 prototypes to use long int rather than double.
621 (BSD Random): Fix initstate and setstate to use char *, not void *.
622 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
623 prototype to make second argument 'struct aiocb64 *const[]'.
624 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
625 (Status of AIO Operations): Remove erroneous const in aio_return and
626 aio_return64 prototypes.
627 (Synchronizing I/O): Fix sync prototype to return void.
628 * manual/startup.texi (Suboptions): Remove an erroneous const in
630 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
631 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
632 use size_t rather than int.
633 (Scanning All Users): Likewise for getpwent_r.
634 (Setting Groups): Add missing const to setgroups prototype.
635 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
636 * manual/socket.texi (Host Names): Fix gethostbyaddr and
637 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
638 'const void *' rather than 'const char *'.
639 (Host Address Functions): Likewise for inet_ntop.
640 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
641 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
642 ssize_t for return value.
643 (Sending Data): Likewise for send, sendto, sendmsg.
644 (Socket Option Functions): Add a missing const in setsockopt prototype.
645 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
646 use wchar_t for the argument.
647 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
648 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
650 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
651 double/float/long double for second argument.
652 Fix return types of significand, significandf, significandl.
653 * manual/filesys.texi (Setting Permissions): Use mode_t for second
654 argument in fchmod prototype.
655 (File Owner): Use uid_t and gid_t in fchown prototype.
656 (File Times): Add const to utimes, futimes, and lutimes prototypes.
657 (Making Special Files): Use mode_t and dev_t in mknod prototype.
658 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
659 use 'const struct dirent **' as argument types to CMP function pointer
661 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
662 (File Times): Fix summary magic @comment for struct utimbuf and utime
663 to refer to utime.h, not time.h.
664 * manual/string.texi (Argz Functions): Add missing const in
665 argz_extract and argz_next prototypes.
666 (Finding Tokens in a String): Likewise for basename.
667 (String/Array Comparison): Fix typo in wcscasecmp prototype.
668 (Copying and Concatenation): Fix typo in wmemmove prototype.
669 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
670 (Signal Stack): Remove erroneous const in sigstack prototype.
671 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
673 (Simple Calendar Time): Likewise for stime.
674 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
676 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
677 say sys/sysctl.h instead.
678 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
679 and vsyslog prototypes.
681 2013-02-11 Tom de Vries <tom@codesourcery.com>
683 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
686 2013-02-11 Roland McGrath <roland@hack.frob.com>
688 * misc/sys/mman.h: Fix typo in mremap comment.
690 2013-02-08 Roland McGrath <roland@hack.frob.com>
692 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
695 2013-02-08 Joseph Myers <joseph@codesourcery.com>
698 * debug/segfault.c: Don't include <bp-checks.h>.
699 * sysdeps/generic/bp-checks.h: Remove file.
700 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
701 (__GETDENTS): Don't use CHECK_N.
702 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
703 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
704 (__getgroups): Don't use CHECK_N.
705 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
706 (setgroups): Don't use CHECK_N.
707 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
708 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
709 (__libc_msgrcv): Don't use CHECK_N.
710 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
711 (__libc_msgsnd): Don't use CHECK_N.
712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
714 (__libc_pread): Don't use CHECK_N.
715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
716 include <bp-checks.h>.
717 (__libc_pread64): Don't use CHECK_N.
718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
719 include <bp-checks.h>.
720 (__libc_pwrite): Don't use CHECK_N.
721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
722 include <bp-checks.h>.
723 (__libc_pwrite64): Don't use CHECK_N.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
726 (__libc_pread): Don't use CHECK_N.
727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
728 include <bp-checks.h>.
729 (__libc_pread64): Don't use CHECK_N.
730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
731 include <bp-checks.h>.
732 (__libc_pwrite): Don't use CHECK_N.
733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
734 include <bp-checks.h>.
735 (__libc_pwrite64): Don't use CHECK_N.
736 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
737 (do_pread): Don't use CHECK_N.
738 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
739 (do_pread64): Don't use CHECK_N.
740 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
741 (do_pwrite): Don't use CHECK_N.
742 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
743 (do_pwrite64): Don't use CHECK_N.
744 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
745 (__libc_readv): Don't use CHECK_N.
746 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
747 (semop): Don't use CHECK_N.
748 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
750 (semtimedop): Don't use CHECK_N.
751 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
752 (__libc_pread): Don't use CHECK_N.
753 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
755 (__libc_pread64): Don't use CHECK_N.
756 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
758 (__libc_pwrite): Don't use CHECK_N.
759 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
761 (__libc_pwrite64): Don't use CHECK_N.
762 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
764 (__libc_msgrcv): Don't use CHECK_N.
765 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
766 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
767 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
768 (__libc_writev): Don't use CHECK_N.
770 2013-02-08 Roland McGrath <roland@hack.frob.com>
772 * string/strcpy.c: Removed unused variable.
774 * Makeconfig (+sysdep-includes): Define with := rather than =.
775 Use an existing include/ subdir of each sysdeps dir before it.
777 2013-02-08 Carlos O'Donell <carlos@redhat.com>
779 * nscd/connection.c (register_traced_file): Comment function.
780 [HAVE_INOTIFY] (union __inev): Define.
781 [HAVE_INOTIFY] (inotify_check_files): New function.
782 [HAVE_INOTIFY] (clear_db_cache): Likewise.
783 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
785 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
787 2013-02-08 Carlos O'Donell <carlos@redhat.com>
789 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
790 loaded if not already and that a failure is permanent.
792 2013-02-08 Carlos O'Donell <carlos@redhat.com>
795 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
796 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
798 2013-02-08 Joseph Myers <joseph@codesourcery.com>
801 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
802 (CHECK_1_NULL_OK): Likewise.
803 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
804 (__fxstat): Do not use CHECK_1.
805 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
807 (___fxstat64): Do not use CHECK_1.
808 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
810 (__fxstatat): Do not use CHECK_1.
811 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
813 (__fxstatat64): Do not use CHECK_1.
814 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
816 (__fxstat): Do not use CHECK_1.
817 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
819 (__fxstatat): Do not use CHECK_1.
820 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
822 (__getresgid): Do not use CHECK_1.
823 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
825 (__getresuid): Do not use CHECK_1.
826 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
828 (__lxstat): Do not use CHECK_1.
829 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
831 (__old_msgctl): Do not use CHECK_1.
832 (__new_msgctl): Likewise.
833 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
835 (__new_setrlimit): Do not use CHECK_1.
836 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
838 (__old_shmctl): Do not use CHECK_1.
839 (__new_shmctl): Likewise.
840 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
842 (__xstat): Do not use CHECK_1.
843 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
844 (__lxstat): Do not use CHECK_1.
845 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
847 (___lxstat64): Do not use CHECK_1.
848 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
849 (__old_msgctl): Do not use CHECK_1.
850 (__new_msgctl): Likewise.
851 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
853 (__gettimeofday): Do not use CHECK_1.
854 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
855 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
856 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
858 (__gettimeofday): Do not use CHECK_1.
859 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
860 (__old_shmctl): Do not use CHECK_1_NULL_OK.
861 (__new_shmctl): Do not use CHECK_1.
862 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
864 (do_sigtimedwait): Do not use CHECK_1.
865 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
867 (do_sigwaitinfo): Do not use CHECK_1.
868 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
870 (msgctl): Do not use CHECK_1.
871 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
873 (shmctl): Do not use CHECK_1.
874 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
875 (ustat): Do not use CHECK_1.
876 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
878 (__fxstat): Do not use CHECK_1.
879 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
881 (__fxstatat): Do not use CHECK_1.
882 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
884 (__lxstat): Do not use CHECK_1.
885 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
887 (__xstat): Do not use CHECK_1.
888 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
889 (__xstat): Do not use CHECK_1.
890 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
891 (___xstat64): Do not use CHECK_1.
894 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
896 (CHECK_BOUNDS_HIGH): Likewise.
897 * string/strcpy.c: Do not include <bp-checks.h>.
898 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
900 2013-02-07 Roland McGrath <roland@hack.frob.com>
902 * nscd/nscd-client.h (__nscd_drop_map_ref):
903 Add __attribute__ ((unused)).
904 * nis/nss-nisplus.h (niserr2nss): Likewise.
906 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
907 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
909 * csu/libc-tls.c (init_static_tls, init_slotinfo):
910 Remove inline keyword.
911 * include/rounding-mode.h (round_away): Likewise.
912 * libio/wfileops.c (adjust_wide_data): Likewise.
913 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
914 (__m128i_strloadu_tolower): Likewise.
915 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
916 (__m128i_strloadu_tolower): Likewise.
917 * time/mktime.c (ydhms_diff): Likewise.
918 * locale/elem-hash.h (elem_hash): Likewise.
919 * locale/setlocale.c (setdata): Likewise.
920 * posix/regex_internal.h (re_string_char_size_at): Likewise.
921 (re_string_wchar_at): Likewise.
922 (bitset_not, bitset_merge, bitset_mask): Likewise.
923 [!(__GNUC__ > 3)] (inline): Remove macro.
924 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
925 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
926 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
927 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
928 * string/memcmp.c (memcmp_bytes): Likewise.
929 * locale/programs/locarchive.c (compute_hashval): Likewise.
930 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
931 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
932 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
933 * nss/getent.c (print_rpc, print_protocols): Likewise.
934 (print_passwd, print_group, print_aliases): Likewise.
935 * nis/nss-nisplus.h (niserr2nss): Likewise.
936 * nscd/connections.c (restart_p): Likewise.
937 Change return type to bool.
939 2013-02-05 Roland McGrath <roland@hack.frob.com>
941 * Makeconfig (all-Depend-files): Add existing
942 $(sorted-subdirs:=/Depend) files.
943 (all-subdirs): Remove nss.
944 * sysdeps/unix/inet/Subdirs: Add it here instead.
945 * hesiod/Depend: New file.
947 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
948 instead of calling alloca.
950 * io/lseek.c (__lseek): Rename to __libc_lseek.
951 Define __lseek as an alias.
953 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
955 2013-02-04 Carlos O'Donell <carlos@redhat.com>
957 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
958 else clause and remove check for non-standard endianness.
960 2013-02-04 David S. Miller <davem@davemloft.net>
962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
964 2013-02-04 Joseph Myers <joseph@codesourcery.com>
967 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
968 (__ubp_memchr): Remove prototype.
969 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
970 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
971 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
972 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
973 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
975 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
976 (__ubp_memchr): Likewise.
977 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
978 (__ubp_memchr): Likewise.
979 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
980 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
981 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
982 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
984 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
985 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
986 (__getcwd): Do not use CHECK_STRING.
987 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
989 (__real_chown): Do not use CHECK_STRING.
990 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
992 (fchownat): Do not use CHECK_STRING.
993 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
995 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
997 (__lchown): Do not use CHECK_STRING.
998 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
999 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1000 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1001 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1003 include <bp-checks.h>.
1004 (truncate64): Do not use CHECK_STRING.
1005 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1007 (__real_chown): Do not use CHECK_STRING.
1008 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1010 (__lchown): Do not use CHECK_STRING.
1011 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1013 (__chown): Do not use CHECK_STRING.
1014 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1016 (truncate64): Do not use CHECK_STRING.
1017 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1019 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1020 (__xmknod): Do not use CHECK_STRING.
1021 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1023 (__xmknodat): Do not use CHECK_STRING.
1024 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1025 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1027 2013-02-04 Andreas Schwab <schwab@suse.de>
1030 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1031 * include/netdb.h: Likewise for h_errno.
1032 * elf/tst-stackguard1.c: Include <tls.h>.
1034 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1036 * elf/link.h (struct link_map): Extend the l_addr comment.
1037 * include/link.h (struct link_map): Likewise.
1039 2013-02-01 Joseph Myers <joseph@codesourcery.com>
1042 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1043 (BOUNDED_1): Remove macro.
1044 * debug/backtrace.c: Don't include <bp-checks.h>.
1045 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1046 (__backtrace): Likewise.
1047 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1049 (__backtrace): Don't use BOUNDED_1.
1050 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1052 (__backtrace): Don't use BOUNDED_1.
1053 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1054 (__backtrace): Don't use BOUNDED_1.
1055 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1056 (shmat): Don't use BOUNDED_N.
1058 2013-01-31 Joseph Myers <joseph@codesourcery.com>
1061 * sysdeps/generic/bp-start.h: Remove file.
1062 * csu/libc-start.c: Don't include <bp-start.h>.
1063 (LIBC_START_MAIN): Set up __environ directly instead of using
1064 INIT_ARGV_and_ENVIRON.
1065 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1069 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1071 (CHECK_FCNTL): Likewise.
1072 (CHECK_N_PAGES): Likewise.
1075 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1077 (CHECK_SIGSET_NULL_OK): Likewise.
1078 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1080 (sigpending): Don't use CHECK_SIGSET.
1081 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1083 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1084 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1086 (do_sigsuspend): Don't use CHECK_SIGSET.
1087 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1089 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1090 (do_sigwait): Don't use CHECK_SIGSET.
1091 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1093 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1094 include <bp-checks.h>.
1095 (sigpending): Don't use CHECK_SIGSET.
1096 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1097 include <bp-checks.h>.
1098 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1099 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1101 (sigpending): Don't use CHECK_SIGSET.
1102 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1104 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1107 * sysdeps/generic/bp-semctl.h: Remove file.
1108 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1109 <bp-checks.h> and <bp-semctl.h>.
1110 (__old_semctl): Don't use CHECK_SEMCTL.
1111 (__new_semctl): Likewise.
1112 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1114 (__old_semctl): Don't use CHECK_SEMCTL.
1115 (__new_semctl): Likewise.
1116 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1117 <bp-checks.h> and <bp-semctl.h>.
1118 (__old_semctl): Don't use CHECK_SEMCTL.
1119 (__new_semctl): Likewise.
1120 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1121 <bp-checks.h> and <bp-semctl.h>.
1122 (semctl): Don't use CHECK_SEMCTL.
1125 * Makerules (elide-bp-thunks): Remove variable.
1126 (elide-routines.oS): Don't use $(elide-bp-thunks).
1127 (elide-routines.os): Likewise.
1128 (elide-routines.o): Likewise.
1129 (elide-routines.op): Likewise.
1130 (elide-routines.og): Likewise.
1131 (objects): Don't use $(bp-thunks).
1132 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1134 (common-generated): Do not add s-proto-bp.d.
1135 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1138 Do not generate makefile rules for bounded-pointer thunks.
1139 * sysdeps/generic/bp-thunks.h: Remove file.
1140 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1141 * sysdeps/unix/s-proto-bp.S: Likewise.
1144 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1145 parts of result separately when argument is not close to line from
1146 -i to i and one part of argument is small.
1147 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1148 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1149 * math/libm-test.inc (cacos_test): Add more tests.
1150 (casin_test): Likewise.
1151 (casinh_test): Likewise.
1152 * sysdeps/i386/fpu/libm-test-ulps: Update.
1153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1155 2013-01-31 David S. Miller <davem@davemloft.net>
1157 * po/de.po: Update from translation team.
1159 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1161 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1163 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1165 * configure.in (_AC_PROG_CC_C89): New definition.
1166 * configure: Regenerate.
1168 * configure.in (AC_PROG_CPP): New definition.
1169 * configure: Regenerate.
1171 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1173 * debug/tst-backtrace.h: New file.
1174 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1175 (ret): Remove variable.
1177 (FAIL): Remove macro.
1178 (NO_INLINE): Likewise.
1179 (fn1): Use match function instead of strstr.
1180 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1181 (ret): Remove variable.
1183 (FAIL): Remove macro.
1184 (NO_INLINE): Likewise.
1185 (fn): Use match function instead of strstr.
1186 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1187 (ret): Remove variable.
1189 (FAIL): Remove macro.
1190 (NO_INLINE): Likewise.
1191 (handle_signal): Use match function instead of strstr.
1192 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1193 (ret): Remove variable.
1195 (FAIL): Remove macro.
1196 (NO_INLINE): Likewise.
1197 (handle_signal): Use match function instead of strstr.
1199 2013-01-23 Roland McGrath <roland@hack.frob.com>
1201 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1203 2013-01-23 David S. Miller <davem@davemloft.net>
1205 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1206 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1207 argument of CAS if possible.
1208 * sysdeps/sparc/sparc64/bits/atomic.h
1209 (__arch_compare_and_exchange_val_32_acq): Likewise.
1210 (__arch_compare_and_exchange_val_64_acq): Likewise.
1212 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1214 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1215 * sysdeps/posix/ulimit.c: ... this.
1217 * sysdeps/unix/bsd/ulimit.c: Remove file.
1219 2013-01-23 Adam Conrad <adconrad@0c3.net>
1221 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1222 (LDFLAGS-tst-array5): Likewise.
1224 2013-01-23 Joseph Myers <joseph@codesourcery.com>
1227 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1228 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1229 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1230 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1232 2013-01-21 David S. Miller <davem@davemloft.net>
1234 * sysdeps/sparc/backtrace.c: New file.
1235 * sysdeps/sparc/sparc32/backtrace.h: New file.
1236 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1237 * sysdeps/sparc/sparc64/backtrace.h: New file.
1238 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1239 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1242 2013-01-21 Andreas Schwab <schwab@suse.de>
1245 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1248 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1254 2013-01-18 Joseph Myers <joseph@codesourcery.com>
1255 Mark Mitchell <mark@codesourcery.com>
1256 Tom de Vries <tom@codesourcery.com>
1257 Paul Pluzhnikov <ppluzhnikov@google.com>
1259 * debug/tst-backtrace2.c: New file.
1260 * debug/tst-backtrace3.c: Likewise.
1261 * debug/tst-backtrace4.c: Likewise.
1262 * debug/tst-backtrace5.c: Likewise.
1263 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1264 (CFLAGS-tst-backtrace3.c): Likewise.
1265 (CFLAGS-tst-backtrace4.c): Likewise.
1266 (CFLAGS-tst-backtrace5.c): Likewise.
1267 (LDFLAGS-tst-backtrace2): Likewise.
1268 (LDFLAGS-tst-backtrace3): Likewise.
1269 (LDFLAGS-tst-backtrace4): Likewise.
1270 (LDFLAGS-tst-backtrace5): Likewise.
1271 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1272 tst-backtrace4 and tst-backtrace5.
1274 2013-01-18 Anton Blanchard <anton@samba.org>
1275 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1277 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1278 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1279 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1280 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1282 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1283 "+r" and remove output regs list as redundant. Add explicit inline
1284 asm to specify register of return val to work around compiler codegen
1285 bug. Remove (int) cast on return value. Add return type parameter to
1286 use in macro so that this macro does not truncate return value for
1288 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1289 pass to INTERNAL_VSYSCALL_NCS.
1290 (INLINE_VSYSCALL): Add 'long int' as return type to
1291 INTERNAL_VSYSCALL_NCS macro invocation.
1292 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1293 INTERNAL_VSYSCALL_NCS macro invocation.
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1296 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1299 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1300 Fix application of SIMD FP exception mask.
1302 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1303 mp_no from a power of two.
1304 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1305 __mpexp_twomm1. Use __pow_mp.
1307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1310 2013-01-17 David S. Miller <davem@davemloft.net>
1312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1314 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1317 * include/complex.h: Condition contents on [!_COMPLEX_H].
1318 (__kernel_casinhf): New prototype.
1319 (__kernel_casinh): Likewise.
1320 (__kernel_casinhl): Likewise.
1321 * math/Makefile (libm_calls): Add k_casinh.
1322 * math/k_casinh.c: New file.
1323 * math/k_casinhf.c: Likewise.
1324 * math/k_casinhl.c: Likewise.
1325 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1326 finite nonzero arguments.
1327 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1328 finite nonzero arguments.
1329 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1330 finite nonzero arguments.
1331 * math/s_casinh.c: Do not include <float.h>.
1332 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1333 * math/s_casinhf.c: Do not include <float.h>.
1334 (__casinhf): Move code for finite nonzero arguments to
1336 * math/s_casinhl.c: Do not include <float.h>.
1337 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1339 (__casinhl): Move code for finite nonzero arguments to
1341 * math/libm-test.inc (cacos_test): Add more tests.
1342 * sysdeps/i386/fpu/libm-test-ulps: Update.
1343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1345 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1347 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1348 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1349 [!HAVE_MREMAP]: Remove [defined linux] case.
1350 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1352 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1354 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1356 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
1358 * elf/elf.h (R_386_SIZE32): New relocation.
1359 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1361 (elf_machine_rela): Likewise.
1362 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1363 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1365 2013-01-17 Joseph Myers <joseph@codesourcery.com>
1367 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1368 (FP_FAST_FMA): Do not define.
1369 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1370 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1371 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1372 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1373 !_SOFT_FLOAT]: Likewise.
1374 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1375 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1377 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1378 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1379 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1380 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1381 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1382 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1385 2013-01-16 Andreas Schwab <schwab@suse.de>
1388 * include/stdlib.h (__mktemp): Add declaration.
1389 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1390 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1392 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1394 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1396 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1397 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1398 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1400 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1401 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1403 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1405 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1406 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1407 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1409 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1410 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1412 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1414 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1416 2013-01-15 David S. Miller <davem@davemloft.net>
1418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1419 trunc{,f} to libm-sysdep_routes.
1420 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1430 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1431 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1432 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1433 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1434 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1435 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1438 nearbyint{,f} to libm-sysdep_routes.
1439 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1450 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1452 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1453 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1455 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1456 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1457 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1459 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1460 libc_feholdexcept and libc_fesetenv.
1462 2013-01-15 Mike Frysinger <vapier@gentoo.org>
1464 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1466 2013-01-14 David S. Miller <davem@davemloft.net>
1468 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1469 (SPARC_ASM_VIS2_IFUNC): Likewise.
1470 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1472 use of 'siam' instruction.
1473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1479 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1481 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1491 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1501 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1502 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1506 routines to libm-sysdep_routines.
1507 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1510 fdim/fdimf to libm-sysdep_routines.
1511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1519 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1520 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1521 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1522 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1524 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1526 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1529 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1534 local variable MPTWO.
1535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1538 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1540 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1543 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1545 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1547 2013-01-13 Mike Frysinger <vapier@gentoo.org>
1549 * manual/pattern.texi (glob_t): Document gl_flags.
1550 (glob64_t): Likewise.
1552 2013-01-11 David S. Miller <davem@davemloft.net>
1554 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1555 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1556 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
1557 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1558 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1559 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1560 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1561 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1562 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1563 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1564 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1565 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1566 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1568 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1569 sparc V9 rather than using V8 code.
1570 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1571 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1573 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1575 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1578 2013-01-11 Roland McGrath <roland@hack.frob.com>
1580 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1581 not in the main loop.
1582 * configure: Regenerated.
1584 2013-01-11 Joseph Myers <joseph@codesourcery.com>
1586 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1587 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1589 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1590 [!__GLIBC_HAVE_LONG_LONG] case.
1591 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1592 condition to just #else.
1593 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1594 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1595 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1596 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1598 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1599 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1600 #elif condition to just #else.
1601 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1602 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1603 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1604 #elif condition to just #else.
1606 2013-01-11 Steve Ellcey <sellcey@mips.com>
1608 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1609 (EF_MIPS_ARCH_64): Fix value.
1610 (EF_MIPS_ARCH_32R2): New.
1611 (EF_MIPS_ARCH_64R2): New.
1613 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1615 * Makeconfig (+link-pie-before-libc): New.
1616 (+link-pie-after-libc): Likewise.
1617 (+link-pie-tests): Likewise.
1618 (+link-pie): Rewritten.
1619 (link-before-libc): Remove $(config-LDFLAGS).
1620 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1621 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1622 (config-LDFLAGS): Renamed to ...
1623 (rtld-LDFLAGS): This.
1624 (rtld-tests-LDFLAGS): New macro.
1625 (link-libc-rpath-link): Likewise.
1626 (link-libc-tests-rpath-link): Likewise.
1627 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1628 (link-libc): Prepand $(link-libc-rpath-link).
1629 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1630 (test-program-prefix): New macro.
1631 (test-via-rtld-prefix): Likewise.
1632 (test-program-cmd): Likewise.
1633 (host-test-program-cmd): Likewise.
1634 * Makefile ($(common-objpfx)testrun.sh): Replace
1635 $(run-program-prefix) with $(test-program-prefix).
1636 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1638 ($(common-objpfx)shlib.lds): Likewise.
1639 (build-module-helper): Likewise.
1640 ($(common-objpfx)format.lds): Likewise.
1641 * Rules (binaries-pie-tests): New.
1642 (binaries-pie-notests): Likewise.
1643 (binaries-pie): Rewritten.
1644 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1645 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1646 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1647 (make-test-out): Replace $(host-built-program-cmd) with
1648 $(host-test-program-cmd).
1649 * config.make.in (build-hardcoded-path-in-tests): New variable.
1650 * configure.in (--enable-hardcoded-path-in-tests): New configure
1652 (hardcoded_path_in_tests): New AC_SUBST.
1653 * configure: Regenerated.
1654 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1655 $(built-program-cmd) with $(test-program-cmd).
1656 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1657 (test_program_cmd): This.
1658 * elf/Makefile ($(objpfx)order.out): Run test with
1659 $(test-program-prefix).
1660 ($(objpfx)order2.out): Likewise.
1661 ($(objpfx)tst-initorder.out): Likewise.
1662 ($(objpfx)tst-initorder2.out): Likewise.
1663 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1664 $(test-program-cmd).
1665 ($(objpfx)tst-array1-static.out): Likewise.
1666 ($(objpfx)tst-array2.out): Likewise.
1667 ($(objpfx)tst-array3.out): Likewise.
1668 ($(objpfx)tst-array4.out): Likewise.
1669 ($(objpfx)tst-array5.out): Likewise.
1670 ($(objpfx)tst-array5-static.out): Likewise.
1671 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1672 $(test-program-cmd).
1673 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1674 $(run-program-prefix) with $(test-program-prefix).
1675 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1676 (test_program_prefix): This.
1677 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1678 $(run-program-prefix) with $(test-program-prefix).
1679 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1680 (test_program_prefix): This.
1681 * iconvdata/tst-tables.sh: Likewise.
1682 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1683 $(run-program-prefix) with $(test-program-prefix).
1684 ($(objpfx)tst-translit.out): Likewise.
1685 ($(objpfx)tst-gettext2.out): Likewise.
1686 ($(objpfx)tst-gettext4.out): Likewise.
1687 ($(objpfx)tst-gettext6.out): Likewise.
1688 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1689 (test_program_prefix): This.
1690 * intl/tst-gettext2.sh: Likewise.
1691 * intl/tst-gettext4.sh Likewise.
1692 * intl/tst-gettext6.sh: Likewise.
1693 * intl/tst-translit.sh: Likewise.
1694 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1695 with $(test-program-cmd).
1696 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1697 $(run-program-prefix) with $(test-program-prefix).
1698 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1699 (test_program_prefix): This.
1700 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1701 $(run-program-prefix) with $(test-program-prefix).
1702 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1703 (test_program_prefix): This.
1704 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1705 * posix/Makefile ($(objpfx)globtest.out): Replace
1706 $(run-via-rtld-prefix) and $(test-wrapper) with
1707 $(test-program-prefix) and $(test-via-rtld-prefix).
1708 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1709 $(test-program-prefix).
1710 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1711 $(host-test-program-cmd).
1712 (tst-spawn-ARGS): Likewise.
1713 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1714 $(test-program-prefix).
1715 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1716 (test_via_rtld_prefix): This.
1717 (test_wrapper): Renamed to ...
1718 (test_program_prefix): This.
1719 (run_program_prefix): Replaced by test_program_prefix.
1720 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1721 (test_program_prefix): This.
1722 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1723 with $(host-test-program-cmd).
1724 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1725 $(run-program-prefix) with $(test-program-prefix).
1726 ($(objpfx)tst-printf.out): Likewise.
1727 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1728 $(test-program-cmd).
1729 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1730 (test_program_prefix): This.
1731 * stdio-common/tst-unbputc.sh: Likewise.
1732 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1733 $(run-program-prefix) with $(test-program-prefix).
1734 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1735 (test_program_prefix): This.
1736 * string/Makefile ($(objpfx)tst-svc.out): Replace
1737 $(built-program-cmd) with $(test-program-cmd).
1739 2013-01-11 Andreas Jaeger <aj@suse.de>
1742 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1743 value. Sync with Linux 3.7.
1745 2013-01-10 David S. Miller <davem@davemloft.net>
1747 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1748 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1749 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1751 2013-01-10 Roland McGrath <roland@hack.frob.com>
1753 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1755 * configure: Regenerated.
1757 2013-01-10 David S. Miller <davem@davemloft.net>
1759 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1760 sparc V9 rather than using V8 code.
1761 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1762 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1764 2013-01-10 Roland McGrath <roland@hack.frob.com>
1766 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1767 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1768 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1769 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1770 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1771 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1772 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1773 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1774 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1775 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1776 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1777 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1778 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1779 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1780 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1781 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1782 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1783 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1784 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1785 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1786 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1787 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1788 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1789 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1790 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1791 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1792 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1794 2013-01-10 David S. Miller <davem@davemloft.net>
1796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1798 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1800 * posix/Makefile (tests-static): New variable.
1801 (tests): Add $(tests-static).
1802 (tst-exec-static-ARGS): New variable.
1803 (tst-spawn-static-ARGS): Likewise.
1804 * posix/tst-exec-static.c: New file.
1805 * posix/tst-spawn-static.c: Likewise.
1806 * posix/tst-exec.c: Support run directly.
1807 * posix/tst-spawn.c: Likewise.
1809 2013-01-10 Joseph Myers <joseph@codesourcery.com>
1811 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1813 * math/bits/mathcalls.h (llrint): Likewise.
1814 (llround): Likewise.
1815 * stdlib/stdlib.h (struct drand48_data): Likewise.
1816 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1817 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1818 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1820 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1822 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1823 (elf_greg_t): Likewise.
1824 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1825 (__jmp_buf): Likewise.
1826 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1828 (llrint): Likewise, for all definitions.
1829 (llrintl): Likewise.
1831 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1832 Remove [__GNUC__] condition.
1833 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1834 condition to just [__USE_ISOC99].
1835 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1837 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1840 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1841 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1843 (_POSIX_V6_ILP32_OFF32): Likewise.
1844 (_XBS5_ILP32_OFF32): Likewise.
1845 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1846 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1848 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1850 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1852 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1853 doubles __mpexp_twomm1. Adjust usage.
1854 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1857 2013-01-10 Andreas Schwab <schwab@suse.de>
1860 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1861 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1863 2013-01-09 David S. Miller <davem@davemloft.net>
1866 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1867 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1868 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1869 TCP_FASTOPEN): Define.
1870 (tcp_repair_opt): New structure.
1871 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1873 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1874 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1875 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1876 (tcp_cookie_transactions): New structure.
1878 2013-01-09 Anton Blanchard <anton@samba.org>
1880 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1881 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1882 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1883 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1885 2013-01-09 Joseph Myers <joseph@codesourcery.com>
1887 * include/features.h (__USE_ANSI): Remove.
1889 2013-01-09 Roland McGrath <roland@hack.frob.com>
1891 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1893 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1895 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1897 * sysdeps/s390/fpu/libm-test-ulps: Update.
1899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1901 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1906 (__mp_dbl): Likewise.
1907 (__dbl_mp): Likewise.
1908 (add_magnitudes): Likewise.
1909 (sub_magnitudes): Likewise.
1915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1920 (__mp_dbl): Likewise.
1921 (__dbl_mp): Likewise.
1922 (add_magnitudes): Likewise.
1923 (sub_magnitudes): Likewise.
1929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1934 (__mp_dbl): Likewise.
1935 (__dbl_mp): Likewise.
1936 (add_magnitudes): Likewise.
1937 (sub_magnitudes): Likewise.
1944 2013-01-08 Joseph Myers <joseph@codesourcery.com>
1946 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1947 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1948 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1949 2 && __USE_EXTERN_INLINES]: Likewise.
1951 2013-01-08 Andreas Jaeger <aj@suse.de>
1954 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1956 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1957 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1959 2013-01-07 Anton Blanchard <anton@samba.org>
1961 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1962 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1963 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1964 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1965 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1966 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1967 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1968 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1970 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1971 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1972 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1973 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1974 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1975 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1976 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1977 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1978 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1979 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1980 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1981 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1982 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1983 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1984 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1985 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1986 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1987 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1988 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1989 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1990 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1991 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1993 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1994 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1995 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1996 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1997 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1998 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1999 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2000 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2001 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2002 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2003 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2005 2013-01-07 Joseph Myers <joseph@codesourcery.com>
2007 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2008 (__MALLOC_PMT): Likewise.
2009 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2010 [__GNUC__], only on [_LIBC].
2011 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2012 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2013 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2014 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2015 forward declaration.
2016 (realloc_hook_ini): Likewise.
2017 (memalign_hook_ini): Likewise.
2018 (__libc_memalign): Do not use __MALLOC_PMT in variable
2020 (__libc_valloc): Likewise.
2021 (__libc_pvalloc): Likewise.
2022 (__libc_calloc): Likewise.
2023 (__posix_memalign): Likewise.
2026 * math/s_casinh.c: Include <float.h>.
2027 (__casinh): Do not do computation with squaring and square root
2028 for large arguments.
2029 * math/s_casinhf.c: Include <float.h>.
2030 (__casinhf): Do not do computation with squaring and square root
2031 for large arguments.
2032 * math/s_casinhl.c: Include <float.h>.
2033 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2034 (__casinhl): Do not do computation with squaring and square root
2035 for large arguments.
2036 * math/libm-test.inc (casin_test): Add more tests.
2037 (casinh_test): Likewise.
2038 * sysdeps/i386/fpu/libm-test-ulps: Update.
2039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2041 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
2043 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2044 (__x86_64_raw_data_cache_size): Likewise.
2045 (__x86_64_data_cache_size_half): Likewise.
2046 (__x86_64_raw_data_cache_size_half): Likewise.
2047 (__x86_64_shared_cache_size): Likewise.
2048 (__x86_64_raw_shared_cache_size): Likewise.
2049 (__x86_64_shared_cache_size_half): Likewise.
2050 (__x86_64_raw_shared_cache_size_half): Likewise.
2051 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2053 (__x86_data_cache_size): This.
2054 (__x86_64_raw_data_cache_size): Renamed to ...
2055 (__x86_raw_data_cache_size): This.
2056 (__x86_64_data_cache_size_half): Renamed to ...
2057 (__x86_data_cache_size_half): This.
2058 (__x86_64_raw_data_cache_size_half): Renamed to ...
2059 (__x86_raw_data_cache_size_half): This.
2060 (__x86_64_shared_cache_size): Renamed to ...
2061 (__x86_shared_cache_size): This.
2062 (__x86_64_raw_shared_cache_size): Renamed to ...
2063 (__x86_raw_shared_cache_size): This.
2064 (__x86_64_shared_cache_size_half): Renamed to ...
2065 (__x86_shared_cache_size_half): This.
2066 (__x86_64_raw_shared_cache_size_half): Renamed to ...
2067 (__x86_raw_shared_cache_size_half): This.
2068 * sysdeps/x86_64/memcpy.S: Updated.
2069 * sysdeps/x86_64/memset.S: Likewise.
2070 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2071 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2072 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2074 2013-01-04 David S. Miller <davem@davemloft.net>
2076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2078 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
2080 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2081 1 to avoid redefinition warning.
2082 (__USE_GNU): Don't define.
2083 (init_signaling_nan): Protoize.
2085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2087 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2089 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2091 (__cpymn): Likewise.
2092 (norm): Remove commented code.
2094 (__mp_dbl): Likewise.
2096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2097 (__cpymn): Likewise.
2098 (norm): Remove commented code.
2100 (__mp_dbl): Likewise.
2103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2104 mp_no value for 1.0 and 2.0.
2105 (norm): Use RADIXI instead of radixi.d.
2107 (__mul): Use 0.0 instead of zero.d.
2108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2109 mp_no value for 1.0 and 2.0.
2110 (norm): Use RADIXI instead of radixi.d.
2112 (__mul): Use 0.0 instead of zero.d.
2114 2013-01-04 Joseph Myers <joseph@codesourcery.com>
2117 * math/s_casinh.c (__casinh): Reduce finite argument to first
2118 quadrant then set signs of results at the end.
2119 * math/s_casinhf.c (__casinhf): Likewise.
2120 * math/s_casinhl.c (__casinhl): Likewise.
2121 * math/libm-test.inc (casin_test): Add more tests.
2122 (casinh_test): Likewise.
2123 * sysdeps/i386/fpu/libm-test-ulps: Update.
2124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2126 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2128 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2130 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2132 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2135 (__mp_dbl): Likewise.
2138 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2139 and adjust the header comment.
2141 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2142 variable name from declaration.
2144 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2147 Initialize COMMON_CPUID_INDEX_7 element.
2148 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2149 (CPUID_RTM): Likewise.
2150 (HAS_RTM): Likewise.
2151 (COMMON_CPUID_INDEX_7): New enum.
2153 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2156 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2157 size is zero, record memory as freed.
2159 2013-01-03 Andreas Jaeger <aj@suse.de>
2161 * po/ia.po: Add new Interlingua translation.
2163 2012-01-03 Allan McRae <allan@archlinux.org>
2165 * locale/programs/localedef.c: Fix description of '--posix' flag.
2167 2013-01-02 Joseph Myers <joseph@codesourcery.com>
2169 * NEWS: Update dates in second copyright notice.
2170 * README: Update copyright dates in example.
2171 * manual/libc.texinfo: Update copyright dates.
2172 * scripts/test-installation.pl: Update copyright date in --version
2175 * hurd/ctty-input.c: Fix copyright notice formatting.
2176 * hurd/ctty-output.c: Likewise.
2177 * hurd/dtable.c: Likewise.
2178 * hurd/hurd-raise.c: Likewise.
2179 * hurd/hurdprio.c: Likewise.
2180 * hurd/msgportdemux.c: Likewise.
2181 * misc/sys/file.h: Likewise.
2182 * misc/sys/ioctl.h: Likewise.
2183 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2184 * sysdeps/mach/hurd/chdir.c: Likewise.
2185 * sysdeps/mach/hurd/fchdir.c: Likewise.
2186 * sysdeps/mach/hurd/rename.c: Likewise.
2187 * sysdeps/mach/hurd/rmdir.c: Likewise.
2188 * sysdeps/mach/hurd/seekdir.c: Likewise.
2189 * sysdeps/mach/hurd/setsid.c: Likewise.
2190 * sysdeps/posix/wait3.c: Likewise.
2192 * All files with FSF copyright notices: Update copyright dates
2193 using scripts/update-copyrights.
2194 * intl/plural.c: Regenerated.
2195 * locale/programs/charmap-kw.h: Likewise.
2196 * locale/programs/locfile-kw.h: Likewise.
2198 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2200 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2203 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2204 calculation loop and add branch prediction.
2206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2207 check access beyond bounds of m1np.
2209 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2211 (__inv): Remove local variable MPTWO to use the global
2213 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2214 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2216 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2217 MP3HALFS static const.
2219 2013-01-01 David S. Miller <davem@davemloft.net>
2221 * po/ca.po: Update from translation team.
2223 2013-01-01 Joseph Myers <joseph@codesourcery.com>
2225 * scripts/update-copyrights: New file.
2226 * Makeconfig: Reformat copyright notice.
2227 * ctype/ctype.h: Likewise.
2228 * debug/swprintf_chk.c: Likewise.
2229 * elf/dl-cache.c: Likewise.
2230 * elf/dl-debug.c: Likewise.
2231 * elf/dl-object.c: Likewise.
2232 * grp/initgroups.c: Likewise.
2233 * hurd/Makefile: Likewise.
2234 * hurd/hurd/signal.h: Likewise.
2235 * hurd/hurdfault.c: Likewise.
2236 * hurd/hurdioctl.c: Likewise.
2237 * hurd/hurdlookup.c: Likewise.
2238 * hurd/intr-msg.c: Likewise.
2239 * iconv/gconv_open.c: Likewise.
2240 * libio/swprintf.c: Likewise.
2241 * locale/lc-ctype.c: Likewise.
2242 * locale/nl_langinfo.c: Likewise.
2243 * mach/Machrules: Likewise.
2244 * mach/Makefile: Likewise.
2245 * malloc/obstack.h: Likewise.
2246 * manual/Makefile: Likewise.
2247 * manual/tsort.awk: Likewise.
2248 * misc/bits/stab.def: Likewise.
2249 * nis/nis_print_group_entry.c: Likewise.
2250 * nis/nis_table.c: Likewise.
2251 * nis/nss_compat/compat-pwd.c: Likewise.
2252 * nis/nss_compat/compat-spwd.c: Likewise.
2253 * po/Makefile: Likewise.
2254 * posix/fnmatch.c: Likewise.
2255 * posix/regex.h: Likewise.
2256 * resolv/Makefile: Likewise.
2257 * resolv/nss_dns/dns-network.c: Likewise.
2258 * resolv/res_hconf.c: Likewise.
2259 * scripts/gen-sorted.awk: Likewise.
2260 * soft-fp/soft-fp.h: Likewise.
2261 * stdio-common/printf.h: Likewise.
2262 * stdlib/monetary.h: Likewise.
2263 * stdlib/random.c: Likewise.
2264 * stdlib/random_r.c: Likewise.
2265 * sysdeps/generic/Makefile: Likewise.
2266 * sysdeps/gnu/Makefile: Likewise.
2267 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2268 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2269 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2270 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2271 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2272 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2273 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2274 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2275 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2276 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2277 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2278 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2279 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2280 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2281 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2282 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2283 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2284 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2285 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2286 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2287 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2288 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2289 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2290 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2291 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2292 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2293 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2294 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2295 * sysdeps/mach/hurd/errnos.awk: Likewise.
2296 * sysdeps/mach/hurd/fork.c: Likewise.
2297 * sysdeps/mach/hurd/getcwd.c: Likewise.
2298 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2299 * sysdeps/mach/hurd/mmap.c: Likewise.
2300 * sysdeps/mach/hurd/utimes.c: Likewise.
2301 * sysdeps/mach/hurd/xmknod.c: Likewise.
2302 * sysdeps/posix/profil.c: Likewise.
2303 * sysdeps/posix/readdir_r.c: Likewise.
2304 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2305 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2306 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2307 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2309 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2310 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2311 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2313 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2314 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2315 * sysdeps/pthread/lio_listio.c: Likewise.
2316 * sysdeps/sparc/dl-procinfo.h: Likewise.
2317 * sysdeps/unix/i386/sysdep.S: Likewise.
2318 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2319 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2320 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2321 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2323 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2324 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2325 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2326 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2327 * sysdeps/wordsize-32/divdi3.c: Likewise.
2328 * time/sys/time.h: Likewise.
2329 * wcsmbs/Makefile: Likewise.
2331 2013-01-01 David S. Miller <davem@davemloft.net>
2333 * po/fr.po: Update from translation team.
2335 * catgets/gencat.c: Update copyright year.
2336 * csu/version.c: Likewise.
2337 * debug/catchsegv.sh: Likewise.
2338 * debug/pcprofiledump.c: Likewise.
2339 * debug/xtrace.sh: Likewise.
2340 * elf/ldconfig.c: Likewise.
2341 * elf/ldd.bash.in: Likewise.
2342 * elf/pldd.c: Likewise.
2343 * elf/sotruss.ksh: Likewise.
2344 * elf/sprof.c: Likewise.
2345 * iconv/iconv_prog.c: Likewise.
2346 * iconv/iconvconfig.c: Likewise.
2347 * locale/programs/locale.c: Likewise.
2348 * locale/programs/localedef.c: Likewise.
2349 * login/programs/pt_chown.c: Likewise.
2350 * malloc/memusage.sh: Likewise.
2351 * malloc/memusagestat.c: Likewise.
2352 * malloc/mtrace.pl: Likewise.
2353 * nscd/nscd.c: Likewise.
2354 * nss/getent.c: Likewise.
2355 * nss/makedb.c: Likewise.
2356 * posix/getconf.c: Likewise.
2358 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2360 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2363 2012-12-30 Mike Frysinger <vapier@gentoo.org>
2365 * math/bits/mathcalls.h (modf): Use __nonnull.
2367 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2369 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2370 (split): Use macro CN instead of the bare value.
2371 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2373 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2374 instead of the bare value.
2377 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2379 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2381 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2383 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2385 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2386 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2387 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2388 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2390 2012-12-28 Andreas Jaeger <aj@suse.de>
2392 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2393 values are from Linux 3.7.
2395 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2396 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2398 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2400 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2403 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2405 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2406 variables with preprocessor constants.
2407 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2408 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2409 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2411 2012-12-27 Bruno Haible <bruno@clisp.org>
2414 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2417 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2419 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2420 and use variable directly.
2421 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2423 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2425 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2426 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2428 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2429 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2430 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2431 include directive. Remove local variable MPONE.
2432 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2433 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2434 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2436 2012-12-25 David S. Miller <davem@davemloft.net>
2438 * version.h (RELEASE): Set to "development".
2439 (VERSION): Set to "2.17.90".
2440 * NEWS: Add 2.18 section.
2442 2012-12-21 David S. Miller <davem@davemloft.net>
2444 * po/hr.po: Update from translation team.
2446 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2448 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2450 2012-12-19 Steve Ellcey <sellcey@mips.com>
2452 * NEWS: Mention new memcpy for MIPS.
2454 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2456 * manual/contrib.texi (Contributors): Spelling correction.
2458 2012-12-15 David S. Miller <davem@davemloft.net>
2460 * po/ru.po: Update from translation team.
2462 2012-12-13 David S. Miller <davem@davemloft.net>
2464 * NEWS: Mention IFUNC testsuite enhancements.
2466 * po/pl.po: Update from translation team.
2467 * po/bg.po: Likewise.
2469 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2470 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2472 2012-12-11 David S. Miller <davem@davemloft.net>
2474 * po/sv.po: Update from translation team.
2476 * po/vi.po: Update from translation team.
2478 * po/cs.po: Update from translation team.
2480 * po/de.po: Update from translation team.
2481 * po/eo.po: Likewise.
2482 * po/nl.po: Likewise.
2484 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2487 * manual/argp.texi (Argp Helper Functions): Move node to follow
2491 * manual/conf.texi (Limits on File System Capacity): Mention if
2492 terminating null is included in the max size.
2494 2012-12-10 Andreas Jaeger <aj@suse.de>
2496 * po/cs.po: Update from translation team.
2498 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2500 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2501 void pointer and cast to uintptr_t.
2502 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2504 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2505 * sysdeps/s390/s390-64/memset.S: Likewise.
2507 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
2510 * menual/message.texi (Message Translation): Fix typos.
2511 (Helper programs for gettext): Likewise.
2513 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2516 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2519 2012-12-07 David S. Miller <davem@davemloft.net>
2521 * po/libc.pot: Update.
2523 2012-12-07 Richard Henderson <rth@redhat.com>
2526 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2527 normal/normal case to before the switch.
2528 (_FP_DIV): Likewise.
2530 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2531 Mike Frysinger <vapier@gentoo.org>
2533 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2534 check for __NR_fadvise64_64.
2536 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2538 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2539 0, not just to plain "0" as a statement.
2540 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2543 2012-12-06 Joseph Myers <joseph@codesourcery.com>
2545 * NEWS: Use sourceware.org in Bugzilla URL.
2547 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2550 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2552 * stdio-common/tst-put-error.c (do_test): Add newline to the
2553 padded test to ensure flush.
2555 2012-12-05 Jeff Law <law@redhat.com>
2557 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2559 2012-12-05 Joseph Myers <joseph@codesourcery.com>
2561 * README: Don't refer to ports add-on as distributed separately.
2562 Mention AArch64 in list of systems supported in the ports add-on.
2564 * LICENSES: Add more non-FSF copyright and license notices.
2566 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2569 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2571 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2572 10000 as width of padded output.
2574 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2576 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2578 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2579 variable LX with __attribute__ ((unused)).
2580 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2582 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2583 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2584 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2585 with __attribute__ ((unused)).
2587 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
2589 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2591 2012-12-04 Joseph Myers <joseph@codesourcery.com>
2593 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2594 (CFLAGS-nldbl-acos.c): New variable.
2595 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2596 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2597 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2598 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2599 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2600 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2601 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2602 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2603 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2604 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2605 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2606 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2607 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2608 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2609 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2610 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2611 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2612 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2613 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2614 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2615 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2616 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2617 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2618 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2619 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2620 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2621 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2622 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2623 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2624 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2625 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2626 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2627 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2628 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2629 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2630 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2631 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2632 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2633 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2634 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2635 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2636 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2637 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2638 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2639 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2640 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2641 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2642 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2643 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2644 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2645 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2646 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2647 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2648 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2649 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2650 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2651 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2652 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2653 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2654 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2655 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2656 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2657 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2658 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2659 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2660 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2661 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2662 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2663 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2664 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2665 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2666 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2667 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2668 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2669 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2670 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2671 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2672 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2673 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2674 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2675 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2676 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2677 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2678 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2679 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2680 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2681 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2682 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2683 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2684 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2685 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2686 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2687 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2688 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2689 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2690 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2691 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2694 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2697 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2698 whole low double instead of just low 47 bits when splitting values
2701 2012-12-03 Allan McRae <allan@archlinux.org>
2703 * manual/stdio.texi (Predefined Printf Handlers): Remove
2704 @hsep and @vsep usage.
2706 2012-12-03 Mike Frysinger <vapier@gentoo.org>
2708 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2709 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2711 2012-12-03 Jeff Law <law@redhat.com>
2713 * time/sys/time.h (settimeofday): Do not mark TV argument
2716 2012-12-01 Mike Frysinger <vapier@gentoo.org>
2718 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2719 when currently writing and seek to current position when not.
2720 * libio/Makefile (tests): Remove bug-fclose1.
2721 * libio/bug-fclose1.c: Delete.
2723 2012-12-01 Joseph Myers <joseph@codesourcery.com>
2725 * manual/arith.texi (feenableexcept): Fix typo.
2726 (fedisableexcept): Likewise.
2728 2012-11-30 Roland McGrath <roland@hack.frob.com>
2730 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2731 second, differently-typed declaration, rather than a cast.
2733 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2735 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2736 * include/rpc/svc.h: ... here.
2738 2012-11-30 Aurelien Jarno <aurel32@debian.org>
2741 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2742 depending n and resplen2 to catch cases where answer
2745 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2747 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2748 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2750 2012-11-29 Mike Frysinger <vapier@gentoo.org>
2752 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2754 2012-11-29 Roland McGrath <roland@hack.frob.com>
2756 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2758 2012-11-28 Jeff Law <law@redhat.com>
2761 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2762 dataset_temporary. Track alloca usage into alloca_used.
2763 If dataset is large allocate and release it via malloc/free.
2765 2012-06-04 Florian Weimer <fweimer@redhat.com>
2768 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2770 2012-11-28 David S. Miller <davem@davemloft.net>
2772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2774 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2777 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2778 of pi/2 rounded to nearest to 64 bits.
2779 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2781 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2784 2012-11-28 Jeff Law <law@redhat.com>
2785 Martin Osvald <mosvald@redhat.com>
2788 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2789 * sunrpc/svc.c: Include time.h.
2790 (__svc_accept_failed): New function.
2791 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2792 any reason other than EINTR, call __svc_accept_failed.
2793 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2794 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2796 2012-11-28 Andreas Schwab <schwab@suse.de>
2798 * scripts/abilist.awk: Also handle indirect functions in .opd
2801 2012-11-28 Joseph Myers <joseph@codesourcery.com>
2804 * sysdeps/x86/fpu/powl_helper.c: New file.
2805 * sysdeps/x86/fpu/Makefile: Likewise.
2806 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2808 (__ieee754_powl): Use __powl_helper for finite arguments except
2809 integer exponents below 8.
2810 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2812 (__ieee754_powl): Use __powl_helper for finite arguments except
2813 integer exponents below 8.
2814 * math/libm-test.inc (pow_test): Add more tests and enable some
2815 previously disabled tests.
2816 * sysdeps/i386/fpu/libm-test-ulps: Update.
2817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2819 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2820 Carlos O'Donell <carlos_odonell@mentor.com>
2822 * nss/makedb.c (is_prime): Assert that input is odd and greater
2823 than 4. Note that fact in a comment too.
2824 (next_prime): Add 4 to input.
2826 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2829 * libio/Makefile (tests): Add test case tst-fwrite-error.
2830 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2831 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2832 * libio/tst-fwrite-error.c: New test case.
2834 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2836 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2837 before casting to void *.
2838 * include/libc-internal.h (__pointer_type): New macro.
2839 (__integer_if_pointer_type_sub): Likewise.
2840 (__integer_if_pointer_type): Likewise.
2841 (cast_to_integer): Likewise.
2842 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2843 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2844 before casting to atomic64_t.
2845 (atomic_exchange_acq): Likewise.
2846 (__arch_exchange_and_add_body): Likewise.
2847 (__arch_add_body): Likewise.
2848 (atomic_add_negative): Likewise.
2849 (atomic_add_zero): Likewise.
2851 2012-11-26 Joseph Myers <joseph@codesourcery.com>
2853 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2854 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2855 (add_fdes): Likewise.
2856 (linear_search_fdes): Likewise.
2857 (binary_search_unencoded_fdes): Likewise.
2859 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2861 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2863 2012-11-24 Adam Conrad <adconrad@0c3.net>
2865 * configure.in: Autodetect C++ header directories.
2866 * configure: Regenerated.
2868 2012-11-23 Mike Frysinger <vapier@gentoo.org>
2870 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2872 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2876 2012-11-22 Joseph Myers <joseph@codesourcery.com>
2878 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2879 LDBL_MANT_DIG == 106]: Disable some tests.
2880 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2882 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2886 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2887 input for small inputs. Return +/- pi/2 for large inputs.
2888 * math/libm-test.inc (atan_test): Add more tests.
2890 * sysdeps/generic/unwind-dw2-fde-glibc.c
2891 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2892 __attribute__ ((unused)).
2895 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2896 x * y if x and y are nonzero and z is zero.
2899 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2900 nonzero exponents with absolute value below 0x1p-117 to +/-
2904 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2905 up arguments below 2**-450, not just those below 2**-500.
2906 * math/libm-test.inc (hypot_test): Add another test.
2909 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2910 Return a+b for ratio over 2**120, not 2**60.
2911 * math/libm-test.inc (hypot_test): Add another test.
2913 * math/libm-test.inc (clog_test): Use
2914 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2915 (clog10_test): Likewise.
2918 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2920 2012-11-22 Andreas Schwab <schwab@suse.de>
2922 * sysdeps/i386/fpu/libm-test-ulps: Update.
2924 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2926 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2927 printf output with newline.
2929 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2932 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2933 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2934 -z nodlopen, -z initfirst and -z execstack support.
2935 * configure: Regenerated.
2937 * elf/elf.h (DF_1_NODIRECT): New macro.
2938 (DF_1_IGNMULDEF): Likewise.
2939 (DF_1_NOKSYMS): Likewise.
2940 (DF_1_NOHDR): Likewise.
2941 (DF_1_EDITED): Likewise.
2942 (DF_1_NORELOC): Likewise.
2943 (DF_1_SYMINTPOSE): Likewise.
2944 (DF_1_GLOBAUDIT): Likewise.
2945 (DF_1_SINGLETON): Likewise.
2946 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2947 DT_1_SUPPORTED_MASK bits.
2948 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2950 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2952 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2954 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2956 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2959 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2960 (sendmmsg): Move declarations...
2961 * socket/sys/socket.h: ... here.
2962 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2963 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2965 * socket/recvmmsg.c: ... this new file.
2966 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2967 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2968 definition of __sendmmsg hidden.
2969 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2970 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2971 Move ENOSYS stub into and include it from...
2972 * socket/sendmmsg.c: ... this new file.
2973 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2974 (sysdep_routines): Move recvmmsg and sendmmsg...
2975 * socket/Makefile (routines): ... here.
2976 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2977 (GLIBC_PRIVATE): Add __sendmmsg.
2978 * include/sys/socket.h (__sendmmsg): Add declarations.
2979 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2982 2012-11-20 Joseph Myers <joseph@codesourcery.com>
2984 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2985 variable I1 with __attribute__ ((unused)).
2986 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2988 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2990 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2991 DUMMY variables with __attribute__ ((unused)).
2993 * bits/byteswap.h: Include <bits/types.h>.
2994 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2996 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2998 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2999 string_t. Do not manually set errno.
3000 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3001 length with __strnlen. Make sure to both set errno and return it on
3004 2012-11-19 David S. Miller <davem@davemloft.net>
3006 With help from Joseph Myers.
3007 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3008 very large arguments properly.
3009 * math/libm-test.inc (atan_test): New tests.
3010 (atan2_test): New tests.
3011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3014 2012-11-19 Joseph Myers <joseph@codesourcery.com>
3017 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3020 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3021 [POSIX] (EADDRNOTAVAIL): Likewise.
3022 [POSIX] (EAFNOSUPPORT): Likewise.
3023 [POSIX] (EALREADY): Likewise.
3024 [POSIX] (ECONNABORTED): Likewise.
3025 [POSIX] (ECONNREFUSED): Likewise.
3026 [POSIX] (ECONNRESET): Likewise.
3027 [POSIX] (EDESTADDRREQ): Likewise.
3028 [POSIX] (EDQUOT): Likewise.
3029 [POSIX] (EHOSTUNREACH): Likewise.
3030 [POSIX] (EIDRM): Likewise.
3031 [POSIX] (EISCONN): Likewise.
3032 [POSIX] (ELOOP): Likewise.
3033 [POSIX] (EMULTIHOP): Likewise.
3034 [POSIX] (ENETDOWN): Likewise.
3035 [POSIX] (ENETUNREACH): Likewise.
3036 [POSIX] (ENOBUFS): Likewise.
3037 [POSIX] (ENODATA): Likewise.
3038 [POSIX] (ENOLINK): Likewise.
3039 [POSIX] (ENOMSG): Likewise.
3040 [POSIX] (ENOPROTOOPT): Likewise.
3041 [POSIX] (ENOSR): Likewise.
3042 [POSIX] (ENOSTR): Likewise.
3043 [POSIX] (ENOTCONN): Likewise.
3044 [POSIX] (ENOTSOCK): Likewise.
3045 [POSIX] (EOPNOTSUPP): Likewise.
3046 [POSIX] (EOVERFLOW): Likewise.
3047 [POSIX] (EPROTO): Likewise.
3048 [POSIX] (EPROTONOSUPPORT): Likewise.
3049 [POSIX] (EPROTOTYPE): Likewise.
3050 [POSIX] (ESTALE): Likewise.
3051 [POSIX] (ETIME): Likewise.
3052 [POSIX] (ETXTBSY): Likewise.
3053 [POSIX] (EWOULDBLOCK): Likewise.
3054 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3055 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3056 [POSIX] (SEEK_CUR): Likewise.
3057 [POSIX] (SEEK_END): Likewise.
3058 [POSIX || UNIX98] (mode_t): Do not require.
3059 [POSIX] (off_t): Likewise.
3060 [POSIX] (pid_t): Likewise.
3061 [POSIX] (sys/stat.h): Do not allow header.
3062 [POSIX] (unistd.h): Likewise.
3063 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3064 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3065 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3066 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3068 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3069 sigevent): Specify elements.
3070 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3072 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3073 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3075 * conform/data/cpio.h-data [POSIX]: Disable whole file.
3076 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3077 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3078 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3079 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3080 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3081 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3082 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3083 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3084 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3085 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3086 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3087 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3088 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3090 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3092 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3094 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3096 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3097 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3098 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3099 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3100 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3101 Specify lower bound on value.
3102 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3103 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3104 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3105 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3106 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3107 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3108 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3109 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3111 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3113 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3114 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3115 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3116 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3117 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3118 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3119 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3120 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3121 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3122 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3123 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3124 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3125 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3126 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3127 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3128 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3130 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3132 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3133 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3134 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3135 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3136 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3137 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3139 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3140 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3141 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3142 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3143 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3144 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3145 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3147 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3148 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3149 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3150 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3151 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3152 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3153 specify as optional.
3154 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3155 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3156 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3157 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3158 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3159 [XPG3] (NL_LANGMAX): Likewise.
3160 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3161 [POSIX || XPG3] (NL_NMAX): Likewise.
3162 [POSIX || XPG3] (NL_SETMAX): Likewise.
3163 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3164 [XPG3] (NZERO): Likewise.
3165 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3166 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3167 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3168 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3169 (REG_ERANGE): Expect.
3170 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3172 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3173 Use (void) in prototype.
3174 [POSIX] (*_t): Allow.
3175 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3176 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3177 (WRDE_BADVAL): Expect.
3179 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3181 [XPG3 || XPG4] (O_RSYNC): Likewise.
3182 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3184 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3185 [XPG3 || XPG4] (sigqueue): Likewise.
3186 [XPG3 || XPG4] (sigtimedwait): Likewise.
3187 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3188 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3189 [XPG3 || XPG4] (vsnprintf): Likewise.
3190 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3192 [XPG3 || XPG4] (blksize_t): Likewise.
3193 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3195 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3196 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3197 [XPG3 || XPG4] (struct itimerspec): Likewise.
3198 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3199 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3200 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3201 [XPG3 || XPG4] (clockid_t): Likewise.
3202 [XPG3 || XPG4] (timer_t): Likewise.
3203 [XPG3 || XPG4] (clock_getres): Likewise.
3204 [XPG3 || XPG4] (clock_gettime): Likewise.
3205 [XPG3 || XPG4] (clock_settime): Likewise.
3206 [XPG3 || XPG4] (nanosleep): Likewise.
3207 [XPG3 || XPG4] (timer_create): Likewise.
3208 [XPG3 || XPG4] (timer_delete): Likewise.
3209 [XPG3 || XPG4] (timer_gettime): Likewise.
3210 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3211 [XPG3 || XPG4] (timer_settime): Likewise.
3212 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3213 [XPG3 || XPG4] (getlogin_r): Likewise.
3214 [XPG3 || XPG4] (pread): Likewise.
3215 [XPG3 || XPG4] (pthread_atfork): Likewise.
3216 [XPG3 || XPG4] (pwrite): Likewise.
3219 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3222 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3224 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3225 finalizing MALLSTREAM.
3227 * sysdeps/mach/hurd/syncfs.c: New file.
3229 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3232 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3233 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3234 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3235 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3236 (_nss_dns_gethostbyname4_r): Likewise.
3237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3238 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3240 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3243 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3245 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3247 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3248 * elf/cache.c (print_entry): Print ",AArch64" for
3251 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3252 * elf/cache.c (print_entry): Print ",hard-float" for
3255 2012-11-18 David S. Miller <davem@davemloft.net>
3257 With help from Joseph Myers.
3258 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3260 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3262 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3263 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3265 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3266 * math/libm-test.inc (y0_test): New tests.
3267 (y1_test): New tests.
3268 * sysdeps/i386/fpu/libm-test-ulps: Update.
3269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3272 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3274 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3276 * configure: Regenerated.
3278 2012-11-17 David S. Miller <davem@davemloft.net>
3281 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3282 nonzero exponents with absolute value below 0x1p-128 to +/-
3285 2012-11-17 Joseph Myers <joseph@codesourcery.com>
3287 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3289 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3291 * posix/getconf-speclist.c: New file.
3292 * posix/posix-envs.def: Likewise.
3293 * posix/confstr.c (START_ENV_GROUP): New macro.
3294 (END_ENV_GROUP): Likewise.
3295 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3296 (KNOWN_PRESENT_ENV_STRING): Likewise.
3297 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3298 (UNKNOWN_ENVIRONMENT): Likewise.
3299 (confstr): Include posix-envs.def instead of handling
3300 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3301 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3302 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3303 (END_ENV_GROUP): Likewise.
3304 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3305 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3306 (UNKNOWN_ENVIRONMENT): Likewise.
3307 (__sysconf): Include posix-envs.def instead of handling associated
3308 cases directly here.
3309 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3310 preprocessing getconf-speclist.c rather than running getconf or
3311 generating empty file.
3313 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3315 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3317 2012-11-16 Andrej Lajovic <natrij@gmail.com>
3320 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3322 2012-11-16 David S. Miller <davem@davemloft.net>
3324 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3325 smaller than LDBL_EPSILON/2.0L, just return xm1.
3327 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3329 * elf/tst-array1.c (init): Set constructor priority to 1000.
3330 (fini): Set destructor priority to 1000.
3331 * elf/tst-array2dep.c: Likewise.
3333 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3336 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3337 (_IO_new_file_xsputn): Also return EOF if none of the input
3338 data was written when overflow failed.
3339 * libio/iopadn.c (_IO_padn): Likewise.
3340 * libio/iowpadn.c (_IO_wpadn): Likewise.
3341 * stdio-common/tst-put-error.c: Add copyright notice.
3342 (do_test): Add case for printing padded string.
3343 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3344 _IO_padn returned error.
3345 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3346 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3349 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3351 * libio/libioP.h: Add comment note that the references to C++
3352 bits are now obsolete.
3354 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3356 * math/libm-test.inc (check_complex): Use asprintf.
3358 2012-11-14 Joseph Myers <joseph@codesourcery.com>
3360 * debug/pcprofiledump.c (print_version): Update copyright year.
3361 * malloc/memusagestat.c (print_version): Likewise.
3363 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3366 * elf/Makefile (tests): Add tst-audit8.
3367 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3368 ($(objpfx)tst-audit8.out): New target.
3369 (tst-audit8-ENV): New variable.
3370 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3371 audit if l_reloc_result is NULL.
3372 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3373 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3374 * elf/tst-audit8.c: New file.
3376 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3378 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3379 * misc/Makefile (CFLAGS-select.c): Define.
3380 * posix/Makefile (CFLAGS-pause.c): Define.
3382 2012-11-13 David S. Miller <davem@davemloft.net>
3384 * crypt/Makefile: Move test targets after toplevel Rules
3385 inclusion. Grab any necessary sysdep routines when linking.
3386 * crypt/md5.c (md5_process_block): Remove define, we will always
3387 name it __md5_process_block.
3388 (md5_finish_ctx): Update md5_process_block call.
3389 (md5_stream): Likewise.
3390 (md5_process_bytes): Likewise.
3391 (md5_process_block): Rename to __md5_process_block and move to ...
3392 * crypt/md5-block.c: ... here.
3393 * crypt/sha256.c (sha256_process_block): Move to ...
3394 * crypt/sha256-block.c: ... here.
3395 * crypt/sha512.c (sha512_process_block): Move to ...
3396 * crypt/sha512-block.c: ... here.
3397 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3399 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3400 * sysdeps/sparc/sparc64/multiarch/Makefile
3401 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3403 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3404 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3406 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3407 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3408 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3409 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3410 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3411 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3412 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3413 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3414 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3416 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3417 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3419 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3421 2012-11-13 Joseph Myers <joseph@codesourcery.com>
3423 * timezone/tzselect.ksh: Update from tzcode git revision
3424 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3425 * timezone/zdump.c: Likewise.
3426 * timezone/zic.c: Likewise.
3427 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3428 in TZVERSION setting, not $(PKGVERSION).
3429 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3430 REPORT_BUGS_TO settings.
3433 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3436 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3438 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3439 detection to immediately after _FP_ROUND().
3440 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3443 2012-11-11 David S. Miller <davem@davemloft.net>
3445 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3447 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3448 __close rather than their public counterparts.
3450 2012-11-10 Joseph Myers <joseph@codesourcery.com>
3452 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3454 [UNIX98] (sem_timedwait): Do not expect.
3455 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3456 [XPG4 || UNIX98] (sockatmark): Do not expect.
3457 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3458 (clock_getcpuclockid): Do not expect.
3459 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3460 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3462 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3463 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3464 [UNIX98] (vwscanf): Likewise.
3465 [UNIX98] (vswscanf): Likewise.
3467 2012-11-09 Joseph Myers <joseph@codesourcery.com>
3469 * timezone/version.h: Remove file.
3470 * timezone/README: Do not refer to version.h.
3471 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3473 ($(objpfx)zdump.o): Likewise.
3474 ($(objpfx)version.h): New target.
3476 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3478 * timezone/README: Don't mention modification to tzselect.ksh.
3479 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3480 work on unmodified tzselect.ksh. Substitute version numbers in
3483 * Makefile (format-me): Remove.
3484 (INSTALL): Adjust indentation. Use commands directly instead of
3487 * aclocal.m4 (ACX_PKGVERSION): New macro.
3488 (ACX_BUGURL): Likewise.
3489 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3490 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3491 (REPORT_BUGS_TO): Likewise.
3492 * configure: Regenerated.
3493 * config.h.in (PKGVERSION): New macro.
3494 (REPORT_BUGS_TO): Likewise.
3495 * config.make.in (PKGVERSION): New variable.
3496 (PKGVERSION_TEXI): Likewise.
3497 (REPORT_BUGS_TO): Likewise.
3498 (REPORT_BUGS_TEXI): Likewise.
3499 * Makefile (format-me): Use -I$(common-objpfx)manual.
3500 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3501 ($(common-objpfx)manual/%): New target.
3502 (manual/%): Remove target.
3503 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3504 (print_version): Use PKGVERSION.
3505 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3506 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3508 ($(objpfx)xtrace): Likewise.
3509 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3510 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3511 (print_version): Use PKGVERSION.
3512 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3513 (do_version): Use PKGVERSION.
3514 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3516 (common-ldd-rewrite): Likewise.
3517 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3518 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3519 (print_version): Use PKGVERSION.
3520 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3521 * elf/pldd.c (argp_program_bug_address): Remove variable.
3522 (more_help): New function.
3523 (argp): Use more_help.
3524 (print_version): Use PKGVERSION.
3525 * elf/sln.c (main): Use PKGVERSION.
3526 (usage): Use REPORT_BUGS_TO.
3527 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3528 (top level): Use PKGVERSION.
3529 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3530 (print_version): Use PKGVERSION.
3531 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3532 (print_version): Use PKGVERSION.
3533 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3534 (print_version): Use PKGVERSION.
3535 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3536 (print_version): Use PKGVERSION.
3537 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3538 (print_version): Use PKGVERSION.
3539 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3540 (print_version): Use PKGVERSION.
3541 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3543 ($(objpfx)memusage): Likewise.
3544 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3545 (do_version): Use PKGVERSION.
3546 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3547 (print_version): Use PKGVERSION.
3548 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3549 ($PKGVERSION): New variable.
3550 ($REPORT_BUGS_TO): Likewise.
3551 (usage): Use $REPORT_BUGS_TO.
3552 (top level): Use $PKGVERSION.
3553 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3554 ($(objpfx)pkgvers.texi): New rule.
3555 ($(objpfx)stamp-pkgvers): Likewise.
3556 * manual/install.texi: Include pkgvers.texi.
3557 (--with-pkgversion): Document new configure option.
3558 (--with-bugurl): Likewise.
3559 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3560 than necessarily for this particular distribution. Use
3561 REPORT_BUGS_TO for where to report bugs.
3562 * INSTALL: Regenerated.
3563 * manual/libc.texinfo: Include pkgvers.texi.
3564 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3565 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3566 (print_version): Use PKGVERSION.
3567 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3568 (print_version): Use PKGVERSION.
3569 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3570 (print_version): Use PKGVERSION.
3571 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3572 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3574 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3575 (print_version): Use PKGVERSION.
3576 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3577 (print_version): Use PKGVERSION.
3578 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3581 * timezone/checktab.awk: Update from tzcode 2012i.
3582 * timezone/ialloc.c: Likewise.
3583 * timezone/private.h: Likewise.
3584 * timezone/scheck.c: Likewise.
3585 * timezone/tzfile.h: Likewise.
3586 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3587 (TZVERSION): Hardcode tzcode version number.
3588 * timezone/zdump.c: Update from tzcode 2012i.
3589 * timezone/zic.c: Likewise.
3590 * timezone/version.h: New file.
3591 * timezone/README: Describe version.h. Update upstream location.
3594 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3595 (mktemp): Enable declaration.
3596 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3597 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3598 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3599 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3601 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3603 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3605 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3607 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3609 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3613 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3614 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3615 for copies of such integer values.
3616 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3617 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3619 2012-11-09 Andreas Jaeger <aj@suse.de>
3621 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3622 definitions and declarations that are provided by
3623 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3625 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3627 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
3628 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3629 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3632 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3634 * elf/elf.h: Update comment before AArch64 relocations.
3636 2012-11-07 David S. Miller <davem@davemloft.net>
3638 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3639 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3640 (__start_context): Declare.
3641 (__makecontext_ret): Delete.
3642 (__makecontext): Hook up __start_context instead of
3644 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3645 (sysdep_routines): Add __start_context when in stdlib.
3647 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3649 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3650 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3651 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3653 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3654 (READELF): New variable. Use it instead of hardcoded "readelf".
3656 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3658 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3659 * sysdeps/x86/Makefile: Here.
3660 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3661 * sysdeps/x86/tst-xmmymm.sh: This.
3663 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3665 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3667 [UNIX98] (pthread_barrier_t): Do not expect.
3668 [UNIX98] (pthread_barrierattr_t): Likewise.
3669 [UNIX98] (pthread_spinlock_t): Likewise.
3670 [UNIX98] (pthread_barrier_destroy): Likewise.
3671 [UNIX98] (pthread_barrier_init): Likewise.
3672 [UNIX98] (pthread_barrier_wait): Likewise.
3673 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3674 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3675 [UNIX98] (pthread_barrierattr_init): Likewise.
3676 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3677 [UNIX98] (pthread_getcpuclockid): Likewise.
3678 [UNIX98] (pthread_mutex_timedlock): Likewise.
3679 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3680 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3681 [UNIX98] (pthread_sigmask): Likewise.
3682 [UNIX98] (pthread_spin_destroy): Likewise.
3683 [UNIX98] (pthread_spin_init): Likewise.
3684 [UNIX98] (pthread_spin_lock): Likewise.
3685 [UNIX98] (pthread_spin_trylock): Likewise.
3686 [UNIX98] (pthread_spin_unlock): Likewise.
3687 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3689 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3690 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3691 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3692 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3693 [XPG3 || XPG4] (pthread_key_t): Likewise.
3694 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3695 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3696 [XPG3 || XPG4] (pthread_once_t): Likewise.
3697 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3698 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3699 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3700 [XPG3 || XPG4] (pthread_t): Likewise.
3702 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3704 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3706 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3707 Change function return type to int.
3709 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3710 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3711 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3712 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3713 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3714 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3715 [!POSIX] (posix_madvise): Likewise.
3716 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3718 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3719 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3721 (posix_mem_offset): Likewise.
3722 (posix_typed_mem_get_info): Likewise.
3723 (posix_typed_mem_open): Likewise.
3725 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3726 Change condition to [XOPEN2K8].
3728 * conform/conformtest.pl: Preprocess allow-header data with -x c
3729 instead of from stdin.
3730 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3731 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3732 [C99-based standards] (cerfc): Likewise.
3733 [C99-based standards] (cexp2): Likewise.
3734 [C99-based standards] (cexpm1): Likewise.
3735 [C99-based standards] (clog10): Likewise.
3736 [C99-based standards] (clog1p): Likewise.
3737 [C99-based standards] (clog2): Likewise.
3738 [C99-based standards] (clgamma): Likewise.
3739 [C99-based standards] (ctgamma): Likewise.
3740 [C99-based standards] (cerff): Likewise.
3741 [C99-based standards] (cerfcf): Likewise.
3742 [C99-based standards] (cexp2f): Likewise.
3743 [C99-based standards] (cexpm1f): Likewise.
3744 [C99-based standards] (clog10f): Likewise.
3745 [C99-based standards] (clog1pf): Likewise.
3746 [C99-based standards] (clog2f): Likewise.
3747 [C99-based standards] (clgammaf): Likewise.
3748 [C99-based standards] (ctgammaf): Likewise.
3749 [C99-based standards] (cerfl): Likewise.
3750 [C99-based standards] (cerfcl): Likewise.
3751 [C99-based standards] (cexp2l): Likewise.
3752 [C99-based standards] (cexpm1l): Likewise.
3753 [C99-based standards] (clog10l): Likewise.
3754 [C99-based standards] (clog1pl): Likewise.
3755 [C99-based standards] (clog2l): Likewise.
3756 [C99-based standards] (clgammal): Likewise.
3757 [C99-based standards] (ctgammal): Likewise.
3758 * conform/data/inttypes.h-data [C99-based standards]: Include
3759 stdint.h-data. Remove all expectations for stdint.h contents.
3760 [C99-based standards] (PRI*): Do not allow.
3761 [C99-based standards] (SCN*): Likewise.
3762 [C99-based standards] (*_t): Likewise.
3763 [C99-based-standards] (PRId8): Expect macro.
3764 [C99-based-standards] (PRIi8): Likewise.
3765 [C99-based-standards] (PRIo8): Likewise.
3766 [C99-based-standards] (PRIu8): Likewise.
3767 [C99-based-standards] (PRIx8): Likewise.
3768 [C99-based-standards] (PRIX8): Likewise.
3769 [C99-based-standards] (SCNd8): Likewise.
3770 [C99-based-standards] (SCNi8): Likewise.
3771 [C99-based-standards] (SCNo8): Likewise.
3772 [C99-based-standards] (SCNu8): Likewise.
3773 [C99-based-standards] (SCNx8): Likewise.
3774 [C99-based-standards] (PRIdLEAST8): Likewise.
3775 [C99-based-standards] (PRIiLEAST8): Likewise.
3776 [C99-based-standards] (PRIoLEAST8): Likewise.
3777 [C99-based-standards] (PRIuLEAST8): Likewise.
3778 [C99-based-standards] (PRIxLEAST8): Likewise.
3779 [C99-based-standards] (PRIXLEAST8): Likewise.
3780 [C99-based-standards] (SCNdLEAST8): Likewise.
3781 [C99-based-standards] (SCNiLEAST8): Likewise.
3782 [C99-based-standards] (SCNoLEAST8): Likewise.
3783 [C99-based-standards] (SCNuLEAST8): Likewise.
3784 [C99-based-standards] (SCNxLEAST8): Likewise.
3785 [C99-based-standards] (PRIdFAST8): Likewise.
3786 [C99-based-standards] (PRIiFAST8): Likewise.
3787 [C99-based-standards] (PRIoFAST8): Likewise.
3788 [C99-based-standards] (PRIuFAST8): Likewise.
3789 [C99-based-standards] (PRIxFAST8): Likewise.
3790 [C99-based-standards] (PRIXFAST8): Likewise.
3791 [C99-based-standards] (SCNdFAST8): Likewise.
3792 [C99-based-standards] (SCNiFAST8): Likewise.
3793 [C99-based-standards] (SCNoFAST8): Likewise.
3794 [C99-based-standards] (SCNuFAST8): Likewise.
3795 [C99-based-standards] (SCNxFAST8): Likewise.
3796 [C99-based-standards] (PRId16): Likewise.
3797 [C99-based-standards] (PRIi16): Likewise.
3798 [C99-based-standards] (PRIo16): Likewise.
3799 [C99-based-standards] (PRIu16): Likewise.
3800 [C99-based-standards] (PRIx16): Likewise.
3801 [C99-based-standards] (PRIX16): Likewise.
3802 [C99-based-standards] (SCNd16): Likewise.
3803 [C99-based-standards] (SCNi16): Likewise.
3804 [C99-based-standards] (SCNo16): Likewise.
3805 [C99-based-standards] (SCNu16): Likewise.
3806 [C99-based-standards] (SCNx16): Likewise.
3807 [C99-based-standards] (PRIdLEAST16): Likewise.
3808 [C99-based-standards] (PRIiLEAST16): Likewise.
3809 [C99-based-standards] (PRIoLEAST16): Likewise.
3810 [C99-based-standards] (PRIuLEAST16): Likewise.
3811 [C99-based-standards] (PRIxLEAST16): Likewise.
3812 [C99-based-standards] (PRIXLEAST16): Likewise.
3813 [C99-based-standards] (SCNdLEAST16): Likewise.
3814 [C99-based-standards] (SCNiLEAST16): Likewise.
3815 [C99-based-standards] (SCNoLEAST16): Likewise.
3816 [C99-based-standards] (SCNuLEAST16): Likewise.
3817 [C99-based-standards] (SCNxLEAST16): Likewise.
3818 [C99-based-standards] (PRIdFAST16): Likewise.
3819 [C99-based-standards] (PRIiFAST16): Likewise.
3820 [C99-based-standards] (PRIoFAST16): Likewise.
3821 [C99-based-standards] (PRIuFAST16): Likewise.
3822 [C99-based-standards] (PRIxFAST16): Likewise.
3823 [C99-based-standards] (PRIXFAST16): Likewise.
3824 [C99-based-standards] (SCNdFAST16): Likewise.
3825 [C99-based-standards] (SCNiFAST16): Likewise.
3826 [C99-based-standards] (SCNoFAST16): Likewise.
3827 [C99-based-standards] (SCNuFAST16): Likewise.
3828 [C99-based-standards] (SCNxFAST16): Likewise.
3829 [C99-based-standards] (PRId32): Likewise.
3830 [C99-based-standards] (PRIi32): Likewise.
3831 [C99-based-standards] (PRIo32): Likewise.
3832 [C99-based-standards] (PRIu32): Likewise.
3833 [C99-based-standards] (PRIx32): Likewise.
3834 [C99-based-standards] (PRIX32): Likewise.
3835 [C99-based-standards] (SCNd32): Likewise.
3836 [C99-based-standards] (SCNi32): Likewise.
3837 [C99-based-standards] (SCNo32): Likewise.
3838 [C99-based-standards] (SCNu32): Likewise.
3839 [C99-based-standards] (SCNx32): Likewise.
3840 [C99-based-standards] (PRIdLEAST32): Likewise.
3841 [C99-based-standards] (PRIiLEAST32): Likewise.
3842 [C99-based-standards] (PRIoLEAST32): Likewise.
3843 [C99-based-standards] (PRIuLEAST32): Likewise.
3844 [C99-based-standards] (PRIxLEAST32): Likewise.
3845 [C99-based-standards] (PRIXLEAST32): Likewise.
3846 [C99-based-standards] (SCNdLEAST32): Likewise.
3847 [C99-based-standards] (SCNiLEAST32): Likewise.
3848 [C99-based-standards] (SCNoLEAST32): Likewise.
3849 [C99-based-standards] (SCNuLEAST32): Likewise.
3850 [C99-based-standards] (SCNxLEAST32): Likewise.
3851 [C99-based-standards] (PRIdFAST32): Likewise.
3852 [C99-based-standards] (PRIiFAST32): Likewise.
3853 [C99-based-standards] (PRIoFAST32): Likewise.
3854 [C99-based-standards] (PRIuFAST32): Likewise.
3855 [C99-based-standards] (PRIxFAST32): Likewise.
3856 [C99-based-standards] (PRIXFAST32): Likewise.
3857 [C99-based-standards] (SCNdFAST32): Likewise.
3858 [C99-based-standards] (SCNiFAST32): Likewise.
3859 [C99-based-standards] (SCNoFAST32): Likewise.
3860 [C99-based-standards] (SCNuFAST32): Likewise.
3861 [C99-based-standards] (SCNxFAST32): Likewise.
3862 [C99-based-standards] (PRId64): Likewise.
3863 [C99-based-standards] (PRIi64): Likewise.
3864 [C99-based-standards] (PRIo64): Likewise.
3865 [C99-based-standards] (PRIu64): Likewise.
3866 [C99-based-standards] (PRIx64): Likewise.
3867 [C99-based-standards] (PRIX64): Likewise.
3868 [C99-based-standards] (SCNd64): Likewise.
3869 [C99-based-standards] (SCNi64): Likewise.
3870 [C99-based-standards] (SCNo64): Likewise.
3871 [C99-based-standards] (SCNu64): Likewise.
3872 [C99-based-standards] (SCNx64): Likewise.
3873 [C99-based-standards] (PRIdLEAST64): Likewise.
3874 [C99-based-standards] (PRIiLEAST64): Likewise.
3875 [C99-based-standards] (PRIoLEAST64): Likewise.
3876 [C99-based-standards] (PRIuLEAST64): Likewise.
3877 [C99-based-standards] (PRIxLEAST64): Likewise.
3878 [C99-based-standards] (PRIXLEAST64): Likewise.
3879 [C99-based-standards] (SCNdLEAST64): Likewise.
3880 [C99-based-standards] (SCNiLEAST64): Likewise.
3881 [C99-based-standards] (SCNoLEAST64): Likewise.
3882 [C99-based-standards] (SCNuLEAST64): Likewise.
3883 [C99-based-standards] (SCNxLEAST64): Likewise.
3884 [C99-based-standards] (PRIdFAST64): Likewise.
3885 [C99-based-standards] (PRIiFAST64): Likewise.
3886 [C99-based-standards] (PRIoFAST64): Likewise.
3887 [C99-based-standards] (PRIuFAST64): Likewise.
3888 [C99-based-standards] (PRIxFAST64): Likewise.
3889 [C99-based-standards] (PRIXFAST64): Likewise.
3890 [C99-based-standards] (SCNdFAST64): Likewise.
3891 [C99-based-standards] (SCNiFAST64): Likewise.
3892 [C99-based-standards] (SCNoFAST64): Likewise.
3893 [C99-based-standards] (SCNuFAST64): Likewise.
3894 [C99-based-standards] (SCNxFAST64): Likewise.
3895 [C99-based-standards] (PRIdMAX): Likewise.
3896 [C99-based-standards] (PRIiMAX): Likewise.
3897 [C99-based-standards] (PRIoMAX): Likewise.
3898 [C99-based-standards] (PRIuMAX): Likewise.
3899 [C99-based-standards] (PRIxMAX): Likewise.
3900 [C99-based-standards] (PRIXMAX): Likewise.
3901 [C99-based-standards] (SCNdMAX): Likewise.
3902 [C99-based-standards] (SCNiMAX): Likewise.
3903 [C99-based-standards] (SCNoMAX): Likewise.
3904 [C99-based-standards] (SCNuMAX): Likewise.
3905 [C99-based-standards] (SCNxMAX): Likewise.
3906 [C99-based-standards] (PRIdPTR): Likewise.
3907 [C99-based-standards] (PRIiPTR): Likewise.
3908 [C99-based-standards] (PRIoPTR): Likewise.
3909 [C99-based-standards] (PRIuPTR): Likewise.
3910 [C99-based-standards] (PRIxPTR): Likewise.
3911 [C99-based-standards] (PRIXPTR): Likewise.
3912 [C99-based-standards] (SCNdPTR): Likewise.
3913 [C99-based-standards] (SCNiPTR): Likewise.
3914 [C99-based-standards] (SCNoPTR): Likewise.
3915 [C99-based-standards] (SCNuPTR): Likewise.
3916 [C99-based-standards] (SCNxPTR): Likewise.
3917 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3919 * conform/data/stdint.h-data: Update comments to clarify
3921 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3923 [C99-based standards] (INT8_MAX): Likewise.
3924 [C99-based standards] (INT16_MIN): Likewise.
3925 [C99-based standards] (INT16_MAX): Likewise.
3926 [C99-based standards] (INT32_MIN): Likewise.
3927 [C99-based standards] (INT32_MAX): Likewise.
3928 [C99-based standards] (INT64_MIN): Likewise.
3929 [C99-based standards] (INT64_MAX): Likewise.
3930 [C99-based standards] (UINT8_MAX): Likewise.
3931 [C99-based standards] (UINT16_MAX): Likewise.
3932 [C99-based standards] (UINT32_MAX): Likewise.
3933 [C99-based standards] (UINT64_MAX): Likewise.
3934 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3935 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3936 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3937 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3938 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3939 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3940 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3941 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3942 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3943 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3944 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3945 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3946 [C99-based standards] (INT_FAST8_MIN): Likewise.
3947 [C99-based standards] (INT_FAST8_MAX): Likewise.
3948 [C99-based standards] (INT_FAST16_MIN): Likewise.
3949 [C99-based standards] (INT_FAST16_MAX): Likewise.
3950 [C99-based standards] (INT_FAST32_MIN): Likewise.
3951 [C99-based standards] (INT_FAST32_MAX): Likewise.
3952 [C99-based standards] (INT_FAST64_MIN): Likewise.
3953 [C99-based standards] (INT_FAST64_MAX): Likewise.
3954 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3955 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3956 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3957 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3958 [C99-based standards] (INTPTR_MIN): Likewise.
3959 [C99-based standards] (INTPTR_MAX): Likewise.
3960 [C99-based standards] (UINTPTR_MAX): Likewise.
3961 [C99-based standards] (INTMAX_MIN): Likewise.
3962 [C99-based standards] (INTMAX_MAX): Likewise.
3963 [C99-based standards] (UINTMAX_MAX): Likewise.
3964 [C99-based standards] (PTRDIFF_MIN): Likewise.
3965 [C99-based standards] (PTRDIFF_MAX): Likewise.
3966 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3967 [C99-based standards] (SIZE_MAX): Likewise.
3968 [C99-based standards] (WCHAR_MAX): Likewise.
3969 [C99-based standards] (WINT_MAX): Likewise.
3970 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3971 constraint on value.
3972 [C99-based standards] (WCHAR_MIN): Likewise.
3973 [C99-based standards] (WINT_MIN): Likewise.
3974 [C99-based standards] (*_t): Allow.
3975 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3976 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3977 Include math.h-data and complex.h-data. Remove all expectations
3978 of math.h and complex.h contents.
3979 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3981 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3982 (struct tm): Expect tag.
3983 [C99-based-standards] (wcstof): Expect function.
3984 [C99-based-standards] (wcstold): Likewise.
3985 [C99-based-standards] (wcstoll): Likewise.
3986 [C99-based-standards] (wcstoull): Likewise.
3987 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3988 macro-int-constant. Specify type.
3989 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3990 constraint on value.
3991 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3993 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3995 [ISO C standards]: Do not allow headers.
3996 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3997 wcs[abcdefghijklmnopqrstuvwxyz]*.
3998 [ISO C standards] (*_t): Do not allow.
3999 * conform/data/wctype.h-data [C99-based standards] (iswblank):
4001 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4002 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4004 [ISO C standards]: Do not allow headers.
4005 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4006 is[abcdefghijklmnopqrstuvwxyz]*.
4007 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4008 to[abcdefghijklmnopqrstuvwxyz]*.
4009 [ISO C standards] (*_t): Do not allow.
4010 * conform/data/stdalign.h-data: New file.
4011 * conform/data/stdbool.h-data: Likewise.
4012 * conform/data/stdnoreturn.h-data: Likewise.
4014 2012-11-07 Roland McGrath <roland@hack.frob.com>
4017 * manual/filesys.texi (Directory Entries): Typo fix.
4018 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4020 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4022 * elf/elf.h (EM_AARCH64): New macro.
4023 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4024 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4025 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4026 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4027 (R_AARCH64_TLSDESC): Likewise.
4028 (NT_ARM_TLS): Likewise.
4029 (NT_ARM_HW_BREAK): Likewise.
4030 (NT_ARM_HW_WATCH): Likewise.
4032 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4035 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4036 (__ieee754_powl): Saturate nonzero exponents with absolute value
4037 below 0x1p-79 to +/- 0x1p-79.
4038 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4039 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4040 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4041 nonzero exponents with absolute value below 0x1p-32 to +/-
4043 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4044 (__ieee754_powl): Saturate nonzero exponents with absolute value
4045 below 0x1p-79 to +/- 0x1p-79.
4046 * math/libm-test.inc (pow_test): Add more tests.
4048 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4050 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4051 _dl_s390_cap_flags with kernel. Increase string length.
4052 (_dl_s390_platforms): Add z196 and zEC12.
4054 2012-11-07 Joseph Myers <joseph@codesourcery.com>
4056 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4057 Change XOPEN21K to XOPEN2K.
4059 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
4061 * string/memmove.c: Use memcpy when possible.
4063 2012-11-06 Andreas Jaeger <aj@suse.de>
4065 * po/eo.po: Update from translation team.
4067 2012-11-06 Joseph Myers <joseph@codesourcery.com>
4070 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4071 exponent and small x and y exponents, scale x or y up. Increase
4072 by 2 the exponent used in scaling up.
4073 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4075 * math/libm-test.inc (fma_test): Add more tests.
4076 (fma_test_towardzero): Likewise.
4077 (fma_test_downward): Likewise.
4078 (fma_test_upward): Likewise.
4080 2012-11-05 Joseph Myers <joseph@codesourcery.com>
4083 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4087 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4088 namespace for names of struct fields.
4089 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4091 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4092 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4094 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4097 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4099 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4101 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4105 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4108 2012-11-04 Joseph Myers <joseph@codesourcery.com>
4111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4112 definitely overflow as x * y not x * y + z.
4113 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4114 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4115 * math/libm-test.inc (fma_test): Add more tests.
4116 (fma_test_towardzero): Likewise.
4117 (fma_test_downward): Likewise.
4118 (fma_test_upward): Likewise.
4120 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4124 * include/stub-tag.h: Remove file.
4125 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4127 * manual/maint.texi (Porting): Don't reference it.
4128 * Makerules ($(objpfx)stubs): Likewise.
4129 * dirent/closedir.c: Don't include <stub-tag.h>.
4130 * dirent/dirfd.c: Likewise.
4131 * dirent/fdopendir.c: Likewise.
4132 * dirent/getdents.c: Likewise.
4133 * dirent/getdents64.c: Likewise.
4134 * dirent/opendir.c: Likewise.
4135 * dirent/readdir.c: Likewise.
4136 * dirent/readdir64.c: Likewise.
4137 * dirent/readdir64_r.c: Likewise.
4138 * dirent/readdir_r.c: Likewise.
4139 * dirent/rewinddir.c: Likewise.
4140 * dirent/seekdir.c: Likewise.
4141 * dirent/telldir.c: Likewise.
4142 * gmon/profil.c: Likewise.
4143 * grp/setgroups.c: Likewise.
4144 * inet/if_index.c: Likewise.
4145 * io/access.c: Likewise.
4146 * io/chdir.c: Likewise.
4147 * io/chmod.c: Likewise.
4148 * io/chown.c: Likewise.
4149 * io/close.c: Likewise.
4150 * io/dup.c: Likewise.
4151 * io/dup2.c: Likewise.
4152 * io/dup3.c: Likewise.
4153 * io/euidaccess.c: Likewise.
4154 * io/faccessat.c: Likewise.
4155 * io/fchdir.c: Likewise.
4156 * io/fchmod.c: Likewise.
4157 * io/fchmodat.c: Likewise.
4158 * io/fchown.c: Likewise.
4159 * io/fchownat.c: Likewise.
4160 * io/fcntl.c: Likewise.
4161 * io/flock.c: Likewise.
4162 * io/fstatfs.c: Likewise.
4163 * io/fstatfs64.c: Likewise.
4164 * io/fstatvfs.c: Likewise.
4165 * io/fstatvfs64.c: Likewise.
4166 * io/futimens.c: Likewise.
4167 * io/fxstat.c: Likewise.
4168 * io/fxstat64.c: Likewise.
4169 * io/fxstatat.c: Likewise.
4170 * io/fxstatat64.c: Likewise.
4171 * io/getcwd.c: Likewise.
4172 * io/isatty.c: Likewise.
4173 * io/lchmod.c: Likewise.
4174 * io/lchown.c: Likewise.
4175 * io/link.c: Likewise.
4176 * io/linkat.c: Likewise.
4177 * io/lseek.c: Likewise.
4178 * io/lseek64.c: Likewise.
4179 * io/lxstat64.c: Likewise.
4180 * io/mkdir.c: Likewise.
4181 * io/mkdirat.c: Likewise.
4182 * io/mkfifo.c: Likewise.
4183 * io/mkfifoat.c: Likewise.
4184 * io/open.c: Likewise.
4185 * io/open64.c: Likewise.
4186 * io/openat.c: Likewise.
4187 * io/openat64.c: Likewise.
4188 * io/pipe.c: Likewise.
4189 * io/pipe2.c: Likewise.
4190 * io/poll.c: Likewise.
4191 * io/posix_fadvise.c: Likewise.
4192 * io/posix_fadvise64.c: Likewise.
4193 * io/posix_fallocate.c: Likewise.
4194 * io/posix_fallocate64.c: Likewise.
4195 * io/read.c: Likewise.
4196 * io/readlink.c: Likewise.
4197 * io/readlinkat.c: Likewise.
4198 * io/rmdir.c: Likewise.
4199 * io/sendfile.c: Likewise.
4200 * io/sendfile64.c: Likewise.
4201 * io/statfs.c: Likewise.
4202 * io/statfs64.c: Likewise.
4203 * io/statvfs.c: Likewise.
4204 * io/statvfs64.c: Likewise.
4205 * io/symlink.c: Likewise.
4206 * io/symlinkat.c: Likewise.
4207 * io/ttyname.c: Likewise.
4208 * io/ttyname_r.c: Likewise.
4209 * io/umask.c: Likewise.
4210 * io/unlink.c: Likewise.
4211 * io/unlinkat.c: Likewise.
4212 * io/utime.c: Likewise.
4213 * io/utimensat.c: Likewise.
4214 * io/write.c: Likewise.
4215 * io/xmknod.c: Likewise.
4216 * io/xmknodat.c: Likewise.
4217 * io/xstat.c: Likewise.
4218 * io/xstat64.c: Likewise.
4219 * login/getpt.c: Likewise.
4220 * login/grantpt.c: Likewise.
4221 * login/unlockpt.c: Likewise.
4222 * math/e_acoshl.c: Likewise.
4223 * math/e_acosl.c: Likewise.
4224 * math/e_asinl.c: Likewise.
4225 * math/e_atan2l.c: Likewise.
4226 * math/e_atanhl.c: Likewise.
4227 * math/e_coshl.c: Likewise.
4228 * math/e_expl.c: Likewise.
4229 * math/e_fmodl.c: Likewise.
4230 * math/e_gammal_r.c: Likewise.
4231 * math/e_hypotl.c: Likewise.
4232 * math/e_j0l.c: Likewise.
4233 * math/e_j1l.c: Likewise.
4234 * math/e_jnl.c: Likewise.
4235 * math/e_lgammal_r.c: Likewise.
4236 * math/e_log10l.c: Likewise.
4237 * math/e_log2l.c: Likewise.
4238 * math/e_logl.c: Likewise.
4239 * math/e_powl.c: Likewise.
4240 * math/e_rem_pio2l.c: Likewise.
4241 * math/e_sinhl.c: Likewise.
4242 * math/e_sqrtl.c: Likewise.
4243 * math/fclrexcpt.c: Likewise.
4244 * math/fedisblxcpt.c: Likewise.
4245 * math/feenablxcpt.c: Likewise.
4246 * math/fegetenv.c: Likewise.
4247 * math/fegetexcept.c: Likewise.
4248 * math/fegetround.c: Likewise.
4249 * math/feholdexcpt.c: Likewise.
4250 * math/fesetenv.c: Likewise.
4251 * math/fesetround.c: Likewise.
4252 * math/feupdateenv.c: Likewise.
4253 * math/fgetexcptflg.c: Likewise.
4254 * math/fraiseexcpt.c: Likewise.
4255 * math/fsetexcptflg.c: Likewise.
4256 * math/ftestexcept.c: Likewise.
4257 * math/k_cosl.c: Likewise.
4258 * math/k_rem_pio2l.c: Likewise.
4259 * math/k_sinl.c: Likewise.
4260 * math/k_tanl.c: Likewise.
4261 * math/s_asinhl.c: Likewise.
4262 * math/s_atanl.c: Likewise.
4263 * math/s_cbrtl.c: Likewise.
4264 * math/s_erfl.c: Likewise.
4265 * math/s_expm1l.c: Likewise.
4266 * math/s_log1pl.c: Likewise.
4267 * math/s_tanhl.c: Likewise.
4268 * misc/acct.c: Likewise.
4269 * misc/brk.c: Likewise.
4270 * misc/chflags.c: Likewise.
4271 * misc/chroot.c: Likewise.
4272 * misc/fchflags.c: Likewise.
4273 * misc/fgetxattr.c: Likewise.
4274 * misc/flistxattr.c: Likewise.
4275 * misc/fremovexattr.c: Likewise.
4276 * misc/fsetxattr.c: Likewise.
4277 * misc/fsync.c: Likewise.
4278 * misc/ftruncate.c: Likewise.
4279 * misc/futimes.c: Likewise.
4280 * misc/futimesat.c: Likewise.
4281 * misc/getdomain.c: Likewise.
4282 * misc/getdtsz.c: Likewise.
4283 * misc/gethostid.c: Likewise.
4284 * misc/gethostname.c: Likewise.
4285 * misc/getloadavg.c: Likewise.
4286 * misc/getpagesize.c: Likewise.
4287 * misc/getsysstats.c: Likewise.
4288 * misc/getxattr.c: Likewise.
4289 * misc/gtty.c: Likewise.
4290 * misc/ioctl.c: Likewise.
4291 * misc/lgetxattr.c: Likewise.
4292 * misc/listxattr.c: Likewise.
4293 * misc/llistxattr.c: Likewise.
4294 * misc/lremovexattr.c: Likewise.
4295 * misc/lsetxattr.c: Likewise.
4296 * misc/lutimes.c: Likewise.
4297 * misc/madvise.c: Likewise.
4298 * misc/mincore.c: Likewise.
4299 * misc/mlock.c: Likewise.
4300 * misc/mlockall.c: Likewise.
4301 * misc/mmap.c: Likewise.
4302 * misc/mprotect.c: Likewise.
4303 * misc/msync.c: Likewise.
4304 * misc/munlock.c: Likewise.
4305 * misc/munlockall.c: Likewise.
4306 * misc/munmap.c: Likewise.
4307 * misc/preadv.c: Likewise.
4308 * misc/preadv64.c: Likewise.
4309 * misc/ptrace.c: Likewise.
4310 * misc/pwritev.c: Likewise.
4311 * misc/pwritev64.c: Likewise.
4312 * misc/readv.c: Likewise.
4313 * misc/reboot.c: Likewise.
4314 * misc/remap_file_pages.c: Likewise.
4315 * misc/removexattr.c: Likewise.
4316 * misc/revoke.c: Likewise.
4317 * misc/select.c: Likewise.
4318 * misc/setdomain.c: Likewise.
4319 * misc/setegid.c: Likewise.
4320 * misc/seteuid.c: Likewise.
4321 * misc/sethostid.c: Likewise.
4322 * misc/sethostname.c: Likewise.
4323 * misc/setregid.c: Likewise.
4324 * misc/setreuid.c: Likewise.
4325 * misc/setxattr.c: Likewise.
4326 * misc/sstk.c: Likewise.
4327 * misc/stty.c: Likewise.
4328 * misc/swapoff.c: Likewise.
4329 * misc/swapon.c: Likewise.
4330 * misc/sync.c: Likewise.
4331 * misc/syncfs.c: Likewise.
4332 * misc/syscall.c: Likewise.
4333 * misc/truncate.c: Likewise.
4334 * misc/ualarm.c: Likewise.
4335 * misc/usleep.c: Likewise.
4336 * misc/ustat.c: Likewise.
4337 * misc/utimes.c: Likewise.
4338 * misc/vhangup.c: Likewise.
4339 * misc/writev.c: Likewise.
4340 * posix/_exit.c: Likewise.
4341 * posix/alarm.c: Likewise.
4342 * posix/execve.c: Likewise.
4343 * posix/fexecve.c: Likewise.
4344 * posix/fork.c: Likewise.
4345 * posix/fpathconf.c: Likewise.
4346 * posix/getaddrinfo.c: Likewise.
4347 * posix/getegid.c: Likewise.
4348 * posix/geteuid.c: Likewise.
4349 * posix/getgid.c: Likewise.
4350 * posix/getgroups.c: Likewise.
4351 * posix/getlogin.c: Likewise.
4352 * posix/getlogin_r.c: Likewise.
4353 * posix/getpgid.c: Likewise.
4354 * posix/getpid.c: Likewise.
4355 * posix/getppid.c: Likewise.
4356 * posix/getresgid.c: Likewise.
4357 * posix/getresuid.c: Likewise.
4358 * posix/getsid.c: Likewise.
4359 * posix/getuid.c: Likewise.
4360 * posix/glob64.c: Likewise.
4361 * posix/nanosleep.c: Likewise.
4362 * posix/pathconf.c: Likewise.
4363 * posix/pause.c: Likewise.
4364 * posix/posix_madvise.c: Likewise.
4365 * posix/pread.c: Likewise.
4366 * posix/pread64.c: Likewise.
4367 * posix/pwrite.c: Likewise.
4368 * posix/pwrite64.c: Likewise.
4369 * posix/sched_getaffinity.c: Likewise.
4370 * posix/sched_getp.c: Likewise.
4371 * posix/sched_gets.c: Likewise.
4372 * posix/sched_primax.c: Likewise.
4373 * posix/sched_primin.c: Likewise.
4374 * posix/sched_rr_gi.c: Likewise.
4375 * posix/sched_setaffinity.c: Likewise.
4376 * posix/sched_setp.c: Likewise.
4377 * posix/sched_sets.c: Likewise.
4378 * posix/sched_yield.c: Likewise.
4379 * posix/setgid.c: Likewise.
4380 * posix/setlogin.c: Likewise.
4381 * posix/setpgid.c: Likewise.
4382 * posix/setresgid.c: Likewise.
4383 * posix/setresuid.c: Likewise.
4384 * posix/setsid.c: Likewise.
4385 * posix/setuid.c: Likewise.
4386 * posix/sleep.c: Likewise.
4387 * posix/spawni.c: Likewise.
4388 * posix/sysconf.c: Likewise.
4389 * posix/times.c: Likewise.
4390 * posix/wait.c: Likewise.
4391 * posix/wait3.c: Likewise.
4392 * posix/wait4.c: Likewise.
4393 * posix/waitpid.c: Likewise.
4394 * resolv/gai_sigqueue.c: Likewise.
4395 * resource/getpriority.c: Likewise.
4396 * resource/getrlimit.c: Likewise.
4397 * resource/getrusage.c: Likewise.
4398 * resource/nice.c: Likewise.
4399 * resource/setpriority.c: Likewise.
4400 * resource/setrlimit.c: Likewise.
4401 * resource/ulimit.c: Likewise.
4402 * rt/aio_cancel.c: Likewise.
4403 * rt/aio_fsync.c: Likewise.
4404 * rt/aio_read.c: Likewise.
4405 * rt/aio_sigqueue.c: Likewise.
4406 * rt/aio_suspend.c: Likewise.
4407 * rt/aio_write.c: Likewise.
4408 * rt/clock_getres.c: Likewise.
4409 * rt/clock_gettime.c: Likewise.
4410 * rt/clock_nanosleep.c: Likewise.
4411 * rt/clock_settime.c: Likewise.
4412 * rt/lio_listio.c: Likewise.
4413 * rt/mq_close.c: Likewise.
4414 * rt/mq_getattr.c: Likewise.
4415 * rt/mq_notify.c: Likewise.
4416 * rt/mq_open.c: Likewise.
4417 * rt/mq_receive.c: Likewise.
4418 * rt/mq_send.c: Likewise.
4419 * rt/mq_setattr.c: Likewise.
4420 * rt/mq_timedreceive.c: Likewise.
4421 * rt/mq_timedsend.c: Likewise.
4422 * rt/mq_unlink.c: Likewise.
4423 * rt/shm_open.c: Likewise.
4424 * rt/shm_unlink.c: Likewise.
4425 * rt/timer_create.c: Likewise.
4426 * rt/timer_delete.c: Likewise.
4427 * rt/timer_getoverr.c: Likewise.
4428 * rt/timer_gettime.c: Likewise.
4429 * rt/timer_settime.c: Likewise.
4430 * setjmp/__longjmp.c: Likewise.
4431 * setjmp/setjmp.c: Likewise.
4432 * signal/kill.c: Likewise.
4433 * signal/killpg.c: Likewise.
4434 * signal/raise.c: Likewise.
4435 * signal/sigaction.c: Likewise.
4436 * signal/sigaltstack.c: Likewise.
4437 * signal/sigblock.c: Likewise.
4438 * signal/sigignore.c: Likewise.
4439 * signal/sigintr.c: Likewise.
4440 * signal/signal.c: Likewise.
4441 * signal/sigpause.c: Likewise.
4442 * signal/sigpending.c: Likewise.
4443 * signal/sigqueue.c: Likewise.
4444 * signal/sigreturn.c: Likewise.
4445 * signal/sigset.c: Likewise.
4446 * signal/sigsetmask.c: Likewise.
4447 * signal/sigstack.c: Likewise.
4448 * signal/sigsuspend.c: Likewise.
4449 * signal/sigtimedwait.c: Likewise.
4450 * signal/sigvec.c: Likewise.
4451 * signal/sigwait.c: Likewise.
4452 * signal/sigwaitinfo.c: Likewise.
4453 * signal/sysv_signal.c: Likewise.
4454 * socket/accept.c: Likewise.
4455 * socket/accept4.c: Likewise.
4456 * socket/bind.c: Likewise.
4457 * socket/connect.c: Likewise.
4458 * socket/getpeername.c: Likewise.
4459 * socket/getsockname.c: Likewise.
4460 * socket/getsockopt.c: Likewise.
4461 * socket/isfdtype.c: Likewise.
4462 * socket/listen.c: Likewise.
4463 * socket/recv.c: Likewise.
4464 * socket/recvfrom.c: Likewise.
4465 * socket/recvmsg.c: Likewise.
4466 * socket/send.c: Likewise.
4467 * socket/sendmsg.c: Likewise.
4468 * socket/sendto.c: Likewise.
4469 * socket/setsockopt.c: Likewise.
4470 * socket/shutdown.c: Likewise.
4471 * socket/sockatmark.c: Likewise.
4472 * socket/socket.c: Likewise.
4473 * socket/socketpair.c: Likewise.
4474 * stdio-common/ctermid.c: Likewise.
4475 * stdio-common/cuserid.c: Likewise.
4476 * stdio-common/remove.c: Likewise.
4477 * stdio-common/rename.c: Likewise.
4478 * stdio-common/renameat.c: Likewise.
4479 * stdio-common/tempname.c: Likewise.
4480 * stdlib/getcontext.c: Likewise.
4481 * stdlib/makecontext.c: Likewise.
4482 * stdlib/setcontext.c: Likewise.
4483 * stdlib/swapcontext.c: Likewise.
4484 * stdlib/system.c: Likewise.
4485 * streams/fattach.c: Likewise.
4486 * streams/fdetach.c: Likewise.
4487 * streams/getmsg.c: Likewise.
4488 * streams/getpmsg.c: Likewise.
4489 * streams/putmsg.c: Likewise.
4490 * streams/putpmsg.c: Likewise.
4491 * sysdeps/unix/bsd/getpt.c: Likewise.
4492 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4493 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4494 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4497 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4498 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4499 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4500 * sysvipc/msgctl.c: Likewise.
4501 * sysvipc/msgget.c: Likewise.
4502 * sysvipc/msgrcv.c: Likewise.
4503 * sysvipc/msgsnd.c: Likewise.
4504 * sysvipc/semctl.c: Likewise.
4505 * sysvipc/semget.c: Likewise.
4506 * sysvipc/semop.c: Likewise.
4507 * sysvipc/semtimedop.c: Likewise.
4508 * sysvipc/shmat.c: Likewise.
4509 * sysvipc/shmctl.c: Likewise.
4510 * sysvipc/shmdt.c: Likewise.
4511 * sysvipc/shmget.c: Likewise.
4512 * termios/tcdrain.c: Likewise.
4513 * termios/tcflow.c: Likewise.
4514 * termios/tcflush.c: Likewise.
4515 * termios/tcgetattr.c: Likewise.
4516 * termios/tcgetpgrp.c: Likewise.
4517 * termios/tcsendbrk.c: Likewise.
4518 * termios/tcsetattr.c: Likewise.
4519 * termios/tcsetpgrp.c: Likewise.
4520 * time/adjtime.c: Likewise.
4521 * time/clock.c: Likewise.
4522 * time/getitimer.c: Likewise.
4523 * time/gettimeofday.c: Likewise.
4524 * time/setitimer.c: Likewise.
4525 * time/settimeofday.c: Likewise.
4526 * time/stime.c: Likewise.
4527 * time/time.c: Likewise.
4529 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
4531 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4534 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4536 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4538 2012-11-03 Joseph Myers <joseph@codesourcery.com>
4541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4542 FE_TONEAREST before applying Dekker multiplication and Knuth
4543 addition. Clear inexact exceptions and check for exact zero
4545 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4546 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4547 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4548 * math/libm-test.inc (fma_test): Add more tests.
4549 (fma_test_towardzero): Likewise.
4550 (fma_test_downward): Likewise.
4551 (fma_test_upward): Likewise.
4552 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4554 (libc_fesetround): New macro.
4555 (libc_fesetroundf): Likewise.
4556 (libc_fesetroundl): Likewise.
4557 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4559 (libc_fesetround_387): Likewise.
4560 (libc_fesetroundf): New macro.
4561 (libc_fesetround): Likewise.
4562 (libc_fesetroundl): Likewise.
4563 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4565 (libc_fesetroundf): New macro.
4566 (libc_fesetround): Likewise.
4567 (libc_fesetroundl): Likewise.
4568 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4569 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4570 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4572 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4573 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4575 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4576 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4578 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4582 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4583 integer constant usable in #if and use that to give value to enum
4585 (FE_DIVBYZERO): Likewise.
4586 (FE_UNDERFLOW): Likewise.
4587 (FE_OVERFLOW): Likewise.
4588 (FE_INVALID): Likewise.
4589 (FE_INVALID_SNAN): Likewise.
4590 (FE_INVALID_ISI): Likewise.
4591 (FE_INVALID_IDI): Likewise.
4592 (FE_INVALID_ZDZ): Likewise.
4593 (FE_INVALID_IMZ): Likewise.
4594 (FE_INVALID_COMPARE): Likewise.
4595 (FE_INVALID_SOFTWARE): Likewise.
4596 (FE_INVALID_SQRT): Likewise.
4597 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4598 (FE_TONEAREST): Likewise.
4599 (FE_TOWARDZERO): Likewise.
4600 (FE_UPWARD): Likewise.
4601 (FE_DOWNWARD): Likewise.
4602 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4603 (FE_DIVBYZERO): Likewise.
4604 (FE_OVERFLOW): Likewise.
4605 (FE_UNDERFLOW): Likewise.
4606 (FE_INEXACT): Likewise.
4607 (FE_TONEAREST): Likewise.
4608 (FE_DOWNWARD): Likewise.
4609 (FE_UPWARD): Likewise.
4610 (FE_TOWARDZERO): Likewise.
4611 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4612 (FE_UNDERFLOW): Likewise.
4613 (FE_OVERFLOW): Likewise.
4614 (FE_DIVBYZERO): Likewise.
4615 (FE_INVALID): Likewise.
4616 (FE_TONEAREST): Likewise.
4617 (FE_TOWARDZERO): Likewise.
4618 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4619 (FE_OVERFLOW): Likewise.
4620 (FE_UNDERFLOW): Likewise.
4621 (FE_DIVBYZERO): Likewise.
4622 (FE_INEXACT): Likewise.
4623 (FE_TONEAREST): Likewise.
4624 (FE_TOWARDZERO): Likewise.
4625 (FE_UPWARD): Likewise.
4626 (FE_DOWNWARD): Likewise.
4627 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4628 (FE_DIVBYZERO): Likewise.
4629 (FE_OVERFLOW): Likewise.
4630 (FE_UNDERFLOW): Likewise.
4631 (FE_INEXACT): Likewise.
4632 (FE_TONEAREST): Likewise.
4633 (FE_DOWNWARD): Likewise.
4634 (FE_UPWARD): Likewise.
4635 (FE_TOWARDZERO): Likewise.
4637 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4639 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4641 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4643 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4644 commands. Quote $PWD.
4645 (blacklist_exports): Don't use remove_newlines. Replace "declare
4647 (remove_newlines): Remove.
4649 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4651 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4652 * stdlib/stdlib.h (atof): Moved to ...
4653 * include/bits/stdlib-float.h: Here. New file.
4654 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4655 * stdlib/bits/stdlib-float.h: New file.
4656 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4658 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4661 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4663 * conform/conformtest.pl (@headers): Add fenv.h.
4664 * conform/data/fenv.h-data: New file.
4665 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4666 include of <math/fenv.h>.
4668 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4669 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4670 && !UNIX98]. Enables tests for XOPEN2K8.
4671 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4672 POSIX2008]: Likewise.
4674 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4675 (struct rusage): Do not expect type or its members.
4678 * math/math.h (FP_NAN): Define macro to integer constant usable in
4679 #if and use that to give value to enum constant.
4680 (FP_INFINITE): Likewise.
4681 (FP_ZERO): Likewise.
4682 (FP_SUBNORMAL): Likewise.
4683 (FP_NORMAL): Likewise.
4685 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4687 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4688 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4691 2012-11-02 Roland McGrath <roland@hack.frob.com>
4693 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4694 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4695 autoconf-time if not.
4696 * configure.in: Remove AC_PREREQ.
4698 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4700 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4701 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4702 of the internal implementation.
4704 2012-11-02 Joseph Myers <joseph@codesourcery.com>
4706 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4707 except include of <misc/sys/syslog.h>.
4709 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4712 function returns with a NULL context exit with zero.
4714 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4716 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4718 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4720 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4721 (run_program_cmd): This.
4722 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4723 (tst_langinfo): New variable. Use it.
4725 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4727 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4728 floating point opcodes.
4730 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4732 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4735 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4737 * sysdeps/mach/hurd/powerpc: Remove directory.
4738 * sysdeps/mach/powerpc: Likewise.
4740 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4742 * scripts/check-local-headers.sh: Ignore c++ headers.
4744 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4746 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4747 __libc_cleanup_region_start argument.
4749 2012-11-01 Joseph Myers <joseph@codesourcery.com>
4753 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4754 x * y using scaling, not as x * y + z.
4755 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4756 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4757 * math/libm-test.inc (fma_test): Add more tests.
4758 (fma_test_towardzero): Likewise.
4759 (fma_test_downward): Likewise.
4760 (fma_test_upward): Likewise.
4762 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4764 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4766 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4768 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4771 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4773 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4775 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4782 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4785 Fix the order of the list for glibc 2.17.
4786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4789 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4793 2012-10-31 Joseph Myers <joseph@codesourcery.com>
4796 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4797 for low part of x being zero before using __atanl (y).
4798 * math/libm-test.inc (atan2_test): Add another test.
4800 * manual/install.texi (Configuring and compiling): Document
4801 general use of test-wrapper and test-wrapper-env.
4802 * INSTALL: Regenerated.
4804 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4805 (__fma): Do not extract and scale down low bits on after-rounding
4806 systems when result rounded to normal precision would have normal
4808 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4809 (__fmal): Do not extract and scale down low bits on after-rounding
4810 systems when result rounded to normal precision would have normal
4812 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4813 (__fmal): Do not extract and scale down low bits on after-rounding
4814 systems when result rounded to normal precision would have normal
4816 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4818 (fma_test): Add more tests.
4819 (fma_test_towardzero): Likewise.
4820 (fma_test_downward): Likewise.
4821 (fma_test_upward): Likewise.
4823 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4825 * sysdeps/i386/tininess.h: Renamed to ...
4826 * sysdeps/x86/tininess.h: This.
4827 * sysdeps/x86_64/tininess.h: Removed.
4829 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4831 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4832 input. Use $(build-program-cmd).
4833 ($(objpfx)tst-array1-static.out): Likewise.
4834 ($(objpfx)tst-array2.out): Likewise.
4835 ($(objpfx)tst-array3.out): Likewise.
4836 ($(objpfx)tst-array4.out): Likewise.
4837 ($(objpfx)tst-array5.out): Likewise.
4838 ($(objpfx)tst-array5-static.out): Likewise.
4840 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4842 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4845 * nss/nsswitch.h (nss_interface_function): Provide new
4846 macro for use with NSS functions.
4847 * grp/initgroups.c: Use new macro.
4848 * nss/getXXbyYY.c: Likewise.
4849 * nss/getXXbyYY_r.c: Likewise.
4850 * nss/getXXent.c: Likewise.
4851 * nss/getXXent_r.c: Likewise.
4852 * sysdeps/posix/getaddrinfo.c: Likewise.
4854 2012-10-30 Andreas Jaeger <aj@suse.de>
4856 * po/ru.po: Update Russion translation from translation project.
4858 2012-10-30 Joseph Myers <joseph@codesourcery.com>
4862 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4863 result and shift together with sticky bit instead of replicating
4864 round-to-nearest rounding.
4865 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4866 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4867 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4868 missing underflow exceptions.
4869 (fma_test_towardzero): Add more tests.
4870 (fma_test_downward): Likewise.
4871 (fma_test_upward): Likewise.
4874 * sysdeps/generic/tininess.h: New file.
4875 * sysdeps/i386/tininess.h: Likewise.
4876 * sysdeps/sh/tininess.h: Likewise.
4877 * sysdeps/x86_64/tininess.h: Likewise.
4878 * stdlib/tst-strtod-underflow.c: Likewise.
4879 * stdlib/tst-tininess.c: Likewise.
4880 * stdlib/strtod_l.c: Include <tininess.h>.
4881 (round_and_return): Do not set errno for exact underflow cases.
4882 Force an underflow exception when setting errno for underflow.
4883 Determine underflow based on rounding to normal precision if
4884 TININESS_AFTER_ROUNDING.
4885 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4886 ERANGE for exact underflow cases.
4887 * stdlib/Makefile (tests): Add tst-tininess and
4888 tst-strtod-underflow.
4889 ($(objpfx)tst-tininess): Use $(link-libm).
4890 ($(objpfx)tst-strtod-underflow): Likewise.
4892 2012-10-30 Andreas Jaeger <aj@suse.de>
4895 * elf/Makefile (tests): Remove conditional for have-initfini-array
4896 since this is now always required and the variable does not exist
4898 (tests-static): Likewise.
4899 (modules-names): Likewise.
4901 * po/eo.po: Add Esperanto translation from translation project.
4903 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4904 merged with constructor/destructor.
4905 (init_array): Likewise.
4906 * elf/tst-array2dep.c (fini_array): Likewise.
4907 (init_array): Likewise.
4909 2012-10-29 Mike Frysinger <vapier@gentoo.org>
4911 * manual/message.texi: Delete @cartouche tags.
4913 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4915 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4917 * sysdeps/mach/hurd/fsync.c: Likewise.
4919 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4920 [_POSIX_REALTIME_SIGNALS]: Change condition to
4921 [_POSIX_REALTIME_SIGNALS > 0].
4923 2012-10-27 Andreas Jaeger <aj@suse.de>
4925 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4926 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4927 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4928 [__WORDSIZE != 64]: Likewise.
4930 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4932 * iconvdata/tst-table.sh: Remove ${SHELL}.
4933 * iconvdata/tst-tables.sh: Likewise.
4935 2012-10-25 David S. Miller <davem@davemloft.net>
4937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4938 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4941 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4943 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4944 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4945 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4948 2012-10-25 Roland McGrath <roland@hack.frob.com>
4950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4951 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4954 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4955 Jim Blandy <jimb@codesourcery.com>
4957 * scripts/cross-test-ssh.sh: New file.
4958 * manual/install.texi (Configuring and compiling): Document use of
4960 * INSTALL: Regenerated.
4962 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4964 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4967 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4969 * Makeconfig (run-program-prefix): Fix comment.
4971 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4972 Jim Blandy <jimb@codesourcery.com>
4974 * Makeconfig (test-wrapper): New variable,
4975 (test-wrapper-env): Likewise.
4976 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4977 (run-built-tests): Define to yes.
4978 (run-program-prefix): Use $(test-wrapper).
4979 (built-program-cmd): Likewise.
4980 * Rules (make-test-out): Use $(test-wrapper-env) and
4981 $(host-built-program-cmd).
4982 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4983 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4985 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4986 $(test-wrapper-env) to tst-rtld-load-self.sh.
4987 ($(objpfx)order2.out): Use $(test-wrapper).
4988 ($(objpfx)tst-initorder.out): Likewise.
4989 ($(objpfx)tst-initorder2.out): Likewise.
4990 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4991 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4992 (test_wrapper_env): New variable. Use it to run ld.so.
4993 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4994 Use it to run ld.so.
4995 (test_wrapper_env): Likewise.
4996 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4997 $(test-wrapper) to run-iconv-test.sh.
4998 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4999 (ICONV): Use $test_wrapper.
5000 * posix/Makefile ($(objpfx)globtest.out): Pass
5001 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5002 globtest.sh, not $(run-program-prefix).
5003 * posix/globtest.sh (run_via_rtld_prefix): New variable.
5004 (test_wrapper): Likewise.
5005 (test_wrapper_env): Likewise. Use it to run globtest with HOME
5006 set together with run_via_rtld_prefix.
5007 (run_program_prefix): Define in terms of test_wrapper and
5008 run_via_rtld_prefix.
5010 2012-10-24 Roland McGrath <roland@hack.frob.com>
5012 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5013 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5017 * include/time.h: Remove librt_hidden_proto (clock_gettime).
5018 Declare __clock_getres, __clock_gettime, __clock_settime,
5019 __clock_nanosleep, and __clock_getcpuclockid.
5020 * rt/clock_gettime.c: Define __clock_gettime as an alias.
5021 Remove librt_hidden_def (clock_gettime).
5022 * sysdeps/unix/clock_gettime.c: Likewise.
5023 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5024 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5025 * rt/clock_getres.c: Define __clock_getres as an alias.
5026 * sysdeps/posix/clock_getres.c: Likewise.
5027 * rt/clock_settime.c: Define __clock_settime as an alias.
5028 * sysdeps/unix/clock_settime.c: Likewise.
5029 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5030 * sysdeps/unix/clock_nanosleep.c: Likewise.
5031 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5032 * rt/clock-compat.c: New file.
5033 * rt/Makefile (librt-routines): Add clock-compat and move
5034 $(clock-routines) to ...
5035 (routines): ... here, new variable.
5036 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5037 Don't add get_clockfreq here.
5038 * rt/Versions (libc: GLIBC_2.17): New version set.
5039 Add clock_* symbols here.
5040 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
5041 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5042 (GLIBC_2.17): Add clock_* symbols.
5043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5045 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5054 * NEWS: Mention the move.
5056 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5057 Use __open, __read, __close rather than their public counterparts.
5058 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5059 (__get_clockfreq_via_cpuinfo): Likewise.
5060 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5061 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5063 * config.h.in (HAVE_IFUNC): New #undef.
5064 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5066 * configure: Regenerated.
5068 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5070 * configure.in: Move READELF check to start of file.
5071 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5072 libc_cv_asm_gnu_indirect_function in the process.
5073 * configure: Regenerated.
5075 2012-10-24 Mike Frysinger <vapier@gentoo.org>
5077 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5078 send the output to /dev/null.
5079 (libc_cv_cc_with_libunwind): Likewise.
5080 (libc_cv_as_noexecstack): Likewise.
5081 * configure: Regenerate.
5083 2012-10-24 Joseph Myers <joseph@codesourcery.com>
5085 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5087 * posix/globtest.sh (TMPDIR): Do not set.
5088 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5089 (testout): Likewise.
5091 2012-10-24 Andreas Jaeger <aj@suse.de>
5093 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5094 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5095 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5096 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5097 posix_fadvise64, posix_fallocate64.
5099 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5100 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5101 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5103 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5105 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5107 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5108 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5109 <bits/fcntl-linux.h>.
5110 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5113 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5114 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5115 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5116 [__WORDSIZE != 64]: Likewise.
5118 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5120 * Makeconfig (run-built-tests): New variable.
5121 * Rules [$(cross-compiling) = yes]: Change condition to
5122 [$(run-built-tests) = no].
5123 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5124 to [$(run-built-tests) = yes].
5125 * elf/Makefile [$(cross-compiling) = no]: Likewise
5126 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5127 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5128 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5129 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5130 * io/Makefile [$(cross-compiling) = no]: Likewise.
5131 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5132 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5133 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5134 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5135 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5136 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5137 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5138 * string/Makefile [$(cross-compiling) = no]: Likewise.
5140 * posix/Makefile ($(objpfx)globtest.out): Pass
5141 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5142 $(rtld-installed-name).
5143 * posix/globtest.sh (elf_objpfx): Remove variable.
5144 (rtld_installed_name): Likewise.
5145 (library_path): Likewise.
5146 (run_program_prefix): New variable. Use for running globtest
5149 2012-10-23 Jim Blandy <jimb@codesourcery.com>
5150 Joseph Myers <joseph@codesourcery.com>
5152 * Makeconfig (host-built-program-cmd): New variable.
5153 * elf/Makefile (tst-stackguard1-ARGS): Use
5154 $(host-built-program-cmd).
5155 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5156 (tst-spawn-ARGS): Likewise.
5157 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5159 2012-10-23 Joseph Myers <joseph@codesourcery.com>
5160 Jim Blandy <jimb@codesourcery.com>
5162 * Makeconfig (run-via-rtld-prefix): New variable.
5163 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5164 (built-program-cmd): Likewise.
5166 2012-10-22 Andreas Jaeger <aj@suse.de>
5168 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5169 __O_RSYNC if it exists, otherwise to O_SYNC.
5171 2012-10-22 Jim Blandy <jimb@codesourcery.com>
5172 Joseph Myers <joseph@codesourcery.com>
5174 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5176 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5178 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5181 2012-10-22 Andreas Jaeger <aj@suse.de>
5183 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5185 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5187 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5190 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5191 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5193 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5195 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5198 2012-10-21 Jim Blandy <jimb@codesourcery.com>
5199 Joseph Myers <joseph@codesourcery.com>
5201 * config.make.in (NM): New variable.
5203 2012-10-21 Andreas Jaeger <aj@suse.de>
5205 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5206 definitions and declarations that are provided by
5207 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5209 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5212 * elf/Makefile (tests-static): Add tst-leaks1-static.
5213 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5214 ($(objpfx)tst-leaks1-static): New rule.
5215 ($(objpfx)tst-leaks1-static-mem): Likewise.
5216 (tst-leaks1-static-ENV): New macro.
5217 * elf/dl-open.c (dl_open_worker): Check the main application
5218 only if SHARED is defined.
5219 * elf/tst-leaks1-static.c: New file.
5221 2012-10-20 Andreas Jaeger <aj@suse.de>
5223 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5224 generic values for Linux.
5225 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5226 and declarations that are provided by <bits/fcntl-linux.h> and
5227 include <bits/fcntl-linux.h>.
5228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5229 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5231 2012-10-20 Roland McGrath <roland@hack.frob.com>
5233 * io/fcntl.h: Move include of <bits/types.h> to the top and
5234 include it unconditionally.
5236 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5238 * wcsmbs/Makefile (tests-ifunc): New variable.
5239 (tests): Add $(tests-ifunc).
5240 * wcsmbs/test-wcschr-ifunc.c: New file.
5241 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5242 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5243 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5244 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5245 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5247 * string/Makefile (tests-ifunc): New variable.
5248 (tests): Add $(tests-ifunc).
5249 * string/test-memccpy.c (TEST_NAME): New macro.
5250 * string/test-memchr.c (TEST_NAME): Likewise.
5251 * string/test-memcmp.c (TEST_NAME): Likewise.
5252 * string/test-memcpy.c (TEST_NAME): Likewise.
5253 * string/test-memmem.c (TEST_NAME): Likewise.
5254 * string/test-memmove.c (TEST_NAME): Likewise.
5255 * string/test-memset.c (TEST_NAME): Likewise.
5256 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5257 * string/test-stpcpy.c (TEST_NAME): Likewise.
5258 * string/test-stpncpy.c (TEST_NAME): Likewise.
5259 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5260 * string/test-strcasestr.c (TEST_NAME): Likewise.
5261 * string/test-strcat.c (TEST_NAME): Likewise.
5262 * string/test-strchr.c (TEST_NAME): Likewise.
5263 * string/test-strcmp.c(TEST_NAME): Likewise.
5264 * string/test-strcpy.c (TEST_NAME): Likewise.
5265 * string/test-strcspn.c (TEST_NAME): Likewise.
5266 * string/test-strlen.c (TEST_NAME): Likewise.
5267 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5268 * string/test-strncmp.c (TEST_NAME): Likewise.
5269 * string/test-strncpy.c (TEST_NAME): Likewise.
5270 * string/test-strnlen.c (TEST_NAME): Likewise.
5271 * string/test-strpbrk.c (TEST_NAME): Likewise.
5272 * string/test-strrchr.c (TEST_NAME): Likewise.
5273 * string/test-strspn.c (TEST_NAME): Likewise.
5274 * string/test-strstr.c (TEST_NAME): Likewise.
5275 * string/test-bcopy-ifunc.c: New file.
5276 * string/test-bzero-ifunc.c: Likewise.
5277 * string/test-memccpy-ifunc.c: Likewise.
5278 * string/test-memchr-ifunc.c: Likewise.
5279 * string/test-memcmp-ifunc.c: Likewise.
5280 * string/test-memcpy-ifunc.c: Likewise.
5281 * string/test-memmem-ifunc.c: Likewise.
5282 * string/test-memmove-ifunc.c: Likewise.
5283 * string/test-mempcpy-ifunc.c: Likewise.
5284 * string/test-memset-ifunc.c: Likewise.
5285 * string/test-rawmemchr-ifunc.c: Likewise.
5286 * string/test-stpcpy-ifunc.c: Likewise.
5287 * string/test-stpncpy-ifunc.c: Likewise.
5288 * string/test-strcasecmp-ifunc.c: Likewise.
5289 * string/test-strcasestr-ifunc.c: Likewise.
5290 * string/test-strcat-ifunc.c: Likewise.
5291 * string/test-strchr-ifunc.c: Likewise.
5292 * string/test-strchrnul-ifunc.c: Likewise.
5293 * string/test-strcmp-ifunc.c: Likewise.
5294 * string/test-strcpy-ifunc.c: Likewise.
5295 * string/test-strcspn-ifunc.c: Likewise.
5296 * string/test-strlen-ifunc.c: Likewise.
5297 * string/test-strncasecmp-ifunc.c: Likewise.
5298 * string/test-strncat-ifunc.c: Likewise.
5299 * string/test-strncmp-ifunc.c: Likewise.
5300 * string/test-strncpy-ifunc.c: Likewise.
5301 * string/test-strnlen-ifunc.c: Likewise.
5302 * string/test-strpbrk-ifunc.c: Likewise.
5303 * string/test-strrchr-ifunc.c: Likewise.
5304 * string/test-strspn-ifunc.c: Likewise.
5305 * string/test-strstr-ifunc.c: Likewise.
5307 * debug/Makefile (tests-ifunc): New variable.
5308 (tests): Add $(tests-ifunc).
5309 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5310 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5311 * debug/test-stpcpy_chk-ifunc.c: New file.
5312 * debug/test-strcpy_chk-ifunc.c: Likewise.
5314 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5317 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5318 header is not read in.
5320 2012-10-19 Joseph Myers <joseph@codesourcery.com>
5322 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5323 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5324 directly. Pass built executable to script as
5325 $(built-program-cmd).
5326 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5327 $testprogram without using LD_LIBRARY_PATH and $ldso.
5329 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5330 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5331 $(rtld-installed-name).
5332 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5333 (rtld_installed_name): Likewise.
5334 (library_path): Likewise.
5335 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5336 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5337 $(run-program-prefix) to tst-tables.sh.
5338 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5339 it to run tst-table-from and tst-table-to.
5340 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5341 Pass it to tst-table.sh.
5342 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5343 $(run-program-prefix) to tst-gettext.sh.
5344 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5346 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5348 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5350 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5351 to run tst-gettext2.
5352 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5353 to run tst-translit.
5354 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5355 $(run-program-prefix) to tst-mtrace.sh.
5356 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5358 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5359 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5360 $(rtld-installed-name).
5361 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5362 (rtld_installed_name): Likewise.
5363 (run_program_prefix): New variable. Use it to run wordexp-test.
5365 * Makeconfig (ARCH): Remove all definitions.
5366 (machine): Likewise.
5367 [ARCH]: Remove conditional code.
5368 [!objdir]: Give error.
5369 [!objdir] (objpfx): Remove.
5370 [!objdir] (common-objpfx): Likewise.
5371 [!objdir] (common-objdir): Likewise.
5372 * configure.in (config_makefile): Remove. Hardcode Makefile in
5373 AC_CONFIG_FILES call.
5374 * configure: Regenerated.
5377 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5379 (testout): Likewise.
5381 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5382 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5383 $(rtld-installed-name).
5384 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5385 (rtld_installed_name): Likwise.
5386 (runit): Remove function.
5387 (run_getconf): New variable, Use it for running getconf binary.
5389 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5392 * string/test-memmem.c (check_result): New function.
5393 (do_one_test): Use it.
5394 (check1): New function.
5395 (test_main): Use it.
5397 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5399 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5401 2012-10-18 Joseph Myers <joseph@codesourcery.com>
5403 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5404 (_G_LSEEK64): Likewise.
5405 (_G_MMAP64): Likewise.
5406 (_G_FSTAT64): Likewise.
5407 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5408 (_G_LSEEK64): Likewise.
5409 (_G_MMAP64): Likewise.
5410 (_G_FSTAT64): Likewise.
5411 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5412 unconditional. Call __mmap64 directly.
5413 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5414 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5416 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5417 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5419 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5420 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5422 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5423 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5425 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5426 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5428 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5429 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5430 __fxstat64 directly.
5431 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5432 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5434 (freopen64) [!_G_OPEN64]: Remove conditional code.
5435 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5437 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5438 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5440 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5441 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5443 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5444 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5446 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5447 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5449 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5450 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5452 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5453 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5455 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5457 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5460 * manual/memory.texi (Malloc Tunable Parameters): Add note
5461 about free list pointers overwriting some perturb bytes.
5462 Wording suggested by Roland McGrath.
5464 2012-10-17 Joseph Myers <joseph@codesourcery.com>
5466 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5467 (lgamma_test): Likewise.
5468 (tgamma_test): Likewise.
5470 2012-10-16 Florian Weimer <fweimer@redhat.com>
5473 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5474 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5476 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5478 * NEWS: Mention BZ #14716.
5479 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5480 when removing AVAILABLE1_USES_J macro.
5482 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5484 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5485 (__bswap_64): __uint64_t for unsigned 64-bit int.
5487 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5489 * include/string.h (memmem): Declare libc hidden alias.
5490 * string/memmem.c (memmem): Define libc hidden alias.
5491 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5492 __read, __close instead of open, read, close.
5494 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5496 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5497 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5499 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5500 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5501 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5503 (__rawmemchr_sse2): Likewise.
5504 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5505 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5506 (__strchr_sse2): Likewise.
5507 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5508 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5509 (__strcasecmp_sse2): Likewise.
5510 (__strncasecmp_sse2): Likewise.
5511 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5512 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5513 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5514 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5515 (__strrchr_sse2): Likewise.
5516 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5518 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5519 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5520 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5521 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5522 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5523 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5524 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5525 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5526 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5527 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5528 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5529 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5530 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5531 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5532 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5533 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5534 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5535 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5536 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5537 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5538 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5539 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5540 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5541 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5542 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5543 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5544 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5545 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5546 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5547 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5549 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5551 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5552 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5553 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5554 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5556 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5558 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5559 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5560 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5561 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5563 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5564 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5565 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5566 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5567 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5568 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5569 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5570 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5571 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5572 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5573 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5574 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5575 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5576 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5577 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5578 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5579 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5580 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5581 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5582 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5583 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5584 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5585 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5586 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5587 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5588 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5589 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5590 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5591 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5592 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5593 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5594 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5595 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5596 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5597 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5598 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5599 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5600 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5601 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5602 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5603 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5605 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5606 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5607 * include/ifunc-impl-list.h: New file.
5608 * misc/ifunc-impl-list.c: Likewise.
5609 * misc/Makefile (routines): Add ifunc-impl-list.
5610 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5611 * string/test-string.h: Include <ifunc-impl-list.h>.
5612 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5613 impl_array): New variables.
5614 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5616 (test_init): Call __libc_ifunc_impl_list to initialize
5617 func_list if TEST_IFUNC and TEST_NAME are defined.
5619 * string/Makefile (strop-tests): Add bcopy and bzero.
5620 * string/test-bcopy.c: New file.
5621 * string/test-bzero.c: Likewise.
5622 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5624 * string/test-memset.c: Support bzero test if TEST_BZERO is
5626 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5628 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5630 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5633 2012-10-10 Joseph Myers <joseph@codesourcery.com>
5635 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5636 * configure: Regenerated.
5638 * Makeconfig (+link-static-before-libc): Don't include
5639 $(link-static-libc).
5641 * libio/libio.h (_IO_pos_t): Remove.
5643 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5645 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5648 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5650 * crypt/crypt-entry.c: Include fips-private.h.
5651 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5652 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5653 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5654 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5656 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
5658 * crypt/crypt-private.h: Include stdbool.h.
5659 (_ufc_setup_salt_r): Return bool.
5660 * crypt/crypt-entry.c: Include errno.h.
5661 (__crypt_r): Return NULL with EINVAL for bad salt.
5662 * crypt/crypt_util.c (bad_for_salt): New.
5663 (_ufc_setup_salt_r): Check that salt is long enough and within
5664 the specified alphabet.
5665 * crypt/badsalttest.c: New file.
5666 * crypt/Makefile (tests): Add it.
5667 ($(objpfx)badsalttest): New.
5669 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5671 * NEWS: Add entry for BZ #14602.
5673 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5675 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5677 * math/libm-test.inc: Update comment listing what functions and
5679 (isgreater_test): New function.
5680 (isgreaterequal_test): Likewise.
5681 (isless_test): Likewise.
5682 (islessequal_test): Likewise.
5683 (islessgreater_test): Likewise.
5684 (isunordered_test): Likewise.
5685 (main): Call the new functions.
5687 2012-10-09 Roland McGrath <roland@hack.frob.com>
5689 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5690 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5691 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5692 * sysdeps/i386/configure: Regenerated.
5693 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5694 * sysdeps/mach/configure: Regenerated.
5695 * sysdeps/mach/hurd/configure: Regenerated.
5696 * sysdeps/powerpc/configure: Regenerated.
5697 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5698 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5699 * sysdeps/s390/s390-32/configure: Regenerated.
5700 * sysdeps/s390/s390-64/configure: Regenerated.
5701 * sysdeps/sh/configure: Regenerated.
5702 * sysdeps/sparc/configure: Regenerated.
5703 * sysdeps/unix/sysv/linux/configure: Regenerated.
5704 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5705 * sysdeps/x86_64/configure: Regenerated.
5707 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5708 defined. Don't check if MAP is NULL.
5710 2012-10-09 Joseph Myers <joseph@codesourcery.com>
5712 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5713 (_G_stat64): Likewise.
5714 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5715 (_G_stat64): Likewise.
5716 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5717 instead of struct _G_stat64.
5718 * libio/fileops.c (mmap_remap_check): Likewise.
5719 (decide_maybe_mmap): Likewise.
5720 (_IO_new_file_seekoff): Likewise.
5721 (_IO_file_stat): Likewise.
5722 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5724 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5725 instead of struct _G_stat64.
5726 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5728 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5731 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5733 (CHECK_EOL): New macro.
5734 (two_way_short_needle): Check beginning of haystack for EOL. Use
5736 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5737 Replace with CHECK_EOL.
5738 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5739 Replace with CHECK_EOL.
5741 2012-10-08 Joseph Myers <joseph@codesourcery.com>
5743 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5745 * math/libm-test.inc: Update comment listing what functions and
5747 (finite_test): New function.
5748 (isinf_test): Likewise.
5749 (isnan_test): Likewise.
5750 (fpclassify_test): Test subnormal input.
5751 (isfinite_test): Likewise.
5752 (isnormal_test): Likewise.
5753 (main): Call the new functions.
5755 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5758 * Makerules (%.dynsym): Force C locale when running
5759 $(OBJDUMP) --dynamic-syms.
5761 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5763 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5766 2012-10-06 David S. Miller <davem@davemloft.net>
5768 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5769 upper 32-bits of the length value in %o2 since we use branch-on-register
5770 tests which consider the entire 64-bit register.
5772 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5774 * string/test-strstr.c (check2): Add a test for page boundary.
5776 2012-10-05 David S. Miller <davem@davemloft.net>
5778 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5779 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5781 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5783 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5784 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5785 and bzero when HWCAP_SPARC_CRYPTO is present.
5787 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5790 * string/test-strstr.c (check2): New function.
5791 (test_main): Call check2.
5793 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5795 * string/bug-strcasestr1.c (do_test): Moved to ...
5796 * string/test-strcasestr.c (check1): Here. New function.
5797 (do_one_test): Break out result checking code into ...
5798 (check_result): This. New function.
5799 (do_one_test): Call check_result.
5800 (test_main): Call check1.
5801 * string/bug-strchr1.c (do_test): Moved to ...
5802 * string/test-strchr.c (check1): Here. New function.
5803 (do_one_test): Break out result checking code into ...
5804 (check_result): This. New function.
5805 (do_one_test): Call check_result.
5806 (test_main): Call check1.
5807 * string/bug-strstr1.c (main): Moved to ...
5808 * string/test-strstr.c (check1): Here. New function.
5809 (do_one_test): Break out result checking code into ...
5810 (check_result): This. New function.
5811 (do_one_test): Call check_result.
5812 (test_main): Call check1.
5813 * string/bug-strcasestr1.c: Removed.
5814 * string/bug-strchr1.c: Likewise.
5815 * string/bug-strstr1.c: Likewise.
5817 * elf/Makefile (dl-routines): Add hwcaps.
5818 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5819 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5820 (_dl_important_hwcaps): Moved to ...
5821 * elf/dl-hwcaps.c: Here. New file.
5822 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5825 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5826 if IS_IN_rtld isn't defined.
5828 * elf/dl-support.c (_dl_sysinfo_map): New.
5829 Include "get-dynamic-info.h" and "setup-vdso.h".
5830 (_dl_non_dynamic_init): Call setup_vdso.
5831 * elf/dynamic-link.h: Don't include <assert.h>.
5832 (elf_get_dynamic_info): Moved to ...
5833 * elf/get-dynamic-info.h: Here. New file.
5834 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5835 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5836 * elf/setup-vdso.h: Here. New file.
5837 * elf/rtld.c: Include "setup-vdso.h".
5838 (dl_main): Call setup_vdso.
5840 2012-10-05 Joseph Myers <joseph@codesourcery.com>
5842 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5843 creal in comment listing functions tested. List finite, isinf,
5844 isnan, isless, islessequal, isgreater, isgreaterequal,
5845 islessgreater, isunordered, lgamma_r and pow10 as functions and
5846 macros not tested. Mention which functions not tested are aliases
5847 for other functions. Fix typo. Note that signs of NaNs are not
5850 * scripts/config.guess: Update from config.git.
5851 * scripts/config.sub: Likewise.
5853 2012-10-04 Roland McGrath <roland@hack.frob.com>
5855 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5856 * misc/madvise.c (madvise): Renamed to __madvise.
5857 Make madvise a weak alias.
5858 * include/sys/mman.h: Declare __madvise.
5859 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5860 * sysdeps/unix/syscalls.list
5861 (madvise): Make __madvise the strong name, and madvise a weak alias.
5862 * sysdeps/unix/sysv/linux/syscalls.list
5863 (madvise, mmap): Remove redundant entries.
5864 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5865 * malloc/malloc.c (mtrim): Likewise.
5866 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5868 2012-10-03 Roland McGrath <roland@hack.frob.com>
5870 * sysdeps/mach/hurd/dl-cache.c: File removed.
5871 * config.h.in (USE_LDCONFIG): New #undef.
5872 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5873 * configure: Regenerated.
5874 * elf/Makefile (dl-routines): Add dl-cache only under
5875 [$(use-ldconfig) = yes].
5876 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5877 cache on [USE_LDCONFIG].
5878 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5880 * elf/rtld.c (dl_main): Likewise.
5882 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5884 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5885 _SC_LEVEL4_CACHE_LINESIZE.
5887 2012-10-03 Roland McGrath <roland@hack.frob.com>
5889 * sysdeps/unix/bsd/confstr.h: File removed.
5891 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
5893 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5896 2012-10-02 Roland McGrath <roland@hack.frob.com>
5898 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5899 Make 'mapoff' field ElfW(Off) rather than off_t.
5901 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5903 * nscd/Makefile: Remove nscd-cflags and all its users.
5904 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5905 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5908 * malloc.c (malloc_printerr): Clarify error message.
5910 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5913 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5914 Set bit_FMA_Usable if FMA is supported.
5915 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5917 (bit_FMA4_Usable): Updated.
5918 (index_FMA_Usable): New macro.
5919 (CPUID_FMA): Likewise
5920 (HAS_FMA): Defined with bit_FMA_Usable.
5922 2012-10-01 Roland McGrath <roland@hack.frob.com>
5924 * bits/types.h (__swblk_t): Type removed.
5925 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5926 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5927 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5928 (__SWBLK_T_TYPE): Likewise.
5929 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5930 (__SWBLK_T_TYPE): Likewise.
5931 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5932 (__SWBLK_T_TYPE): Likewise.
5933 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5934 (__SWBLK_T_TYPE): Likewise.
5936 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
5937 Honza Horak <hhorak@redhat.com>
5939 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5940 (xdr_mapname): Use YPMAXMAP as maxsize.
5941 (xdr_peername): Use YPMAXPEER as maxsize.
5942 (xdr_keydat): Use YPAXRECORD as maxsize.
5943 (xdr_valdat): Use YPMAXRECORD as maxsize.
5945 2012-10-01 Roland McGrath <roland@hack.frob.com>
5947 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5949 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5950 * csu/init-first.c: ... here.
5951 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5952 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5953 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5954 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5955 * sysdeps/i386/init-first.c: File removed.
5956 * sysdeps/sh/init-first.c: File removed.
5958 2012-10-01 Joseph Myers <joseph@codesourcery.com>
5961 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5962 if x * y might underflow to zero and z is zero.
5963 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5964 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5965 * math/libm-test.inc (min_subnorm_value): New variable.
5966 (fma_test): Add more tests.
5967 (fma_test_towardzero): Likewise.
5968 (fma_test_downward): Likewise
5969 (fma_test_upward): Likewise.
5970 (initialize): Set min_subnorm_value.
5972 2012-09-29 Joseph Myers <joseph@codesourcery.com>
5975 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5977 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5978 mode for addition resulting in exact zero.
5979 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5980 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5982 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5983 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5984 * math/libm-test.inc (fma_test): Add more tests.
5985 (fma_test_towardzero): New function.
5986 (fma_test_downward): Likewise.
5987 (fma_test_upward): Likewise.
5988 (main): Call the new functions.
5990 2012-09-28 David S. Miller <davem@davemloft.net>
5992 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5994 2012-09-28 Roland McGrath <roland@hack.frob.com>
5996 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5999 * sysdeps/gnu/_G_config.h: Moved to ...
6000 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6001 * sysdeps/mach/hurd/_G_config.h: Moved to ...
6002 * sysdeps/generic/_G_config.h: ... here.
6004 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
6006 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6008 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6009 Conditionalize target on [libnss_test1.so-version].
6011 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6013 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6014 (elfobjdir): Move out of conditionals.
6016 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6017 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6018 (__nss_lookup_function): Conditionalize label remove_from_tree on
6019 [!DO_STATIC_NSS || SHARED], matching its only use.
6021 2012-09-28 David S. Miller <davem@davemloft.net>
6023 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6024 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6026 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6028 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6029 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6030 when HWCAP_SPARC_CRYPTO is present.
6032 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6034 * io/tst-mknodat.c: Create a FIFO instead of a socket.
6036 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
6039 * stdio-common/vfprintf.c (process_string_arg): Revert
6042 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
6044 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6046 * stdio-common/tst-sprintf.c: Include <locale.h>
6047 (main): Test sprintf's handling of incomplete multibyte
6050 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
6052 * elf/dl-runtime.c (VERSYMIDX): Removed.
6053 * elf/dl-version.c (VERSYMIDX): Likewise.
6054 * elf/do-rel.h (VERSYMIDX): Likewise.
6056 * elf/dynamic-link.h (VERSYMIDX): Likewise.
6057 * elf/rtld.c (VALIDX): Likewise.
6058 (ADDRIDX): Likewise.
6059 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6060 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6061 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
6062 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6064 (ADDRIDX): Likewise.
6066 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6068 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6070 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
6073 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6075 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6076 addresses are in the same scope as 192.0.2/24.
6077 * posix/gai.conf: Document new scope table defaults.
6079 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6082 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6083 for ftell. Compute offsets from write pointers instead.
6084 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6086 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6089 * libio/Makefile (tests): New test case tst-fseek.
6090 * libio/tst-fseek.c: New test case to verify that fseek/ftell
6091 combination works in wide mode.
6092 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6093 state when the external buffer state changes.
6095 2012-09-27 David S. Miller <davem@davemloft.net>
6098 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6099 pass reloc->r_addend in as the 'high' argument to
6100 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6104 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
6106 * rt/tst-aio2.c: Include <pthread.h>.
6107 * rt/tst-aio3.c: Likewise.
6109 2012-09-27 Steve Ellcey <sellcey@mips.com>
6111 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6113 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
6115 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6116 contents on [SHARED].
6118 2012-09-26 Marek Polacek <polacek@redhat.com>
6122 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6123 for C++ and GCC <4.3 as well as for non GCC compilers.
6125 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6129 2012-09-25 Roland McGrath <roland@hack.frob.com>
6131 * Makefile.in (all, install): Declare with .PHONY.
6132 Reported by Michael Hope <michael.hope@linaro.org>.
6134 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6136 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6137 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6139 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6141 (sydep_routines): Add the new and the internal functions.
6142 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6143 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6145 (GLIBC_2.17): Add the new function.
6146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6147 (GLIBC_2.17): Likewise.
6148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6149 (GLIBC_2.17): Likewise.
6150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6151 (GLIBC_2.17): Likewise.
6152 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6154 2012-09-25 Alan Modra <amodra@gmail.com>
6156 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6157 Add release barrier before setting once_control to say
6158 initialisation is done. Add hints on lwarx. Use macro in
6160 (clear_once_control): Add release barrier.
6162 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6165 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6167 * math/s_clog10.c (__clog10): Likewise.
6168 * math/s_clog10f.c (__clog10f): Likewise.
6169 * math/s_clog10l.c (__clog10l): Likewise.
6170 * math/s_clogf.c (__clogf): Likewise.
6171 * math/s_clogl.c (__clogl): Likewise.
6172 * math/Makefile (libm-calls): Add x2y2m1.
6173 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6174 (__x2y2m1): Likewise.
6175 (__x2y2m1l): Likewise.
6176 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6177 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6178 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6179 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6180 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6181 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6182 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6183 * sysdeps/i386/fpu/libm-test-ulps: Update.
6184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6187 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6188 int as type of variable DEPTH.
6189 (glob): Use size_t instead of int as type of variables NEWCOUNT
6192 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6194 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6196 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6197 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6198 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6199 macros for using routine as __sincosf_ia32.
6200 Use macro for function declaration and weak_alias.
6201 * sysdeps/i386/fpu/libm-test-ulps: Update.
6203 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6206 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6208 * math/s_cexpf.c (__cexpf): Likewise.
6209 * math/s_csinf.c (__csinf): Likewise.
6210 * math/s_csinhf.c (__csinhf): Likewise.
6211 * math/s_ctanf.c (__ctanf): Likewise.
6212 * math/s_ctanhf.c (__ctanhf): Likewise.
6213 * math/s_ccosh.c (__ccoshf): Likewise.
6214 * math/s_cexp.c (__cexpl): Likewise.
6215 * math/s_csin.c (__csin): Likewise.
6216 * math/s_csinh.c (__csinh): Likewise.
6217 * math/s_ctan.c (__ctan): Likewise.
6218 * math/s_ctanh.c (ctanh): Likewise.
6219 * math/s_ccoshl.c (__ccoshl): Likewise.
6220 * math/s_cexpl.c (__cexpl): Likewise.
6221 * math/s_csinl.c (__csinl): Likewise.
6222 * math/s_csinhl.c (__csinhl): Likewise.
6223 * math/s_ctanl.c (__ctanl): Likewise.
6224 * math/s_ctanhl.c (__ctanhl): Likewise.
6226 2012-09-25 Joseph Myers <joseph@codesourcery.com>
6228 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6229 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6230 (_IO_off_t): Define to __off_t, not _G_off_t.
6231 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6232 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6233 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6234 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6235 type of __dummy and __dummy2 fields.
6236 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6237 (_G_ssize_t): Likewise.
6238 (_G_off_t): Likewise.
6239 (_G_pid_t): Likewise.
6240 (_G_uid_t): Likewise.
6241 (_G_wchar_t): Likewise.
6242 (_G_wint_t): Likewise.
6243 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6244 (_G_ssize_t): Likewise.
6245 (_G_off_t): Likewise.
6246 (_G_pid_t): Likewise.
6247 (_G_uid_t): Likewise.
6248 (_G_wchar_t): Likewise.
6249 (_G_wint_t): Likewise.
6250 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6251 (_G_ssize_t): Likewise.
6252 (_G_off_t): Likewise.
6253 (_G_pid_t): Likewise.
6254 (_G_uid_t): Likewise.
6255 (_G_wchar_t): Likewise.
6256 (_G_wint_t): Likewise.
6258 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6260 * malloc/arena.c: Include malloc-sysdep.h.
6261 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6262 is sufficient to shrink the heap or an unmap is needed.
6263 * sysdeps/generic/malloc-sysdep.h: New file. Define
6264 new function check_may_shrink_heap.
6265 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6266 new function check_may_shrink_heap.
6268 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6270 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6273 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6275 * catgets/test-gencat.sh: Add "set -e".
6276 * elf/tst-pathopt.sh: Likewise.
6277 * grp/tst_fgetgrent.sh: Likewise.
6278 * iconvdata/run-iconv-test.sh: Likewise.
6279 * intl/tst-gettext.sh: Likewise.
6280 * intl/tst-gettext2.sh: Likewise.
6281 * intl/tst-gettext4.sh: Likewise.
6282 * intl/tst-gettext6.sh: Likewise.
6283 * intl/tst-translit.sh: Likewise.
6284 * io/ftwtest-sh: Likewise.
6285 * libio/test-freopen.sh: Likewise.
6286 * malloc/tst-mtrace.sh: Likewise.
6287 * posix/globtest.sh: Likewise.
6288 * posix/tst-getconf.sh: Likewise.
6289 * posix/wordexp-tst.sh: Likewise.
6290 * stdio-common/tst-printf.sh: Likewise.
6291 * stdio-common/tst-unbputc.sh: Likewise.
6292 * stdlib/tst-fmtmsg.sh: Likewise.
6293 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6294 * catgets/Makefile: Do not specify -e option when running
6295 testsuite shell scripts.
6296 * elf/Makefile: Likewise.
6297 * grp/Makefile: Likewise.
6298 * iconvdata/Makefile: Likewise.
6299 * intl/Makefile: Likewise.
6300 * io/Makefile: Likewise.
6301 * libio/Makefile: Likewise.
6302 * malloc/Makefile: Likewise.
6303 * posix/Makefile: Likewise.
6304 * stdio-common/Makefile: Likewise.
6305 * stdlib/Makefile: Likewise.
6306 * sysdeps/x86_64/Makefile: Likewise.
6308 * io/ftwtest-sh: Add copyright header.
6309 * posix/globtest.sh: Likewise.
6310 * posix/tst-getconf.sh: Likewise.
6311 * posix/wordexp-tst.sh: Likewise.
6312 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6314 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6317 * Makeconfig (+link): Defined as $(+link-static) if
6318 $(build-shared) isn't yes.
6319 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6321 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6323 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6326 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6327 new chunk size with MALLOC_ALIGN_MASK.
6329 2012-09-24 Joseph Myers <joseph@codesourcery.com>
6332 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6334 (__printf_fphex): Determine rounding using get_rounding_mode and
6336 * stdio-common/tst-printf-round.c (struct hex_test): New
6338 (hex_tests): New variable.
6339 (test_hex_in_one_mode): New function.
6340 (do_test): Also run tests for hex float output.
6342 2012-09-21 Joseph Myers <joseph@codesourcery.com>
6344 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6345 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6346 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6347 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6348 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6349 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6350 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6351 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6353 2012-09-20 Joseph Myers <joseph@codesourcery.com>
6355 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6356 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6357 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6358 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6360 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6363 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6365 * elf/tst-rtld-load-self.sh: New test.
6366 * elf/Makefile: Run it.
6368 2012-09-18 Joseph Myers <joseph@codesourcery.com>
6370 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6371 (tst-writev-ENV): Remove.
6372 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6374 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6376 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6378 2012-09-17 Joseph Myers <joseph@codesourcery.com>
6380 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6382 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6384 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6385 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6386 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6389 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6392 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6393 * config.make.in (have-cpp-asm-debuginfo): Removed.
6394 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6395 * configure: Regenerated.
6397 2012-09-14 Joseph Myers <joseph@codesourcery.com>
6400 * stdio-common/printf_fp.c: Include <stdbool.h> and
6402 (___printf_fp): Determine rounding using get_rounding_mode and
6404 * stdio-common/tst-printf-round.c: New file.
6405 * stdio-common/Makefile (tests): Add tst-printf-round.
6406 (link-libm): New variable.
6407 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6409 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6412 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6413 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6415 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6418 2012-09-13 Joseph Myers <joseph@codesourcery.com>
6420 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6421 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6422 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6423 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6425 2012-09-12 Joseph Myers <joseph@codesourcery.com>
6428 * include/rounding-mode.h: New file.
6429 * sysdeps/generic/get-rounding-mode.h: Likewise.
6430 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6431 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6432 (MAX_VALUE): New macro.
6433 (MIN_VALUE): Likewise.
6434 (overflow_value): New function.
6435 (underflow_value): Likewise.
6436 (round_and_return): Use overflow_value and underflow_value to
6437 determine return values in overflow and underflow cases. Use
6438 round_away to determine rounding depending on rounding mode.
6439 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6440 determine return values in overflow and underflow cases.
6441 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6442 (struct test_results): New structure.
6443 (struct test): Use struct test_results to store expected results
6444 for all rounding modes.
6445 (TEST): Include expected results for all rounding modes.
6446 (test_in_one_mode): New function.
6447 (do_test): Use test_in_one_mode to compute and check results.
6448 Check results for all rounding modes.
6449 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6452 2012-12-09 Allan McRae <allan@archlinux.org>
6454 * sysdeps/i386/fpu/libm-test-ulps: Update
6456 2012-09-11 Joseph Myers <joseph@codesourcery.com>
6458 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6459 (_G_int32_t): Likewise.
6460 (_G_uint16_t): Likewise.
6461 (_G_uint32_t): Likewise.
6462 (_G_HAVE_BOOL): Likewise.
6463 (_G_HAVE_ATEXIT): Likewise.
6464 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6465 (_G_HAVE_IO_FILE_OPEN): Likewise.
6466 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6467 (_G_int32_t): Likewise.
6468 (_G_uint16_t): Likewise.
6469 (_G_uint32_t): Likewise.
6470 (_G_HAVE_BOOL): Likewise.
6471 (_G_HAVE_ATEXIT): Likewise.
6472 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6473 (_G_HAVE_IO_FILE_OPEN): Likewise.
6474 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6475 (_G_int32_t): Likewise.
6476 (_G_uint16_t): Likewise.
6477 (_G_uint32_t): Likewise.
6478 (_G_HAVE_BOOL): Likewise.
6479 (_G_HAVE_ATEXIT): Likewise.
6480 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6481 (_G_HAVE_IO_FILE_OPEN): Likewise.
6483 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6485 * csu/libc-tls.c: Update copyright years.
6487 2012-09-10 Joseph Myers <joseph@codesourcery.com>
6489 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6490 [!_G_USING_THUNKS]: Remove conditional code.
6491 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6492 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6494 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6495 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6496 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6497 (_G_VTABLE_LABEL_PREFIX): Likewise.
6498 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6499 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6500 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6501 (_G_VTABLE_LABEL_PREFIX): Likewise.
6502 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6503 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6504 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6505 (_G_VTABLE_LABEL_PREFIX): Likewise.
6506 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6508 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6510 * libio/Makefile: Include ../Makeconfig before tests.
6511 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6512 only if $(build-shared) is yes.
6514 * iconv/gconv_db.c: Update copyright years.
6516 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6518 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6519 unwind info if defined PIC. Fix special cases description.
6520 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6522 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6524 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6526 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6528 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6530 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6533 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6534 (LDLIBS-tst-chk4): This.
6535 (LDFLAGS-tst-chk5): Renamed to ...
6536 (LDLIBS-tst-chk5): This.
6537 (LDFLAGS-tst-chk6): Renamed to ...
6538 (LDLIBS-tst-chk6): This.
6539 (LDFLAGS-tst-lfschk4): Renamed to ...
6540 (LDLIBS-tst-lfschk4): This.
6541 (LDFLAGS-tst-lfschk5): Renamed to ...
6542 (LDLIBS-tst-lfschk5): This.
6543 (LDFLAGS-tst-lfschk6): Renamed to ...
6544 (LDLIBS-tst-lfschk6): This.
6546 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6547 on $(common-objpfx)soversions.mk.
6549 2012-09-07 Joseph Myers <joseph@codesourcery.com>
6552 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6555 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6557 * malloc/arena.c (arena_get_retry): New function that gets
6558 another arena for the caller to try its request on.
6559 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6560 current arena cannot fulfill the request.
6561 (__libc_memalign): Likewise.
6562 (__libc_memalign): Likewise.
6563 (__libc_pvalloc): Likewise.
6564 (__libc_calloc): Likewise.
6566 2012-09-05 John Tobey <john.tobey@gmail.com>
6569 * manual/arith.texi (Operations on Complex): Fix description
6572 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6575 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6579 * manual/memory.texi (Memory): Make order of menu items match
6582 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6584 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6585 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6586 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6588 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6590 * csu/libc-tls.c (static_dtv): Renamed to ...
6591 (_dl_static_dtv): This. Make it global.
6592 (_dl_initial_dtv): Removed.
6593 (__libc_setup_tls): Updated.
6594 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6595 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6598 2012-09-06 Petr Machata <pmachata@redhat.com>
6600 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6601 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6602 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6603 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6605 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6608 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6609 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6612 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6615 * Makeconfig (link-static-before-libc): Replace $(+prector)
6617 (link-static-after-libc): Replace $(+postctor) with
6619 (link-bounded): Replace $(+prector)/$(+postctor) with
6620 $(+prectorT)/$(+postctorT).
6621 (+prectorT): New macro.
6622 (+postctorT): Likewise.
6624 2012-09-06 Joseph Myers <joseph@codesourcery.com>
6626 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6627 (round_str): Handle values above the maximum for IBM long double
6629 * stdlib/tst-strtod-round.c (tests): Regenerated.
6631 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6633 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6635 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6636 zarch_nohighgprs around the zarch optimized routines.
6637 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6638 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6639 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6642 2012-09-05 David S. Miller <davem@davemloft.net>
6644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6646 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6647 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6648 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6649 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6652 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6654 * malloc/arena.c: Fold copyright years.
6655 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6657 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6659 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6661 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6663 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6665 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6667 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6668 change internal state upon failure.
6670 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
6672 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6673 * malloc/memusage.c (mmap): Likewise.
6674 (mmap64, mremap): Likewise. Adjust name in comment.
6676 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6678 * libio/fileops.c: Fix typos in comments.
6679 * libio/oldfileops.c: Likewise.
6680 * libio/wfileops.c: Likewise.
6682 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6685 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6686 (tst-malloc-usable-ENV): Set environment for test case.
6687 * malloc/hooks.c (malloc_check_get_size): New function to get
6689 * malloc/malloc.c (musable): Use malloc_check_get_size.
6690 * malloc/tst-malloc-usable.c: New test case.
6692 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6694 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6696 2012-09-05 Allan McRae <allan@archlinux.org>
6699 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6700 determine header location.
6701 * configure: Regenerated.
6703 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6705 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6707 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
6708 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6712 2012-09-04 David S. Miller <davem@davemloft.net>
6714 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6715 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6716 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6718 2012-09-04 Florian Weimer <fweimer@redhat.com>
6720 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6723 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6725 2012-09-04 Joseph Myers <joseph@codesourcery.com>
6728 * libio/iogetdelim.c: Include <limits.h>.
6729 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6730 + len + 1 would overflow.
6732 2012-09-03 Andreas Jaeger <aj@suse.de>
6734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6735 * sysdeps/i386/fpu/libm-test-ulps: Update.
6737 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6739 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6740 Add s_sinf-sse2, s_conf-sse2.
6742 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6743 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6744 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6745 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6747 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6748 for using routine as __sinf_ia32.
6749 Use macro for function declaration and weak_alias.
6750 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6751 for using routine as __cosf_ia32.
6752 Use macro for function declaration and weak_alias.
6754 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6755 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6757 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6758 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6761 * math/libm-test.inc (cos_test): Add more test cases.
6762 (sin_test): Likewise.
6763 (sincos_test): Likewise.
6765 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6767 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6768 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6770 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6772 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6775 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6776 first element of the GOT.
6777 (elf_machine_load_address): Return the difference between
6778 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6780 2012-09-01 Allan McRae <allan@archlinux.org>
6783 * configure.in (AWK): Require gawk version 3.0 or later.
6784 * configure: Regenerated.
6786 2012-09-01 Joseph Myers <joseph@codesourcery.com>
6788 * sysdeps/unix/sysv/linux/kernel-features.h
6789 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6790 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6791 [__NR_clock_getres]: Make code unconditional.
6792 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6793 (clock_getcpuclockid): Remove code left unreachable by removal of
6795 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6797 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6798 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6799 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6800 Make code unconditional.
6801 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6802 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6803 * sysdeps/unix/sysv/linux/clock_settime.c
6804 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6806 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6807 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6809 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6812 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6813 scripts/test-installation.pl.
6815 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6816 and $ld_so_version if it is set.
6818 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6821 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6822 failure if reading from procfs failed.
6823 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6825 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6827 * sysdeps/unix/sysv/linux/kernel-features.h
6828 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6829 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6830 Remove conditional code.
6831 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6832 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6833 Remove conditional code.
6834 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6835 * sysdeps/unix/sysv/linux/i386/fxstat.c
6836 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6837 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6838 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6839 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6840 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6841 * sysdeps/unix/sysv/linux/i386/lxstat.c
6842 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6843 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6844 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6845 Remove conditional code.
6846 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6847 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6848 Remove conditional code.
6849 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6850 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6851 <kernel-features.h>.
6852 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6854 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6855 Remove conditional code.
6856 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6857 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6860 2012-08-27 Mike Frysinger <vapier@gentoo.org>
6863 * NEWS: Add fixed bug number.
6865 2012-08-27 Joseph Myers <joseph@codesourcery.com>
6868 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6869 underflowing exponent in case of negative sign.
6870 * stdlib/tst-strtod-round-data: Add more tests.
6871 * stdlib/tst-strtod-round.c (tests): Regenerated.
6874 * stdlib/strtod_l.c (NDIG): Remove.
6875 (HEXNDIG): Likewise.
6876 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6877 smallest representable value.
6878 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6879 lie within an exact representation of 1/2 ulp of the result.
6880 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6882 (TENS_P9_IDX): Define unconditionally.
6883 (TENS_P9_SIZE): Likewise.
6884 (TENS_P10_IDX): Likewise.
6885 (TENS_P10_SIZE): Likewise.
6886 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6887 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6888 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6889 entries for 10^2^13 and 10^2^14.
6890 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6891 (TENS_P13_IDX): Define.
6892 (TENS_P13_SIZE): Likewise.
6893 (TENS_P14_IDX): Likewise.
6894 (TENS_P14_SIZE): Likewise.
6895 (_fpioconst_pow10): Change array size to
6896 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6898 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6899 1024]: Add entries for 10^2^13 and 10^2^14.
6900 [LAST_POW10 > _LAST_POW10]: Remove #error.
6901 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6902 (_fpioconst_pow10): Change array size to
6903 FPIOCONST_POW10_ARRAY_SIZE.
6904 * stdlib/gen-fpioconst.c: New file.
6905 * stdlib/gen-tst-strtod-round.c: Likewise.
6906 * stdlib/tst-strtod-round-data: Likewise.
6907 * stdlib/tst-strtod-round.c: Likewise.
6908 * stdlib/Makefile (tests): Add tst-strtod-round.
6911 * stdlib/strtod_l.c: Include <stdint.h>.
6912 (NDEBUG): Do not define.
6913 (round_and_return): Change EXPONENT parameter to type intmax_t.
6914 Rearrange calculations to avoid internal overflow possibilities.
6915 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6916 Rearrange calculations to avoid internal overflow possibilities.
6917 Assert that number fits inside MPNSIZE limbs.
6918 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6919 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6920 calculations and add assertions to avoid internal overflow
6921 possibilities. Add casts to avoid signed/unsigned operations.
6922 * stdlib/tst-strtod-overflow.c: New file.
6923 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6925 2012-08-25 Marek Polacek <polacek@redhat.com>
6927 * time/time.h: Fix some typos in comments.
6929 2012-08-23 Roland McGrath <roland@hack.frob.com>
6931 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6932 * posix/tst-rfc3484-2.c: Likewise.
6933 * posix/tst-rfc3484-3.c: Likewise.
6935 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6937 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6938 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6940 2012-08-23 Joseph Myers <joseph@codesourcery.com>
6942 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6943 #include of fxstatat64.c.
6945 2012-08-22 Roland McGrath <roland@hack.frob.com>
6947 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6948 * shadow/getspent_r.c: Likewise.
6949 * shadow/getspnam.c: Likewise.
6950 * shadow/getspnam_r.c: Likewise.
6951 * gshadow/getsgent.c: Likewise.
6952 * gshadow/getsgent_r.c: Likewise.
6953 * gshadow/getsgnam.c: Likewise.
6954 * gshadow/getsgnam_r.c: Likewise.
6955 * inet/getnetbyad.c: Likewise.
6956 * inet/getnetbyad_r.c: Likewise.
6957 * inet/getnetbynm.c: Likewise.
6958 * inet/getnetbynm_r.c: Likewise.
6959 * inet/getnetent.c: Likewise.
6960 * inet/getnetent_r.c: Likewise.
6961 * inet/getproto.c: Likewise.
6962 * inet/getproto_r.c: Likewise.
6963 * inet/getprtent.c: Likewise.
6964 * inet/getprtent_r.c: Likewise.
6965 * inet/getprtname.c: Likewise.
6966 * inet/getprtname_r.c: Likewise.
6967 * inet/getrpcbyname.c: Likewise.
6968 * inet/getrpcbyname_r.c: Likewise.
6969 * inet/getrpcbynumber.c: Likewise.
6970 * inet/getrpcbynumber_r.c: Likewise.
6971 * inet/getrpcent.c: Likewise.
6972 * inet/getrpcent_r.c: Likewise.
6973 * inet/getaliasent.c: Likewise.
6974 * inet/getaliasent_r.c: Likewise.
6975 * inet/getaliasname.c: Likewise.
6976 * inet/getaliasname_r.c: Likewise.
6977 * nscd/getgrgid_r.c: Likewise.
6978 * nscd/getgrnam_r.c: Likewise.
6979 * nscd/gethstbyad_r.c: Likewise.
6980 * nscd/gethstbynm3_r.c: Likewise.
6981 * nscd/getpwnam_r.c: Likewise.
6982 * nscd/getpwuid_r.c: Likewise.
6983 * nscd/getsrvbynm_r.c: Likewise.
6984 * nscd/getsrvbypt_r.c: Likewise.
6985 * nscd/gai.c: Likewise.
6987 * configure.in (build_nscd): New substituted variable, set
6988 by --disable-build-nscd and defaults to $use_nscd.
6989 * configure: Regenerated.
6990 * config.make.in (build-nscd): New substituted variable.
6991 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6992 Change conditional to require [$(build-nscd) = yes] as well.
6993 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6996 * configure.in (use_nscd): New substituted variable, set by
6997 --disable-nscd. If enabled, define USE_NSCD.
6998 * configure: Regenerated.
6999 * config.h.in: Add USE_NSCD.
7000 * config.make.in (use-nscd): New substituted variable.
7001 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7002 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7003 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7004 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7005 (CFLAGS-getgrnam_r.c): Likewise.
7006 (CFLAGS-initgroups.c): Likewise.
7007 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7008 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7010 * inet/getnetgrent_r.c
7011 (nscd_setnetgrent): New function, broken out of ...
7012 (setnetgrent): ... here. Call it.
7013 (innetgr): Conditionalize nscd bits on [USE_NSCD].
7014 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7015 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7016 * nscd/Makefile (routines, aux): Move definitions after include of
7017 Makeconfig. Conditionalize on [$(use-nscd) != no].
7018 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7019 Conditionalize on [USE_NSCD].
7020 (is_nscd, nscd_init_cb): Likewise.
7021 (nss_load_library): Conditionalize init callback on [USE_NSCD].
7022 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7023 * nss/nss_db/db-init.c: Likewise.
7024 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7026 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7027 (make_request): Use it.
7028 (cache_valid_p): New function.
7029 (__check_pf): Use it.
7030 * NEWS: Add item for --disable-nscd.
7032 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
7034 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7035 to support sed >= 4.2.1-20-ga9bf076.
7036 * configure: Regenerated.
7038 2012-08-22 Roland McGrath <roland@hack.frob.com>
7040 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7041 Conditionalize whole body on [IREL].
7043 2012-08-22 Jeff Law <law@redhat.com>
7046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7047 if the family is PF_UNSPEC.
7049 2012-08-22 Mike Frysinger <vapier@gentoo.org>
7051 * Makerules (lib-version): Rename from V.
7052 (install-lib-nosubdir): Change V to lib-version.
7054 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
7057 * powerpc32/power6/wcschr.c: New file.
7058 * powerpc32/power6/wcscpy.c: New file.
7059 * powerpc32/power6/wcsrchr.c: New file.
7060 * powerpc64/power6/wcschr.c: New file.
7061 * powerpc64/power6/wcscpy.c: New file.
7062 * powerpc64/power6/wcsrchr.c: New file.
7064 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7066 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7067 (two_way_short_needle): Use it.
7068 * string/strstr.c (AVAILABLE1_USES_J): Define.
7069 * string/strcasestr.c: Likewise.
7071 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7073 * string/strcasestr.c (TOLOWER): Make side-effect safe.
7076 * NEWS: Add an entry.
7077 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7078 define their defaults.
7079 (two_way_short_needle): Detect end-of-string on-the-fly.
7080 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7081 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7082 * string/bug-strcasestr1.c: New test.
7083 * string/Makefile: Run it.
7085 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
7088 * string/str-two-way.h (two_way_short_needle): Optimize matching of
7089 the first character.
7091 2012-08-21 Roland McGrath <roland@hack.frob.com>
7093 * csu/elf-init.c (__libc_csu_irel): Function removed.
7094 * csu/libc-start.c (apply_irel): New function.
7095 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7097 2012-08-21 Joseph Myers <joseph@codesourcery.com>
7099 * sysdeps/unix/sysv/linux/kernel-features.h
7100 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7101 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7102 <kernel-features.h>.
7103 [__NR_fadvise64_64]: Make code unconditional.
7104 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7105 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7106 !__NR_fadvise64_64)]: Likewise.
7107 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7108 !__NR_fadvise64_64))]: Likewise.
7109 [__NR_fadvise64]: Make code unconditional.
7110 [!__NR_fadvise64]: Remove conditional code.
7111 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7112 <kernel-features.h>.
7113 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7115 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7118 not include <kernel-features.h>.
7119 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7121 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7123 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7124 include <kernel-features.h>.
7125 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7127 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7130 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7132 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7133 slight instruction rearrangements per scrollpipe analysis.
7134 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7136 2012-08-20 Roland McGrath <roland@hack.frob.com>
7138 * manual/syslog.texi (syslog; vsyslog, closelog):
7139 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7140 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7142 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7143 DSOCAPS to match condition on defining it.
7145 2012-08-20 Joseph Myers <joseph@codesourcery.com>
7147 * sysdeps/unix/sysv/linux/kernel-features.h
7148 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7150 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7151 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7153 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7154 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7156 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7157 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7159 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7160 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7162 * sysdeps/unix/sysv/linux/kernel-features.h
7163 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7164 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7166 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7167 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7168 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7169 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7170 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7171 Make code unconditional.
7172 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7173 (__mmap64) [!__NR_mmap2]: Likewise.
7174 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7175 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7176 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7177 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7178 [__NR_mmap2]: Make code unconditional.
7179 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7180 (__mmap64) [!__NR_mmap2]: Likewise.
7182 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7184 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7186 2012-08-18 Andreas Jaeger <aj@suse.de>
7188 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7190 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7192 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7193 * include/unistd.h (__have_sock_cloexec): Likewise.
7194 (__have_pipe2): Likewise.
7195 (__have_dup3): Likewise.
7197 2012-08-18 Mike Frysinger <vapier@gentoo.org>
7200 * include/unistd.h (__have_pipe2): Change define into an extern int.
7201 (__have_dup3): Likewise.
7202 * socket/have_sock_cloexec.c: Include fcntl.h.
7203 (__have_pipe2): New variable.
7204 (__have_dup3): Likewise.
7206 2012-08-17 Mike Frysinger <vapier@gentoo.org>
7208 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7210 2012-08-17 Marek Polacek <polacek@redhat.com>
7212 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7213 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7215 2012-08-17 Roland McGrath <roland@hack.frob.com>
7217 * configure.in: Add AC_SUBST for sysheaders.
7218 * configure: Regenerated.
7219 * config.make.in (sysheaders): New substituted variable.
7221 * sysdeps/unix/mkfifo.c: Moved ...
7222 * sysdeps/posix/mkfifo.c: ... here.
7223 * sysdeps/unix/mkfifoat.c: Moved ...
7224 * sysdeps/posix/mkfifoat.c: ... here.
7226 * sysdeps/unix/utime.c: Moved ...
7227 * sysdeps/posix/utime.c: ... here.
7229 * sysdeps/unix/time.c: Moved ...
7230 * sysdeps/posix/time.c: ... here.
7231 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7232 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7234 * sysdeps/unix/nice.c: Moved ...
7235 * sysdeps/posix/nice.c: ... here.
7237 * sysdeps/unix/alarm.c: Moved ...
7238 * sysdeps/posix/alarm.c: ... here.
7240 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7242 2012-08-17 Jeff Law <law@redhat.com>
7244 * intl/Makefile (codeset_mo): New variable.
7245 ($(codeset_mo)): New target.
7246 (tst-codeset.out): Depend on that. Remove explicit rule.
7247 (tst-gettext3.out, tst-gettext5.out): Likewise.
7248 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7249 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7250 * intl/tst-codeset.sh: Remove.
7251 * intl/tst-gettext3.sh: Likewise.
7252 * intl/tst-gettext5.sh: Likewise.
7254 2012-08-17 Roland McGrath <roland@hack.frob.com>
7256 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7257 * sysdeps/unix/syscalls.list: ... here.
7259 * sysdeps/posix/getaddrinfo.c
7260 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7261 (gaiconf_init, gaiconf_reload): Use them.
7263 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7264 Define using time_t rather than struct timespec.
7266 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7267 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7269 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7271 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7272 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7275 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7276 __libc_cleanup_push argument.
7278 * bits/param.h: New file.
7279 * misc/sys/param.h: New file.
7280 * include/sys/param.h: New file.
7281 * misc/Makefile (headers): Add bits/param.h.
7282 * sysdeps/generic/sys/param.h: File removed.
7283 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7284 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7285 * sysdeps/mach/hurd/bits/param.h: New file.
7286 * sysdeps/mach/hurd/sys/param.h: File removed.
7288 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7291 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7293 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7294 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7297 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7298 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7299 rather than -D_IO_MTSAFE_IO conditionally.
7300 * stdio-common/Makefile (CPPFLAGS): Likewise.
7301 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7302 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7303 Use $(libio-mtsafe).
7304 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7306 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7307 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7308 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7309 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7310 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7311 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7312 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7313 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7314 (CFLAGS-fread_u_chk.c): Likewise.
7315 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7316 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7317 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7318 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7319 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7320 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7321 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7322 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7323 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7325 * libio/Makefile: Test [$(libc-reentrant) = yes]
7326 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7329 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7330 * sysdeps/pthread/configure: File removed.
7331 * sysdeps/pthread/Makeconfig: New file.
7332 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7333 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7335 2012-08-16 Gary Benson <gbenson@redhat.com>
7337 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7338 unmapping the first object in a namespace.
7340 2012-08-16 Roland McGrath <roland@hack.frob.com>
7342 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7343 (__internal_setnetgrent): ... this. Add internal_function to
7344 definition. Add libc_hidden_def.
7345 (setnetgrent): Update caller.
7346 (internal_endnetgrent): Renamed to ...
7347 (__internal_endnetgrent): ... this. Add internal_function to
7348 definition. Add libc_hidden_def.
7349 (endnetgrent): Update caller.
7350 (internal_getnetgrent_r): Renamed to ...
7351 (__internal_getnetgrent_r): ... this. Add internal_function to
7352 definition. Add libc_hidden_def.
7353 (__getnetgrent_r): Update caller.
7354 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7356 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7358 * stdlib/longlong.h: Update from GCC.
7360 2012-08-16 Roland McGrath <roland@hack.frob.com>
7362 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7363 on _QL, which is set by umul_ppmm but never used.
7364 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7365 variables, which are set by GMP macros but never used.
7366 * stdio-common/_itowa.c (_itowa): Likewise.
7367 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7368 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7370 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7372 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7373 struct La_sh_regs is not constant.
7374 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7375 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7376 and struct La_sparc64_regs are not constant.
7378 2012-08-16 Joseph Myers <joseph@codesourcery.com>
7380 * sysdeps/unix/sysv/linux/kernel-features.h
7381 (__ASSUME_POSIX_TIMERS): Remove.
7382 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7383 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7384 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7385 Make code unconditional.
7386 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7387 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7388 Make code unconditional.
7389 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7390 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7391 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7392 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7393 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7394 Make code unconditional.
7395 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7396 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7397 (__libc_missing_posix_timers): Remove.
7399 2012-08-15 Roland McGrath <roland@hack.frob.com>
7401 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7402 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7404 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7406 * elf/dl-sym.c: Include <stdlib.h>.
7408 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7409 constants, which avoids warnings in 32-bit builds.
7411 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7412 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7414 * misc/lseek.c: File moved to ...
7415 * io/lseek.c: ... here.
7417 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7419 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7420 shifting LEN more than 31 bits at once.
7422 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7425 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7426 segmentation fault for a case of two empty input strings.
7427 * string/test-strncasecmp.c (check1): Renamed to...
7429 (bz14195): Add new testcase for two empty input strings and N > 0.
7430 (test_main): Call new testcase, adapt for renamed function.
7432 2012-08-15 Andreas Jaeger <aj@suse.de>
7435 * crypt/md5test2.c: New test, based on test supplied by Serge
7436 Belyshev <belyshev@depni.sinp.msu.ru>.
7437 * crypt/Makefile (xtests): Add md5test-giant..
7438 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7440 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7443 * crypt/md5.c (md5_process_block): Don't assume the buffer
7444 length is less than 2**32.
7445 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7446 length is less than 2**64.
7448 2012-08-15 Roland McGrath <roland@hack.frob.com>
7450 * string/str-two-way.h: Include <sys/param.h>.
7451 (MAX): Macro removed.
7453 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7454 Move #define and #undef of memmove to just before and after
7455 including <string.h>.
7457 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7458 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7459 and after including <string.h>. Move declarations of
7460 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7461 to before #include "string/memmove.c".
7463 * include/dirent.h: Declare __getdirentries.
7465 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7466 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7468 2012-08-14 Mike Frysinger <vapier@gentoo.org>
7470 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7471 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7472 * sysdeps/i386/configure: Regenerated.
7473 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7474 STABS_CURRENT_FILE, and STABS_FUN.
7475 (END): Remove call to STABS_FUN_END.
7476 (STABS_CURRENT_FILE1): Delete.
7477 (STABS_CURRENT_FILE): Likewise.
7478 (STABS_FUN): Likewise.
7479 (STABS_FUN_END): Likewise.
7480 (STABS_FUN2): Likewise.
7481 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7482 * sysdeps/x86_64/configure: Regenerated.
7484 2012-08-14 Roland McGrath <roland@hack.frob.com>
7486 * elf/dl-open.c: Include <atomic.h>.
7487 * elf/dl-lookup.c: Likewise.
7489 2012-08-14 Joseph Myers <joseph@codesourcery.com>
7491 * sysdeps/unix/sysv/linux/kernel-features.h
7492 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7493 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7495 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7497 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7498 condition on __ASSUME_CLONE_THREAD_FLAGS.
7500 2012-08-14 Andreas Jaeger <aj@suse.de>
7502 * sysdeps/i386/fpu/libm-test-ulps: Update.
7504 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7506 * include/atomic.h (atomic_exchange_and_add): Split into ...
7507 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7510 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7514 2012-08-13 Jeff Law <law@redhat.com>
7516 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7517 null byte in the output string.
7519 2012-08-10 Joseph Myers <joseph@codesourcery.com>
7521 * sysdeps/unix/sysv/linux/kernel-features.h
7522 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7523 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7524 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7525 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7526 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7527 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7528 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7530 2012-08-09 Jeff Law <law@redhat.com>
7533 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7534 When avoid_arena is set, don't retry in the that arena. Pick the
7535 next one, whatever it might be.
7536 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7537 (arena_lock): Pass in new parameter to arena_get2.
7538 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7540 (__libc_malloc): Unify retrying after main arena failure with
7541 __libc_memalign version.
7542 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7544 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7547 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7548 to __redirect_strstr.
7549 (__strstr_sse42): Use typeof __redirect_strstr.
7550 (__strstr_ia32): Likewise.
7551 (__libc_strstr): New prototype.
7552 (strstr): Renamed to ...
7553 (__libc_strstr): This.
7554 (strstr): New strong alias of __libc_strstr.
7555 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7556 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7559 (__libc_time): New prototype.
7560 (time_ifunc): Replace time with __libc_time.
7561 (time): New strong alias and hidden definition of __libc_time.
7562 (__GI_time): Remove strong alias.
7563 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7565 (memmove): Redefined to __redirect_memmove.
7566 (__memmove_sse2): Use typeof __redirect_memmove.
7567 (__memmove_ssse3): Likewise.
7568 (__memmove_ssse3_back): Likewise.
7569 (__libc_memmove): New prototype.
7570 (memmove): Renamed to ...
7571 (__libc_memmove): This.
7572 (memmove): New strong alias of __libc_memmove.
7574 2012-08-08 Mark Salter <msalter@redhat.com>
7577 (R_MN10300_TLS_GD): Define.
7578 (R_MN10300_TLS_LD): Likewise.
7579 (R_MN10300_TLS_LDO): Likewise.
7580 (R_MN10300_TLS_GOTIE): Likewise.
7581 (R_MN10300_TLS_IE): Likewise.
7582 (R_MN10300_TLS_LE): Likewise.
7583 (R_MN10300_TLS_DTPMOD): Likewise.
7584 (R_MN10300_TLS_DTPOFF): Likewise.
7585 (R_MN10300_TLS_TPOFF): Likewise.
7586 (R_MN10300_SYM_DIFF): Likewise.
7587 (R_MN10300_ALIGN): Likewise.
7588 (R_MN10300_NUM): Update.
7590 2012-08-08 Joseph Myers <joseph@codesourcery.com>
7592 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7595 2012-08-08 Roland McGrath <roland@hack.frob.com>
7597 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7599 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7600 sysdeps/unix -> sysdeps/posix move.
7601 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7603 2012-08-07 Allan McRae <allan@archlinux.org>
7606 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7607 (SUNOS_CPP): Likewise.
7608 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7610 (open_input): Call CPP using execvp.
7612 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7614 * sysdeps/unix/sysv/linux/kernel-features.h
7615 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7616 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7617 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7618 (__ASSUME_WAITID_SYSCALL): Likewise.
7619 * sysdeps/unix/sysv/linux/dl-execstack.c
7620 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7622 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7624 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7625 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7626 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7628 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7630 [__ASSUME_WAITID_SYSCALL]: Likewise.
7631 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7633 2012-08-07 Roland McGrath <roland@hack.frob.com>
7635 * sysdeps/unix/closedir.c: Renamed to ...
7636 * sysdeps/posix/closedir.c: ... here.
7637 * sysdeps/unix/dirfd.c: Renamed to ...
7638 * sysdeps/posix/dirfd.c: ... here.
7639 * sysdeps/unix/dirstream.h: Renamed to ...
7640 * sysdeps/posix/dirstream.h: ... here.
7641 * sysdeps/unix/fdopendir.c: Renamed to ...
7642 * sysdeps/posix/fdopendir.c: ... here.
7643 * sysdeps/unix/opendir.c: Renamed to ...
7644 * sysdeps/posix/opendir.c: ... here.
7645 * sysdeps/unix/readdir.c: Renamed to ...
7646 * sysdeps/posix/readdir.c: ... here.
7647 * sysdeps/unix/readdir_r.c: Renamed to ...
7648 * sysdeps/posix/readdir_r.c: ... here.
7649 * sysdeps/unix/rewinddir.c: Renamed to ...
7650 * sysdeps/posix/rewinddir.c: ... here.
7651 * sysdeps/unix/seekdir.c: Renamed to ...
7652 * sysdeps/posix/seekdir.c: ... here.
7653 * sysdeps/unix/telldir.c: Renamed to ...
7654 * sysdeps/posix/telldir.c: ... here.
7655 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7656 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7657 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7658 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7660 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7661 * bits/fcntl.h: ... here.
7663 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7665 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7666 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7667 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7668 (struct flock): Move l_start, l_len to the beginning.
7669 Use __pid_t for l_pid.
7670 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7671 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7672 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7673 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7674 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7675 [__USE_LARGEFILE64] (struct flock64): New type.
7676 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7678 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7679 * bits/dirent.h: ... here.
7681 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7682 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7684 2012-08-07 Joseph Myers <joseph@codesourcery.com>
7686 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7687 Change from 2.6.0 to 2.6.16.
7688 * sysdeps/unix/sysv/linux/configure: Regenerated.
7689 * sysdeps/unix/sysv/linux/kernel-features.h
7690 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7691 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7693 (__ASSUME_UTIMES): Likewise.
7694 (__ASSUME_CLONE_STOPPED): Remove.
7695 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7696 architectures, not kernel version.
7697 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7698 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7699 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7700 (__ASSUME_WAITID_SYSCALL): Likewise.
7701 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7702 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7703 * README: State 2.6.16 as minimum Linux kernel version. Do not
7704 refer to older versions.
7706 2012-08-06 Roland McGrath <roland@hack.frob.com>
7708 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7709 Define alphasort64 as an alias.
7710 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7711 Define versionsort64 as an alias.
7712 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7713 Define scandir64 as an alias.
7714 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7715 Define scandirat64 as an alias.
7716 * dirent/alphasort64.c (alphasort64):
7717 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7718 * dirent/versionsort64.c: Likewise.
7719 * dirent/scandir64.c: Likewise.
7720 * dirent/scandirat64.c: Likewise.
7721 * sysdeps/wordsize-64/alphasort.c: File removed.
7722 * sysdeps/wordsize-64/alphasort64.c: File removed.
7723 * sysdeps/wordsize-64/scandir.c: File removed.
7724 * sysdeps/wordsize-64/scandir64.c: File removed.
7725 * sysdeps/wordsize-64/scandirat.c: File removed.
7726 * sysdeps/wordsize-64/scandirat64.c: File removed.
7727 * sysdeps/wordsize-64/versionsort.c: File removed.
7728 * sysdeps/wordsize-64/versionsort64.c: File removed.
7729 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7730 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7731 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7732 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7733 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7734 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7735 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7736 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7738 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7739 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7740 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7742 [defined __arch64__ || defined __sparcv9]
7743 (__INO_T_MATCHES_INO64_T): New macro.
7744 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7745 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7746 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7747 * sysdeps/unix/sysv/linux/bits/dirent.h
7748 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7749 (_DIRENT_MATCHES_DIRENT64): New macro.
7751 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7752 Define lockf64 as an alias.
7753 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7754 Define fseeko64 as an alias.
7755 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7756 Define ftello64 as an alias.
7757 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7758 Define _IO_fgetpos64 and fgetpos64 as aliases.
7759 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7760 Define _IO_fsetpos64 and fsetpos64 as aliases.
7761 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7762 Conditionalize body on this.
7763 * libio/fseeko64.c: Likewise.
7764 * libio/ftello64.c: Likewise.
7765 * libio/iofgetpos64.c: Likewise.
7766 * libio/iofsetpos64.c: Likewise.
7767 * sysdeps/wordsize-64/lockf.c: File removed.
7768 * sysdeps/wordsize-64/lockf64.c: File removed.
7769 * sysdeps/wordsize-64/fseeko.c: File removed.
7770 * sysdeps/wordsize-64/fseeko64.c: File removed.
7771 * sysdeps/wordsize-64/ftello.c: File removed.
7772 * sysdeps/wordsize-64/ftello64.c: File removed.
7773 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7774 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7775 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7776 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7777 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7778 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7779 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7780 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7781 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7782 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7783 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7784 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7785 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7786 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7788 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7789 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7790 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7791 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7792 [defined __arch64__ || defined __sparcv9]
7793 (__OFF_T_MATCHES_OFF64_T): New macro.
7794 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7795 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7796 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7797 (__OFF_T_MATCHES_OFF64_T): New macro.
7799 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7801 * stdlib/secure-getenv.c (__secure_getenv): Replace
7802 GLIBC_2_16 with GLIBC_2_17.
7804 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7806 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7807 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7809 2012-08-03 David S. Miller <davem@davemloft.net>
7811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7813 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7815 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7817 (__ASSUME_CORRECT_SI_PID): Likewise.
7818 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7819 (__ASSUME_TMPFS_NAME): Likewise.
7820 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7821 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7822 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7823 (HAVE_AUX_SECURE): Make definition unconditional.
7824 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7825 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7827 2012-08-03 Roland McGrath <roland@hack.frob.com>
7829 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7830 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7831 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7832 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7833 __eloop_threshold instead of SYMLOOP_MAX.
7835 * sysdeps/generic/eloop-threshold.h: New file.
7836 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7838 * elf/chroot_canon.c (chroot_canon): Likewise.
7840 2012-08-03 Joseph Myers <joseph@codesourcery.com>
7843 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7844 Change to 2.6.0 everywhere.
7845 * sysdeps/unix/sysv/linux/configure: Regenerated.
7846 * sysdeps/unix/sysv/linux/kernel-features.h
7847 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7848 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7850 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7851 (__ASSUME_FUTEX_REQUEUE): Remove.
7852 (__ASSUME_STATFS64): Define unconditionally.
7853 (__ASSUME_AT_SECURE): Likewise.
7854 (__ASSUME_CORRECT_SI_PID): Likewise.
7855 (__ASSUME_TGKILL): Define without depending on kernel version for
7857 (__ASSUME_UTIMES): Likewise.
7858 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7860 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7861 (__ASSUME_TMPFS_NAME): Likewise.
7862 * README: Update reference to Linux kernel versions.
7864 2012-08-02 Marek Polacek <polacek@redhat.com>
7867 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7868 libc_cv_asm_type_prefix with %.
7869 * configure: Regenerated.
7870 * include/libc-symbols.h: Remove comment about
7871 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7872 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7873 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7874 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7875 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7876 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7877 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7878 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7879 * elf/tst-unique2mod1.c: Likewise.
7880 * elf/tst-unique1mod2.c: Likewise.
7881 * elf/tst-unique1mod1.c: Likewise.
7882 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7883 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7884 Replace ASM_TYPE_DIRECTIVE with .type.
7885 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7886 * sysdeps/i386/sysdep.h: Likewise.
7887 * sysdeps/x86_64/sysdep.h: Likewise.
7888 * sysdeps/sh/sysdep.h: Likewise.
7889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7890 Do not define ASM_TYPE_DIRECTIVE.
7891 * sysdeps/powerpc/sysdep.h: Likewise.
7892 * sysdeps/powerpc/powerpc32/sysdep.h:
7893 Replace ASM_TYPE_DIRECTIVE with .type.
7894 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7895 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7896 * sysdeps/i386/fpu/e_powf.S: Likewise.
7897 * sysdeps/i386/fpu/e_expl.S: Likewise.
7898 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7899 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7900 * sysdeps/i386/fpu/e_pow.S: Likewise.
7901 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7902 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7903 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7904 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7905 * sysdeps/i386/fpu/e_log2.S: Likewise.
7906 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7907 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7908 * sysdeps/i386/fpu/e_powl.S: Likewise.
7909 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7910 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7911 * sysdeps/i386/fpu/e_logl.S: Likewise.
7912 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7913 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7914 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7915 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7916 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7917 * sysdeps/i386/fpu/e_log.S: Likewise.
7918 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7919 * sysdeps/i386/fpu/e_logf.S: Likewise.
7920 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7921 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7922 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7923 * sysdeps/i386/fpu/e_log10.S: Likewise.
7924 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7925 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7926 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7927 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7928 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7929 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7930 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7931 * sysdeps/i386/i686/strtok.S: Likewise.
7932 * sysdeps/i386/i386-mcount.S: Likewise.
7933 * sysdeps/i386/strtok.S: Likewise.
7934 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7935 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7936 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7937 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7938 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7939 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7940 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7941 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7942 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7943 * sysdeps/x86_64/_mcount.S: Likewise.
7944 * sysdeps/x86_64/strtok.S: Likewise.
7945 * sysdeps/sh/_mcount.S: Likewise.
7947 2012-08-01 Roland McGrath <roland@hack.frob.com>
7949 * libio/iofopen.c: Include <fcntl.h>.
7950 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7951 (_IO_fopen64, fopen64): Define as aliases.
7952 * libio/iofopen64.c: Include <fcntl.h>.
7953 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7954 Conditionalize body on this.
7955 * sysdeps/wordsize-64/iofopen.c: File removed.
7956 * sysdeps/wordsize-64/iofopen64.c: File removed.
7958 2012-08-01 Marek Polacek <polacek@redhat.com>
7960 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7961 Use dlfcn directly instead of a variable.
7962 (binfmt-subdir): Do not define.
7965 2012-08-01 Joseph Myers <joseph@codesourcery.com>
7967 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7968 Remove all definitions.
7969 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7970 <kernel-features.h>.
7971 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7972 (miss_F_GETOWN_EX): Remove all definitions.
7973 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7975 [!__ASSUME_FCNTL64]: Remove conditional code.
7976 [__ASSUME_FCNTL64]: Make code unconditional.
7977 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7978 <kernel-features.h>.
7979 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7980 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7981 (lockf64) [__NR_fcntl64]: Make code unconditional.
7982 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7984 * sysdeps/unix/sysv/linux/kernel-features.h
7985 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7986 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7987 Make code unconditional.
7988 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7989 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7991 [__NR_vfork]: Make code unconditional.
7992 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7993 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7995 [__NR_vfork]: Make code unconditional.
7996 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7997 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7999 2012-08-01 Roland McGrath <roland@hack.frob.com>
8001 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8002 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8004 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8005 Define mkstemp64 as an alias.
8006 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8007 Define mkstemps64 as an alias.
8008 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8009 Define mkostemp64 as an alias.
8010 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8011 Define mkostemps64 as an alias.
8012 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8013 Conditionalize body on this.
8014 * misc/mkostemp64.c: Likewise.
8015 * misc/mkostemps64.c: Likewise.
8016 * misc/mkstemps64.c: Likewise.
8017 * sysdeps/wordsize-64/mkstemp64.c: File removed.
8018 * sysdeps/wordsize-64/mkostemp64.c: File removed.
8019 * sysdeps/wordsize-64/mkostemp.c: File removed.
8020 * sysdeps/wordsize-64/mkstemp.c: File removed.
8021 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8022 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8023 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8024 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8027 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8028 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8029 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8030 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8032 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8033 compat_symbol macros from <shlib-compat.h> rather than the underlying
8034 default_symbol_version and symbol_version macros, so that DEFAULT
8035 lines in shlib-versions are respected.
8036 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8038 2012-08-01 Florian Weimer <fweimer@redhat.com>
8040 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8041 Declare with warn_unused_result.
8042 (setgid, setregid, setegid, setresgid): Likewise.
8043 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8045 * WUR-REPORT: Remove set*id functions.
8047 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
8049 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8051 2012-07-31 Roland McGrath <roland@hack.frob.com>
8053 * include/sys/socket.h (__libc_accept, __libc_accept4):
8054 Add attribute_hidden.
8055 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8057 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8059 * inet/getnetgrent_r.c (setup): Likewise.
8061 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8063 2012-07-31 David S. Miller <davem@davemloft.net>
8065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8067 2012-07-31 Joseph Myers <joseph@codesourcery.com>
8070 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8071 value between 1.0 and 2.0 and smaller part has absolute value less
8073 * math/s_clog10.c (__clog10): Likewise.
8074 * math/s_clog10f.c (__clog10f): Likewise.
8075 * math/s_clog10l.c (__clog10l): Likewise.
8076 * math/s_clogf.c (__clogf): Likewise.
8077 * math/s_clogl.c (__clogl): Likewise.
8078 * math/libm-test.inc (clog_test): Add more tests.
8079 (clog10_test): Likewise.
8080 * sysdeps/i386/fpu/libm-test-ulps: Update.
8081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8083 2012-07-31 Florian Weimer <fweimer@redhat.com>
8085 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8086 Exit with zero in case no suitable GID is found, and write a
8087 message to standard error.
8089 2012-07-30 Roland McGrath <roland@hack.frob.com>
8091 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8093 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8094 (MAXPATHLEN): Removed.
8095 (NOGROUP, NODEV): New macros.
8096 (setbit, clrbit, isset, isclr): New macros.
8097 (howmany, roundup, powerof2): New macros.
8098 (DEV_BSIZE): New macro.
8100 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8101 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8103 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8104 definition on [!__NO_LONG_DOUBLE_MATH].
8106 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8107 PTR_MANGLE and PTR_DEMANGLE.
8109 * socket/accept4.c (accept4): Rename to __libc_accept4.
8110 Define accept4 as a weak alias.
8112 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8113 on [_DIRENT_HAVE_D_TYPE].
8114 * io/ftw.c (ftw_dir): Likewise.
8116 * io/xmknod.c (__xmknod): Don't check PATH for being null.
8118 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8120 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8121 Use the BSD numbers rather than the arbitrary ones we had.
8122 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8123 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8124 (SIGXCPU, SIGXFSZ): New macros.
8127 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8128 initializer on [_LIBC_REENTRANT].
8130 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8131 definitions inside [_POSIX_MAPPED_FILES].
8133 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8135 * dirent/opendir.c: Include <fcntl.h>.
8137 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8138 (__libc_getspecific): Likewise.
8139 (__libc_key_create): Likewise.
8141 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8142 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8143 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8144 (tmpfile64): Define as alias.
8145 * sysdeps/wordsize-64/tmpfile.c: File removed.
8146 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8147 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8148 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8150 * stdio-common/vfscanf.c: Include <stdbool.h>.
8151 * nss/makedb.c: Likewise.
8152 * stdio-common/_i18n_number.h: Likewise.
8153 * argp/argp-help.c: Likewise.
8154 * posix/wordexp.c: Likewise.
8155 * sysdeps/posix/spawni.c: Likewise.
8156 * nss/nss_files/files-initgroups.c: Likewise.
8157 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8158 * nss/nss_files/files-initgroups.c: Likewise.
8159 * nss/nss_db/db-netgrp.c: Likewise.
8160 * nss/nss_db/db-initgroups.c: Likewise.
8161 * io/fchmodat.c: Include <sys/stat.h>.
8163 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8164 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8166 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8169 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8170 Add multiple inclusion protection.
8172 2012-07-27 David S. Miller <davem@davemloft.net>
8174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8176 2012-07-27 Gary Benson <gbenson@redhat.com>
8179 * elf/rtld.c: Include <stap-probe.h>.
8180 (dl_main): Added static probes "init_start" and "init_complete".
8181 * elf/dl-load.c: Include <stap-probe.h>.
8182 (lose): Take new parameter "nsid".
8183 Added static probe "map_failed".
8184 (_dl_map_object_from_fd): Pass namespace id to lose.
8185 Added static probe "map_start".
8186 (open_verify): Pass namespace id to lose.
8187 * elf/dl-open.c: Include <stap-probe.h>.
8188 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8189 and "reloc_complete".
8190 * elf/dl-close.c: Include <stap-probe.h>.
8191 (_dl_close_worker): Added static probes "unmap_start" and
8193 * elf/rtld-debugger-interface.txt: New file documenting the above.
8195 2012-07-26 Roland McGrath <roland@hack.frob.com>
8197 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8198 rather than a string variable.
8199 * sunrpc/rpc_main.c (h_output): Likewise.
8200 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8202 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8204 * inet/check_native.c: New file.
8206 2012-07-26 Joseph Myers <joseph@codesourcery.com>
8209 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8210 if larger part has absolute value 1.0.
8211 * math/s_clog10.c (__clog10): Likewise.
8212 * math/s_clog10f.c (__clog10f): Likewise.
8213 * math/s_clog10l.c (__clog10l): Likewise.
8214 * math/s_clogf.c (__clogf): Likewise.
8215 * math/s_clogl.c (__clogl): Likewise.
8216 * math/libm-test.inc (clog_test): Add more tests.
8217 (clog10_test): Likewise.
8218 * sysdeps/i386/fpu/libm-test-ulps: Update.
8219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8221 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8222 (pltexit): Likewise.
8223 (La_regs): Likewise.
8224 (La_retval): Likewise.
8225 (int_retval): Likewise.
8226 Update #error for removed macros to refer only to definitions in
8228 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8230 (pltexit): Likewise.
8231 (La_regs): Likewise.
8232 (La_retval): Likewise.
8233 (int_retval): Likewise.
8234 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8236 (pltexit): Likewise.
8237 (La_regs): Likewise.
8238 (La_retval): Likewise.
8239 (int_retval): Likewise.
8240 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8242 (pltexit): Likewise.
8243 (La_regs): Likewise.
8244 (La_retval): Likewise.
8245 (int_retval): Likewise.
8246 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8248 (pltexit): Likewise.
8249 (La_regs): Likewise.
8250 (La_retval): Likewise.
8251 (int_retval): Likewise.
8252 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8254 (pltexit): Likewise.
8255 (La_regs): Likewise.
8256 (La_retval): Likewise.
8257 (int_retval): Likewise.
8258 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8260 (pltexit): Likewise.
8261 (La_regs): Likewise.
8262 (La_retval): Likewise.
8263 (int_retval): Likewise.
8264 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8265 macro definitions in tst-audit.h.
8266 * sysdeps/i386/tst-audit.h: New file.
8267 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8268 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8269 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8270 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8271 * sysdeps/sh/tst-audit.h: Likewise.
8272 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8273 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8274 * sysdeps/x86_64/tst-audit.h: Likewise.
8276 2012-07-26 Andreas Jaeger <aj@suse.de>
8278 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8281 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8282 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8283 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8285 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8286 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8287 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8289 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8292 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8294 (si_call_addr, si_syscall, si_arch): Define new macro.
8295 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8297 (si_call_addr, si_syscall, si_arch): Define new marcro.
8298 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8300 (si_call_addr, si_syscall, si_arch): Define new macro.
8301 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8303 (si_call_addr, si_syscall, si_arch): Define new macro.
8305 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8308 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8309 Change to 2.4.21 where previously 2.4.1.
8310 * sysdeps/unix/sysv/linux/configure: Regenerated.
8311 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8312 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8313 Linux kernel version.
8314 (__ASSUME_STD_AUXV): Remove.
8315 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8317 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8318 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8319 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8320 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8321 (__ASSUME_NETLINK_SUPPORT): Likewise.
8322 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8323 (__no_netlink_support): Remove conditional definition.
8324 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8326 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8327 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8328 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8329 (if_nameindex_ioctl): Remove.
8330 (if_nameindex_netlink): Do not handle __no_netlink_support.
8331 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8333 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8334 Remove conditional code.
8335 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8337 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8339 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8340 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8341 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8343 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8344 [!__ASSUME_STD_AUXV]: Remove conditional code.
8345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8346 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8347 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8349 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8350 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8352 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8354 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8355 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8357 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8359 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8362 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8365 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8367 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8369 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8371 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8374 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8376 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8379 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8381 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8383 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8385 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8388 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8390 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8392 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8394 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8397 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8399 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8400 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8401 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8402 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8403 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8404 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8405 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8406 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8407 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8408 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8409 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8410 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8411 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8412 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8413 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8414 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8415 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8416 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8417 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8419 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8420 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8421 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8423 2012-07-25 Florian Weimer <fweimer@redhat.com>
8425 * Versions.def: Add GLIBC_2.17.
8426 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8427 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8428 Introduce __libc_secure_getenv.
8429 * stdlib/Versions (2.17): Add secure_getenv
8430 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8431 * stdlib/secure-getenv.c: Rename __secure_getenv to
8432 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8433 symbol __secure_getenv for GLIBC_2.0.
8434 * stdlib/tst-secure-getenv.c: New.
8435 * stdlib/Makefile (tests): Add testcase.
8436 * manual/startup.texi (Environment Access): Document
8438 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8439 __libc_secure_getenv.
8440 * inet/ruserpass.c (ruserpass): Likewise.
8441 * malloc/mtrace.c (mtrace): Likewise.
8442 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8443 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8444 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8445 * sysdeps/posix/tempname.c: Likewise. Evaluate
8447 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8448 __secure_getenv to __libc_secure_getenv.
8449 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8456 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8462 2012-07-25 Joseph Myers <joseph@codesourcery.com>
8464 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8465 (struct La_i86_retval): Likewise.
8466 (struct La_x86_64_regs): Likewise.
8467 (struct La_x86_64_retval): Likewise.
8468 (struct La_x32_regs): Likewise.
8469 (struct La_x32_retval): Likewise.
8470 (struct La_ppc32_regs): Likewise.
8471 (struct La_ppc32_retval): Likewise.
8472 (struct La_ppc64_regs): Likewise.
8473 (struct La_ppc64_retval): Likewise.
8474 (struct La_sh_regs): Likewise.
8475 (struct La_sh_retval): Likewise.
8476 (struct La_s390_32_regs): Likewise.
8477 (struct La_s390_32_retval): Likewise.
8478 (struct La_s390_64_regs): Likewise.
8479 (struct La_s390_64_retval): Likewise.
8480 (struct La_sparc32_regs): Likewise.
8481 (struct La_sparc32_retval): Likewise.
8482 (struct La_sparc64_regs): Likewise.
8483 (struct La_sparc64_retval): Likewise.
8484 (struct audit_ifaces): Remove architecture-specific pltenter and
8486 * sysdeps/i386/ldsodefs.h: New file.
8487 * sysdeps/powerpc/ldsodefs.h: Likewise.
8488 * sysdeps/s390/ldsodefs.h: Likewise.
8489 * sysdeps/sh/ldsodefs.h: Likewise.
8490 * sysdeps/sparc/ldsodefs.h: Likewise.
8491 * sysdeps/x86_64/ldsodefs.h: Likewise.
8493 2012-07-25 Marek Polacek <polacek@redhat.com>
8496 * math/libm-test.inc (yn_test): Add another test.
8497 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8498 to ERANGE when the result is +-Inf.
8499 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8500 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8501 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8502 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8504 2012-07-24 Joseph Myers <joseph@codesourcery.com>
8506 * conform/data/time.h-data (NULL): Use macro-constant. Require
8508 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8510 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8512 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8514 * configure.in <sysdeps resolving>: Correct printing
8516 * configure: Regenerate.
8518 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8520 * math/w_ilogb.c: Include <limits.h>.
8521 * math/w_ilogbl.c: Likewise.
8523 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8525 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8526 va_copy. Document allowing for unavailable va_copy only as
8527 pre-C99 compatibility.
8528 * manual/string.texi (Copying and Concatenation): Use va_copy
8529 instead of __va_copy in concat example.
8531 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8533 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8534 (__sendto): Use create_address_port. Initialize APORT and deallocate
8537 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8538 with O_NOLINK passed to __file_name_lookup.
8540 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8541 with O_NOLINK passed to __file_name_lookup.
8543 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8544 negative N or less than NGIDS.
8546 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8547 type to string_t. Set ERANGE as errno and return it if NAME is not big
8548 enough. Use memcpy instead of strncpy.
8550 2012-07-20 Joseph Myers <joseph@codesourcery.com>
8552 * elf/Makefile (check-data): Remove.
8553 (localplt.data): New vpath directive.
8554 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8555 instead of $(check-data).
8556 * scripts/data/localplt-generic.data: Move to ...
8557 * sysdeps/generic/localplt.data: ... here.
8558 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8559 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8560 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8563 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8566 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8569 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8572 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8575 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8579 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8581 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8582 PPC32 and PPC64 files.
8583 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8584 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8586 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8588 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8589 __makecontext_ret to ...
8590 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8591 ... here and call exit if uc_link is NULL. New file.
8592 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8593 __makecontext_ret.S.
8594 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8595 __makecontext_ret to ...
8596 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8597 ... here and call exit if uc_link is NULL. New file.
8598 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8599 __makecontext_ret.S.
8601 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8603 * elf/elf.h (R_390_IRELATIVE): New definition.
8604 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8605 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8606 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8607 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8608 (elf_machine_lazy_rel): Likewise.
8609 * sysdeps/s390/dl-irel.h: New file.
8610 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8611 * sysdeps/s390/s390-64/memset.S: New asm code.
8612 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8613 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8614 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8615 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8616 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8617 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8618 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8619 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8620 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8621 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8622 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8623 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8624 * sysdeps/s390/s390-32/memset.S: New asm code.
8625 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8627 2012-07-17 Marek Polacek <polacek@redhat.com>
8630 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8631 * sysdeps/s390/s390-64/configure.in: Likewise.
8632 * sysdeps/sparc/configure.in: Likewise.
8633 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8634 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8635 * sysdeps/i386/configure.in: Likewise.
8636 * sysdeps/x86_64/configure.in: Likewise.
8637 * sysdeps/sh/configure.in: Likewise.
8638 * sysdeps/s390/s390-32/configure: Regenerated.
8639 * sysdeps/s390/s390-64/configure: Likewise.
8640 * sysdeps/x86_64/configure: Likewise.
8641 * sysdeps/sh/configure: Likewise.
8642 * sysdeps/powerpc/powerpc64/configure: Likewise.
8643 * sysdeps/powerpc/powerpc32/configure: Likewise.
8644 * sysdeps/sparc/configure: Likwise.
8645 * sysdeps/i386/configure: Likewise.
8647 * elf/dl-open.c: Comment fixes.
8649 2012-07-17 Joseph Myers <joseph@codesourcery.com>
8651 * Makefile [CXX] (check-data): Remove.
8652 [CXX] (c++-types.data): New vpath directive.
8653 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8654 vpath. Do not allow for C++ type data being missing.
8655 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8656 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8657 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8658 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8659 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8660 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8661 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8664 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8667 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8670 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8673 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8676 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8679 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8682 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8685 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8686 definitions to architecture-specific files.
8690 * sysdeps/i386/tls-macros.h: New file.
8691 * sysdeps/powerpc/tls-macros.h: Likewise.
8692 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8693 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8694 * sysdeps/sh/tls-macros.h: Likewise.
8695 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8696 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8697 * sysdeps/x86_64/tls-macros.h: Likewise.
8699 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8701 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8702 zero value for regular exit case.
8704 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8705 (__start_context): Preserve zero value for regular exit case.
8707 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8708 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8710 * manual/setjmp.texi (setcontext): Clarify normal process
8711 termination when uc_link is the null pointer.
8712 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8715 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8717 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8718 preprocessor. Test for each exception mask separately.
8720 2012-07-16 Andreas Jaeger <aj@suse.de>
8722 * po/ru.po: Update from translation team.
8724 2012-07-15 Joseph Myers <joseph@codesourcery.com>
8726 * conform/data/string.h-data (NULL): Use macro-constant. Require
8728 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8729 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8730 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8731 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8732 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8734 2012-07-13 Andreas Jaeger <aj@suse.de>
8736 * po/fr.po: Update from translation team.
8738 2012-07-12 Marek Polacek <polacek@redhat.com>
8741 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8742 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8745 2012-07-12 Joseph Myers <joseph@codesourcery.com>
8748 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8749 Change to 2.4.1 where previously 2.4.0.
8750 * sysdeps/unix/sysv/linux/configure: Regenerated.
8751 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8752 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8754 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8755 (__ASSUME_AT_CLKTCK): Remove.
8756 (__ASSUME_AT_PAGESIZE): Likewise.
8757 (__ASSUME_AT_XID): Likewise.
8758 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8759 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8760 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8762 (HAVE_AUX_PAGESIZE): Likewise.
8763 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8764 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8765 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8767 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8771 the temporary buffer used to invoke __gethostbyname2_r,
8772 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8773 host_data / struct gaih_addrtuple.
8774 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8775 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8776 header file nss/nsswitch.h.
8777 * nss/nsswitch.h (global scope): Add definition of implementation
8778 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8779 resolv/nss_dns/dns-host.c).
8781 2012-07-11 Andreas Jaeger <aj@suse.de>
8783 * po/fr.po: Update from translation team.
8785 * po/sv.po: Update from translation team
8786 * po/fr.po: Another update from translation team.
8788 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8790 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8791 for subnormals or multiply small sinh result by itself.
8792 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8795 2012-07-11 David S. Miller <davem@davemloft.net>
8797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8799 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8802 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8803 (INTERNAL_MARK): Shift it here.
8805 2012-07-10 Marek Polacek <polacek@redhat.com>
8808 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8809 libc_cv_asm_global_directive with .globl.
8810 * configure: Regenerated.
8811 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8813 * sysdeps/i386/configure: Regenerated.
8814 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8816 * sysdeps/x86_64/configure: Regenerated.
8817 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8818 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8819 * elf/tst-unique2mod2.c: Likewise.
8820 * elf/tst-unique2mod1.c: Likewise.
8821 * elf/tst-unique1mod2.c: Likewise.
8822 * elf/tst-unique1mod1.c: Likewise.
8823 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8824 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8825 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8826 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8827 * sysdeps/mach/sysdep.h: Likewise.
8828 * sysdeps/i386/sysdep.h: Likewise.
8829 * sysdeps/i386/i386-mcount.S: Likewise.
8830 * sysdeps/x86_64/_mcount.S: Likewise.
8831 * sysdeps/x86_64/sysdep.h: Likewise.
8832 * sysdeps/sh/_mcount.S: Likewise.
8833 * sysdeps/sh/sysdep.h: Likewise.
8834 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8835 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8836 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8837 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8838 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8839 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8840 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8841 * locale/localeinfo.h: Likewise.
8842 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8843 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8845 2012-07-09 Roland McGrath <roland@hack.frob.com>
8848 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8850 * manual/message.texi (The Uniforum approach): Likewise.
8851 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8852 (glibc iconv Implementation): Likewise.
8854 2012-07-09 Joseph Myers <joseph@codesourcery.com>
8857 * math/s_clog.c (__clog): Avoid scaling a value down where that
8858 could result in underflow.
8859 * math/s_clog10.c (__clog10): Likewise.
8860 * math/s_clog10f.c (__clog10f): Likewise.
8861 * math/s_clog10l.c (__clog10l): Likewise.
8862 * math/s_clogf.c (__clogf): Likewise.
8863 * math/s_clogl.c (__clogl): Likewise.
8864 * math/libm-test.inc (clog_test): Add more tests.
8865 (clog10_test): Likewise.
8866 * sysdeps/i386/fpu/libm-test-ulps: Update.
8867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8869 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8872 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8873 by 7 not 8 to examine high bit of fractional part.
8876 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8877 for call to __mcount_internal.
8878 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8879 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8880 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8882 2012-07-06 Joseph Myers <joseph@codesourcery.com>
8885 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8886 approximation for values within 0x1p-13f of an odd multiple of
8888 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8889 exception. Add more tests.
8890 * sysdeps/i386/fpu/libm-test-ulps: Update.
8893 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8894 inputs and return -1 for them. Do not check for +Inf in case not
8896 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8897 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8898 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8899 and return -1 for them. Do not check for +Inf in case not
8901 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8903 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8904 and return -1 for them. Do not check for +Inf in case not
8906 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8908 * sysdeps/i386/fpu/libm-test-ulps: Update.
8909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8911 2012-07-06 Mike Frysinger <vapier@gentoo.org>
8913 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8915 2012-07-05 Joseph Myers <joseph@codesourcery.com>
8919 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8920 could result in spurious underflow. Scale down values above
8921 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8922 * math/s_csqrtf.c (__csqrtf): Likewise.
8923 * math/s_csqrtl.c (__csqrtl): Likewise.
8924 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8926 * sysdeps/i386/fpu/libm-test-ulps: Update.
8927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8929 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8931 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8933 * catgets/xopen-msg.awk: New file.
8934 * catgets/xopen-msg.sed: Removed.
8936 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8938 * intl/po2test.awk: New file.
8939 * intl/po2test.sed: Removed.
8941 2012-07-04 Joseph Myers <joseph@codesourcery.com>
8944 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8945 or multiply small sinh result by itself.
8946 * math/s_ctanf.c (__ctanf): Likewise.
8947 * math/s_ctanh.c (__ctanh): Likewise.
8948 * math/s_ctanhf.c (__ctanhf): Likewise.
8949 * math/s_ctanhl.c (__ctanhl): Likewise.
8950 * math/s_ctanl.c (__ctanl): Likewise.
8951 * math/libm-test.inc (ctan_test_tonearest): New function.
8952 (ctan_test_towardzero): Likewise.
8953 (ctan_test_downward): Likewise.
8954 (ctan_test_upward): Likewise.
8955 (ctanh_test_tonearest): Likewise.
8956 (ctanh_test_towardzero): Likewise.
8957 (ctanh_test_downward): Likewise.
8958 (ctanh_test_upward): Likewise.
8959 (main): Call these new functions.
8960 * sysdeps/i386/fpu/libm-test-ulps: Update.
8961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8963 2012-07-03 Mike Frysinger <vapier@gentoo.org>
8965 * .gitignore: Delete /ports entry.
8967 2012-07-03 Andreas Jaeger <aj@suse.de>
8969 * po/bg.po: Update from translation team.
8970 * po/cs.po: Likewise.
8971 * po/de.po: Likewise.
8972 * po/hr.po: Likewise.
8973 * po/nl.pl: Likewise.
8974 * po/pl.po: Likewise.
8975 * po/vi.po: Likewise.
8977 2012-07-03 Joseph Myers <joseph@codesourcery.com>
8979 * Makeconfig [!+link] (+link-before-libc): New variable.
8980 [!+link] (+link-after-libc): Likewise.
8981 [!+link] (+link-tests): Likewise.
8982 [!+link] (+link): Define in terms of $(+link-before-libc) and
8983 $(+link-after-libc).
8984 [!+link-static] (+link-static-before-libc): New variable.
8985 [!+link-static] (+link-static-after-libc): Likewise.
8986 [!+link-static] (+link-static-tests): Likewise.
8987 [!+link-static] (+link-static): Define in terms of
8988 $(+link-static-before-libc) and $(+link-static-after-libc).
8989 [build-shared] (link-libc-before-gnulib): New variable.
8990 [build-shared] (link-libc-tests): Likewise.
8991 [build-shared] (link-libc): Define in terms of
8992 $(link-libc-before-gnulib).
8993 [!build-shared] (link-libc-tests): New variable.
8994 (link-libc-static-tests): New variable.
8995 [!gnulib] (gnulib-arch): New variable.
8996 [!gnulib] (gnulib-tests): Likewise.
8997 [!gnulib] (static-gnulib-arch): Likewise.
8998 [!gnulib] (static-gnulib-tests): Likewise.
8999 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
9000 Define with "=" instead of ":=".
9001 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
9002 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
9003 * Rules (binaries-all-notests): New variable.
9004 (binaries-all-tests): Likewise.
9005 (binaries-static-notests): Likewise.
9006 (binaries-static-tests): Likewise.
9007 (binaries-all): Define using $(binaries-all-notests) and
9008 $(binaries-all-tests).
9009 (binaries-static): Define using $(binaries-static-notests) and
9010 $(binaries-static-tests).
9011 (binaries-shared-tests): New variable.
9012 (binaries-shared-notests): Likewise.
9013 (binaries-shared): Remove variable.
9014 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9015 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9016 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9017 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9018 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9019 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9020 * elf/Makefile (sln-modules): New variable.
9021 (extra-objs): Add $(sln-modules:=.o).
9022 (ldconfig-modules): Add static-stubs.
9023 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9024 * elf/static-stubs.c: New file.
9027 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9028 by 7 not 8 to examine high bit of fractional part. Use volatile
9029 variables when splitting into final array of floats if
9030 __FLT_EVAL_METHOD__ != 0.
9031 * math/libm-test.inc (cos_test): Add another test.
9032 (sin_test): Likewise.
9033 * sysdeps/i386/fpu/libm-test-ulps: Update.
9036 * math/libm-test.inc (cosh_test): Add more tests.
9038 * version.h (RELEASE): Set to "development".
9039 (VERSION): Set to "2.16.90".
9041 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
9043 * NEWS: Update copyright. Remove last-updated date.
9044 Mention math library bug fixes and timezone data changes.
9045 * README: Mention GNU/Hurd, x32, and HPPA support status.
9047 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
9049 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9051 2012-06-27 Andreas Jaeger <aj@suse.de>
9053 * manual/contrib.texi (Contributors): Add Samuel Thibault.
9055 2012-06-25 Andreas Jaeger <aj@suse.de>
9057 * sysdeps/s390/fpu/libm-test-ulps: Update.
9059 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
9060 Thomas Schwinge <thomas@codesourcery.com>
9062 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9063 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9064 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9067 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
9069 * sysdeps/mach/start.c: Remove file.
9070 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9071 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9072 * sysdeps/sh/init-first.c: Likewise.
9074 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9075 registers for frame unwinding purposes, add CFI directives.
9076 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9077 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9078 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9081 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9082 __fortify_fail returning.
9083 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9085 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9086 sysdeps/sh/____longjmp_chk.S.
9087 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9088 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9089 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9090 (gen-as-const-headers): Append sigaltstack-offsets.sym.
9092 * sysdeps/sh/abort-instr.h: New file.
9093 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9094 process in case exit returns.
9096 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9097 initialize the GOT register before use.
9099 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9100 calculation of ARGC > 4.
9102 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9103 meaningful names to some local labels.
9105 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9106 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9108 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9109 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9110 (__arch_compare_and_exchange_val_16_acq): Likewise.
9111 (__arch_compare_and_exchange_val_32_acq): Likewise.
9112 (atomic_exchange_and_add): Fix gUSA sequence.
9113 (atomic_add): Likewise.
9114 (atomic_add_negative): Likewise.
9115 (atomic_add_zero): Likewise.
9116 (atomic_bit_test_set): Likewise.
9118 2012-06-22 Andreas Schwab <schwab@redhat.com>
9121 * include/link.h (struct link_map): Add l_free_initfini.
9122 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9124 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9125 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9126 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9129 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9131 * configure.in: Use AC_LANG_SOURCE.
9132 * configure: Regenerate.
9134 2012-06-22 Roland McGrath <roland@hack.frob.com>
9136 * configure.in (libc_cv_localstatedir): New substituted variable.
9137 * configure: Regenerated.
9138 * config.make.in (localstatedir): New variable, substituted from
9139 libc_cv_localstatedir.
9140 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9141 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9142 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9143 * sysdeps/gnu/configure: Regenerated.
9145 2012-06-21 Jeff Law <law@redhat.com>
9148 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9149 free. Simplify list management for _LIBC case.
9151 2012-06-21 Joseph Myers <joseph@codesourcery.com>
9154 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9155 Clear sign bit of 64-bit integer value before comparing against
9158 * sysdeps/mach/configure: Regenerated.
9160 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9163 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9165 2012-06-21 Jeff Law <law@redhat.com>
9168 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9169 uint16_t for elements in the "seen" array to avoid char overflows.
9170 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9171 * elf/dl-open.c (dl_open_worker): Likewise.
9173 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9175 * scripts/list-sources.sh: Scan PORTS for translations.
9176 * po/libc.pot: Regenerated.
9178 2012-06-21 Andreas Jaeger <aj@suse.de>
9181 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9183 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9184 * bits/byteswap-16.h (__bswap_16): Likewise.
9185 * bits/byteswap.h (__bswap_constant_16): Likewise.
9187 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9190 * sysdeps/i386/fpu_control.h: Removed.
9191 * sysdeps/x86_64/fpu_control.h: Moved to ...
9192 * sysdeps/x86/fpu_control.h: Here.
9194 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9195 (_FPU_SETCW): Likewise.
9197 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9200 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9201 * sysdeps/x86/fpu/bits/mathinline.h: This.
9202 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9206 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9207 functions if __x86_64__ is defined.
9209 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9211 * string/endian.h: Add !__ASSEMBLER__ condition for including
9212 conversion interfaces.
9214 2012-06-15 Joseph Myers <joseph@codesourcery.com>
9217 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9218 of ABS(x) in calculating zero to negative powers other than odd
9220 * math/libm-test.inc (pow_test): Add more tests.
9222 2012-06-15 Andreas Jaeger <aj@suse.de>
9224 * manual/contrib.texi (Contributors): Update entry of Liubov
9225 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9228 2012-06-15 Cyril Hrubis <metan@ucw.cz>
9230 * string/string.h: Add __wur to GNU version of strerror_r.
9232 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9235 * string/Makefile (tests): Add tst-strtok_r.
9236 * string/tst-strtok_r.c: New file.
9237 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9238 RAX_LP/RDX_LP on SAVE_PTR.
9240 2012-06-14 Roland McGrath <roland@hack.frob.com>
9242 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9244 2012-06-14 Joseph Myers <joseph@codesourcery.com>
9246 * libm_test.inc (csqrt_test): Allow more spurious underflow
9248 (j0_test): Likewise.
9249 (j1_test): Likewise.
9250 (y0_test): Likewise.
9251 (y1_test): Likewise.
9253 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9255 * po/Makefile (libc.pot): Use UTF-8 charset.
9257 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9260 Suppress sign-conversion warning from FD_SET.
9261 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9262 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9263 not unsigned long int.
9264 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9266 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9270 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9271 __extern_always_inline instead of __extern_inline.
9272 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9273 (__signbit): Likewise.
9274 (__signbitl): Support C++ namespace.
9275 (lrintf): New inline function.
9277 (llrintf): Likewise.
9289 (nearbyint): Likewise.
9290 (nearbyintf): Likewise.
9292 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9294 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9295 non-default versions.
9297 2012-06-11 Roland McGrath <roland@hack.frob.com>
9300 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9302 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9304 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9305 (FE_UPWARD, FE_DOWNWARD): Don't define.
9306 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9307 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9309 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9311 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9312 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9314 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9316 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9317 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9318 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9319 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9321 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9324 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9325 * sysdeps/i386/fpu/Implies: New file.
9326 * sysdeps/x86_64/fpu/Implies: Likewise.
9327 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9328 * sysdeps/x86/fpu/bits/fenv.h: This.
9330 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9333 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9336 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9337 character 0xffff that matches the last element of the
9340 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9342 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9345 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9347 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9348 values higher than 25.6283.
9350 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9352 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9353 subnormal exponent extraction and add some __builtin_expect.
9354 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9355 Fix for subnormal mantissa calculation.
9357 2012-06-04 Mike Frysinger <vapier@gentoo.org>
9359 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9360 cpu2 is -1 and errno is not ENOSYS.
9362 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9365 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9366 * sysdeps/x86/bits/string.h: This.
9367 * sysdeps/x86_64/bits/string.h: Removed.
9369 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9370 if not compiling for x86-64, but compiling for >= i486.
9372 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9373 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9375 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9376 New macro from Linux kernel 3.4.0.
9377 (FP_XSTATE_MAGIC2): Likewise.
9378 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9379 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9380 (struct _fpx_sw_bytes): New struct.
9381 (struct _xsave_hdr): Likewise.
9382 (struct _ymmh_state): Likewise.
9383 (struct _xstate): Likewise.
9385 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9386 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9387 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9388 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9389 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9390 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9392 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9393 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9394 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9395 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9396 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9397 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9399 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9402 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9403 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9404 (sysdep_headers): Include sys/platform/ppc.h.
9405 * sysdeps/powerpc/test-gettimebase.c: Test for
9406 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9407 * manual/Makefile (appendices): Include platform.texi.
9408 * manual/contrib.texi (Contributors): Update @node pointers.
9409 * manual/maint.texi (Maintenance): Likewise.
9410 (Platform): New node.
9411 * manual/platform.texi: New file. Document the new features.
9413 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9414 Jakub Jelinek <jakub@redhat.com>
9417 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9418 where __builtin_expect is unavailable.
9420 2012-06-03 David S. Miller <davem@davemloft.net>
9422 * stdlib/longlong.h: Updated from GCC.
9424 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9427 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9428 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9431 (GLIBC_2.16): Likewise.
9433 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9435 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9437 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9440 (default-abi): New variable.
9441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9442 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9444 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9446 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9448 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9451 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9452 definition. Document in comment.
9454 2012-06-01 David S. Miller <davem@davemloft.net>
9456 * stdlib/longlong.h: Updated from GCC.
9458 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9461 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9462 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9463 sys/debugreg.h sys/io.h here.
9464 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9465 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9467 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9468 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9469 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9470 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9471 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9472 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9474 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9475 Define only if __x86_64__ is defined.
9477 2012-06-01 Joseph Myers <joseph@codesourcery.com>
9480 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9481 Use int64_t for variable i.
9482 * math/libm-test.inc (fmod_test): Add more tests.
9484 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9485 z computation is not scheduled after fetestexcept.
9486 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9487 Use math_force_eval instead of asm to ensure calculation scheduled
9488 before exception test.
9489 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9490 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9492 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9495 computation is not scheduled after fetestexcept.
9497 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9500 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9501 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9503 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9505 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9506 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9508 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9511 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9513 (__WCHAR_MIN): Support __WORDSIZE == 64.
9514 (__WCHAR_MAX): Likewise.
9516 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9517 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9520 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9521 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9524 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9525 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9527 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9528 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9530 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9531 Defined to 1 if __x86_64__ isn't defined.
9532 (_STAT_VER_LINUX_OLD): New.
9533 (st_atime): Remove duplicate.
9534 (st_mtime): Likewise.
9535 (st_ctime): Likewise.
9537 2012-05-31 David S. Miller <davem@davemloft.net>
9539 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9542 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9544 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9548 * elf/dl-reloc.c: Include <_itoa.h>.
9549 (_dl_reloc_bad_type): Remove use of INTUSE.
9550 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9551 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9552 * stdio-common/psiginfo.c (psiginfo): Likewise.
9553 * stdio-common/psignal.c (psignal): Likewise.
9554 * string/strsignal.c (strsignal): Likewise.
9555 * include/signal.h (_sys_siglist): Declare hidden proto.
9556 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9557 INTVARDEF with libc_hidden_data_def.
9558 * stdio-common/itoa-udigits.c: Likewise.
9559 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9560 (_itoa_lower_digits_internal): Remove declaration.
9561 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9562 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9563 (_sys_sigabbrev_internal): Remove aliases.
9564 (_sys_siglist): Define hidden alias.
9566 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9571 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9574 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9575 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9577 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9578 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9579 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9580 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9581 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9582 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9584 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9585 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9586 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9588 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9596 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9597 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9598 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9600 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9601 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9602 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9603 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9604 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9605 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9607 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9608 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9610 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9611 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9613 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9614 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9615 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9617 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9618 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9620 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9622 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9623 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9624 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9626 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9628 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9630 2012-05-31 Joseph Myers <joseph@codesourcery.com>
9632 * math/math.h (M_El): Use two more decimal places.
9633 (M_LOG2El): Likewise.
9634 (M_LOG10El): Likewise.
9636 (M_LN10l): Likewise.
9638 (M_PI_2l): Likewise.
9639 (M_PI_4l): Likewise.
9640 (M_1_PIl): Likewise.
9641 (M_2_PIl): Likewise.
9642 (M_2_SQRTPIl): Likewise.
9643 (M_SQRT2l): Likewise.
9644 (M_SQRT1_2l): Likewise.
9646 2012-05-31 David S. Miller <davem@davemloft.net>
9648 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9649 values between float registers.
9650 * sysdeps/sparc/sparc64/memset.S: Likewise.
9651 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9653 2012-05-31 Mike Frysinger <vapier@gentoo.org>
9655 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9656 -D_FORTIFY_SOURCE=1.
9657 (CPPFLAGS-tst-longjmp_chk.c): Define.
9658 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9659 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9660 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9661 CFLAGS-tst-wchar-h.c.
9663 2012-05-31 Marek Polacek <polacek@redhat.com>
9666 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9667 __endmntent_internal): Remove declaration.
9668 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9669 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9670 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9672 2012-05-30 David S. Miller <davem@davemloft.net>
9674 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9675 (___Q_simulate_exceptions): Use real FP ops rather than writing
9677 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9680 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9683 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9684 * sysdeps/x86/bits/xtitypes.h: This.
9686 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9687 * sysdeps/x86/bits/wordsize.h: This.
9689 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9690 * sysdeps/x86/bits/huge_vall.h: This.
9692 * sysdeps/i386/bits/select.h: Removed.
9693 * sysdeps/x86_64/bits/select.h: Renamed to ...
9694 * sysdeps/x86/bits/select.h: This.
9696 * sysdeps/i386/bits/setjmp.h: Removed.
9697 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9698 * sysdeps/x86/bits/setjmp.h: This.
9700 * sysdeps/i386/bits/mathdef.h: Removed.
9701 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9702 * sysdeps/x86/bits/mathdef.h: This.
9704 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9707 * include/sys/socket.h (__connect_internal)
9708 (__libc_sa_len_internal): Remove declaration.
9709 (__connect, __libc_sa_len): Declare hidden_proto.
9710 (SA_LEN): Remove use of INTUSE.
9711 * socket/connect.c: Add libc_hidden_def.
9712 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9713 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9714 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9716 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9717 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9718 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9719 of adding _internal alias.
9721 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9724 * sysdeps/i386/bits/link.h: Removed.
9725 * sysdeps/i386/bits/linkmap.h: Likewise.
9726 * sysdeps/x86_64/bits/link.h: Renamed to ...
9727 * sysdeps/x86/bits/link.h: This.
9728 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9729 * sysdeps/x86/bits/linkmap.h: This.
9731 * sysdeps/i386/bits/endian.h: Removed.
9732 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9733 * sysdeps/x86/bits/endian.h: This.
9735 * sysdeps/i386/bits/byteswap.h: Removed.
9736 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9737 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9738 * sysdeps/x86/bits/byteswap.h: This.
9739 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9740 * sysdeps/x86/bits/byteswap-16.h: This.
9741 * sysdeps/i386/Implies: Add x86.
9742 * sysdeps/x86_64/Implies: Likewise.
9744 2012-05-30 David S. Miller <davem@davemloft.net>
9746 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9747 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9748 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9749 (FP_TRAPPING_EXCEPTIONS): Define.
9750 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9751 (FP_TRAPPING_EXCEPTIONS): Define.
9752 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9753 subnormals only when inexact has been signalled or underflow
9754 exceptions are enabled.
9755 (_FP_PACK_CANONICAL): Likewise.
9757 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9760 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9761 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9763 2012-05-30 Richard Henderson <rth@twiddle.net>
9765 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9766 with #ifndef NOT_IN_libc.
9768 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9769 marked to avoid plt entry.
9771 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9774 * Makeconfig (default-abi): New macro.
9775 (abi-includes): Likewise.
9776 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9777 $(abi-$(default-abi)-lib-soname) for soname if defined.
9778 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9780 * Makefile (installed-stubs): Likewise.
9781 * include/stubs-biarch.h: Removed.
9782 * scripts/lib-names.awk: Only handle one library at a time.
9783 * scripts/soversions.awk: Remove WORDSIZE support.
9784 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9786 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9788 (syscall-list-default-condition): Likewise.
9789 (syscall-list-default-condition): Likewise.
9790 (syscall-list-includes): Likewise.
9791 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9792 syscall-list-* with abi-*. Handle undefined abi-variants.
9793 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9794 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9795 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9796 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9797 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9798 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9800 (syscall-list-32-options): Likewise.
9801 (syscall-list-32-condition): Likewise.
9802 (syscall-list-64-options): Likewise.
9803 (syscall-list-64-condition): Likewise.
9804 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9806 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9809 (abi-64-ld-soname): New macro.
9810 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9811 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9814 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9815 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9817 2012-05-30 Joseph Myers <joseph@codesourcery.com>
9819 * sysdeps/unix/sysv/linux/kernel-features.h
9820 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9821 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9822 include <kernel-features.h>.
9823 [!__NR_ftruncate64]: Remove conditional code.
9824 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9825 [__NR_ftruncate64]: Make code unconditional.
9826 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9827 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9828 include <kernel-features.h>.
9829 [!__NR_ftruncate64]: Remove conditional code.
9830 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9831 [__NR_ftruncate64]: Make code unconditional.
9832 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9834 include <kernel-features.h>.
9835 [!__NR_ftruncate64]: Remove conditional code.
9836 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9837 [__NR_ftruncate64]: Make code unconditional.
9838 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9840 include <kernel-features.h>.
9841 [!__NR_ftruncate64]: Remove conditional code.
9842 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9843 [__NR_ftruncate64]: Make code unconditional.
9844 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9846 * configure.in (libc_cv_fpie): Weaken to a compile test using
9848 * configure: Regenerated.
9850 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9865 2012-05-27 David S. Miller <davem@davemloft.net>
9867 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9869 (__Q_simulate_exceptions): Return void. Change to simulate
9870 exceptions by writing into the %fsr.
9871 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9872 (__Qp_handle_exceptions): Likewise.
9874 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9875 __Qp_handle_exceptions.
9876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9877 __Qp_handle_exceptions.
9878 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9879 as unused and give dummy FP_RND_NEAREST initializer.
9880 (FP_INHIBIT_RESULTS): Define.
9881 (___Q_simulate_exceptions): Update declaration.
9882 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9884 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9885 as unused and give dummy FP_RND_NEAREST initializer.
9886 (__Qp_handle_exceptions): Update declaration.
9887 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9890 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9892 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9893 the temporary FPU control word.
9894 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9895 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9896 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9897 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9898 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9899 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9900 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9901 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9902 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9903 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9904 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9906 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9908 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9911 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9913 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9914 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9915 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9916 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9918 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9919 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9922 2012-05-27 Ulrich Drepper <drepper@gmail.com>
9924 * po/h.po: Update from translation team.
9926 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9928 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9930 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9931 handling of denormals.
9932 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9933 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9934 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9935 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9936 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9937 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9938 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9941 2012-05-26 Marek Polacek <polacek@redhat.com>
9944 * math/libm-test.inc (fma_test): Don't always expect underflow
9947 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9950 * elf/tst-execstack.c: Include stackinfo.h.
9951 (do_test): Adjust test case to ensure that pthread_getattr_np
9952 behaviour remains the same after marking stack executable.
9954 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9956 * sysdeps/unix/sysv/linux/kernel-features.h
9957 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9958 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9960 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9961 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9962 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9964 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9965 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9967 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9969 * configure.in: Define the default includes to being none.
9970 * configure: Regenerated.
9972 2012-05-25 Roland McGrath <roland@hack.frob.com>
9974 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9975 * sysdeps/x86_64/setjmp.S: Likewise.
9976 * sysdeps/i386/bsd-setjmp.S: Likewise.
9977 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9978 * sysdeps/i386/setjmp.S: Likewise.
9979 * sysdeps/i386/__longjmp.S: Likewise.
9980 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9981 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9983 * include/stap-probe.h: New file.
9984 * configure.in: Handle --enable-systemtap.
9985 * configure: Regenerated.
9986 * config.h.in (USE_STAP_PROBE): New #undef.
9987 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9988 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9989 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9991 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9994 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9995 to 2.4.0 where earlier.
9996 * sysdeps/unix/sysv/linux/configure: Regenerated.
9997 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9998 <kernel-features.h>.
9999 [__ASSUME_32BITUIDS]: Make code unconditional.
10000 [!__ASSUME_32BITUIDS]: Remove conditional code.
10001 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10002 <kernel-features.h>.
10003 [__ASSUME_32BITUIDS]: Make code unconditional.
10004 [!__ASSUME_32BITUIDS]: Remove conditional code.
10005 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10006 [__ASSUME_32BITUIDS]: Make code unconditional.
10007 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10008 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10009 <kernel-features.h>.
10010 [__ASSUME_32BITUIDS]: Make code unconditional.
10011 [!__ASSUME_32BITUIDS]: Remove conditional code.
10012 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10013 <kernel-features.h>.
10014 [__ASSUME_32BITUIDS]: Make code unconditional.
10015 [!__ASSUME_32BITUIDS]: Remove conditional code.
10016 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10017 <kernel-features.h>.
10018 [__ASSUME_32BITUIDS]: Make code unconditional.
10019 [!__ASSUME_32BITUIDS]: Remove conditional code.
10020 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10021 <kernel-features.h>.
10022 [__ASSUME_32BITUIDS]: Make code unconditional.
10023 [!__ASSUME_32BITUIDS]: Remove conditional code.
10024 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10025 <kernel-features.h>.
10026 [__ASSUME_32BITUIDS]: Make code unconditional.
10027 [!__ASSUME_32BITUIDS]: Remove conditional code.
10028 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10029 <kernel-features.h>.
10030 [__ASSUME_32BITUIDS]: Make code unconditional.
10031 [!__ASSUME_32BITUIDS]: Remove conditional code.
10032 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10033 <kernel-features.h>.
10034 [__ASSUME_32BITUIDS]: Make code unconditional.
10035 [!__ASSUME_32BITUIDS]: Remove conditional code.
10036 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10037 <kernel-features.h>.
10038 [__ASSUME_32BITUIDS]: Make code unconditional.
10039 [!__ASSUME_32BITUIDS]: Remove conditional code.
10040 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10041 <kernel-features.h>.
10042 [__ASSUME_32BITUIDS]: Make code unconditional.
10043 [!__ASSUME_32BITUIDS]: Remove conditional code.
10044 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10045 <kernel-features.h>.
10046 [__ASSUME_32BITUIDS]: Make code unconditional.
10047 [!__ASSUME_32BITUIDS]: Remove conditional code.
10048 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10049 <kernel-features.h>.
10050 [__NR_setresgid] (__setresgid): Do not declare.
10051 [__ASSUME_32BITUIDS]: Make code unconditional.
10052 [!__ASSUME_32BITUIDS]: Remove conditional code.
10053 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10054 <kernel-features.h>.
10055 [__NR_setresuid] (__setresuid): Do not declare.
10056 [__ASSUME_32BITUIDS]: Make code unconditional.
10057 [!__ASSUME_32BITUIDS]: Remove conditional code.
10058 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10059 <kernel-features.h>.
10060 [__ASSUME_32BITUIDS]: Make code unconditional.
10061 [!__ASSUME_32BITUIDS]: Remove conditional code.
10062 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10063 <kernel-features.h>.
10064 [__ASSUME_32BITUIDS]: Make code unconditional.
10065 [!__ASSUME_32BITUIDS]: Remove conditional code.
10066 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10067 <kernel-features.h>.
10068 [__ASSUME_32BITUIDS]: Make code unconditional.
10069 [!__ASSUME_32BITUIDS]: Remove conditional code.
10070 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10071 <kernel-features.h>.
10072 [__ASSUME_32BITUIDS]: Make code unconditional.
10073 [!__ASSUME_32BITUIDS]: Remove conditional code.
10074 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10075 <kernel-features.h>.
10076 [__ASSUME_32BITUIDS]: Make code unconditional.
10077 [!__ASSUME_32BITUIDS]: Remove conditional code.
10078 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10079 <kernel-features.h>.
10080 [__ASSUME_32BITUIDS]: Make code unconditional.
10081 [!__ASSUME_32BITUIDS]: Remove conditional code.
10082 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10083 <kernel-features.h>.
10084 [__ASSUME_32BITUIDS]: Make code unconditional.
10085 [!__ASSUME_32BITUIDS]: Remove conditional code.
10086 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10087 <kernel-features.h>.
10088 [__ASSUME_32BITUIDS]: Make code unconditional.
10089 [!__ASSUME_32BITUIDS]: Remove conditional code.
10090 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10091 <kernel-features.h>.
10092 [__ASSUME_32BITUIDS]: Make code unconditional.
10093 [!__ASSUME_32BITUIDS]: Remove conditional code.
10094 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10095 <kernel-features.h>.
10096 [__ASSUME_32BITUIDS]: Make code unconditional.
10097 [!__ASSUME_32BITUIDS]: Remove conditional code.
10098 * sysdeps/unix/sysv/linux/kernel-features.h
10099 (__ASSUME_SETRESUID_SYSCALL): Remove.
10100 (__ASSUME_SETRESGID_SYSCALL): Likewise.
10101 (__ASSUME_32BITUIDS): Likewise.
10102 (__ASSUME_LDT_WORKS): Likewise.
10103 (__ASSUME_O_DIRECTORY): Likewise.
10104 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10105 architecture but not kernel version.
10106 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10107 (__ASSUME_MMAP2_SYSCALL): Likewise.
10108 (__ASSUME_STAT64_SYSCALL): Likewise.
10109 (__ASSUME_IPC64): Likewise.
10110 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10111 <kernel-features.h>.
10112 [__ASSUME_32BITUIDS]: Make code unconditional.
10113 [!__ASSUME_32BITUIDS]: Remove conditional code.
10114 * sysdeps/unix/sysv/linux/opendir.c: Do not include
10115 <kernel-features.h>.
10116 [__ASSUME_O_DIRECTORY]: Make code unconditional.
10117 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10118 132096]: Remove conditional code.
10119 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10120 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10121 <kernel-features.h>.
10122 [__ASSUME_32BITUIDS]: Make code unconditional.
10123 [!__ASSUME_32BITUIDS]: Remove conditional code.
10124 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10125 <kernel-features.h>.
10126 [__ASSUME_32BITUIDS]: Make code unconditional.
10127 [!__ASSUME_32BITUIDS]: Remove conditional code.
10128 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10129 <kernel-features.h>.
10130 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10132 (__setresgid): Do not declare.
10133 [__ASSUME_32BITUIDS]: Make code unconditional.
10134 [!__ASSUME_32BITUIDS]: Remove conditional code.
10135 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10136 <kernel-features.h>.
10137 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10139 (__setresuid): Do not declare.
10140 [__ASSUME_32BITUIDS]: Make code unconditional.
10141 [!__ASSUME_32BITUIDS]: Remove conditional code.
10142 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10143 <kernel-features.h>.
10144 [__ASSUME_32BITUIDS]: Make code unconditional.
10145 [!__ASSUME_32BITUIDS]: Remove conditional code.
10146 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10147 <kernel-features.h>.
10148 [__ASSUME_32BITUIDS]: Make code unconditional.
10149 [!__ASSUME_32BITUIDS]: Remove conditional code.
10151 2012-05-25 Richard Henderson <rth@twiddle.net>
10153 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10154 dl_hwcap to ifunc resolver.
10155 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10157 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10158 dl_hwcap to ifunc resolver.
10159 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10161 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10164 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10165 for |x| <= 2**-26, not 2**-57.
10166 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10169 2012-05-24 Jeff Law <law@redhat.com>
10171 * stdio-common/Makefile (tests): Add bug25.
10172 * stdio-common/bug25.c: New test.
10174 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10177 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10178 multiple of MALLOC_ALIGNMENT in size.
10179 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10181 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10183 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10185 (FILENAME_MAX): Use macro-int-constant.
10186 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10187 (_IOFBF): Use macro-int-constant.
10188 (_IOLBF): Likewise.
10189 (_IONBF): Likewise.
10190 (SEEK_CUR): Likewise.
10191 (SEEK_END): Likewise.
10192 (SEEK_SET): Likewise.
10193 (TMP_MAX): Likewise.
10194 (EOF): Use macro-int-constant. Require < 0.
10195 (NULL): Use macro-constant. Require == 0.
10196 (stdin): Require type to be FILE *.
10197 (stdout): Likewise.
10198 (stderr): Likewise.
10199 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10200 macro-int-constant.
10201 (EXIT_SUCCESS): Likewise.
10202 (NULL): Use macro-constant. Require == 0.
10203 (RAND_MAX): Use macro-int-constant.
10204 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10205 [C99-based standards] (strtof): Require function.
10206 [C99-based standards] (strtold): Likewise.
10207 [C99-based standards] (strtoll): Likewise.
10208 [C99-based standards] (strtoull): Likewise.
10209 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10210 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10211 [ISO || ISO99 || ISO11] (math.h): Likewise.
10212 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10213 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10214 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10216 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10219 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10220 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10221 * intl/dgettext.c (DCGETTEXT): Likewise.
10222 * intl/gettext.c (DCGETTEXT): Likewise.
10223 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10224 * posix/regex_internal.h (gettext): Likewise.
10225 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10226 Remove declaration.
10227 * include/argz.h (__argz_count_internal)
10228 (__argz_stringify_internal): Remove declaration.
10229 (__argz_count, __argz_stringify): Declare hidden proto.
10230 * intl/dcgettext.c: Remove use of INTDEF.
10231 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10232 * string/argz-stringify.c: Likewise.
10233 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10234 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10235 Declare hidden proto.
10236 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10237 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10238 Declare hidden proto.
10239 * include/stdio.h (__asprintf_internal): Don't declare.
10240 (__asprintf): Don't define as macro. Declare hidden proto.
10241 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10242 (__fsetlocking): Declare hidden proto.
10243 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10244 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10246 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10247 (_IO_setlinebuf): Remove use of INTUSE.
10248 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10249 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10250 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10251 Remove declaration.
10252 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10253 (_IO_do_flush): Remove use of INTUSE.
10254 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10255 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10256 (_IO_adjust_column, _IO_least_wmarker)
10257 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10258 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10259 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10260 (_IO_default_doallocate, _IO_wdefault_doallocate)
10261 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10262 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10263 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10264 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10265 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10266 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10267 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10268 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10269 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10270 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10271 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10272 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10273 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10275 (_IO_flush_all_internal, _IO_adjust_column_internal)
10276 (_IO_default_uflow_internal, _IO_default_finish_internal)
10277 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10278 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10279 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10280 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10281 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10282 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10283 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10284 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10285 (_IO_file_close_internal, _IO_file_close_it_internal)
10286 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10287 (_IO_file_init_internal, _IO_file_attach_internal)
10288 (_IO_file_fopen_internal, _IO_file_read_internal)
10289 (_IO_file_sync_internal, _IO_file_seek_internal)
10290 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10291 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10292 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10293 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10294 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10295 (_IO_list_all_internal, _IO_link_in_internal)
10296 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10297 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10298 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10299 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10300 (_IO_do_write_internal, _IO_padn_internal)
10301 (_IO_getline_info_internal, _IO_getline_internal)
10302 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10303 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10304 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10305 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10306 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10307 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10308 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10309 with libc_hidden_ver, remove use of INTUSE.
10310 * libio/genops.c: Likewise.
10311 * libio/freopen.c: Likewise.
10312 * libio/freopen64.c: Likewise.
10313 * libio/iofclose.c: Likewise.
10314 * libio/iofdopen.c: Likewise.
10315 * libio/iofflush.c: Likewise.
10316 * libio/iofflush_u.c: Likewise.
10317 * libio/iofgets.c: Likewise.
10318 * libio/iofgets_u.c: Likewise.
10319 * libio/iofopen.c: Likewise.
10320 * libio/iofopncook.c: Likewise.
10321 * libio/iofread.c: Likewise.
10322 * libio/iofread_u.c: Likewise.
10323 * libio/ioftell.c: Likewise.
10324 * libio/iofwrite.c: Likewise.
10325 * libio/iogetline.c: Likewise.
10326 * libio/iogets.c: Likewise.
10327 * libio/iogetwline.c: Likewise.
10328 * libio/iopadn.c: Likewise.
10329 * libio/iopopen.c: Likewise.
10330 * libio/ioseekoff.c: Likewise.
10331 * libio/ioseekpos.c: Likewise.
10332 * libio/iosetbuffer.c: Likewise.
10333 * libio/iosetvbuf.c: Likewise.
10334 * libio/ioungetc.c: Likewise.
10335 * libio/ioungetwc.c: Likewise.
10336 * libio/iovdprintf.c: Likewise.
10337 * libio/iovsprintf.c: Likewise.
10338 * libio/iovsscanf.c: Likewise.
10339 * libio/memstream.c: Likewise.
10340 * libio/obprintf.c: Likewise.
10341 * libio/oldfileops.c: Likewise.
10342 * libio/oldiofclose.c: Likewise.
10343 * libio/oldiofdopen.c: Likewise.
10344 * libio/oldiofopen.c: Likewise.
10345 * libio/oldiopopen.c: Likewise.
10346 * libio/oldstdfiles.c: Likewise.
10347 * libio/putc.c: Likewise.
10348 * libio/setbuf.c: Likewise.
10349 * libio/setlinebuf.c: Likewise.
10350 * libio/stdfiles.c: Likewise.
10351 * libio/strops.c: Likewise.
10352 * libio/vasprintf.c: Likewise.
10353 * libio/vscanf.c: Likewise.
10354 * libio/vsnprintf.c: Likewise.
10355 * libio/vswprintf.c: Likewise.
10356 * libio/wfiledoalloc.c: Likewise.
10357 * libio/wfileops.c: Likewise.
10358 * libio/wgenops.c: Likewise.
10359 * libio/wmemstream.c: Likewise.
10360 * libio/wstrops.c: Likewise.
10361 * libio/__fpurge.c: Likewise.
10362 * libio/__fsetlocking.c: Likewise.
10363 * assert/assert.c: Likewise.
10364 * debug/fgets_chk.c: Likewise.
10365 * debug/fgets_u_chk.c: Likewise.
10366 * debug/fread_chk.c: Likewise.
10367 * debug/fread_u_chk.c: Likewise.
10368 * debug/gets_chk.c: Likewise.
10369 * debug/obprintf_chk.c: Likewise.
10370 * debug/vasprintf_chk.c: Likewise.
10371 * debug/vdprintf_chk.c: Likewise.
10372 * debug/vsnprintf_chk.c: Likewise.
10373 * debug/vsprintf_chk.c: Likewise.
10374 * malloc/mtrace.c: Likewise.
10375 * misc/error.c: Likewise.
10376 * misc/syslog.c: Likewise.
10377 * stdio-common/asprintf.c: Likewise.
10378 * stdio-common/fxprintf.c: Likewise.
10379 * stdio-common/getw.c: Likewise.
10380 * stdio-common/isoc99_fscanf.c: Likewise.
10381 * stdio-common/isoc99_scanf.c: Likewise.
10382 * stdio-common/isoc99_vfscanf.c: Likewise.
10383 * stdio-common/isoc99_vscanf.c: Likewise.
10384 * stdio-common/isoc99_vsscanf.c: Likewise.
10385 * stdio-common/printf-prs.c: Likewise.
10386 * stdio-common/printf_fp.c: Likewise.
10387 * stdio-common/printf_fphex.c: Likewise.
10388 * stdio-common/printf_size.c: Likewise.
10389 * stdio-common/putw.c: Likewise.
10390 * stdio-common/scanf.c: Likewise.
10391 * stdio-common/sprintf.c: Likewise.
10392 * stdio-common/tmpfile.c: Likewise.
10393 * stdio-common/vfprintf.c: Likewise.
10394 * stdio-common/vfscanf.c: Likewise.
10395 * stdlib/strfmon_l.c: Likewise.
10396 * sunrpc/openchild.c: Likewise.
10397 * sunrpc/xdr_stdio.c: Likewise.
10398 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10399 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10401 2012-05-24 Roland McGrath <roland@hack.frob.com>
10403 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10405 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10406 in the third column, to generate for the shared library an IFUNC
10407 that uses _dl_vdso_vsym.
10408 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10409 * Makeconfig (object-suffixes-noshared): New variable.
10411 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10412 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10413 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10414 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10417 * include/sys/time.h (__gettimeofday): Remove macro.
10418 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10419 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10421 (__gettimeofday): Add libc_hidden_def.
10422 (gettimeofday): Add libc_hidden_weak.
10423 * sysdeps/mach/gettimeofday.c: Likewise.
10424 * sysdeps/posix/gettimeofday.c: Likewise.
10425 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10426 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10428 (__gettimeofday_internal): Remove strong_alias.
10429 (__gettimeofday): Add libc_hidden_def.
10430 (gettimeofday): Add libc_hidden_weak.
10431 * sysdeps/unix/syscalls.list (gettimeofday):
10432 Remove __gettimeofday_internal alias.
10434 2012-05-24 Daniel Jacobowitz <drow@false.org>
10435 H.J. Lu <hongjiu.lu@intel.com>
10438 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10439 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10440 (largebin_index_32_big): New.
10441 (largebin_index): Use it for 16-byte alignment.
10442 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10443 correction with front_misalign.
10445 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10473 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10474 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10476 2012-05-24 Joseph Myers <joseph@codesourcery.com>
10480 * math/libm-test.inc (exp_test): Add test from bug 14036.
10481 (pow_test): Add test from bug 10846.
10483 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10485 (special_function): Do not include flags in test name.
10486 (parse_args): Likewise.
10487 * sysdeps/i386/fpu/libm-test-ulps: Update.
10488 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10489 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10490 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10493 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10495 * math/libm-test.inc ("Philosophy"): Update comment about
10497 (UNDERFLOW_EXCEPTION): New macro.
10498 (UNDERFLOW_EXCEPTION_OK): Likewise.
10499 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10500 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10501 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10502 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10503 (INVALID_EXCEPTION_OK): Update value.
10504 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10505 (OVERFLOW_EXCEPTION_OK): Likewise.
10506 (IGNORE_ZERO_INF_SIGN): Likewise.
10507 (test_exceptions): Handle underflow exceptions.
10508 (acos_test): Update for underflow exception expectations.
10509 (cexp_test): Likewise.
10510 (clog_test): Likewise.
10511 (clog10_test): Likewise.
10512 (csqrt_test): Likewise.
10513 (ctan_test): Likewise.
10514 (ctanh_test): Likewise.
10515 (exp_test): Likewise.
10516 (exp10_test): Likewise.
10517 (exp2_test): Likewise.
10518 (expm1_test): Likewise.
10519 (fma_test): Likewise.
10520 (j0_test): Likewise.
10521 (jn_test): Likewise.
10522 (nexttoward_test): Likewise.
10523 (pow_test): Likewise.
10524 (scalbn_test): Likewise.
10525 (scalbln_test): Likewise.
10526 (tan_test): Likewise.
10527 (y1_test): Likewise.
10528 * sysdeps/i386/fpu/libm-test-ulps: Update.
10529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10531 2012-05-23 David S. Miller <davem@davemloft.net>
10533 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10534 (__libc_sigaction): Remove unused local variables.
10536 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10538 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10540 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10542 mktime: avoid signed integer overflow
10543 * time/mktime.c (__mktime_internal): Do not mishandle the case
10544 where diff == INT_MIN.
10546 mktime: simplify computation of average
10547 * time/mktime.c (ranged_convert): Use new time_t_avg function
10548 instead of rolling our own (probably-slower) code.
10550 mktime: do not assume signed right shift propagates sign bit
10551 * time/mktime.c (isdst_differ): New static function.
10552 (__mktime_internal): No need to normalize tm_isdst now.
10553 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10556 mktime: merge another wrapv change from gnulib
10557 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10558 from some compilers.
10560 mktime: remove incorrect attempt at unusual arithmetics
10561 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10562 The code didn't really work on such machines anyway.
10563 (TYPE_MINIMUM): Assume two's complement.
10564 (twos_complement_arithmetic): Verify that long_int and time_t
10565 are two's complement (or unsigned, in the latter case).
10567 mktime: check signed shifts on long_int and time_t, too
10568 * time/mktime.c (SHR): Check that shifts work as desired
10569 on the types long_int and time_t too, as SHR is used on
10572 mktime: do not assume 'long' is wide enough
10573 * time/mktime.c (verify): Move decl up.
10574 (long_int): New type.
10575 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10576 to remove assumption in the code that 'long' is wide enough to
10577 store year values. This assumption is not true on x32 and on
10578 some non-glibc platforms.
10580 mktime: merge wrapv change from gnulib
10581 * time/mktime.c (WRAPV): New macro.
10582 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10583 (guess_time_tm, __mktime_internal): Do not assume that signed
10584 integer overflow wraps around; modern compilers generate code
10585 where this assumption is no longer valid.
10587 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10589 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10590 Replace "jmp L(pseudo_end)" with "ret".
10591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10594 2012-05-23 Andreas Jaeger <aj@suse.de>
10596 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10597 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10599 2012-05-23 Andreas Jaeger <aj@suse.de>
10600 Maximilian Attems <max@stro.at>
10602 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10605 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10607 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10608 code so that pseudo_end is just ret and the stack pointer is
10609 correct also for static library in error case.
10611 2012-05-23 Joseph Myers <joseph@codesourcery.com>
10613 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10614 move to syscalls.list.
10615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10620 * manual/install.texi (Running make install): Do not mention Linux
10621 kernel version for which pt_chown is not needed.
10622 (Linux): Do not mention problems with nscd with 2.0 kernels.
10623 * INSTALL: Regenerated.
10625 2012-05-23 Andreas Jaeger <aj@suse.de>
10627 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10628 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10630 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10631 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10632 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10633 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10634 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10635 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10636 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10637 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10638 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10639 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10640 * sysdeps/unix/sysv/linux/bits/in.h
10641 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10643 2012-05-22 Roland McGrath <roland@hack.frob.com>
10645 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10646 (PREPARE_VERSION): Just use assert instead, it will be elided
10647 under [NDEBUG] anyway.
10649 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10651 * sysdeps/unix/sysv/linux/Makefile: Include
10652 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
10653 (sysdep_routines): Remove sysctl.
10654 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10655 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10656 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10657 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10658 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10660 2012-05-22 Andreas Jaeger <aj@suse.de>
10662 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10663 that pseudo_end is just ret and the stack pointer is correct also
10664 for static library in error case.
10666 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10669 * nss/nsswitch.c (defconfig_entries): New variable.
10670 (__nss_database_lookup): Don't leak defconfig entries.
10671 (nss_parse_service_list): Don't leak on error paths.
10672 (free_database_entries): New function.
10673 (free_defconfig): New function.
10674 (free_mem): Move common code to free_database_entries.
10676 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10678 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10680 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10682 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10683 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10686 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10687 (INTERNAL_SYSCALL_TYPES): Likewise.
10688 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10689 (LOAD_REGS_TYPES_[1-6]): Likewise.
10690 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10691 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10693 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10695 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10696 copysignl for GLIBC_2_0.
10697 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10698 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10699 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10700 logbl for GLIBC_2_0.
10701 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10702 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10704 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10707 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10709 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10712 * time/mktime.c: Update copyright years.
10714 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10716 mktime: merge comment-quoting-style change from gnulib
10717 * time/mktime.c: Quote 'like this' in comments.
10718 The GNU coding standards suggest that we no longer quote `like this',
10719 as "`" and "'" are typically rendered asymmetrically nowadays.
10720 The typical gnulib style is to quote 'like this' when quoting
10721 code, and "like this" when quoting English.
10723 * time/mktime.c (compile-command): Add "-I.".
10725 mktime: merge mktime-internal.h change from gnulib
10726 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10728 mktime: merge time_r change from gnulib
10729 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10731 mktime: merge DEBUG change from gnulib
10732 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10733 case system <time.h> has a #define.
10735 mktime: merge <sys/types.h> change from gnulib
10736 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10737 since <time.t> is now guaranteed to define time_t.
10739 mktime: merge HAVE_CONFIG_H change from gnulib
10740 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10742 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10744 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10747 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10749 (struct rusage): Use anonymous union to pad each field to
10752 2012-05-21 David S. Miller <davem@davemloft.net>
10754 * Makefules (o-iterator): Remove .s cases.
10755 (compile-command.s): Delete.
10756 (COMPILE.s): Delete.
10757 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10759 2012-05-21 Joseph Myers <joseph@codesourcery.com>
10761 * configure.in (libc_cv_predef_stack_protector): Only consider
10762 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10763 * configure: Regenerated.
10765 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10768 New macro. Use R*LP on int and pointer.
10769 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
10770 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10771 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
10772 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10774 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10775 [__WORDSIZE_TIME64_COMPAT32] instead of
10776 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10777 (struct utmp): Likewise.
10778 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10779 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10781 (__WORDSIZE_TIME64_COMPAT32): This.
10782 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10783 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10784 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10785 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10786 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10787 (__WORDSIZE_TIME64_COMPAT32): New macro.
10789 2012-05-21 Andreas Jaeger <aj@suse.de>
10791 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10792 only if [SHARED]. Add prototype for __wcschr_ia32.
10794 2012-05-21 Roland McGrath <roland@hack.frob.com>
10796 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10797 of %rbp unmolested in the jmp_buf while mangling the low bits.
10798 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10799 unmolested high bits of %rbp while demangling the low bits.
10800 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10802 2012-05-21 Andreas Jaeger <aj@suse.de>
10804 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10805 * sunrpc/svc_simple.c: Use it for registerrpc.
10806 * sunrpc/xcrypt.c: Use it for passwd2des.
10808 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10810 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10812 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10813 Don't define if [__SYSCALL_WORDSIZE != 32].
10814 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10817 2012-05-21 Bruno Haible <bruno@clisp.org>
10818 Andreas Jaeger <aj@suse.de>
10820 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10821 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10822 inptr and inend for must_buffer_ch.
10823 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10824 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10825 * stdio-common/Makefile (tests): Remove bug15.
10826 (bug15-ENV): Remove macro.
10827 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10830 2012-05-19 Andreas Jaeger <aj@suse.de>
10831 Roland McGrath <roland@hack.frob.com>
10833 * manual/contrib.texi: Completely rewritten. It contains now an
10834 alphabetical list of contributors and their contributions.
10836 2012-05-21 Richard Henderson <rth@twiddle.net>
10838 * misc/getauxval.c (__getauxval): Use unsigned long int.
10839 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10840 (getauxval): Use unsigned long int.
10842 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10844 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10846 2012-05-21 Roland McGrath <roland@hack.frob.com>
10848 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10849 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10850 __alignof__ (long double).
10852 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10856 2012-05-20 Richard Henderson <rth@twiddle.net>
10858 * misc/getauxval.c: New file.
10859 * misc/sys/auxv.h: New file.
10860 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10861 (routines): Add getauxval.
10862 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10863 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10864 * elf/dl-sysdep.c (_dl_auxv): Remove.
10865 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10866 * elf/dl-support.c (_dl_auxv): New variable.
10867 (_dl_aux_init): Initialize it.
10868 * manual/startup.texi (Auxiliary Vector): New node.
10869 * sysdeps/generic/bits/hwcap.h: New file.
10870 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10871 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10872 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10873 * sysdeps/sparc/sysdep.h: ... here. Include it.
10874 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10875 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
10876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10881 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10887 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10891 2012-05-19 David S. Miller <davem@davemloft.net>
10893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10895 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10898 * math/s_ccosh.c: Include <float.h>
10899 (__ccosh): Avoid internal overflow calculating sinh and cosh
10900 values before multiplying by sin and cos values.
10901 * math/s_ccoshf.c: Likewise.
10902 * math/s_ccoshl.c: Likewise.
10903 * math/s_csin.c: Likewise.
10904 * math/s_csinf.c: Likewise.
10905 * math/s_csinl.c: Likewise.
10906 * math/s_csinh.c: Likewise.
10907 * math/s_csinhf.c: Likewise.
10908 * math/s_csinhl.c: Likewise.
10909 * math/libm-test.inc (ccos_test): Add more tests.
10910 (ccosh_test): Likewise.
10911 (csin_test): Likewise.
10912 (csinh_test): Likewise.
10913 * sysdeps/i386/fpu/libm-test-ulps: Update.
10914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10916 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10918 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10919 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10921 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10923 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10925 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10926 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10927 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10928 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10929 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10930 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10931 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10932 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10933 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10934 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10935 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10936 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10937 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10938 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10939 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10940 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10941 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10942 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10943 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10944 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10945 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10946 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10947 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10948 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10949 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10950 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10951 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10952 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10953 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10954 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10955 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10957 2012-05-18 Andreas Jaeger <aj@suse.de>
10959 * csu/.gitignore: Delete.
10961 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10963 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10964 (timex): Use __syscall_slong_t.
10966 2012-05-18 Andreas Jaeger <aj@suse.de>
10967 Carlos O'Donell <carlos_odonell@mentor.com>
10969 * manual/install.texi (Configuring and compiling): Update
10970 description about files modified in the source directory.
10971 * INSTALL: Regenerated.
10973 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10975 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10976 value. Use "or" to set return value to -1.
10977 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10978 negate return value.
10980 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10982 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10983 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10984 failure if the compiler has Graphite support disabled.
10985 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10987 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10988 CFLAGS-memmove.c): Likewise.
10989 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10992 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10994 * sysdeps/x86_64/x32/_itoa.h: New file.
10996 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10997 getdents system call only if kernel and user dirents have the
10998 same d_ino and d_off.
11000 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11001 LLONG_MAX != LONG_MAX.
11002 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11003 (_fitoa_word): Likewise.
11005 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11007 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11008 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11009 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11011 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11012 include <bits/wordsize.h>. Check __x86_64__ instead of
11014 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11015 if __x86_64__ is defined. Use anonymous union on fpstate.
11017 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11020 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
11022 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11023 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11024 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11025 Refer to _rtld_local_ro instead of _rtld_global_ro.
11026 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11028 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11030 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11032 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11033 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11034 of _rtld_global, and rtld_progname instead of _dl_argv[0].
11036 * sysdeps/powerpc/powerpc32/dl-machine.c
11037 (__elf_machine_runtime_setup) [PROF]: Don't reference
11040 2012-05-18 Andreas Jaeger <aj@suse.de>
11042 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11043 function only available for GCCs before 3.4 since GCC 3.4
11044 introduced a builtin.
11046 (llrintf): Likewise.
11047 (llrint): Likewise.
11054 (nearbyint): Likewise.
11055 (nearbyintf): Likewise.
11059 (floorf): Likewise.
11061 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11063 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11064 on both fields and cast pointer to __syscall_ulong_t.
11066 * bits/types.h (__fsword_t): New type.
11067 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11068 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11069 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11070 (__FSWORD_T_TYPE): Likewise.
11071 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11072 (__FSWORD_T_TYPE): Likewise.
11073 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11074 (__FSWORD_T_TYPE): Likewise.
11075 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11076 (__FSWORD_T_TYPE): Likewise.
11077 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11078 __SWORD_TYPE with __fsword_t.
11079 (statfs64): Likewise.
11081 2012-05-17 David S. Miller <davem@davemloft.net>
11083 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11085 2012-05-17 Andreas Jaeger <aj@suse.de>
11087 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11090 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11092 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11094 2012-05-17 Andreas Jaeger <aj@suse.de>
11096 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11099 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11101 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11103 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
11105 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11106 * sysdeps/x86_64/tst-mallocalign1.c: New file.
11108 2012-05-17 Andreas Jaeger <aj@suse.de>
11109 Carlos O'Donell <carlos_odonell@mentor.com>
11112 * sysdeps/x86_64/multiarch/init-arch.h
11113 (bit_YMM_Usable): Rename to...
11114 (bit_AVX_Usable): ... this.
11115 (bit_FMA4_Usable): New macro.
11116 (bit_XMM_state): New macro.
11117 (bit_YMM_state): New macro.
11118 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11119 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11120 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11121 (CPUID_OSXSAVE): New macro.
11122 (CPUID_AVX): New macro.
11123 (CPUID_FMA4): New macro.
11124 (index_YMM_Usable): Rename to...
11125 (index_AVX_Usable): ... this.
11126 (HAS_AVX): Use HAS_ARCH_FEATURE.
11127 (HAS_FMA4): Likewise.
11128 (HAS_YMM_USABLE): Remove.
11129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11130 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11132 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11133 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11134 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11135 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11136 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11138 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11140 * math/libm-test.c: Support platforms without multiple rounding modes.
11141 * math/bug-nextafter.c: Support platforms without FP exceptions.
11142 * math/bug-nexttoward.c: Likewise.
11143 * math/test-fenv.c: Likewise.
11144 * math/test-misc.c: Likewise.
11145 * stdlib/bug-getcontext.c: Likewise.
11147 2012-05-17 Andreas Jaeger <aj@suse.de>
11149 * manual/examples/search.c (critter_cmp): Change signature to
11151 * manual/string.texi (Collation Functions): Likewise.
11153 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11155 * bits/types.h: Fold copyright years.
11156 * bits/typesizes.h: Likewise.
11157 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11158 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11159 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11160 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11161 * time/time.h: Likewise.
11163 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11166 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11167 in instead of returning them. Return void.
11168 (__libc_mallinfo): Accumulate over all arenas.
11169 (__malloc_stats): Adjust for change in int_mallinfo interface.
11171 2012-05-16 Roland McGrath <roland@hack.frob.com>
11174 * configure.in (NM): Add AC_CHECK_TOOL for it.
11175 (libc_extra_cflags): New substituted variable.
11176 Check for -fstack-protector being used implicitly.
11177 * configure: Regenerated.
11178 * config.make.in (config-extra-cflags): New variable,
11179 gets @libc_extra_cflags@.
11180 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11183 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11184 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11185 * configure: Regenerated.
11186 * config.make.in (CPPUNDEFS): New substituted variable.
11187 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11188 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11189 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11191 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11193 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11194 (mq_attr): Use __syscall_slong_t.
11196 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11198 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11199 Check __x86_64__ instead of __WORDSIZE.
11200 (_STAT_VER_LINUX): Likewise.
11201 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11202 __syscall_ulong_t and __syscall_slong_t.
11203 (stat64): Likewise.
11205 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11207 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11209 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11211 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11213 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11215 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11218 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11219 include <bits/wordsize.h>. Check __x86_64__ instead of
11221 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11223 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11225 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11226 include <bits/wordsize.h>. Check __x86_64__ instead of
11228 (user_regs_struct): Use "__extension__ unsigned long long"
11229 instead of "unsigned long" if __x86_64__ is defined.
11230 (user): Likewise. Pad after pointer field if __ILP32__ is
11233 2012-05-16 Joseph Myers <joseph@codesourcery.com>
11235 * configure.in (makeinfo): Require version 4.5 or later. Allow
11237 * configure: Regenerated.
11238 * manual/install.texi (texinfo): Increase version requirement to
11240 * INSTALL: Regenerated.
11242 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11244 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11246 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11248 * sysdeps/x86_64/x32/ffs.c: New file.
11250 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11252 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11253 defined. Use __syscall_ulong_t.
11254 (shminfo): Use __syscall_ulong_t.
11255 (shm_info): Likewise.
11257 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11260 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11262 (msgqnum_t): Use __syscall_ulong_t.
11263 (msglen_t): Likewise.
11264 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11267 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11268 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11270 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11272 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11273 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11275 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11278 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11279 include <bits/wordsize.h>. Check __x86_64__ instead of
11282 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11283 "unsigned long long int" if __x86_64__ is defined.
11284 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11286 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11287 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11288 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11290 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11292 (GET_PC): Cast to uintptr_t first.
11293 (GET_FRAME): Likewise.
11294 (GET_STACK): Likewise.
11296 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11297 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11298 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11299 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11300 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11301 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11302 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11303 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11304 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11305 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11306 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11307 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11308 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11309 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11310 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11311 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11312 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11313 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11314 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11315 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11316 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11317 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11318 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11319 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11320 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11321 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11322 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11323 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11324 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11326 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11328 * Makerules (+depfiles): Also collect depfiles from .oS in
11330 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11331 .oS, $(libnldbl-routines)).
11333 * Makerules (native-compile-mkdep-flags): Define.
11334 * sunrpc/Makefile (extra-objs): Add $(addprefix
11335 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11336 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11337 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11338 calling $(make-target-directory).
11340 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11342 * bits/types.h (__snseconds_t): Removed.
11343 * time/time.h (struct timespec): Replace __snseconds_t with
11345 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11346 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11348 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11349 (__SNSECONDS_T_TYPE): Likewise.
11350 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11351 (__SNSECONDS_T_TYPE): Likewise.
11352 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11353 (__SNSECONDS_T_TYPE): Likewise.
11355 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11357 * sysdeps/mach/hurd/bits/typesizes.h
11358 (__SYSCALL_SLONG_TYPE): New macro.
11359 (__SYSCALL_ULONG_TYPE): Likewise.
11361 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11363 * bits/types.h (__syscall_slong_t): New type.
11364 (__syscall_ulong_t): Likewise.
11366 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11367 (__SYSCALL_ULONG_TYPE): Likewise.
11368 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11369 (__SYSCALL_SLONG_TYPE): Likewise.
11370 (__SYSCALL_ULONG_TYPE): Likewise.
11371 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11372 (__SYSCALL_SLONG_TYPE): Likewise.
11373 (__SYSCALL_ULONG_TYPE): Likewise.
11374 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11375 (__SYSCALL_SLONG_TYPE): Likewise.
11376 (__SYSCALL_ULONG_TYPE): Likewise.
11378 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11380 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11381 Add sigaltstack-offsets.sym.
11382 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11383 <sigaltstack-offsets.h>.
11384 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11385 longjmp_msg pointer.
11386 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11387 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11389 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11391 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11393 * elf/stackguard-macros.h: Remove file.
11394 * sysdeps/generic/stackguard-macros.h: New file.
11395 * sysdeps/i386/stackguard-macros.h: Likewise.
11396 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11397 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11398 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11399 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11400 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11401 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11402 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11403 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11404 <elf/stackguard-macros.h>.
11407 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11408 __aligned__ in attribute.
11409 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11410 (gregset_t): Likewise.
11412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11414 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11415 * sysdeps/x86_64/64/Implies-after: Here. New file.
11416 * sysdeps/x86_64/x32/Implies-after: New file.
11418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11420 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11421 and access return value for _dl_profile_fixup. Use R10_LP to
11424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11426 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11430 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11431 * sysdeps/x86_64/x32/sysdep.h: New file.
11433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11435 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11436 * sysdeps/x86_64/setjmp.S: Likewise.
11438 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11440 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11441 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11442 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11443 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11444 remove unused global constant.
11446 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11448 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11449 include of <not-cancel.h>.
11451 2012-05-15 Roland McGrath <roland@hack.frob.com>
11453 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11455 2012-05-15 Jeff Law <law@redhat.com>
11456 Andreas Jaeger <aj@suse.de>
11459 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11461 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11462 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11463 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11464 code changing __hst_map_handle.map.
11466 2012-05-15 Roland McGrath <roland@hack.frob.com>
11468 * configure.in (sysnames): Look for Implies-before and Implies-after
11470 * configure: Regenerated.
11472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11474 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11475 8-byte data alignment with LP_SIZE alignment.
11477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11479 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11482 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11484 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11486 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11488 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11489 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11490 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11492 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11496 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11497 (stackinfo_sub_sp): Likewise.
11499 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11501 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11504 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11506 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11509 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11511 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11514 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11516 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11518 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11520 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11521 into R11_LP and load __x86_64_shared_cache_size_half into
11524 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11526 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11529 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11531 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11533 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11535 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11537 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11538 powerpc32/power7/fpu/s_logb.c via #include.
11539 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11540 powerpc32/power7/fpu/s_logbf.c via #include.
11541 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11542 powerpc32/power7/fpu/s_logbl.c via #include.
11544 2012-05-15 Joseph Myers <joseph@codesourcery.com>
11546 * README.libm: Remove file.
11548 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11550 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11551 count for x32. Use R*_LP and omit operand-size suffix.
11553 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11555 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11556 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11557 * sysdeps/x86_64/x32/shlib-versions: New file.
11559 2012-05-14 Roland McGrath <roland@hack.frob.com>
11561 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11562 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11563 Use _dl_fatal_printf instead.
11565 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11567 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11568 set if not set by the user. Do not allow for being unset.
11569 * sysdeps/unix/sysv/linux/configure: Regenerated.
11571 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11573 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11574 the `q' suffix from lea and replace .quad with ASM_ADDR.
11576 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11579 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11581 (PTR_DEMANGLE): Likewise.
11583 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11585 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11587 (ASM_ADDR): Likewise.
11588 (RAX_LP): Likewise.
11589 (RBP_LP): Likewise.
11590 (RBX_LP): Likewise.
11591 (RCX_LP): Likewise.
11592 (RDI_LP): Likewise.
11593 (RSI_LP): Likewise.
11594 (RSP_LP): Likewise.
11597 (R10_LP): Likewise.
11598 (R10_LP): Likewise.
11599 (R11_LP): Likewise.
11600 (R12_LP): Likewise.
11601 (R13_LP): Likewise.
11602 (R14_LP): Likewise.
11603 (R15_LP): Likewise.
11605 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11607 * sysdeps/x86_64/x32/dl-machine.h: New file.
11609 2012-05-14 Andreas Jaeger <aj@suse.de>
11611 * manual/Makefile (subdir): Remove export of subdir.
11612 (all): Remove target.
11613 (.PHONY): Remove all from list.
11614 (mkinstalldirs): Remove.
11615 (.PHONY): Remove installdirs from list.
11616 ($(inst_infodir)/libc.info): Use make-target-directory.
11617 (installdirs): Remove.
11618 (subdir_%): Remove.
11619 (glibc-targets): Remove.
11622 ($(objpfx)stubs ../po/manual.pot): Remove.
11623 ($(objpfx)stamp%): Remove.
11624 (make-target-directory): Remove.
11625 (subdir_install): Remove.
11626 (routines): Remove.
11633 * manual/.gitignore: Remove, it's not needed anymore.
11634 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11636 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11638 (texis): Renamed to $(objpfx)texis.
11639 (texis-path): New, contains path to generated files.
11640 (chapters.%): Use texis-path for complete path, add extra argument
11642 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11643 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11644 (summary,texi, stamp-summary): Use complete path of
11645 files. Generate files in build dir.
11646 (dir-add.texi): Build in build dir.
11647 (libm-err.texi,stamp-libm-err): Likewise.
11648 (version.texi, stamp-version): Likewise.
11649 (.%c.texi): Likewise.
11650 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11651 (mostlyclean): Remove target.
11652 (realclean): Remove target.
11653 (generated): Add new variable with contents from mostlyclean and
11654 realclean, remove entries duplicated in common-mostlyclean, add
11655 stamp-libm-err and stamp-version.
11656 (generated-dirs): Add libc directory.
11657 ($(inst_infodir)/libc.info): Install files from build dir.
11659 * manual/install.texi (Configuring and compiling): Adjust since
11660 the info files are not part of the tar ball anymore.
11662 2012-05-14 Andreas Jaeger <aj@suse.de>
11664 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11667 2012-05-14 Joseph Myers <joseph@codesourcery.com>
11670 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11671 to 2.2.0 where earlier.
11672 * sysdeps/unix/sysv/linux/configure: Regenerated.
11673 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11674 Remove conditional code.
11675 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11676 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11677 Remove conditional code.
11678 [!__NR_lchown]: Likewise.
11679 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11680 [__NR_lchown]: Likewise.
11681 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11682 comment referencing __ASSUME_LCHOWN_SYSCALL.
11683 * sysdeps/unix/sysv/linux/i386/sigaction.c
11684 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11685 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11686 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11687 Remove conditional code.
11688 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11689 (__protocol_available): Remove #if 0 code.
11690 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11692 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11693 * sysdeps/unix/sysv/linux/kernel-features.h
11694 (__ASSUME_GETCWD_SYSCALL): Don't define.
11695 (__ASSUME_REALTIME_SIGNALS): Likewise.
11696 (__ASSUME_PREAD_SYSCALL): Likewise.
11697 (__ASSUME_PWRITE_SYSCALL): Likewise.
11698 (__ASSUME_POLL_SYSCALL): Likewise.
11699 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11700 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11702 (__ASSUME_SIOCGIFNAME): Don't define.
11703 (__ASSUME_MSG_NOSIGNAL): Likewise.
11704 (__ASSUME_SENDFILE): Define unconditionally.
11705 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11706 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11708 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11709 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11710 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11711 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11712 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11713 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11714 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11716 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11717 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11719 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11720 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11722 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11723 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11725 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11726 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11728 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11729 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11731 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11732 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11734 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11735 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11737 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11738 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11739 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11740 Remove conditional code.
11741 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11742 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11743 Remove conditional code.
11744 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11745 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11746 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11747 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11748 Remove conditional code.
11749 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11750 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11751 Remove conditional code.
11752 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11753 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11754 Remove conditional code.
11755 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11756 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11757 Remove conditional code.
11758 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11759 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11760 Remove conditional code.
11761 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11762 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11763 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11764 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11765 * sysdeps/unix/sysv/linux/sigaction.c
11766 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11767 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11768 * sysdeps/unix/sysv/linux/sigpending.c
11769 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11770 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11771 * sysdeps/unix/sysv/linux/sigprocmask.c
11772 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11773 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11774 * sysdeps/unix/sysv/linux/sigsuspend.c
11775 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11776 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11777 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11778 (__libc_missing_rt_sigs): Remove.
11779 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11780 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11781 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11782 Remove conditional code.
11783 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11784 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11786 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11787 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11788 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11789 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11791 2012-05-14 Andreas Jaeger <aj@suse.de>
11793 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11794 it's not used in glibc.
11795 (__coshm1): Likewise.
11796 (__acosh1p): Likewise.
11799 * manual/string.texi (Copying and Concatenation): Add missing
11800 variable in concat example.
11801 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11803 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11806 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11807 __builtin_clzl with __builtin_clzll.
11809 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11812 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11815 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11817 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11818 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11819 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11820 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11822 2012-05-14 Mike Frysinger <vapier@gentoo.org>
11824 * NEWS: Update ia64 info.
11826 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11828 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11831 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11833 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11834 * sysdeps/unix/syscalls.list (dup3): Likewise.
11835 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11836 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11838 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11840 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11841 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11843 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11845 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11847 (TLS_IE): Use mov/add instead of movq/addq to load thread
11849 (TLS_GD_PREFIX): New.
11852 2012-05-11 David S. Miller <davem@davemloft.net>
11854 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11855 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11856 (_FPU_SETCW): Likewise.
11858 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11860 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11861 is 32-byte aligned.
11863 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11866 * iconvdata/gb18030.c: Update tables.
11867 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11868 characters specially.
11869 (BODY for TO_LOOP): Add encoding of missing ranges.
11871 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11874 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11875 * sysdeps/mach/hurd/dup3.c: Likewise.
11876 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11877 * sysdeps/powerpc/memmove.c:: Likewise.
11879 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11881 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11882 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11884 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11886 * elf/elf.h (R_X86_64_RELATIVE64): New.
11887 (R_X86_64_NUM): Updated.
11888 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11889 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11890 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11891 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11892 tst-quad1pie tst-quad2pie
11893 (modules-names): Add tst-quadmod1 tst-quadmod2.
11894 ($(objpfx)tst-quad1): New dependency.
11895 ($(objpfx)tst-quad2): Likewise.
11896 ($(objpfx)tst-quad1pie): Likewise.
11897 ($(objpfx)tst-quad2pie): Likewise.
11898 * sysdeps/x86_64/tst-quad1.c: New file.
11899 * sysdeps/x86_64/tst-quad1pie.c: New file.
11900 * sysdeps/x86_64/tst-quad2.c: Likewise.
11901 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11902 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11903 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11904 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11905 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11907 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11909 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11910 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11911 * streams/stropts.h (t_scalar_t): Define type.
11913 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11914 (_PATH_PRESERVE): Set to "/var/lib".
11915 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11917 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11920 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11921 if __dir_mkfile succeeded.
11923 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11924 checking for _hurd_dtablesize. Unlock it right after having
11925 finished _hurd_dtable allocation.
11927 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11929 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11930 * sysdeps/mach/hurd/configure: Regenerated.
11931 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11932 special-casing to...
11933 * sysdeps/gnu/configure.in: ... this new file.
11934 * sysdeps/unix/sysv/linux/configure: Regenerated.
11935 * sysdeps/gnu/configure: New generated file.
11937 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11938 for Linux: use nsec instead of usec, as well as:
11939 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11940 members of type struct timespec.
11941 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11943 (struct stat64): Likewise.
11944 (_STATBUF_ST_NSEC): New macro.
11945 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11947 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11948 __strtoul_internal rather than strtoul.
11950 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11952 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11955 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11957 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11958 which preserves existing values.
11959 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11961 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11963 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11964 TIMEOUT values. Return EINVAL for NFDS values either negative or
11965 greater than FD_SETSIZE.
11967 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11969 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11970 allocated, call __vm_protect to finish enabling the existing space, and
11971 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11972 allocate the remainder.
11974 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11976 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11977 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11979 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11981 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11982 sysdeps/mach/hurd/readlink.c.
11984 * posix/tst-sysconf.c (posix_options): Only use
11985 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11986 _POSIX_SYNCHRONIZED_IO when they are defined
11987 * sysdeps/mach/hurd/bits/posix_opt.h:
11988 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11989 (_XOPEN_REALTIME): Undefine macro.
11990 (_XOPEN_REALTIME_THREADS): Undefine macro.
11991 (_XOPEN_SHM): Undefine macro.
11992 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11994 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11996 (_POSIX_ASYNC_IO): Undefine macro.
11997 (_POSIX_PRIORITIZED_IO): Undefine macro.
11998 (_POSIX_SPIN_LOCKS): Define macro to -1.
12000 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12001 SA_NODEFER, SA_RESETHAND.
12002 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12003 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12006 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12008 * elf/Makefile (pldd-modules): Define unconditionally.
12010 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12012 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12014 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12016 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12017 Return ENOENT when name is empty.
12018 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12020 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12022 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12024 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12026 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12028 Fix mlock in all cases except non-readable pages.
12029 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12030 instead of VM_PROT_ALL as parameter to __vm_wire function.
12032 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12033 (__mkdir): When path is `/', just fail with EEXIST.
12034 * sysdeps/mach/hurd/mkdirat.c: Likewise.
12036 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12038 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12039 <sys/uio.h> (for writev).
12040 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12041 and <sys/param.h> (for MIN).
12043 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
12045 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12046 REQUESTED_TIME. Properly set the remaining time and return EINTR
12049 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12051 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12052 Depend on against $(link-rpcuserlibs).
12054 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12056 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12057 (__libc_stack_end): Do not use attribute_relro.
12058 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12059 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
12060 to libthread-provided value.
12061 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12064 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12067 * bits/libc-lock.h (__libc_once_get): New macro.
12068 * sysdeps/mach/bits/libc-lock.h: Likewise.
12069 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12070 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12071 instead of using implementation details.
12073 * libio/fileops.c: Unconditionally include <kernel-features.h>.
12074 * libio/freopen.c: Likewise.
12075 * libio/freopen64.c: Likewise.
12076 * misc/syslog.c: Likewise.
12077 * nscd/connections.c: Likewise.
12078 * nscd/netgroupcache.c: Likewise.
12079 * sysdeps/posix/getcwd.c: Likewise.
12081 2012-05-10 Roland McGrath <roland@hack.frob.com>
12083 * math/w_ilogbf.c: Add #include <limits.h>.
12085 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12087 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
12088 path instead of returning without unlocking.
12090 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12091 immediate-write ioctls.
12092 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12094 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12096 * sysdeps/mach/hurd/i386/init-first.c (init): Use
12097 __builtin_frame_address instead of making assumptions about the
12098 location of the return address relative to DATA. Force early load of
12099 the return address.
12100 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12101 __builtin_frame_address.
12104 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12105 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
12106 implement dup3 and do some further code clean-ups.
12107 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12108 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12110 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12112 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12114 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12115 HURD_CRITICAL_END around holding _hurd_dtable_lock.
12116 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12117 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12118 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12121 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12122 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12123 when handler == SIG_ERR, not when handler != SIG_ERR.
12125 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12127 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12128 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12131 accept4 for GNU Hurd.
12132 * include/sys/socket.h (__libc_accept4): New prototype.
12133 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12134 to implement __libc_accept4.
12135 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12137 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12139 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12140 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12141 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12142 signal-defines.sym.
12144 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12146 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12148 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
12150 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12151 assertion on O_CLOEXEC flag.
12152 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12153 * hurd/intern-fd.c: Likewise.
12154 * hurd/port2fd.c: Likewise.
12156 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12159 * bits/in.h (IPV6_PKTINFO): Define new macro.
12160 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12162 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12167 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12168 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12169 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12170 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12171 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12172 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12173 * math/libm-test.inc (logb_test) : Additional logb tests.
12175 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12176 Andreas Jaeger <aj@suse.de>
12178 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12179 * configure: Regenerated.
12180 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12181 * config.make.in (link-obsolete-rpc): New substituted variable.
12182 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12183 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12184 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12185 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12186 so that libc.a contains the symbols.
12187 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12188 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12189 * sunrpc/auth_none.c: Likewise.
12190 * sunrpc/auth_unix.c: Likewise.
12191 * sunrpc/authdes_prot.c: Likewise.
12192 * sunrpc/authuxprot.c: Likewise.
12193 * sunrpc/clnt_gen.c: Likewise.
12194 * sunrpc/clnt_perr.c: Likewise.
12195 * sunrpc/clnt_raw.c: Likewise.
12196 * sunrpc/clnt_simp.c: Likewise.
12197 * sunrpc/clnt_tcp.c: Likewise.
12198 * sunrpc/clnt_udp.c: Likewise.
12199 * sunrpc/clnt_unix.c: Likewise.
12200 * sunrpc/des_crypt.c: Likewise.
12201 * sunrpc/des_soft.c: Likewise.
12202 * sunrpc/get_myaddr.c: Likewise.
12203 * sunrpc/key_call.c: Likewise.
12204 * sunrpc/key_prot.c: Likewise.
12205 * sunrpc/netname.c: Likewise.
12206 * sunrpc/pm_getmaps.c: Likewise.
12207 * sunrpc/pm_getport.c: Likewise.
12208 * sunrpc/pmap_clnt.c: Likewise.
12209 * sunrpc/pmap_prot.c: Likewise.
12210 * sunrpc/pmap_prot2.c: Likewise.
12211 * sunrpc/pmap_rmt.c: Likewise.
12212 * sunrpc/publickey.c: Likewise.
12213 * sunrpc/rpc_cmsg.c: Likewise.
12214 * sunrpc/rpc_common.c: Likewise.
12215 * sunrpc/rpc_dtable.c: Likewise.
12216 * sunrpc/rpc_prot.c: Likewise.
12217 * sunrpc/rpc_thread.c: Likewise.
12218 * sunrpc/rtime.c: Likewise.
12219 * sunrpc/svc.c: Likewise.
12220 * sunrpc/svc_auth.c: Likewise.
12221 * sunrpc/svc_raw.c: Likewise.
12222 * sunrpc/svc_run.c: Likewise.
12223 * sunrpc/svc_tcp.c: Likewise.
12224 * sunrpc/svc_udp.c: Likewise.
12225 * sunrpc/svc_unix.c: Likewise.
12226 * sunrpc/svcauth_des.c: Likewise.
12227 * sunrpc/xcrypt.c: Likewise.
12228 * sunrpc/xdr.c: Likewise.
12229 * sunrpc/xdr_array.c: Likewise.
12230 * sunrpc/xdr_float.c: Likewise.
12231 * sunrpc/xdr_intXX_t.c: Likewise.
12232 * sunrpc/xdr_mem.c: Likewise.
12233 * sunrpc/xdr_rec.c: Likewise.
12234 * sunrpc/xdr_ref.c: Likewise.
12235 * sunrpc/xdr_sizeof.c: Likewise.
12236 * sunrpc/xdr_stdio.c: Likewise.
12238 2012-05-10 Roland McGrath <roland@hack.frob.com>
12240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12241 change. Update copyright years.
12243 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12245 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12247 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12248 Joseph Myers <joseph@codesourcery.com>
12249 Paul Pluzhnikov <ppluzhnikov@google.com>
12252 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12254 [cross-compiling] (extra-libs): Likewise.
12255 [cross-compiling] (extra-libs-others): Likewise.
12256 [cross-compiling] (librpcsvc-routines): Likewise.
12257 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12258 [cross-compiling] (omit-deps): Likewise.
12259 (sunrpc-CPPFLAGS): New variable.
12260 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12261 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12262 (cross-rpcgen-objs): New variable.
12263 (extra-objs): Append $(cross-rpcgen-objs).
12264 ($(cross-rpcgen-objs)): New rule.
12265 ($(objpfx)cross-rpcgen): Likewise.
12266 (rpcgen-cmd): Define to use $(built-program-file). Expand
12268 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12269 ($(objpfx)x%.stmp): Likewise.
12270 * sunrpc/proto.h [IS_IN_build] (_): Define.
12271 [IS_IN_build] (_libc_intl_domainname): Likewise.
12273 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12275 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12276 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12277 and R_X86_64_TPOFF64.
12279 2012-05-10 Joseph Myers <joseph@codesourcery.com>
12281 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12282 sysdeps/unix/sysv/syscalls.list.
12285 * sysdeps/unix/sysv/syscalls.list: Remove file.
12287 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12290 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12291 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12292 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12293 (__LC_IDENTIFICATION): Make these macros useful in #if
12294 expressions, as required by C99.
12296 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12298 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12299 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12302 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12304 * stdlib/longlong.h: Updated from GCC.
12306 2012-05-09 Andreas Jaeger <aj@suse.de>
12308 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12309 default is first entry.
12310 (run_mode): Set type.
12311 (main): Remove informal message about syslog.
12312 (options): Fix typo.
12315 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12318 (llrintf): Likewise.
12319 (llrint): Likewise.
12322 (nearbyint): Likewise.
12323 (nearbyintf): Likewise.
12325 2012-05-09 Andreas Jaeger <aj@suse.de>
12326 Pedro Alves <palves@redhat.com>
12328 * nscd/nscd.c (run_mode): Use enum.
12329 (main): Cleanup coding style issue.
12331 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
12332 Andreas Jaeger <aj@suse.de>
12334 * nscd/nscd.c (go_background): Replaced with...
12335 (run_mode): ... this.
12336 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12337 (options): Add -F --foreground.
12338 (main): Implement it.
12339 (parse_opt): Parse it.
12341 2012-05-09 Andreas Jaeger <aj@suse.de>
12344 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12345 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12346 -Wconversion warning.
12347 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12350 2012-05-09 Joseph Myers <joseph@codesourcery.com>
12352 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12354 (LC_ALL): Use macro-int-constant.
12355 (LC_COLLATE): Likewise.
12356 (LC_CTYPE): Likewise.
12357 (LC_MESSAGES): Likewise.
12358 (LC_MONETARY): Likewise.
12359 (LC_NUMERIC): Likewise.
12360 (LC_TIME): Likewise.
12361 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12362 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12363 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12364 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12366 [C99-based standards] (float_t): Expect type.
12367 [C99-based standards] (double_t): Expect type.
12368 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12370 [C99-based standards] (HUGE_VALL): Likewise.
12371 [C99-based standards] (INFINITY): Likewise.
12372 [C99-based standards] (NAN): Likewise.
12373 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12374 [C99-based standards] (FP_NAN): Likewise.
12375 [C99-based standards] (FP_NORMAL): Likewise.
12376 [C99-based standards] (FP_SUBNORMAL): Likewise.
12377 [C99-based standards] (FP_ZERO): Likewise.
12378 [C99-based standards] (FP_FAST_FMA): Use
12379 optional-macro-int-constant. Specify type. Require == 1.
12380 [C99-based standards] (FP_FAST_FMAF): Likewise.
12381 [C99-based standards] (FP_FAST_FMAL): Likewise.
12382 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12383 [C99-based standards] (FP_ILOGBNAN): Likewise.
12384 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12386 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12387 [C99-based standards] (math_errhandling): Specify type.
12388 [ISO99 || ISO11] (signgam): Do not allow.
12389 [non-C99-based standards] (copysignf): Do not allow.
12390 [non-C99-based standards] (exp2f): Likewise.
12391 [non-C99-based standards] (log2f): Likewise.
12392 [non-C99-based standards] (modff): Allow.
12393 [non-C99-based standards] (erff): Do not allow.
12394 [non-C99-based standards] (erfcf): Likewise.
12395 [non-C99-based standards] (gammaf): Likewise.
12396 [non-C99-based standards] (hypotf): Likewise.
12397 [non-C99-based standards] (j0f): Likewise.
12398 [non-C99-based standards] (j1f): Likewise.
12399 [non-C99-based standards] (jnf): Likewise.
12400 [non-C99-based standards] (lgammaf): Likewise.
12401 [non-C99-based standards] (tgammaf): Likewise.
12402 [non-C99-based standards] (y0f): Likewise.
12403 [non-C99-based standards] (y1f): Likewise.
12404 [non-C99-based standards] (ynf): Likewise.
12405 [non-C99-based standards] (isnanf): Likewise.
12406 [non-C99-based standards] (acoshf): Likewise.
12407 [non-C99-based standards] (asinhf): Likewise.
12408 [non-C99-based standards] (atanhf): Likewise.
12409 [non-C99-based standards] (cbrtf): Likewise.
12410 [non-C99-based standards] (expm1f): Likewise.
12411 [non-C99-based standards] (ilogbf): Likewise.
12412 [non-C99-based standards] (log1pf): Likewise.
12413 [non-C99-based standards] (logbf): Likewise.
12414 [non-C99-based standards] (nextafterf): Likewise.
12415 [non-C99-based standards] (remainderf): Likewise.
12416 [non-C99-based standards] (rintf): Likewise.
12417 [non-C99-based standards] (scalbf): Likewise.
12418 [non-C99-based standards] (copysignl): Likewise.
12419 [non-C99-based standards] (exp2l): Likewise.
12420 [non-C99-based standards] (log2l): Likewise.
12421 [non-C99-based standards] (modfl): Allow.
12422 [non-C99-based standards] (erfl): Do not allow.
12423 [non-C99-based standards] (erfcl): Likewise.
12424 [non-C99-based standards] (gammal): Likewise.
12425 [non-C99-based standards] (hypotl): Likewise.
12426 [non-C99-based standards] (j0l): Likewise.
12427 [non-C99-based standards] (j1l): Likewise.
12428 [non-C99-based standards] (jnl): Likewise.
12429 [non-C99-based standards] (lgammal): Likewise.
12430 [non-C99-based standards] (tgammal): Likewise.
12431 [non-C99-based standards] (y0l): Likewise.
12432 [non-C99-based standards] (y1l): Likewise.
12433 [non-C99-based standards] (ynl): Likewise.
12434 [non-C99-based standards] (isnanl): Likewise.
12435 [non-C99-based standards] (acoshl): Likewise.
12436 [non-C99-based standards] (asinhl): Likewise.
12437 [non-C99-based standards] (atanhl): Likewise.
12438 [non-C99-based standards] (cbrtl): Likewise.
12439 [non-C99-based standards] (expm1l): Likewise.
12440 [non-C99-based standards] (ilogbl): Likewise.
12441 [non-C99-based standards] (log1pl): Likewise.
12442 [non-C99-based standards] (logbl): Likewise.
12443 [non-C99-based standards] (nextafterl): Likewise.
12444 [non-C99-based standards] (remainderl): Likewise.
12445 [non-C99-based standards] (rintl): Likewise.
12446 [non-C99-based standards] (scalbl): Likewise.
12447 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12448 [non-C99-based standards] (FP_*): Do not allow.
12449 [C99-based standards] (FP_*): Change to
12450 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12451 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12453 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12454 (SIG_ERR): Likewise.
12455 [X/Open-based standards] (SIG_HOLD): Likewise.
12456 (SIG_IGN): Likewise.
12457 (SIGABRT): Use macro-int-constant. Specify type. Require
12459 (SIGFPE): Likewise.
12460 (SIGILL): Likewise.
12461 (SIGINT): Likewise.
12462 (SIGSEGV): Likewise.
12463 (SIGTER): Likewise.
12464 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12465 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12466 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12467 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12468 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12469 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12470 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12471 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12472 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12473 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12474 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12475 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12476 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12477 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12478 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12479 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12480 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12481 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12482 [X/Open-based standards] (SIGTRAP): Likewise.
12483 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12484 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12485 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12486 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12487 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12490 2012-05-08 Ian Wienand <ianw@vmware.com>
12493 * time/tzset.c (__tzset_parse_tz): Update default rules for
12494 daylight time changes in the Energy Policy Act of 2005.
12496 2012-05-09 Andreas Jaeger <aj@suse.de>
12499 * elf/ldconfig.c (parse_conf): Change string to make clear that
12500 ldconfig only issued a warning if ld.so.conf does not exist.
12502 2012-05-08 David S. Miller <davem@davemloft.net>
12504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12505 movxtod instead of popping the value on the stack.
12507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12509 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12511 * config.h.in: Add HAVE_ARM_PCS_VFP.
12513 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
12516 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12517 checking but the checks are disabled for any reason.
12519 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12521 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12522 and ELF64_R_TYPE with ELFW(R_TYPE).
12524 2012-05-08 Joseph Myers <joseph@codesourcery.com>
12526 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12527 (ulimit): Likewise.
12529 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12530 (settimeofday): Likewise.
12532 2012-05-08 Mike Frysinger <vapier@gentoo.org>
12534 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12535 a struct th_u2 inside the union, and move tu_block/tu_code into
12536 a new th_u3 union of tu_block/tu_code inside of that. Move
12537 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12538 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12539 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12540 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12541 (th_stuff): Change to th_u1.tu_stuff.
12543 (th_msg): Change to th_u1.th_u2.tu_data.
12545 2012-05-07 David S. Miller <davem@davemloft.net>
12547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12550 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12551 (SETUP_PIC_REG): Use it.
12552 (SETUP_PIC_REG_LEAF): Use it.
12554 2012-05-07 Joseph Myers <joseph@codesourcery.com>
12558 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12560 (EXPL_FINITE): Likewise.
12561 (FLDLOG): Likewise.
12562 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12563 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12565 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12567 (EXPL_FINITE): Likewise.
12568 (FLDLOG): Likewise.
12569 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12570 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12572 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12573 test of -max_value argument for long double.
12574 * sysdeps/i386/fpu/libm-test-ulps: Update.
12575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12577 2012-05-06 David S. Miller <davem@davemloft.net>
12579 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12580 quad soft-float symbols whose references which are compiler
12582 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12584 2012-05-06 Joseph Myers <joseph@codesourcery.com>
12588 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12590 (EXPL_FINITE): Likewise.
12591 (FLDLOG): Likewise.
12594 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12595 Adjust comments for base varying.
12596 (__expl_finite): Change alias to EXPL_FINITE.
12597 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12599 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12600 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12601 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12602 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12603 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12605 (EXPL_FINITE): Likewise.
12606 (FLDLOG): Likewise.
12609 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12610 Adjust comments for base varying.
12611 (__expl_finite): Change alias to EXPL_FINITE.
12612 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12614 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12617 * math/libm-test.inc (check_float_internal): Correct ulp
12618 calculation for subnormal expected results.
12620 2012-05-06 Andreas Jaeger <aj@suse.de>
12622 * Makeconfig (+math-flags): New, set to -frounding-math.
12623 (+cflags): Add +math-flags so that all of glibc gets compiled with
12626 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12628 2012-05-05 Joseph Myers <joseph@codesourcery.com>
12630 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12636 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12637 (__ieee754_expl): Allow for and saturate large arguments.
12638 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12639 (u_threshold): Likewise.
12640 (__exp): Call __ieee754_exp before checking for overflow and
12642 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12643 (u_threshold): Likewise.
12644 (__expf): Call __ieee754_expf before checking for overflow and
12646 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12647 (u_threshold): Likewise.
12648 (__expl): Call __ieee754_expl before checking for overflow and
12650 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12651 (__ieee754_expl): Allow for and saturate large arguments.
12652 * math/libm-test.inc (exp_test): Add another test. Do not allow
12653 missing overflow exception on overflow.
12654 (expm1_test): Do not allow missing overflow exception on overflow.
12656 * sysdeps/i386/fpu/e_expl.c: Move to ...
12657 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12658 rather than using inline asm.
12659 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12660 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12661 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12663 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12666 (signal): Likewise.
12670 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12672 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12673 sysdeps/unix/common/syscalls.list.
12674 (fchmod): Likewise.
12675 (fchown): Likewise.
12676 (ftruncate): Likewise.
12677 (getrusage): Likewise.
12678 (gettimeofday): Likewise.
12679 (setpgid): Likewise.
12680 (setregid): Likewise.
12681 (setreuid): Likewise.
12682 (sigaction): Likewise.
12683 (truncate): Likewise.
12684 (vhangup): Likewise.
12685 * sysdeps/unix/common/syscalls.list: Remove file.
12686 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12687 * sysdeps/unix/sysv/linux/Implies: Likewise.
12689 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12691 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12693 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12697 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12700 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12703 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12706 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12709 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12712 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12715 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12719 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12723 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12726 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12730 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12734 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12736 * sysdeps/unix/common/bits/dirent.h: Remove file.
12737 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12739 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12740 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12741 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12742 * sysdeps/unix/bsd/isatty.c: Likewise.
12743 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12744 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12745 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12747 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12750 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12751 long double comparison inaccuracies.
12752 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12755 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12757 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12758 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12760 2012-05-04 Joseph Myers <joseph@codesourcery.com>
12763 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12764 nonzero digits before rounding a hex value.
12765 * stdlib/tst-strtod.c (tests): Add another test.
12767 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12769 * sysdeps/s390/fpu/libm-test-ulps: Update.
12771 2012-05-03 Andreas Jaeger <aj@suse.de>
12773 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12774 does not get optimized out.
12775 (malloc_opt_barrier): New.
12777 2012-05-03 Andreas Jaeger <aj@suse.de>
12778 Roland McGrath <roland@hack.frob.com>
12780 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
12781 intermediate file deletion.
12782 (generated): Add .symlist files.
12784 2012-05-03 Joseph Myers <joseph@codesourcery.com>
12787 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12788 Redirect under this condition.
12789 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12790 [__USE_GNU] (__dprintf_chk): Not under this condition.
12791 [__USE_GNU] (__vdprintf_chk): Likewise.
12792 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12793 under this condition.
12794 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12795 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12796 [__USE_XOPEN2K8] (vdprintf): Likewise.
12797 [__USE_GNU] (__dprintf_chk): Not under this condition.
12798 [__USE_GNU] (__vdprintf_chk): Likewise.
12799 [__USE_GNU] (dprintf): Likewise.
12800 [__USE_GNU] (vdprintf): Likewise.
12802 2012-05-03 Roland McGrath <roland@hack.frob.com>
12804 * elf/Makefile (common-generated): Set this instead of generated for
12805 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12806 $(all-built-dso)-derived lists.
12808 2012-05-03 Andreas Jaeger <aj@suse.de>
12810 * sysdeps/i386/fpu/libm-test-ulps: Update.
12813 * FAQ.in: Likewise.
12814 * scripts/gen-FAQ.pl: Likewise.
12815 * manual/install.texi (Installation): Point to online location of
12817 * Makefile (files-for-dist): Remove FAQ.
12820 2012-05-02 Allan McRae <allan@archlinux.org>
12822 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12823 (LDFLAGS-reldepmod5.so): Likewise.
12824 (LDFLAGS-reldep6mod1.so): Likewise.
12825 (LDFLAGS-reldep6mod4.so): Likewise.
12826 (LDFLAGS-reldep8mod3.so): Likewise.
12827 (LDFLAGS-unload4mod1.so): Likewise.
12828 (LDFLAGS-unload4mod2.so): Likewise.
12829 (LDFLAGS-tst-initorder): Likewise.
12830 (LDFLAGS-tst-initordera2.so): Likewise.
12831 (LDFLAGS-tst-initordera3.so): Likewise.
12832 (LDFLAGS-tst-initordera4.so): Likewise.
12833 (LDFLAGS-tst-initorderb2.so): Likewise.
12834 (LDFLAGS-noload): Likewise.
12835 (LDFLAGS-next): Likewise.
12836 (LDFLAGS-order2mod1.so): Likewise.
12837 (LDFLAGS-order2mod2.so): Likewise.
12838 (LDFLAGS-tst-initorder2): Likewise.
12839 (LDFLAGS-tst-initorder2a.so): Likewise.
12840 (LDFLAGS-tst-initorder2b.so): Likewise.
12841 (LDFLAGS-tst-initorder2c.so): Likewise.
12842 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12844 2012-05-02 David S. Miller <davem@davemloft.net>
12846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12848 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12851 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12853 2012-05-02 Andreas Jaeger <aj@suse.de>
12855 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12856 since we manipulate rounding mode.
12857 (CPPFLAGS-test-idouble.c): Likewise.
12858 (CPPFLAGS-test-ifloat.c): Likewise.
12859 (CFLAGS-test-ldouble.c): Likewise.
12860 (CFLAGS-test-double.c): Likewise.
12861 (CFLAGS-test-float.c): Likewise.
12862 (CFLAGS-test-misc.c): Likewise.
12863 (CFLAGS-test-test-fenv.c): Likewise.
12865 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12869 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12870 comparisons to determine direction to adjust input.
12872 2012-05-01 Roland McGrath <roland@hack.frob.com>
12874 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12875 output to the target.
12877 * scripts/localplt.awk: New file.
12878 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12879 (check-localplt-CFLAGS): Variable removed.
12880 ($(all-built-dso:=.jmprel)): New static pattern rule.
12881 (generated): Add those targets.
12882 (localplt-built-dso): New variable.
12883 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12885 * elf/check-localplt.c: File removed.
12887 * scripts/check-execstack.awk: New file.
12888 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12889 (check-execstack-CFLAGS): Variable removed.
12890 ($(objpfx)check-execstack.h): Target removed.
12891 ($(objpfx)execstack-default): New target.
12892 (generated): Add that instead of check-execstack.h.
12893 ($(all-built-dso:=.phdr)): New static pattern rule.
12894 (generated): Add those targets.
12895 * elf/check-execstack.c: File removed.
12897 * scripts/check-textrel.awk: New file.
12898 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12899 (check-textrel-CFLAGS): Variable removed.
12900 (all-built-dso): Use := to define.o
12901 ($(all-built-dso:=.dyn)): New static pattern rule.
12902 (generated): Add those targets.
12903 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12904 * config.make.in (READELF): New substituted variable.
12905 * elf/check-textrel.c: File removed.
12907 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12909 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12911 * conform/data/ctype.h-data [C99-based standards] (isblank):
12913 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12914 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12915 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12916 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12917 Specify type. Require positive value.
12918 (EILSEQ): Likewise.
12919 (ERANGE): Likewise.
12920 [ISO || POSIX] (EILSEQ): Do not expect.
12921 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12922 Specify type. Require positive value.
12923 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12924 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12925 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12926 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12927 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12928 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12929 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12930 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12931 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12932 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12933 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12934 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12935 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12936 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12937 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12938 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12939 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12940 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12941 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12942 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12943 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12944 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12945 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12946 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12947 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12948 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12949 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12950 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12951 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12952 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12953 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12954 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12955 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12956 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12957 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12958 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12959 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12960 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12961 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12962 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12963 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12964 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12965 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12966 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12967 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12968 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12969 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12970 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12971 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12972 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12973 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12974 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12975 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12976 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12977 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12978 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12979 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12980 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12981 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12982 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12983 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12984 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12985 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12986 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12987 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12988 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12989 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12990 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12991 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12992 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12993 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12994 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12995 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12996 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12997 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12998 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12999 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13001 (FLT_ROUNDS): Expect as macro, not constant.
13002 (FLT_MANT_DIG): Use macro-int-constant.
13003 (DBL_MANT_DIG): Likewise.
13004 (LDBL_MANT_DIG): Likewise.
13005 (FLT_DIG): Likewise.
13006 (DBL_DIG): Likewise.
13007 (LDBL_DIG): Likewise.
13008 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
13009 (DBL_MIN_EXP): Likewise.
13010 (LDBL_MIN_EXP): Likewise.
13011 (FLT_MAX_EXP): Use macro-int-constant.
13012 (DBL_MAX_EXP): Likewise.
13013 (LDBL_MAX_EXP): Likewise.
13014 (FLT_MAX_10_EXP): Likewise.
13015 (DBL_MAX_10_EXP): Likewise.
13016 (LDBL_MAX_10_EXP): Likewise.
13017 (FLT_MAX): Use macro-constant.
13018 (DBL_MAX): Likewise.
13019 (LDBL_MAX): Likewise.
13020 (FLT_EPSILON): Use macro-constant. Give upper bound.
13021 (DBL_EPSILON): Likewise.
13022 (LDBL_EPSILON): Likewise.
13023 (FLT_MIN): Likewise.
13024 (DBL_MIN): Likewise.
13025 (LDBL_MIN): Likewise.
13026 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13027 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13028 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13029 [ISO11] (FLT_HAS_SUBNORM): Likewise.
13030 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13031 [ISO11] (DBL_DECIMAL_DIG): Likewise.
13032 [ISO11] (FLT_DECIMAL_DIG): Likewise.
13033 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13034 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13035 [ISO11] (FLT_TRUE_MIN): Likewise.
13036 [ISO11] (LDBL_TRUE_MIN): Likewise.
13037 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13038 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13039 (SCHAR_MIN): Use macro-int-constant. Specify type.
13040 (SCHAR_MAX): Likewise.
13041 (UCHAR_MAX): Likewise.
13042 (CHAR_MIN): Likewise.
13043 (CHAR_MAX): Likewise.
13044 (MB_LEN_MAX): Use macro-int-constant.
13045 (SHRT_MIN): Use macro-int-constant. Specify type.
13046 (SHRT_MAX): Likewise.
13047 (USHRT_MAX): Likewise.
13048 (INT_MAX): Likewise.
13049 (INT_MIN): Use macro-int-constant. Specify type. Make upper
13051 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
13053 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13055 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
13056 bound negative. Suffix upper bound with "L".
13057 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
13059 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13061 [C99-based standards] (LLONG_MAX): Likewise.
13062 [C99-based standards] (ULLONG_MAX): Likewise.
13063 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
13065 [ISO11] (max_align_t): Require type.
13066 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13068 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13069 from $CFLAGS, without defining away __attribute__ calls.
13070 (checknamespace): Use $CFLAGS_namespace.
13072 * conform/conformtest.pl (@keywords): Only include C99 keywords
13073 for standards based on C99 or C11.
13075 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13077 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13080 * conform/conformtest.pl: Handle "macro-int-constant" and test for
13081 usability of symbols in #if.
13083 * conform/conformtest.pl: If macro or constant types start
13084 "promoted:", expect the symbol to be of the following type
13085 promoted by the integer promotions.
13087 * conform/conformtest.pl: Parse all "constant" and "macro" lines
13088 in one place. Also handle "macro-constant".
13090 * conform/conformtest.pl: Only accept expected macro values with
13091 "==". Parse all "macro" lines in one place.
13092 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13094 * conform/conformtest.pl: Handle braced types on "constant" lines
13095 instead of handling "typed-constant".
13096 * conform/data/signal.h-data: Use "constant" instead of
13099 * conform/conformtest.pl: Handle "optional-" at start of lines in
13100 one place rather than duplicating several cases. Handle each
13101 format of "macro" line with initial "optional-".
13103 * conform/conformtest.pl: Only accept expected constant or
13104 optional-constant values with "==". Parse all "constant" lines in
13105 one place. Parse all "optional-constant" lines in one place.
13106 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13107 * conform/data/fmtmsg.h-data: Likewise.
13108 * conform/data/netinet/in.h-data: Likewise.
13109 * conform/data/tar.h-data: Likewise.
13110 * conform/data/limits.h-data: Use "==" form on "constant" and
13111 "optional-constant" lines.
13113 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13114 Use -std=c99 for XOPEN2K.
13115 (@knownproblems): Remove.
13116 (newtoken): Don't check %isknown.
13118 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13119 Do not expect macro.
13120 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13121 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13122 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13123 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13124 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13125 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13126 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13127 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13128 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13129 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13130 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13131 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13132 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13133 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13134 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13135 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13136 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13137 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13138 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13139 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13140 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13141 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13142 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13143 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13144 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13145 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13146 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13147 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13148 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13149 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13150 [XPG3] (acosh): Likewise.
13151 [XPG3] (asinh): Likewise.
13152 [XPG3] (atanh): Likewise.
13153 [XPG3] (cbrt): Likewise.
13154 [XPG3] (expm1): Likewise.
13155 [XPG3] (ilogb): Likewise.
13156 [XPG3] (log1p): Likewise.
13157 [XPG3] (logb): Likewise.
13158 [XPG3] (nextafter): Likewise.
13159 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13160 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13161 [XPG3] (remainder): Likewise.
13162 [XPG3] (rint): Likewise.
13163 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13164 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13165 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13166 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13167 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13168 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13169 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13170 [UNIX98 || XOPEN2K] (scalb): Expect.
13171 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13172 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13173 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13174 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13175 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13176 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13177 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13178 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13179 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13180 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13181 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13182 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13183 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13184 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13185 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13186 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13187 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13188 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13189 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13190 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13191 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13192 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13193 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13194 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13195 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13196 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13197 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13198 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13199 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13200 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13201 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13202 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13203 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13204 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13205 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13206 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13207 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13208 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13209 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13210 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13211 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13212 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13213 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13214 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13215 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13216 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13217 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13218 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13219 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13220 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13221 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13222 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13223 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13224 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13225 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13226 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13227 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13228 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13229 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13230 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13231 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13232 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13233 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13234 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13235 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13236 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13237 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13238 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13239 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13240 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13241 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13242 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13243 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13244 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13245 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13246 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13247 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13248 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13249 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13250 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13251 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13252 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13253 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13254 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13255 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13256 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13257 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13258 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13259 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13260 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13261 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13262 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13263 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13264 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13265 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13266 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13267 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13268 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13269 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13270 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13271 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13272 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13273 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13274 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13275 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13276 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13277 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13278 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13279 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13280 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13281 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13282 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13283 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13284 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13285 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13286 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13287 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13288 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13289 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13290 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13291 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13292 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13293 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13294 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13295 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13296 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13297 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13298 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13299 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13300 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13301 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13302 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13303 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13304 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13305 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13306 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13307 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13309 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13310 _XOPEN_SOURCE_EXTENDED for XPG4.
13312 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13314 * Makeconfig (localtime): Remove variable.
13315 (inst_localtime-file): Likewise.
13317 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13338 2012-05-01 Joseph Myers <joseph@codesourcery.com>
13342 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13343 comparisons to determine direction to adjust input.
13344 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13345 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13346 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13348 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13350 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13352 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13353 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13355 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13357 * math/libm-test.inc (nexttoward_test): Add more tests.
13359 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13362 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13363 in version GLIBC_2.1, not GLIBC_2.0.
13364 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13367 2012-04-30 Joseph Myers <joseph@codesourcery.com>
13370 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13372 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13373 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13374 * math/libm-test.inc (acos_test): Add more tests.
13375 (asin_test): Likewise.
13376 * sysdeps/i386/fpu/libm-test-ulps: Update.
13377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13380 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13382 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13383 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13384 * math/libm-test.inc (acos_test_tonearest): New function.
13385 (acos_test_towardzero): Likewise.
13386 (acos_test_downward): Likewise.
13387 (acos_test_upward): Likewise.
13388 (asin_test_tonearest): Likewise.
13389 (asin_test_towardzero): Likewise.
13390 (asin_test_downward): Likewise.
13391 (asin_test_upward): Likewise.
13392 (main): Call the new functions.
13393 * sysdeps/i386/fpu/libm-test-ulps: Update.
13394 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13398 * math/e_exp10.c: Include <float.h>.
13399 (__ieee754_exp10): Handle underflow here rather than multiplying
13400 large negative argument by M_LN10.
13401 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13403 * math/e_exp10l.c: Include <float.h>.
13404 (__ieee754_exp10l): Handle underflow here rather than multiplying
13405 large negative argument by M_LN10l.
13406 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13407 spurious overflow exception on underflow.
13409 2012-04-29 Marek Polacek <polacek@redhat.com>
13411 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13412 (__fortify_function): New macro.
13413 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13414 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13415 __extern_always_inline.
13416 * libio/bits/stdio2.h: Likewise.
13417 * libio/bits/stdio.h: Likewise.
13418 * string/string.h: Likewise.
13419 * string/bits/string3.h: Likewise.
13420 * include/stdio.h: Likewise.
13421 * stdlib/bits/stdlib.h: Likewise.
13422 * stdlib/stdlib.h: Likewise.
13423 * rt/bits/mqueue2.h: Likewise.
13424 * rt/mqueue.h: Likewise.
13425 * posix/bits/unistd.h: Likewise.
13426 * posix/unistd.h: Likewise.
13427 * io/bits/poll2.h: Likewise.
13428 * io/bits/fcntl2.h: Likewise.
13429 * io/fcntl.h: Likewise.
13430 * io/sys/poll.h: Likewise.
13431 * misc/bits/syslog.h: Likewise.
13432 * misc/bits/syslog-ldbl.h: Likewise.
13433 * misc/sys/syslog.h: Likewise.
13434 * socket/bits/socket2.h: Likewise.
13435 * socket/sys/socket.h: Likewise.
13436 * debug/tst-chk1.c: Likewise.
13437 * wcsmbs/bits/wchar2.h: Likewise.
13438 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13439 * wcsmbs/wchar.h: Likewise.
13441 2012-04-29 Andreas Jaeger <aj@suse.de>
13443 * Makerules (tests): Remove enable-check-abi protection.
13444 (check-abi-warn): Remove.
13445 (check-abi-%): Remove check-abi-warn usage.
13447 * configure.in: Remove check-abi configure option.
13448 * configure: Regenerated.
13449 * config.make.in (enable-check-abi): Remove.
13451 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13454 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13455 double functions to double *_finite functions.
13458 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13459 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13461 * stdio-common/Makefile (tests): Add tst-sprintf3.
13462 * stdio-common/tst-sprintf3.c: New file.
13464 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13465 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13467 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13469 * conform/conformtest.pl: Remove duplicate typed-constant
13472 2012-04-28 David S. Miller <davem@davemloft.net>
13474 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13475 (check-abi-%): Remove AWK script prerequisite and explicit
13477 (check-abi): Rewrite to just diff the symlist with the abilist.
13478 (config-tls, config-abi-config): Delete, no longer used.
13479 (update-abi-%): Remove AWK script and explicit abilist directory.
13480 (update-abi): Rewrite to simply compare and conditionally copy the
13481 symlist and the sysdep abilist file. Remove update-abi-config
13483 * abilist/ld.abilist: Remove.
13484 * abilist/libBrokenLocale.abilist: Remove.
13485 * abilist/libanl.abilist: Remove.
13486 * abilist/libcrypt.abilist: Remove.
13487 * abilist/libdl.abilist: Remove.
13488 * abilist/librt.abilist: Remove.
13489 * abilist/libthread_db.abilist: Remove.
13490 * abilist/libutil.abilist: Remove.
13491 * scripts/extract-abilist.awk: Remove.
13492 * scripts/merge-abilist.awk: Remove.
13493 * sysdeps/generic/libcidn.abilist: New file.
13494 * sysdeps/generic/libnss_compat.abilist: New file.
13495 * sysdeps/generic/libnss_db.abilist: New file.
13496 * sysdeps/generic/libnss_dns.abilist: New file.
13497 * sysdeps/generic/libnss_files.abilist: New file.
13498 * sysdeps/generic/libnss_hesiod.abilist: New file.
13499 * sysdeps/generic/libnss_nis.abilist: New file.
13500 * sysdeps/generic/libnss_nisplus.abilist: New file.
13501 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13502 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13503 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13505 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13506 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13507 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13508 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13509 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13510 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13511 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13512 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13513 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13515 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13516 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13517 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13518 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13520 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13521 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13522 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13523 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13524 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13525 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13527 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13528 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13529 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13531 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13532 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13534 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13536 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13538 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13540 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13542 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13544 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13548 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13550 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13552 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13554 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13556 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13634 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13635 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13636 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13638 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13639 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13640 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13641 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13642 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13643 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13644 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13645 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13646 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13647 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13699 2012-04-28 Joseph Myers <joseph@codesourcery.com>
13701 * conform/conformtest.pl: Fix typo in handling typed-constant from
13704 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13706 * README: Cut down references to pre-2.6 Linux kernels and
13707 Linuxthreads. Update lists of configurations in libc and ports
13708 and sort alphabetically. Say "or newer" with Linux kernel version
13711 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13713 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13716 * math/libm-test.inc (logb_test_downward): New test to expose
13717 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13720 2012-04-27 Joseph Myers <joseph@codesourcery.com>
13723 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13725 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13726 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13728 2012-04-26 Joseph Myers <joseph@codesourcery.com>
13730 * sysdeps/unix/i386/brk.S: Remove file.
13731 * sysdeps/unix/i386/dl-brk.S: Likewise.
13732 * sysdeps/unix/i386/pipe.S: Likewise.
13733 * sysdeps/unix/i386/sigreturn.S: Likewise.
13734 * sysdeps/unix/i386/syscall.S: Likewise.
13735 * sysdeps/unix/i386/vfork.S: Likewise.
13736 * sysdeps/unix/i386/wait.S: Likewise.
13738 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13739 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13741 * configure.in (arm*-none*): Do not allow without
13742 --enable-hacker-mode.
13743 (netbsd*): Remove case setting base_os.
13744 (386bsd*): Likewise.
13745 (freebsd*): Likewise.
13748 (sunos*): Likewise.
13749 (ultrix*): Likewise.
13750 (newsos*): Likewise.
13751 (dynix*): Likewise.
13757 (minix*): Likewise.
13758 (irix4*): Likewise.
13759 (irix6*): Likewise.
13760 (solaris[2-9]*): Likewise.
13762 * configure: Regenerated.
13764 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13767 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13768 overflow or cancellation in calculating denominator.
13769 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13770 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13771 down expression to avoid unexpected rounding in newer GCCs.
13772 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13774 2012-04-26 David S. Miller <davem@davemloft.net>
13776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13777 long-double compat symbols.
13778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13792 2012-04-25 David S. Miller <davem@davemloft.net>
13794 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13795 HWCAP_* values only after the memory barriers have been defined.
13796 (atomic_full_barrier): Define.
13797 (atomic_read_barrier): Define.
13798 (atomic_write_barrier): Define.
13800 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13802 * shlib-versions: Add libgcc_s version information.
13803 * sysdeps/generic/libgcc_s.h: Remove.
13804 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13806 * sysdeps/gnu/unwind-resume.c: Likewise.
13807 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13809 2012-04-25 David S. Miller <davem@davemloft.net>
13811 * sysdeps/unix/sparc/brk.S: Delete.
13812 * sysdeps/unix/sparc/dl-brk.S: Delete.
13813 * sysdeps/unix/sparc/pipe.S: Delete.
13814 * sysdeps/unix/sparc/sysdep.S: Delete.
13815 * sysdeps/unix/sparc/sysdep.h: Delete.
13816 * sysdeps/unix/sparc/vfork.S: Delete.
13817 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13818 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13819 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13820 ret_ERRVAL, r0, r1, MOVE): Define.
13821 (JUMPTARGET): Remove.
13822 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13823 sysdeps/unix/sparc/sysdep.h
13824 (ENTRY, END): Remove.
13825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13827 2012-04-25 Joseph Myers <joseph@codesourcery.com>
13829 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13830 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13833 * timezone/README: Update upstream location and email address for
13835 * timezone/zdump.c: Update from tzcode 2012b.
13836 * timezone/zic.c: Likewise.
13838 * configure.in (libc_cv_as_needed): Remove test.
13839 * configure: Regenerated.
13840 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13841 conditional definition.
13842 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13843 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13844 * config.make.in (have-as-needed): Remove variable.
13846 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13847 Paul Pluzhnikov <ppluzhnikov@google.com>
13849 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13852 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13854 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13855 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13856 * sysdeps/sh/strlen.S: Likewise.
13858 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13860 * sysdeps/unix/fork.S: Remove file.
13861 * sysdeps/unix/i386/fork.S: Likewise.
13862 * sysdeps/unix/sparc/fork.S: Likewise.
13864 * sysdeps/unix/system.c: Remove file.
13865 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13867 * sysdeps/unix/getegid.S: Remove file.
13868 * sysdeps/unix/geteuid.S: Likewise.
13870 2012-04-24 Roland McGrath <roland@hack.frob.com>
13872 * scripts/check-localplt.awk: New file.
13873 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13875 * scripts/data/localplt-generic.data: Add a comment.
13877 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13878 NODE when __dir_mkfile failed.
13879 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13880 Reported by Ludovic Courtès <ludo@gnu.org>.
13882 2012-04-24 Andreas Jaeger <aj@suse.de>
13884 * Makerules (common-clean): Also remove gen-as-const-headers
13887 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13889 * Makerules (native-compile): Do not change working directory for
13890 build. Use $(OUTPUT_OPTION) in command.
13891 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13893 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13896 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13897 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13898 * math/libm-test.inc (floor_test): Add more tests.
13899 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13901 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13903 * sysdeps/unix/getdents.c: Remove file.
13904 * sysdeps/unix/sysv/getdents.c: Likewise.
13905 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13907 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13908 sysdeps/unix/mman/syscalls.list.
13910 (mprotect): Likewise.
13912 (munmap): Likewise.
13913 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13914 * sysdeps/unix/mman/syscalls.list: Remove.
13915 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13917 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13918 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13919 * configure: Regenerated.
13920 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13921 $(libgcc_s_suffix).
13922 * config.make.in (libgcc_s_suffix): Remove variable.
13924 2012-04-23 Joseph Myers <joseph@codesourcery.com>
13926 * sysdeps/unix/sysv/gethostname.c: Move to ...
13927 * sysdeps/posix/gethostname.c: ... here.
13929 * sysdeps/unix/execve.S: Remove file.
13931 * sysdeps/unix/_exit.S: Remove file.
13933 2012-04-23 Andreas Jaeger <aj@suse.de>
13936 * manual/Makefile: Remove make dist support, there's no
13937 need for a stand-alone documentation tar ball.
13938 (TEXI2DVI): Define always, it's not in Makeconfig.
13941 (edition): Removed.
13942 (glibc-doc-$(edition).tar): Removed
13946 (ETAGS): Remove, it's in Makeconfig.
13947 (move-if-change): Remove, it's in Makeconfig.
13949 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
13952 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13953 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13954 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13955 (strtod_l, strtof_l, strtold_l): Remove __wur.
13956 It is not necessarily an error to ignore strtol's return value.
13957 One can reliably look at the stored endptr to decide whether
13958 the number had valid syntax.
13960 2012-04-21 Andreas Jaeger <aj@suse.de>
13963 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13965 2012-04-21 Joseph Myers <joseph@codesourcery.com>
13967 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13968 * sysdeps/unix/sysv/Versions: Remove file.
13970 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13975 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
13978 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13979 version from __vm86.
13981 2012-04-20 Joseph Myers <joseph@codesourcery.com>
13983 * sysdeps/unix/common/lxstat.c: Remove file.
13984 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13986 * sysdeps/unix/sysv/Makefile: Remove file.
13988 * sysdeps/unix/sysv/direct.h: Remove file.
13990 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13991 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13992 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13993 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13994 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13995 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13996 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13998 * sysdeps/unix/sysv/setrlimit.c: Remove file.
14000 * sysdeps/unix/xmknod.c: Remove file.
14001 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14003 * sysdeps/unix/sysv/settimeofday.c: Remove file.
14005 * sysdeps/unix/sysv/i386/time.S: Remove file.
14007 * sysdeps/unix/fxstat.c: Remove file.
14008 * sysdeps/unix/xstat.c: Likewise.
14009 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14011 * sysdeps/unix/sysv/sigaction.c: Remove file.
14013 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14014 (sysdep_headers): Remove variable.
14015 [termio.h not in sysdep_headers] (generated): Likewise.
14016 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14017 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14018 * sysdeps/unix/sysv/tcdrain.c: Likewise.
14019 * sysdeps/unix/sysv/tcflow.c: Likewise.
14020 * sysdeps/unix/sysv/tcflush.c: Likewise.
14021 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14022 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14023 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14024 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14025 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14027 * sysdeps/unix/siglist.c: Remove file.
14029 * sysdeps/unix/getppid.S: Remove file.
14031 * sysdeps/unix/mkdir.c: Remove file.
14032 * sysdeps/unix/rmdir.c: Likewise.
14034 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
14036 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14038 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14039 errlist-compat value.
14041 2012-04-18 David S. Miller <davem@davemloft.net>
14043 * sysdeps/generic/memcopy.h (reg_char): Delete.
14044 * debug/strcat_chk.c: Use char, not reg_char.
14045 * debug/strcpy_chk.c: Likewise.
14046 * debug/strncat_chk.c: Likewise.
14047 * debug/strncpy_chk.c: Likewise.
14048 * string/memchr.c: Likewise.
14049 * string/memrchr.c: Likewise.
14050 * string/rawmemchr.c: Likewise.
14051 * string/strcat.c: Likewise.
14052 * string/strchr.c: Likewise.
14053 * string/strchrnul.c: Likewise.
14054 * string/strcmp.c: Likewise.
14055 * string/strcpy.c: Likewise.
14056 * string/strncat.c: Likewise.
14057 * string/strncmp.c: Likewise.
14058 * string/strncpy.c: Likewise.
14060 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14062 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14063 __builtin_memcopy is called when src and dest ranges are known to not
14066 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14068 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14069 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14070 fwd_align_merge macro call.
14071 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14072 bwd_align_merge macro call.
14073 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14075 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
14077 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14078 bwd_align_merge macros.
14079 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14080 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14081 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14083 2012-04-18 David S. Miller <davem@davemloft.net>
14085 * sysdeps/sparc/sparc64/memcopy.h: Delete.
14087 2012-04-18 Andreas Jaeger <aj@suse.de>
14090 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14091 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14092 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14094 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14095 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14096 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14098 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14099 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14100 Adjust for changed ldbl-128 files.
14102 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14103 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14104 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14106 2012-04-17 David S. Miller <davem@davemloft.net>
14108 * sysdeps/sparc/sparc32/memcopy.h: Delete.
14110 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
14112 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14113 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14114 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14115 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14116 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14117 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14119 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14122 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14123 * math/libm-test.inc: Add ilogb errno and exception tests.
14124 * math/w_ilogb.c: New file: ilogb wrapper.
14125 * math/w_ilogbf.c: New file: ilogbf wrapper.
14126 * math/w_ilogbl.c: New file: ilogbl wrapper.
14127 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14128 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14129 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14130 exception being thrown with 0.0 as argument.
14131 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14132 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14133 exception being thrown with 0.0 as argument.
14134 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14135 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14136 exception being thrown with 0.0 as argument.
14137 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14138 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14139 exception being thrown with 0.0 as argument.
14140 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14141 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14142 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14143 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14144 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14145 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14146 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14147 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14148 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14150 2012-04-17 Petr Baudis <pasky@ucw.cz>
14152 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14155 2012-04-16 Marek Polacek <polacek@redhat.com>
14157 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14159 2012-04-16 Marek Polacek <polacek@redhat.com>
14161 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14162 operands of fdivp instruction.
14164 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14166 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14167 * elf/tst-auditmod3b.c: Likewise.
14168 * elf/tst-auditmod4b.c: Likewise.
14169 * elf/tst-auditmod5b.c: Likewise.
14170 * elf/tst-auditmod6b.c: Likewise.
14171 * elf/tst-auditmod6c.c: Likewise.
14172 * elf/tst-auditmod7b.c: Likewise.
14173 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14174 * sysdeps/x86_64/preconfigure.in: Likewise.
14175 * sysdeps/x86_64/preconfigure: Regenerated.
14177 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14179 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14182 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
14184 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14185 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14187 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14190 * locale/iso-639.def: Fix gl language name. Spotted by
14193 2012-04-12 Roland McGrath <roland@hack.frob.com>
14196 * libio/libio.h (__io_write_fn): Update comment.
14198 2012-04-12 Petr Baudis <pasky@ucw.cz>
14201 * stdio.texi (Hook Functions): The user provided writer function
14202 is not allowed to return -1.
14204 2012-04-11 David S. Miller <davem@davemloft.net>
14206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14208 2012-04-11 Mike Frysinger <vapier@gentoo.org>
14210 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14211 Add a leading slash to rtkaio.
14213 2012-04-11 Jim Meyering <meyering@redhat.com>
14216 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14217 It is not necessarily an error to ignore fwrite's return
14218 value. One can reliably use ferror to test for errors after
14221 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14223 * bits/types.h (__snseconds_t): New type.
14224 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14226 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14227 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14228 (__SNSECONDS_T_TYPE): Likewise.
14229 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14230 (__SNSECONDS_T_TYPE): Likewise.
14231 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14232 (__SNSECONDS_T_TYPE): Likewise.
14234 2012-04-10 Andreas Jaeger <aj@suse.de>
14237 * manual/time.texi (Processor Time): Return type of times is
14238 elapsed real time since an arbitrary point in the past.
14239 (CPU Time): Move CLK_TCK from here...
14240 (Processor Time): ...to here. Correct description.
14241 * manual/conf.texi (Constants for Sysconf): Correct description of
14244 2012-04-10 David S. Miller <davem@davemloft.net>
14247 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14248 where the is a gap between DT_REL(A) and DT_JMPREL.
14250 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14252 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14253 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14254 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14256 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14258 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14259 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14260 (dl_main): Handle --inhibit-cache.
14261 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14263 * elf/dl-load.c (_dl_map_object): Use it.
14264 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14266 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14269 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14270 (__ieee754_powl): Saturate large exponents rather than testing for
14271 overflow of y*log2(x).
14272 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14273 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14277 * math/s_ctan.c: Include <float.h>.
14278 (__ctan): Avoid internal overflow or cancellation in calculating
14280 * math/s_ctanf.c: Likewise.
14281 * math/s_ctanl.c: Likewise.
14282 * math/s_ctanh.c: Likewise.
14283 * math/s_ctanhf.c: Likewise.
14284 * math/s_ctanhl.c: Likewise.
14285 * math/libm-test.inc (ctan_test): Add more tests.
14286 (ctanh_test): Likewise.
14287 * sysdeps/i386/fpu/libm-test-ulps: Update.
14288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14290 2012-04-09 Andreas Jaeger <aj@suse.de>
14293 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14294 is an optional BSD extension.
14297 * manual/stdio.texi (Opening Streams): Document additional fopen
14300 2012-04-09 Roland McGrath <roland@hack.frob.com>
14302 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14303 %eax without telling the compiler.
14305 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14308 * manual/install.texi: Use sourceware.org.
14310 2012-04-09 Joseph Myers <joseph@codesourcery.com>
14313 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14314 (__ieee754_pow): Generate overflow and underflow using huge*huge
14315 and tiny*tiny rather than just returning constant infinity or zero
14316 for large exponents.
14317 * math/libm-test.inc (pow_test): Require overflow exceptions for
14318 applicable cases of large exponents.
14321 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14322 (__ieee754_pow): Use iterative multiplication algorithm only for
14323 integer exponents with absolute value below 1024. Check for odd
14324 integer exponents when using algorithm for real exponents.
14325 * math/libm-test.inc (pow_test): Add more tests.
14326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14328 2012-04-08 Joseph Myers <joseph@codesourcery.com>
14331 * math/libm-test.inc (exp_test): Do not allow overflow exception
14334 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14337 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14338 instead of __kernel_standard_f.
14340 2012-04-08 Mike Frysinger <vapier@gentoo.org>
14342 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14343 * sysdeps/x86_64/memset_chk.S: Likewise.
14345 2012-04-08 Andreas Jaeger <aj@suse.de>
14348 * manual/startup.texi (Environment Access): Describe return value
14349 for putenv and setenv.
14352 * manual/filesys.texi (Directory Entries): Add description for
14356 * manual/filesys.texi (Directory Entries): Clarify that it's file
14357 system not operating system in the description of DT_UNKNOWN.
14360 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14362 2012-04-08 Stephen Compall <s11@member.fsf.org>
14365 * manual/llio.texi (Opening and Closing Files): Add cross
14366 reference to explain mode argument.
14368 2012-04-07 Mike Frysinger <vapier@gentoo.org>
14370 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14371 * sysdeps/x86_64/memset_chk.S: Likewise.
14373 2012-04-07 David S. Miller <davem@davemloft.net>
14375 * elf/elf.h (R_SPARC_WDISP10): Define.
14376 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14378 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14379 R_SPARC_SIZE64 and R_SPARC_H34.
14381 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14383 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14384 conditions and remove no longer applicable assertion.
14386 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14388 * bits/byteswap.h: Include <features.h>.
14389 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14390 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14392 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14394 * bits/byteswap.h (__bswap_16): Removed.
14395 Include <bits/byteswap-16.h> to get __bswap_16.
14396 * sysdeps/i386/bits/byteswap.h: Likewise.
14397 * sysdeps/s390/bits/byteswap.h: Likewise.
14398 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14399 * bits/byteswap-16.h: New file.
14400 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14401 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14402 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14403 * string/Makefile (headers): Add bits/byteswap-16.h.
14405 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14408 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14410 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14411 * nss/tst-nss-static.c: New.
14413 2012-04-06 Robert Millan <rmh@gnu.org>
14416 * manual/llio.texi (File Position Primitive): lseek
14417 refers to WHENCE when it really means OFFSET.
14419 2012-04-06 Andreas Jaeger <aj@suse.de>
14421 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14422 strncmp declarations.
14424 * abilist/libc.abilist: Add __poll and __ppoll.
14426 2012-04-05 David S. Miller <davem@davemloft.net>
14428 * scripts/check-local-headers.sh: Accept a host triplet in the
14429 path matched by the exclude regexp.
14431 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14433 * sysdeps/powerpc/powerpc32/dl-machine.h
14434 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14435 * sysdeps/s390/s390-32/dl-machine.h
14436 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14437 * sysdeps/sparc/sparc32/dl-machine.h
14438 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14439 * sysdeps/sparc/sparc64/dl-machine.h
14440 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14442 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14444 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14445 undefined symbol errors.
14447 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14450 2012-04-05 Michael Matz <matz@suse.de>
14453 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14455 2012-04-05 Andreas Jaeger <aj@suse.de>
14458 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14461 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14463 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14464 which ROUND is no valid rounding mode.
14466 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14468 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14470 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14472 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14474 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14475 an exception using FPU order intentionally.
14477 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14479 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14480 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14481 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14482 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14484 2012-04-05 Simon Josefsson <simon@josefsson.org>
14487 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14488 EINVAL when BUFLEN is too smal.
14490 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14493 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14494 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14496 2012-04-03 Andreas Jaeger <aj@suse.de>
14499 * manual/setjmp.texi (System V contexts): Fix sentence.
14502 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14503 New macro for this case.
14504 [!__GNUC__] (__bswap_64): New inline function for this case.
14505 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14506 * bits/byteswap.h: Likewise.
14507 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14508 ull, guard with __GLIBC_HAVE_LONG_LONG.
14510 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14511 __GLIBC_HAVE_LONG_LONG.
14513 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14514 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14516 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14519 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14520 inptr and inend, rather than using last_ch.
14522 2012-04-02 David S. Miller <davem@davemloft.net>
14524 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14525 * stdio-common/printf-parse.h (read_int): Change return type to
14526 'int', return -1 on INT_MAX overflow.
14527 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14528 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14529 overflows INT_MAX. Check for overflow of in-format-string precision
14530 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14531 SIZE_MAX not INT_MAX for integer overflow test.
14532 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14533 skip the construct in the format string but do not record anything.
14534 * stdio-common/bug22.c: Adjust to test both width/prevision
14535 INT_MAX overflow as well as total length INT_MAX overflow. Check
14536 explicitly for proper errno values.
14538 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14540 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14542 * string/test-strcmp.c [! WIDE]: Likewise.
14543 * time/tst-mktime2.c: Likewise for INT_MAX.
14544 * string/test-string.h: #include <sys/param.h> for MIN.
14546 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14547 * sysdeps/i386/init-first.c (init): Likewise.
14548 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14549 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14550 * sysdeps/sh/init-first.c (init): Likewise.
14552 2012-04-01 Ulrich Drepper <drepper@gmail.com>
14554 * po/ru.po: Update from translation team.
14555 * po/vi.po: Likewise.
14557 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14559 * resolv/nss_dns/dns-host.c: Merge copyright years.
14561 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14563 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14564 Optimize memcpy with prefetch if
14565 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14566 src, dst pointers have unequal 16 byte alignments.
14568 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14571 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14572 from a CNAME entry and return the minimum ttl for the query.
14573 (gaih_getanswer_slice): Likewise.
14575 2012-03-30 Jeff Law <law@redhat.com>
14577 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14579 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14580 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14582 * resolv/nss_dns/dns-host.c: Update copyright year.
14584 2012-03-30 Ulrich Drepper <drepper@gmail.com>
14586 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
14587 requests to save a system call. Fix check that all bytes are sent.
14589 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14590 comments for sendmmsg.
14592 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14595 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14596 with only 1 character between 0x0041 and 0x01b0.
14597 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14598 * wcsmbs/tst-mbsnrtowcs.c: New file.
14600 2012-03-29 David S. Miller <davem@davemloft.net>
14602 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14603 small copies by hand.
14605 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14608 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14609 _nss_compat_initgroups_dyn): Fall back to malloc/free
14610 for large group memberships.
14612 2012-03-28 David S. Miller <davem@davemloft.net>
14614 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14615 that branches into memcpy.
14616 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14617 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14618 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14619 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14620 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14622 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14623 implementation too.
14624 * sysdeps/sparc/mempcpy.S: New file.
14626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14627 the IFUNC routine in the libc case.
14628 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14630 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14631 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14632 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14633 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14634 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14635 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14636 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14637 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14639 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14640 loop to 256 bytes instead of 64 bytes and fix test signedness.
14642 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14643 * sysdeps/sparc/sparc32/Makefile: rather than here...
14644 * sysdeps/sparc/sparc64/Makefile: and here.
14646 2012-03-28 Ulrich Drepper <drepper@gmail.com>
14648 * malloc/mallocbug.c: Avoid warnings about unused variables.
14650 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14653 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14654 in the right place. Discard and retry query if response is
14655 larger than input buffer size.
14657 2012-03-28 Joseph Myers <joseph@codesourcery.com>
14662 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14663 x for large integer exponent.
14664 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14665 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14666 sign of result as needed afterwards.
14667 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14668 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14669 result for underflowing pow the same as for overflow.
14670 (__kernel_standard_l): Handle powl overflow and underflow here
14671 rather than calling __kernel_standard.
14672 * math/libm-test.inc (pow_test): Add more tests.
14687 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14688 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14689 (__kernel_standard_l): New function.
14690 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14692 * math/w_acosl.c (__acosl): Likewise.
14693 * math/w_asinl.c (__asinl): Likewise.
14694 * math/w_atan2l.c (__atan2l): Likewise.
14695 * math/w_atanhl.c (__atanhl): Likewise.
14696 * math/w_coshl.c (__coshl): Likewise.
14697 * math/w_exp10l.c (__exp10l): Likewise.
14698 * math/w_exp2l.c (__exp2l): Likewise.
14699 * math/w_fmodl.c (__fmodl): Likewise.
14700 * math/w_hypotl.c (__hypotl): Likewise.
14701 * math/w_j0l.c (__j0l, __y0l): Likewise.
14702 * math/w_j1l.c (__j1l, __y1l): Likewise.
14703 * math/w_jnl.c (__jnl, __ynl): Likewise.
14704 * math/w_lgammal.c (__lgammal): Likewise.
14705 * math/w_log10l.c (__log10l): Likewise.
14706 * math/w_log2l.c (__log2l): Likewise.
14707 * math/w_logl.c (__logl): Likewise.
14708 * math/w_powl.c (__powl): Likewise.
14709 * math/w_remainderl.c (__remainderl): Likewise.
14710 * math/w_scalbl.c (sysv_scalbl): Likewise.
14711 * math/w_sinhl.c (__sinhl): Likewise.
14712 * math/w_sqrtl.c (__sqrtl): Likewise.
14713 * math/w_tgammal.c (__tgammal): Likewise.
14714 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14715 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14716 * math/libm-test.inc (acos_test): Add more tests.
14717 (acosh_test): Likewise.
14718 (asin_test): Likewise.
14719 (atanh_test): Likewise.
14720 (exp_test): Likewise.
14721 (exp10_test): Likewise.
14722 (exp2_test): Likewise.
14723 (expm1_test): Likewise.
14724 (lgamma_test): Likewise.
14725 (log_test): Likewise.
14726 (log10_test): Likewise.
14727 (log1p_test): Likewise.
14728 (log2_test): Likewise.
14729 (pow_test): Do not allow some spurious overflow exceptions.
14730 (sqrt_test): Add more tests.
14731 (tgamma_test): Likewise.
14732 (y0_test): Likewise.
14733 (y1_test): Likewise.
14734 (yn_test): Likewise.
14736 2012-03-27 Anton Blanchard <anton@samba.org>
14738 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14740 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14741 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14742 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14744 2012-03-27 David S. Miller <davem@davemloft.net>
14746 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14748 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14749 have-as-vis3 check.
14751 2012-03-27 Andreas Jaeger <aj@suse.de>
14753 * sysdeps/x86_64/elf/configure.in: Moved to ...
14754 * sysdeps/x86_64/configure.in: ... here.
14755 * sysdeps/x86_64/elf/start.S: Moved to ...
14756 * sysdeps/x86_64/start.S: ... here.
14757 * sysdeps/x86_64/elf/configure: Delete.
14759 * sysdeps/x86_64/configure.in: Merge contents from
14760 sysdeps/i386/configure.in (without i686 check).
14762 * sysdeps/i386/elf/Versions: Merge into ...
14763 * sysdeps/i386/Versions: ... this.
14764 * sysdeps/i386/elf/Versions: Delete file.
14765 * sysdeps/i386/elf/start.S: Moved to ...
14766 * sysdeps/i386/start.S: ...here.
14767 * sysdeps/i386/elf/configure.in: Merge into...
14768 * sysdeps/i386/configure.in: ...here.
14769 * sysdeps/i386/elf/configure.in: Delete file.
14770 * sysdeps/i386/elf/configure: Delete file.
14772 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14773 * debug/backtracesyms.c: ... here.
14774 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14775 * debug/backtracesymsfd.c: ... here.
14776 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14777 * sysdeps/generic/ifunc-sel.h: ... here.
14779 * sysdeps/unix/i386/start.c: Delete file.
14780 * sysdeps/unix/sparc/start.c: Delete file.
14781 * sysdeps/unix/start.c: Delete file.
14783 * sysdeps/sh/elf/configure.in: Moved to ...
14784 * sysdeps/sh/configure.in: ... here.
14785 * sysdeps/sh/elf/start.S: Moved to ...
14786 * sysdeps/sh/start.S: ... here.
14787 * sysdeps/sh/elf/configure: Delete file.
14789 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14790 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14791 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14792 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14793 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14794 * sysdeps/powerpc/powerpc64/start.S: here.
14795 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14796 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14797 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14798 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14799 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14801 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14802 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14803 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14804 * sysdeps/powerpc/powerpc32/start.S: ... here.
14805 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14806 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14807 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14809 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14810 * sysdeps/powerpc/ifunc-sel.h: ... here.
14811 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14812 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14814 * sysdeps/sparc/elf/configure.in: Moved to ...
14815 * sysdeps/sparc/configure.in: ... here.
14816 * sysdeps/sparc/elf/configure: Delete file.
14817 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14818 * sysdeps/sparc/sparc32/start.S: ... here.
14819 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14820 * sysdeps/sparc/sparc64/start.S: ... here.
14821 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14822 * sysdeps/sparc/sparc32/Makefile: ... this.
14823 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14824 * sysdeps/sparc/sparc64/Makefile: ... this.
14826 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14827 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14828 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14829 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14830 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14831 * sysdeps/s390/s390-32/setjmp.S: ... here.
14832 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14833 * sysdeps/s390/s390-32/configure.in: ... here.
14834 * sysdeps/s390/s390-32/elf/configure: Delete file.
14835 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14836 * sysdeps/s390/s390-32/start.S: ... here.
14838 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14839 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14840 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14841 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14842 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14843 * sysdeps/s390/s390-64/setjmp.S: ... here.
14844 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14845 * sysdeps/s390/s390-64/configure.in: ... here
14846 * sysdeps/s390/s390-64/elf/configure: Delete file.
14847 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14848 * sysdeps/s390/s390-64/start.S: ... here.
14849 * sysdeps/s390/s390-64/elf/configure: Delete.
14851 * configure.in: Remove support for elf directories in sysdeps.
14853 * configure: Regenerated.
14854 * sysdeps/i386/configure: Regenerated.
14855 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14856 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14857 * sysdeps/s390/s390-32/configure: Regenerated.
14858 * sysdeps/s390/s390-64/configure: Regenerated.
14859 * sysdeps/sh/configure: Regenerated.
14860 * sysdeps/sparc/configure: Regenerated.
14861 * sysdeps/x86_64/configure: Regenerated.
14863 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14867 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14868 denormal result into account.
14870 2012-03-25 Roland McGrath <roland@hack.frob.com>
14872 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14873 Reported by Allan McRae <allan@archlinux.org>.
14875 2012-03-23 Jeff Law <law@redhat.com>
14877 * nss/getnssent.c (__nss_getent): Fix typo.
14879 2012-03-23 David S. Miller <davem@davemloft.net>
14881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14883 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14885 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14886 to pad to uint64_t for each field.
14887 (dl_tls_index): Replace unsigned long with uint64_t.
14889 2012-03-23 Daniel Jacobowitz <dmj@google.com>
14890 Paul Pluzhnikov <ppluzhnikov@google.com>
14893 * grp/Makefile (otherlibs): Don't set it.
14894 * inet/Makefile (otherlibs): Likewise.
14895 * login/Makefile (otherlibs): Likewise.
14896 * nscd/Makefile (otherlibs): Likewise.
14897 * posix/Makefile (otherlibs): Likewise.
14898 * pwd/Makefile (otherlibs): Likewise.
14899 * rt/Makefile (otherlibs): Likewise.
14900 * sunrpc/Makefile (otherlibs): Likewise.
14901 * nss/Makefile (otherlibs): Likewise.
14902 Add libnss_files to routines and static-only-routines.
14903 ($(objpfx)getent): Remove rule.
14904 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14905 static-only-routines.
14907 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14910 * math/s_cexp.c: Include <float.h>.
14911 (__cexp): Handle exp result overflowing not necessarily
14912 overflowing both real and imaginary parts of result.
14913 * math/s_cexpf.c: Likewise.
14914 * math/s_cexpl.c: Likewise.
14915 * math/libm-test.inc (cexp_test): Add more tests.
14916 * sysdeps/i386/fpu/libm-test-ulps: Update.
14917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14919 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14921 * include/link.h (ELFW): New macro.
14922 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14923 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14925 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14927 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14930 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14932 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14934 (struct La_x32_retval): Likewise.
14936 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14938 * sysdeps/x86_64/preconfigure.in: New file.
14939 * sysdeps/x86_64/preconfigure: New generated file.
14941 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14944 * math/e_exp2l.c: Include <float.h>.
14945 (__ieee754_exp2l): Handle overflow and underflow cases
14946 separately. Only pass fractional part of argument to
14948 * math/libm-test.inc (exp2_test): Add more tests.
14950 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14951 negating x to take absolute value.
14952 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14954 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14955 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14957 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14958 computing low part if x was negated.
14959 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14961 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14963 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14964 la_x32_gnu_pltexit.
14965 (pltexit): Cast int_retval to ptrdiff_t.
14966 * elf/tst-auditmod3b.c: Likewise.
14967 * elf/tst-auditmod4b.c: Likewise.
14968 * elf/tst-auditmod5b.c: Likewise.
14969 * elf/tst-auditmod6b.c: Likewise.
14970 * elf/tst-auditmod6c.c: Likewise.
14971 * elf/tst-auditmod7b.c: Likewise.
14973 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14974 and x32_gnu_pltexit.
14976 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14977 __ELF_NATIVE_CLASS.
14978 (La_x32_regs): New macro.
14979 (La_x32_retval): Likewise.
14980 (la_x32_gnu_pltenter): New function prototype.
14981 (la_x32_gnu_pltexit): Likewise.
14983 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14985 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14990 * configure.in (libc_cv_cc_nofma): Check for option to disable
14991 generation of FMA instructions.
14992 * configure: Regenerate.
14993 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14994 * sysdeps/ieee754/dbl-64/Makefile: New file.
14995 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14996 Remove brandred-fma4.
14997 (CFLAGS-brandred-fma4.c): Remove.
14998 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14999 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15001 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15004 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15006 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15007 LLONG_MAX != LONG_MAX.
15008 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15009 (_fitoa_word): Likewise.
15010 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15011 LLONG_MAX != LONG_MAX.
15012 * stdio-common/_itowa.h: Include <_itoa.h>.
15013 (_itowa_word): Use _ITOA_WORD_TYPE on value.
15014 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
15015 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
15016 only if not defined.
15017 (_ITOA_WORD_TYPE): Likewise.
15018 (_itoa_word): Use _ITOA_WORD_TYPE on value.
15019 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15021 2012-03-21 David S. Miller <davem@davemloft.net>
15023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15025 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
15027 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15028 of x86_64 when setting libc_cv_slibdir, libdir and
15030 * sysdeps/unix/sysv/linux/configure: Regenerated.
15032 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15034 * manual/lang.texi (Old Varargs): Remove section.
15035 (How Variadic): Update menu.
15036 (va_start): Do not mention varargs.h.
15038 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15039 Joseph Myers <joseph@codesourcery.com>
15041 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15043 * configure: Regenerated.
15045 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
15047 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15048 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15051 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15054 * Makefile (files-for-dist): Remove NOTES.
15055 (NOTES): Remove rule.
15056 * README: Don't refer to NOTES.
15057 * manual/creature.texi: Don't include macros.texi.
15058 * manual/intro.texi (creature.texi): Remove comment referring to
15061 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15062 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15063 * configure: Regenerated.
15064 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15065 LIBC_TRY_CC_OPTION.
15066 (libc_cv_as_i686): Likewise.
15067 (libc_cv_cc_avx): Likewise.
15068 (libc_cv_cc_sse2avx): Likewise.
15069 (libc_cv_cc_fma4): Likewise.
15070 (libc_cv_cc_novzeroupper): Likewise.
15071 * sysdeps/i386/configure: Regenerated.
15074 * sysdeps/i386/fpu/s_cexp.S: Remove.
15075 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15076 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15077 * math/libm-test.inc (cexp_test): Add more tests.
15078 * sysdeps/i386/fpu/libm-test-ulps: Update.
15079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15081 2012-03-21 Allan McRae <allan@archlinux.org>
15083 * timezone/Makefile: Do not install iso3166.tab and zone.tab
15085 2012-03-21 Joseph Myers <joseph@codesourcery.com>
15088 * math/w_exp2.c: Do not include <float.h>.
15089 (o_threshold, u_threshold): Remove.
15090 (__exp2): Calculate result before checking finiteness and calling
15092 * math/w_exp2f.c: Likewise.
15093 * math/w_exp2l.c: Likewise.
15094 * math/libm-test.inc (exp2_test): Require overflow exception for
15098 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15099 range of signed 64-bit integers before using fistpll. Remove
15100 checks for whether integers fit in mantissa bits.
15101 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15102 the range of signed 32-bit integers before using fistpl. Remove
15103 checks for whether integers fit in mantissa bits.
15104 * sysdeps/i386/fpu/e_powl.S (p64): New object.
15105 (__ieee754_powl): Test for y outside the range of signed 64-bit
15106 integers before using fistpll. Reduce 64-bit values to 63-bit
15108 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15109 divide-by-zero is raised for zero to large negative powers.
15110 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15111 (__ieee754_powl): Test for y outside the range of signed 64-bit
15112 integers before using fistpll. Reduce 64-bit values to 63-bit
15114 * math/libm-test.inc (pow_test): Add more tests.
15116 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15118 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15119 <stdio-common/_itoa.h>.
15120 * debug/segfault.c: Likewise.
15121 * elf/dl-cache.c: Likewise.
15122 * elf/dl-minimal.c: Likewise.
15123 * elf/dl-misc.c: Likewise.
15124 * elf/dl-sysdep.c: Likewise.
15125 * elf/dl-version.c: Likewise.
15126 * elf/rtld.c: Likewise.
15127 * hurd/hurdsock.c: Likewise.
15128 * hurd/lookup-retry.c: Likewise.
15129 * malloc/malloc.c: Likewise.
15130 * malloc/mtrace.c: Likewise.
15131 * nscd/nscd_getgr_r.c: Likewise.
15132 * nscd/nscd_getpw_r.c: Likewise.
15133 * nscd/nscd_getserv_r.c: Likewise.
15134 * posix/getopt_init.c: Likewise.
15135 * posix/wordexp.c: Likewise.
15136 * stdio-common/_itoa.c: Likewise.
15137 * stdio-common/printf_fphex.c: Likewise.
15138 * stdio-common/vfprintf.c: Likewise.
15139 * string/_strerror.c: Likewise.
15140 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15141 * sysdeps/i386/i686/hp-timing.h: Likewise.
15142 * sysdeps/mach/_strerror.c: Likewise.
15143 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15144 * sysdeps/mach/hurd/sethostid.c: Likewise.
15145 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15146 * sysdeps/mach/xpg-strerror.c: Likewise.
15147 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15148 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15149 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15150 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15151 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15152 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15153 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15154 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15155 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15156 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15157 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15158 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15159 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15160 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15161 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15162 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15163 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15164 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15165 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15166 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15167 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15169 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15171 * stdio-common/_itoa.h: Moved to ...
15172 * sysdeps/generic/_itoa.h: Here.
15174 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15176 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15177 instead of "_itoa.h" and "_itowa.h".
15178 * stdio-common/vfprintf.: Likewise.
15180 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15182 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15184 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15185 (__signbit): Likwise.
15186 (llrintf): Likwise.
15189 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15191 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15194 2012-03-20 Joseph Myers <joseph@codesourcery.com>
15196 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15197 OVERFLOW_EXCEPTION_OK.
15198 * math/libm-test.inc ("Philosophy"): Update comment about
15200 (OVERFLOW_EXCEPTION): Define.
15201 (OVERFLOW_EXCEPTION_OK): Likewise.
15202 (INVALID_EXCEPTION_OK): Renumber.
15203 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15204 (IGNORE_ZERO_INF_SIGN): Likewise.
15205 (test_exceptions): Handle FE_OVERFLOW.
15206 (exp10_test): Expect overflow exceptions.
15207 (exp2_test): Likewise.
15208 (expm1_test): Likewise.
15209 (nextafter_test): Likewise.
15210 (pow_test): Likewise.
15211 (scalbn_test): Likewise.
15212 (scalbln_test): Likewise.
15214 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15216 * sysdeps/x86_64/bits/atomic.h
15217 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15219 (atomic_exchange_acq): Likewise.
15220 (__arch_exchange_and_add_body): Likewise.
15221 (__arch_add_body): Likewise.
15222 (atomic_add_negative): Likewise.
15223 (atomic_add_zero): Likewise.
15225 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15227 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15228 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15230 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15232 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15233 Check __x86_64__ instead of __WORDSIZE.
15235 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15237 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15239 2012-03-19 David S. Miller <davem@davemloft.net>
15241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15243 * sysdeps/sparc/fpu/fenv_private.h: New file.
15244 * sysdeps/sparc/fpu/math_private.h: Use it.
15245 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15247 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15248 (libc_feholdexcept_setroundl): Remove.
15249 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15251 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15252 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15254 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15256 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15257 int64_t instead of long int.
15258 (INSERT_WORDS64): Likwise.
15260 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15262 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15263 _Unwind_GetCFA return to _Unwind_Ptr first.
15265 2012-03-19 Joseph Myers <joseph@codesourcery.com>
15268 * math/s_clog.c: Include <float.h>.
15269 (__clog): Scale large or subnormal inputs.
15270 * math/s_clogf.c: Likewise.
15271 * math/s_clogl.c: Likewise.
15272 * math/s_clog10.c: Include <float.h>.
15273 (M_LOG10_2): Define.
15274 (__clog10): Scale large or subnormal inputs.
15275 * math/s_clog10f.c: Likewise.
15276 * math/s_clog10l.c: Likewise.
15277 * math/libm-test.inc (clog_test): Add more tests.
15278 (clog10_test): Likewise.
15279 * sysdeps/i386/fpu/libm-test-ulps: Update.
15280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15283 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15285 * math/libm-test.inc (atan2_test): Add another test.
15287 * Makerules (common-objdir-compile): Remove.
15288 * sysdeps/unix/Makefile (config-generated): Do not add
15289 $(unix-generated) to variable.
15290 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15291 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15293 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15295 [generic bits/local_lim.h] (before-compile): Do not append to
15297 [generic bits/local_lim.h] (common-generated): Likewise.
15298 [generic sys/param.h] (before-compile): Do not append to variable.
15299 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15300 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15301 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15302 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15304 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15305 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15306 [generic sys/param.h] ($(addprefix
15307 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15308 [generic sys/param.h] (common-generated): Do not append to
15310 [generic sys/param.h] (sysdep_headers): Likewise.
15311 [generic bits/errno.h] (before-compile): Do not append to
15313 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15315 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15316 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15317 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15318 [generic bits/errno.h] (common-generated): Do not append to
15320 [generic bits/ioctls.h] (before-compile): Do not append to
15322 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15324 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15325 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15326 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15328 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15329 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15330 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15331 [generic bits/ioctls.h] (common-generated): Do not append to
15333 [generic sys/syscall.h] (syscall.h): Remove variable.
15334 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15336 [generic sys/syscall.h] (before-compile): Do not append to
15338 [generic sys/syscall.h] (common-generated): Likewise.
15339 * sysdeps/unix/errnos-tmpl.c: Remove file.
15340 * sysdeps/unix/errnos.awk: Likewise.
15341 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15342 * sysdeps/unix/ioctls.awk: Likewise.
15343 * sysdeps/unix/mk-local_lim.c: Likewise.
15344 * sysdeps/unix/snarf-ioctls: Likewise.
15346 2012-03-19 Richard Henderson <rth@twiddle.net>
15348 * sysdeps/i386/fpu/fenv_private.h: New file.
15349 * sysdeps/i386/fpu/math_private.h: Use it.
15350 (math_opt_barrier, math_force_eval): Remove.
15351 (libc_feholdexcept_setround_53bit): Remove.
15352 (libc_feupdateenv_53bit): Remove.
15353 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15354 (math_opt_barrier, math_force_eval): Remove.
15355 (libc_feholdexcept): Remove.
15356 (libc_feholdexcept_setround): Remove.
15357 (libc_fetestexcept, libc_fesetenv): Remove.
15358 (libc_feupdateenv_test): Remove.
15359 (libc_feupdateenv, libc_feholdsetround): Remove.
15360 (libc_feresetround): Remove.
15362 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15363 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15365 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15366 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15367 (libc_feupdateenv_testl): New.
15368 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15369 (libc_feupdateenv_testf): New.
15370 (libc_feupdateenv): Use libc_feupdateenv_test.
15371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15372 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15374 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15375 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15376 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15377 (libc_feresetround_noex): New.
15378 (libc_feresetround_noexf): New.
15379 (libc_feresetround_noexl): New.
15380 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15381 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15382 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15383 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15385 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15386 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15388 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15389 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15390 SET_RESTORE_ROUND_NOEX.
15391 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15392 SET_RESTORE_ROUND_NOEXF.
15393 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15394 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15395 (libc_feholdsetroundf): New.
15396 (libc_feresetround, libc_feresetroundf): New.
15398 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15399 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15400 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15402 * sysdeps/generic/math_private.h: Include <fenv.h>.
15403 (default_libc_feholdexcept): New.
15404 (default_libc_feholdexcept_setround): New.
15405 (default_libc_fesetenv, default_libc_feupdateenv): New.
15406 (libc_feholdexcept): Only define if undefined.
15407 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15408 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15409 (libc_feholdexcept_setroundl): Likewise.
15410 (libc_feholdexcept_setround_53bit): Likewise.
15411 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15412 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15413 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15414 (libc_feupdateenv_53bit): Likewise.
15415 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15416 (libc_feholdexcept): Convert from macro to inline function.
15417 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15418 (libc_fesetenv, libc_feupdateenv): Likewise.
15420 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15421 not previously defined.
15422 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15423 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15424 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15425 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15426 * sysdeps/ieee754/flt-32/math_private.h: New file.
15427 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15428 math_private.h below SET_FLOAT_WORD.
15429 (__isnan, __isinf_ns, __finite): Remove.
15430 (__isnanf, __isinf_nsf, __finitef): Remove.
15432 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15436 2012-03-17 David S. Miller <davem@davemloft.net>
15439 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15442 2012-03-16 David S. Miller <davem@davemloft.net>
15444 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15448 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15450 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15451 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15452 sysdep_routines when subdir is sysvipc.
15453 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15454 __getshmlba helper.
15456 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15458 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15460 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15463 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15465 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15466 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15467 (__lround): Renamed to ...
15468 (__llround): This. Replace long int with long long int.
15469 Define lround functions as aliases of llround functions.
15470 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15472 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15474 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15475 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15476 adresses to uintptr_t. Replace "long int" and "unsigned long
15477 int" with "greg_t" on va_arg.
15479 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15481 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15482 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15484 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15485 Move e_machine check before EI_CLASS check. Handle x32
15486 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15487 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15488 SKIP_EM_IA_64 and include
15489 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15491 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15492 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15493 (add_system_dir): New macro.
15495 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15496 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15498 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15509 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15511 * math/w_j0f.c (j0f): Likewise.
15513 * math/w_j0l.c (__j0l): Likewise.
15515 * math/w_j1.c (j1): Likewise.
15517 * math/w_j1f.c (j1f): Likewise.
15519 * math/w_j1l.c (__j1l): Likewise.
15521 * math/w_jn.c (jn): Likewise.
15523 * math/w_jnf.c (jnf): Likewise.
15525 * math/w_jnl.c (__jnl): Likewise.
15527 * math/libm-test.inc (j0_test): Add more tests.
15528 (j1_test): Likewise.
15529 (jn_test): Likewise. Add trailing semicolon to existing test.
15530 (y0_test): Likewise.
15531 (y1_test): Likewise.
15532 * sysdeps/i386/fpu/libm-test-ulps: Update.
15533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15537 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15538 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15539 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15540 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15541 (__tanl): Set errno for infinite argument.
15542 * sysdeps/i386/fpu/mptan.c: Remove.
15543 * sysdeps/i386/fpu/s_tan.S: Likewise.
15544 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15545 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15546 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15547 * math/libm-test.inc (tan_test): Add more tests and enable more
15548 tests for double and long double.
15549 * sysdeps/i386/fpu/libm-test-ulps: Update.
15550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15552 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15554 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15555 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15557 2012-03-16 Roland McGrath <roland@hack.frob.com>
15559 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15560 * configure.in: Use it for both main tree and add-ons.
15561 * configure: Regenerated.
15563 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15565 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15567 2012-03-16 Joseph Myers <joseph@codesourcery.com>
15569 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15573 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15574 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15575 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15576 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15577 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15579 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15580 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15581 != 0 for prec == 2.
15582 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15583 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15584 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15585 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15586 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15587 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15588 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15589 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15590 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15591 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15592 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15593 * math/libm-test.inc (cos_test): Add more tests and enable more
15594 tests for long double.
15595 (sin_test): Likewise.
15596 (sincos_test): Likewise.
15597 * sysdeps/i386/fpu/libm-test-ulps: Update.
15598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15600 2012-03-16 David S. Miller <davem@davemloft.net>
15602 * sysdeps/sparc/fpu/math_private.h: New file.
15604 2012-03-15 David S. Miller <davem@davemloft.net>
15606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
15609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15616 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15620 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15621 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15623 * sysdeps/sparc/sparc-ifunc.h: New file.
15624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
15640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15648 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15649 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15650 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15651 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15652 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15658 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15660 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15661 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15662 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15663 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15664 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15665 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15666 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15667 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15669 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15671 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15675 2012-03-15 Andreas Jaeger <aj@suse.de>
15678 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15679 ieee754/flt-32 implementation for sin, cos and sincos.
15680 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15681 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15682 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15683 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15684 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15685 ieee754/flt-32 implementation for tan.
15687 * math/libm-test.inc (cos_test): Enable some large input tests for
15689 (sin_test): Likewise.
15690 (sincos_test): Likewise.
15691 (tan_test): Add tests for large input.
15693 * sysdeps/i386/fpu/libm-test-ulps: Update.
15695 2012-03-15 Andreas Jaeger <aj@suse.de>
15698 * math/libm-test.inc (cos_test): Add more test cases.
15699 (sin_test): Likewise.
15700 (sincos_test): Likewise.
15702 2012-03-15 Andreas Jaeger <aj@suse.de>
15705 * math/libm-test.inc (cos_test): Add a test case for large input
15707 (sin_test): Likewise.
15708 (sincos_test): Likewise.
15710 2012-03-15 Andreas Jaeger <aj@suse.de>,
15711 Joseph Myers <joseph@codesourcery.com>
15714 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
15715 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15716 * sysdeps/i386/fpu/branred.c: Likewise.
15717 * sysdeps/i386/fpu/dosincos.c: Likewise.
15718 * sysdeps/i386/fpu/mpa.c: Likewise.
15719 * sysdeps/i386/fpu/s_cos.S: Likewise.
15720 * sysdeps/i386/fpu/s_sin.S: Likewise.
15721 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15722 * sysdeps/i386/fpu/sincos32.c: Likewise.
15724 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15726 (libc_feupdateenv_53bit): Define.
15727 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15729 (libc_feupdateenv_53bit): Define.
15731 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15732 53 bit (without extend i386 double precision).
15734 * math/libm-test.inc (sincos_test): Add tests for large input.
15738 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15740 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15744 2012-03-15 David S. Miller <davem@davemloft.net>
15746 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15747 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15748 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15749 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15759 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
15761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
15764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
15767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
15770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15773 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15774 fmin/fmax sysdep routines.
15775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15777 2012-03-14 David S. Miller <davem@davemloft.net>
15779 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15782 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15783 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15784 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15785 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15786 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15787 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15789 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15790 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15799 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15800 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15801 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15802 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15803 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15804 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15805 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15806 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
15807 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
15812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
15815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
15818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
15821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
15824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
15839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
15842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
15845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
15848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15851 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15856 * sysdeps/sparc/configure.in: New file.
15857 * sysdeps/sparc/configure: Generate.
15858 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15859 * configure: Regenerate.
15860 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15861 * config.make.in (have-as-vis3): New.
15862 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15863 available use -Av9d instead of -Av9a.
15864 * sysdeps/sparc/sparc64/Makefile: Likewise.
15865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
15866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15874 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15875 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15876 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15877 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15878 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15880 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15881 fzeros/fnegs to load 0x80000000 into a float register instead of
15883 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15885 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15889 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15890 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15891 ($(inst_includedir)/bits/syscall.h): Remove rule.
15892 ($(objpfx)bits/syscall.d): Include instead of
15893 $(objpfx)syscall-list.d.
15894 (generated): Change syscall-list.h and syscall-list.d to
15895 bits/syscall.h and bits/syscall.d.
15897 2012-03-14 Roland McGrath <roland@hack.frob.com>
15900 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15902 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15905 * math/s_csqrt.c: Include <float.h>.
15906 (__csqrt): Scale large or subnormal inputs.
15907 * math/s_csqrtf.c: Likewise.
15908 * math/s_csqrtl.c: Likewise.
15909 * math/libm-test.inc (csqrt_test): Add more tests.
15910 * sysdeps/i386/fpu/libm-test-ulps: Update.
15911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15914 * math/libm-test.inc (hypot_test): Add more tests.
15916 2012-03-13 David S. Miller <davem@davemloft.net>
15919 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15920 double-precision for the calculation instead of scaling.
15922 2012-03-13 Joseph Myers <joseph@codesourcery.com>
15924 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15925 manipulate bits before adding and subtracting TWO52[sx].
15926 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15927 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15929 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15931 2012-03-13 David S. Miller <davem@davemloft.net>
15933 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15934 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15935 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15936 rtld-global-offsets.h
15937 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15939 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15942 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15944 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15945 'err' in the ifdef scope in which it is actually used.
15947 * nss/nss_db/db-init.c: Include string.h
15949 2012-03-12 David S. Miller <davem@davemloft.net>
15951 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15952 masking out of the most significant byte of random value used.
15953 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15954 Fix coding style in previous change.
15956 * sysdeps/unix/sysv/linux/kernel-features.h
15957 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15958 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15960 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15963 2012-03-11 David S. Miller <davem@davemloft.net>
15965 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15966 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15967 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15968 for 'resultvar' otherwise things get truncated on 64-bit.
15970 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15971 Fix masking out of the most significant byte of random value used.
15973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15975 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15979 2012-03-09 David S. Miller <davem@davemloft.net>
15981 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15982 variables with appropriate CPP guards.
15983 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15984 frame pointer, not the stack pointer. Correct layout comments. Fix test
15985 on resulting framesize and the management of the outregs buffer for pltexit.
15986 Preserve floating point return values across _dl_call_pltexit call.
15987 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15988 framesize and the management of the outregs buffer for pltexit.
15989 Preserve floating point return values across _dl_call_pltexit
15991 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15992 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15993 (print_exit): Fix format string for return register value.
15995 2012-03-10 Joseph Myers <joseph@codesourcery.com>
15997 * sunrpc/Makefile (others): Add rpcgen.
15998 ($(objpfx)rpcgen): Remove special build rule and dependency on
16000 * sunrpc/rpcgen.c: New file.
16002 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
16005 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16006 * stdio-common/bug-vfprintf-nargs.c: Likewise.
16007 * sysdeps/i386/crti.S: Likewise.
16008 * sysdeps/i386/crtn.S: Likewise.
16009 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16010 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16011 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16012 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16013 * sysdeps/sh/crti.S: Likewise.
16014 * sysdeps/sh/crtn.S: Likewise.
16015 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16018 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16020 * locale/programs/locfile-kw.gperf: Likewise.
16021 * locale/programs/charmap-kw.h: Regenerated.
16022 * locale/programs/locfile-kw.h: Likewise.
16025 * intl/plural.y: Replace FSF snail mail address with URL.
16026 * intl/plural.c: Regenerated.
16028 2012-03-09 Richard Henderson <rth@twiddle.net>
16030 * include/math_private.h: Remove file.
16031 * math/math_private.h: Move file ...
16032 * sysdeps/generic/math_private.h: ... here.
16034 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16035 * sysdeps/powerpc/fpu/math_private.h: Likewise.
16036 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16038 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
16039 and <math_private.h>.
16040 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16041 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16042 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16043 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16044 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16045 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16046 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16048 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16049 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16050 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16051 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16052 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16053 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16054 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16055 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16056 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16057 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16058 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16059 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16060 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16061 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16062 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16063 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16064 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16065 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16066 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16067 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16068 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16069 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16070 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16071 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16072 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16073 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16074 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16075 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16076 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16077 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16078 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16079 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16080 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16081 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16082 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16083 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16084 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16085 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16086 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16087 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16088 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16089 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16090 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16091 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16092 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16093 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16094 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16095 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16096 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16097 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16098 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16099 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16100 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16101 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16102 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16103 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16104 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16105 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16106 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16107 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16108 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16109 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16110 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16111 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16112 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16113 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16114 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16115 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16116 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16117 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16118 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16119 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16120 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16121 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16122 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16123 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16124 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16125 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16126 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16127 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16128 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16129 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16130 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16131 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16132 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16133 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16134 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16135 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16136 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16137 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16138 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16139 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16140 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16141 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16142 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16143 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16144 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16145 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16146 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16147 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16148 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16149 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16150 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16151 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16152 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16153 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16154 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16155 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16156 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16157 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16158 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16159 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16160 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16161 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16162 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16163 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16164 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16165 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16166 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16167 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16168 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16169 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16170 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16171 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16172 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16173 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16174 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16175 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16176 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16177 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16178 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16179 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16180 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16181 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16182 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16183 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16184 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16185 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16186 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16187 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16188 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16189 * sysdeps/ieee754/k_standard.c: Likewise.
16190 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16191 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16192 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16193 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16194 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16195 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16196 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16197 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16198 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16199 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16200 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16201 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16202 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16203 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16204 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16205 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16206 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16207 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16208 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16209 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16210 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16211 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16212 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16213 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16214 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16215 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16216 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16217 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16218 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16219 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16220 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16221 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16222 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16223 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16224 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16225 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16226 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16227 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16228 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16229 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16230 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16231 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16232 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16233 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16234 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16235 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16236 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16237 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16238 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16239 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16240 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16241 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16242 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16243 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16244 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16245 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16246 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16247 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16248 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16249 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16250 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16251 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16252 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16253 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16254 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16255 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16256 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16257 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16258 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16259 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16260 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16261 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16262 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16263 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16264 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16265 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16266 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16267 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16268 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16269 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16270 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16271 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16272 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16273 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16274 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16275 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16276 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16277 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16278 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16279 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16280 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16281 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16282 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16283 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16284 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16285 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16286 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16287 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16288 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16289 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16290 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16291 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16292 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16293 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16294 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16295 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16296 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16297 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16298 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16299 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16300 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16301 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16302 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16303 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16304 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16305 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16306 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16307 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16308 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16309 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16310 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16311 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16312 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16313 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16314 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16315 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16316 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16317 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16318 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16319 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16320 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16321 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16322 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16323 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16324 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16325 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16326 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16327 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16328 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16329 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16330 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16331 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16332 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16333 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16334 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16335 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16336 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16337 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16338 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16339 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16340 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16341 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16342 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16343 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16344 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16345 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16346 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16347 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16348 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16349 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16350 * sysdeps/ieee754/s_lib_version.c: Likewise.
16351 * sysdeps/ieee754/s_matherr.c: Likewise.
16352 * sysdeps/ieee754/s_signgam.c: Likewise.
16353 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16354 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16355 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16356 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16357 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16358 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16359 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16360 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16361 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16362 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16363 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16364 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16365 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16366 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16367 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16368 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16369 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16370 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16371 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16372 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16373 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16375 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16377 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16378 * sunrpc/rpc_main.c: Likewise.
16379 * sunrpc/rpc_svcout.c: Likewise.
16381 2012-03-09 David S. Miller <davem@davemloft.net>
16383 * include/math_private.h: New file.
16385 2012-03-09 Joseph Myers <joseph@codesourcery.com>
16387 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16388 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16389 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16390 from <bits/socket_type.h>.
16391 (enum __socket_type): Don't define here.
16392 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16394 bits/socket_type.h.
16397 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16398 checking __USE_GNU.
16400 * Makerules ($(inst_includedir)/%.h): New rule.
16401 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16402 (install-others): Remove variable setting.
16403 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16405 2012-03-08 Richard Henderson <rth@twiddle.net>
16407 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16408 from macro to inline function; merge with the
16409 !__LIBC_INTERNAL_MATH_INLINES version.
16410 (__ieee754_sqrtf): Likewise.
16412 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16413 to inline function.
16414 (__rintf, __floor, __floorf): Likewise.
16416 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16417 macro to inline function.
16418 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16420 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16421 not <math/math_private.h>.
16423 2012-03-08 David S. Miller <davem@davemloft.net>
16425 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16427 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16429 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16431 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16433 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16434 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16436 2012-03-08 Ulrich Drepper <drepper@gmail.com>
16438 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16439 be defined individually, they must be defined as a block. Define
16440 S for printing a string instead of hidint the different by using a
16441 macro for adding the 'l'.
16442 * stdio-common/tst-fphex-wide.c: Adjust.
16444 2012-03-07 Marek Polacek <polacek@redhat.com>
16446 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16448 2012-03-08 Marek Polacek <polacek@redhat.com>
16451 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16452 * stdio-common/tst-fphex.c: Define a few macros to make the
16453 test reusable. Use them.
16454 * stdio-common/tst-fphex-wide.c: New file.
16456 2012-03-08 Joseph Myers <joseph@codesourcery.com>
16459 * manual/macros.texi (gnusystems): New macro.
16460 (nongnusystems): Likewise.
16461 (gnulinuxhurdsystems): Likewise.
16462 (gnuhurdsystems): Likewise..
16463 (gnulinuxsystems): Likewise.
16464 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16465 variants of the GNU system, not "GNU system".
16466 * manual/conf.texi: Likewise.
16467 * manual/errno.texi: Likewise. Update example of errno macro
16469 * manual/filesys.texi: Likewise.
16470 (getumask): Document as specific to GNU/Hurd.
16471 * manual/install.texi: Likewise. Reword some references to
16473 * manual/intro.texi: Likewise.
16474 * manual/io.texi: Likewise.
16475 (File Name Portability): Detail which constraints are inapplicable
16476 to all GNU systems and which are only inapplicable to GNU/Hurd.
16477 * manual/job.texi: Likewise.
16478 * manual/llio.texi: Likewise.
16479 (O_NOCTTY): Document as present on GNU/Linux.
16480 * manual/maint.texi: Likewise.
16481 * manual/memory.texi: Likewise.
16482 * manual/pattern.texi: Likewise.
16483 * manual/pipe.texi: Likewise.
16484 * manual/process.texi: Likewise.
16485 * manual/resource.texi: Likewise.
16486 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16488 * manual/setjmp.texi: Likewise.
16489 * manual/signal.texi: Likewise.
16490 * manual/startup.texi: Likewise.
16491 * manual/stdio.texi: Likewise.
16492 * manual/terminal.texi: Likewise.
16493 (ONLCR): Document as POSIX.
16494 (OXTABS): Document availability on GNU/Linux as XTABS.
16495 (ONOEOT): Document availability separately from other bits.
16496 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16497 * manual/time.texi: Likewise.
16498 * manual/users.texi: Likewise.
16499 * INSTALL: Regenerated.
16500 * sysdeps/gnu/errlist.c: Regenerated.
16502 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16503 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16504 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16506 * configure: Regenerated.
16508 2012-03-07 Joseph Myers <joseph@codesourcery.com>
16510 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16511 default includes instead of AC_HEADER_CHECK.
16512 * sysdeps/i386/configure: Regenerated.
16515 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16516 * math/s_cacoshf.c (__cacoshf): Likewise.
16517 * math/s_cacoshl.c (__cacoshl): Likewise.
16518 * math/s_casinh.c (__casinh): Set signs of result from argument.
16519 * math/s_casinhf.c (__casinhf): Likewise.
16520 * math/s_casinhl.c (__casinhl): Likewise.
16521 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16522 (casinh_test): Add more tests.
16523 * sysdeps/i386/fpu/libm-test-ulps: Update.
16524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16526 2012-03-07 Ulrich Drepper <drepper@gmail.com>
16528 * po/zh_TW.po: Update from translation team.
16530 * login/Makefile (distribute): Remove variable.
16531 * catgets/Makefile: Likewise.
16532 * mach/Makefile: Likewise.
16533 * malloc/Makefile: Likewise.
16534 * misc/Makefile: Likewise.
16535 * iconv/Makefile: Likewise.
16536 * nscd/Makefile: Likewise.
16537 * hurd/Makefile: Likewise.
16538 * manual/Makefile: Likewise.
16539 * locale/Makefile: Likewise.
16540 * intl/Makefile: Likewise.
16541 * conform/Makefile: Likewise.
16542 * nss/Makefile: Likewise.
16543 * time/Makefile: Likewise.
16544 * soft-fp/Makefile: Likewise.
16545 * dirent/Makefile: Likewise.
16546 * gmon/Makefile: Likewise.
16547 * po/Makefile: Likewise.
16548 * rt/Makefile: Likewise.
16549 * socket/Makefile: Likewise.
16550 * math/Makefile: Likewise.
16551 * signal/Makefile: Likewise.
16552 * debug/Makefile: Likewise.
16553 * elf/Makefile: Likewise.
16554 * timezone/Makefile: Likewise.
16555 * stdlib/Makefile: Likewise.
16556 * iconvdata/Makefile: Likewise.
16557 * sunrpc/Makefile: Likewise.
16558 * io/Makefile: Likewise.
16559 * argp/Makefile: Likewise.
16560 * inet/Makefile: Likewise.
16561 * hesiod/Makefile: Likewise.
16562 * grp/Makefile: Likewise.
16563 * csu/Makefile: Likewise.
16564 * wctype/Makefile: Likewise.
16565 * crypt/Makefile: Likewise.
16566 * libio/Makefile: Likewise.
16567 * string/Makefile: Likewise.
16568 * nis/Makefile: Likewise.
16569 * resolv/Makefile: Likewise.
16570 * stdio-common/Makefile: Likewise.
16571 * wcsmbs/Makefile: Likewise.
16572 * dlfcn/Makefile: Likewise.
16573 * posix/Makefile: Likewise.
16576 * timezone/Makefile: Don't install timezone files, just the programs
16579 2012-03-06 Ulrich Drepper <drepper@gmail.com>
16581 * nss/databases.def: Add missing gshadow entry.
16583 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16585 2012-03-06 Marek Polacek <polacek@redhat.com>
16588 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16589 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16590 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16591 * stdio-common/tst-long-dbl-fphex.c: New file.
16593 2012-03-06 David S. Miller <davem@davemloft.net>
16595 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16596 (set_obp_int): New function.
16597 (get_obp_int): New function.
16598 (__get_clockfreq_via_dev_openprom): Likewise.
16599 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16600 Avoid unused variable warnings on 'val' and use builtin_expect.
16601 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16603 (INLINE_CLONE_SYSCALL): Likewise.
16605 2012-03-05 David S. Miller <davem@davemloft.net>
16607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16609 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16613 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16614 only for |x| >= 40.
16615 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16617 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
16619 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16620 Replace gettimeofday with __vdso_gettimeofday.
16622 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16623 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16624 __vdso_clock_gettime and __vdso_getcpu.
16626 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16627 time with __vdso_time.
16629 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16631 * manual/lang.texi (size_t): Note types to which size_t may be
16632 equivalent with the GNU C Library, but do not describe when
16633 differences between them are significant.
16635 2012-03-05 Andreas Jaeger <aj@suse.de>
16637 * sysdeps/i386/fpu/libm-test-ulps: Update.
16639 2012-03-05 Joseph Myers <joseph@codesourcery.com>
16642 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16643 (__ieee754_pow): Save and restore rounding mode and use
16644 round-to-nearest for main computations.
16645 * math/libm-test.inc (pow_test_tonearest): New function.
16646 (pow_test_towardzero): Likewise.
16647 (pow_test_downward): Likewise.
16648 (pow_test_upward): Likewise.
16649 (main): Call the new functions.
16650 * sysdeps/i386/fpu/libm-test-ulps: Update.
16651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16654 * math/libm-test.inc (cosh_test_tonearest): New function.
16655 (cosh_test_towardzero): Likewise.
16656 (cosh_test_downward): Likewise.
16657 (cosh_test_upward): Likewise.
16658 (sinh_test_tonearest): Likewise.
16659 (sinh_test_towardzero): Likewise.
16660 (sinh_test_downward): Likewise.
16661 (sinh_test_upward): Likewise.
16662 (main): Call the new functions.
16663 * sysdeps/i386/fpu/libm-test-ulps: Update.
16664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16666 2012-03-05 Tom de Vries <tom@codesourcery.com>
16668 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16669 default stack guard is set in last bytes.
16670 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16672 2012-03-05 Kees Cook <keescook@chromium.org>
16674 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
16677 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16678 possibly allocate from heap instead of stack.
16679 * stdio-common/bug-vfprintf-nargs.c: New file.
16680 * stdio-common/Makefile (tests): Add nargs overflow test.
16682 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16686 2012-03-03 Marek Polacek <polacek@redhat.com>
16688 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16689 * math/math_private.h: Likewise.
16690 * stdlib/tst-strtod.c: Likewise.
16691 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16692 * sysdeps/x86_64/bits/atomic.h: Likewise.
16694 2012-03-02 David S. Miller <davem@davemloft.net>
16696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16700 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16701 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16702 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16703 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16705 2012-03-02 Roland McGrath <roland@hack.frob.com>
16708 * manual/examples/README: New file, says the example source files
16709 can be used under GPL>=2.
16710 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16711 line containing just "*/".
16712 * manual/examples/add.c: Add copyright header (GPL>=2).
16713 * manual/examples/argp-ex1.c: Likewise.
16714 * manual/examples/argp-ex2.c: Likewise.
16715 * manual/examples/argp-ex3.c: Likewise.
16716 * manual/examples/argp-ex4.c: Likewise.
16717 * manual/examples/atexit.c: Likewise.
16718 * manual/examples/db.c: Likewise.
16719 * manual/examples/dir.c: Likewise.
16720 * manual/examples/dir2.c: Likewise.
16721 * manual/examples/execinfo.c: Likewise.
16722 * manual/examples/filecli.c: Likewise.
16723 * manual/examples/filesrv.c: Likewise.
16724 * manual/examples/fmtmsgexpl.c: Likewise.
16725 * manual/examples/genpass.c: Likewise.
16726 * manual/examples/inetcli.c: Likewise.
16727 * manual/examples/inetsrv.c: Likewise.
16728 * manual/examples/isockad.c: Likewise.
16729 * manual/examples/longopt.c: Likewise.
16730 * manual/examples/memopen.c: Likewise.
16731 * manual/examples/memstrm.c: Likewise.
16732 * manual/examples/mkfsock.c: Likewise.
16733 * manual/examples/mkisock.c: Likewise.
16734 * manual/examples/mygetpass.c: Likewise.
16735 * manual/examples/pipe.c: Likewise.
16736 * manual/examples/popen.c: Likewise.
16737 * manual/examples/rprintf.c: Likewise.
16738 * manual/examples/search.c: Likewise.
16739 * manual/examples/select.c: Likewise.
16740 * manual/examples/setjmp.c: Likewise.
16741 * manual/examples/sigh1.c: Likewise.
16742 * manual/examples/sigusr.c: Likewise.
16743 * manual/examples/stpcpy.c: Likewise.
16744 * manual/examples/strdupa.c: Likewise.
16745 * manual/examples/strftim.c: Likewise.
16746 * manual/examples/strncat.c: Likewise.
16747 * manual/examples/subopt.c: Likewise.
16748 * manual/examples/swapcontext.c: Likewise.
16749 * manual/examples/termios.c: Likewise.
16750 * manual/examples/testopt.c: Likewise.
16751 * manual/examples/testpass.c: Likewise.
16752 * manual/examples/timeval_subtract.c: Likewise.
16755 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16757 * manual/timeval_subtract.c.texi: ... here, new file.
16759 2012-03-02 David S. Miller <davem@davemloft.net>
16761 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16763 2012-03-02 Joseph Myers <joseph@codesourcery.com>
16766 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16767 (__sin): Save and restore rounding mode and use round-to-nearest
16768 for all computations.
16769 (__cos): Save and restore rounding mode and use round-to-nearest
16770 for all computations.
16771 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16773 (tan): Save and restore rounding mode and use round-to-nearest for
16775 * math/libm-test.inc (cos_test_tonearest): New function.
16776 (cos_test_towardzero): Likewise.
16777 (cos_test_downward): Likewise.
16778 (cos_test_upward): Likewise.
16779 (sin_test_tonearest): Likewise.
16780 (sin_test_towardzero): Likewise.
16781 (sin_test_downward): Likewise.
16782 (sin_test_upward): Likewise.
16783 (tan_test_tonearest): Likewise.
16784 (tan_test_towardzero): Likewise.
16785 (tan_test_downward): Likewise.
16786 (tan_test_upward): Likewise.
16787 (main): Call the new functions.
16788 * sysdeps/i386/fpu/libm-test-ulps: Update.
16789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16792 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16793 small n, then large n, before computing and testing k+n.
16794 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16795 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16797 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16799 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16800 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16801 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16802 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16803 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16804 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16805 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16806 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16807 * math/libm-test.inc (scalbn_test): Add more tests.
16808 (scalbln_test): Likewise.
16810 * manual/filesys.texi (mode_t): Describe constraints on size and
16811 signedness, not exact equivalence to a particular type.
16813 (ino64_t): Likewise.
16815 (nlink_t): Likewise.
16816 (blkcnt_t): Likewise.
16817 (blkcnt64_t): Likewise.
16818 * manual/llio.texi (off_t): Likewise.
16821 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16822 (__ieee754_exp): Save and restore rounding mode and use
16823 round-to-nearest for all computations.
16824 * math/libm-test.inc (exp_test_tonearest): New function.
16825 (exp_test_towardzero): Likewise.
16826 (exp_test_downward): Likewise.
16827 (exp_test_upward): Likewise.
16828 (main): Call the new functions.
16829 * sysdeps/i386/fpu/libm-test-ulps: Update.
16830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16832 2012-03-01 Chris Demetriou <cgd@google.com>
16834 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16835 have predictable order.
16837 2012-03-01 David S. Miller <davem@davemloft.net>
16839 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16841 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16842 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16843 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16844 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16846 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16847 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16848 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16850 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16851 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16852 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16853 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16854 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16858 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16859 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16860 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16862 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16863 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16864 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16865 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16866 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16867 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16868 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16869 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16870 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16871 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16872 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16873 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16874 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16875 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16876 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16877 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16878 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16879 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16880 * sysdeps/sparc/elf/configure: Regenerated.
16882 2012-03-01 Joseph Myers <joseph@codesourcery.com>
16884 * configure.in (AS, LD): Require binutils 2.20 or later.
16885 * configure: Regenerated.
16886 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16887 as required minimum version.
16888 * INSTALL: Regenerated.
16892 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16893 before squaring exponent.
16894 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16895 bottom long double and 27 bits of top long double before squaring
16897 * math/libm-test.inc (erfc_test): Add more tests.
16898 * sysdeps/i386/fpu/libm-test-ulps: Update.
16899 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16902 2012-03-01 Kai Tietz <ktietz@redhat.com>
16904 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16905 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16906 containing bit-fields.
16907 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16908 * soft-fp/single.h (_FP_UNION_S): Likewise.
16909 * soft-fp/double.h (_FP_UNION_D): Likewise.
16911 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16914 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16915 not include ../strcmp.S.
16916 [USE_AS_STRNCASECMP_L]: Likewise.
16917 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16918 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16919 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16920 (__strncasecmp_l_ia32): Define as alias to
16921 __strncasecmp_l_nonascii.
16924 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16925 * sysdeps/i386/fpu/libm-test-ulps: Update.
16926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16928 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16931 2012-02-29 Jeff Law <law@redhat.com>
16933 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16934 out of bounds read.
16936 2012-02-29 Marek Polacek <polacek@redhat.com>
16939 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16940 * elf/Makefile: Add rules to run tst-unused-dep.out.
16942 2012-02-28 David S. Miller <davem@davemloft.net>
16944 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16945 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16946 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16947 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16948 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16949 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16951 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16953 * math/libm-test.inc (llround_test): Move one test from
16954 lround_test. Use TEST_f_L in moved test.
16955 (lround_test): Move misplaced test to llround_test. Add testcase
16958 2012-02-28 Ulrich Drepper <drepper@gmail.com>
16960 * sysdeps/x86_64/fpu/e_expf.S: New file.
16961 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16963 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16966 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16967 of remain_len that may cause incomplete multi-byte character and
16969 * posix/bug-regex33.c: New file.
16970 * posix/Makefile (tests): Add bug-regex33.
16972 2012-02-28 Joseph Myers <joseph@codesourcery.com>
16974 * manual/macros.texi: New file.
16975 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16976 * manual/libc.texinfo: Include macros.texi.
16977 * manual/creatute.texi: Likewise.
16978 * manual/install.texi: Likewise.
16979 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16980 @glibcadj{} in references to the GNU C Library.
16981 * manual/charset.texi: Likewise.
16982 * manual/conf.texi: Likewise.
16983 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16984 when not using those macros.
16985 * manual/creature.texi: Likewise.
16986 * manual/crypt.texi: Likewise.
16987 * manual/errno.texi: Likewise.
16988 * manual/filesys.texi: Likewise.
16989 * manual/header.texi: Likewise.
16990 * manual/install.texi: Likewise.
16991 * manual/intro.texi: Likewise.
16992 * manual/io.texi: Likewise.
16993 * manual/job.texi: Likewise.
16994 * manual/lang.texi: Likewise.
16995 * manual/libc.texiinfo: Likewise.
16996 * manual/llio.texi: Likewise.
16997 * manual/locale.texi: Likewise.
16998 * manual/maint.texi: Likewise.
16999 * manual/math.texi: Likewise.
17000 * manual/memory.texi: Likewise.
17001 * manual/message.texi: Likewise.
17002 * manual/nss.texi: Likewise.
17003 * manual/pattern.texi: Likewise.
17004 * manual/process.texi: Likewise.
17005 * manual/resource.texi: Likewise.
17006 * manual/search.texi: Likewise.
17007 * manual/setjmp.texi: Likewise.
17008 * manual/signal.texi: Likewise.
17009 * manual/socket.texi: Likewise.
17010 * manual/startup.texi: Likewise.
17011 * manual/stdio.texi: Likewise.
17012 * manual/string.texi: Likewise.
17013 * manual/sysinfo.texi: Likewise.
17014 * manual/syslog.texi: Likewise.
17015 * manual/terminal.texi: Likewise.
17016 * manual/time.texi: Likewise.
17017 * manual/users.texi: Likewise.
17018 * INSTALL: Regenerated.
17019 * NOTES: Regenerated.
17020 * sysdeps/gnu/errlist.c: Regenerated.
17022 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
17024 * include/dirent.h: Include <dirstream.h> before
17027 2012-02-28 David S. Miller <davem@davemloft.net>
17029 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17030 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17031 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17032 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17034 2012-02-27 David S. Miller <davem@davemloft.net>
17036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17038 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17039 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17042 frame pointer instead of stack pointer relative arg slot.
17043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17044 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17045 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17047 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
17050 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17052 2012-02-27 David S. Miller <davem@davemloft.net>
17054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17058 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17059 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17060 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17061 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17063 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17065 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17066 later. Allow versions 5-9.
17067 * configure: Regenerated.
17068 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17069 required minimum version and 4.6 as recommended version. Do not
17070 mention bugs in GCC 2.7 and 2.8.
17071 * INSTALL: Regenerated.
17073 2012-02-27 David S. Miller <davem@davemloft.net>
17075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17079 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17080 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17081 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17082 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17084 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17085 manipulate bits before adding and subtracting TWO112[sx].
17086 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17088 2012-02-27 Roland McGrath <roland@hack.frob.com>
17091 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17092 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17093 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17094 being in POSIX, because they are in 1003.1-2008.
17096 * rt/tst-aio.c: Include <fcntl.h>.
17097 * rt/tst-aio7.c: Likewise.
17098 * rt/tst-aio64.c: Likewise.
17100 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17102 2012-02-27 Joseph Myers <joseph@codesourcery.com>
17104 * manual/install.texi (--with-headers): Describe headers as
17105 interface headers, not private headers.
17106 (Specific advice for GNU/Linux systems): Describe use of headers
17107 from "make headers_install", not private headers from older
17109 * INSTALL: Regenerated.
17110 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17112 * sysdeps/unix/sysv/linux/configure: Regenerated.
17114 * manual/llio.texi (fclean): Remove documentation.
17116 * manual/Makefile (libc-texi-generated): New variable. Include
17118 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17119 $(libc-texi-generated), not duplicated list of files.
17120 (version.texi, stamp-version): New rules.
17121 (realclean): Remove $(libc-texi-generated), not individual files
17122 from that list. Do not remove dir-add.texinfo.
17123 * manual/libc.texinfo: Comment out uses of edition numbers and
17124 references to printed manual. Remove last-updated dates.
17125 (EDITION): Comment out.
17127 (VERSION, UPDATED): Remove.
17128 (version.texi): Include.
17130 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17132 * sysdeps/posix/spawni.c: Include <signal.h>.
17133 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17134 * sysdeps/pthread/aio_fsync.c: Likewise.
17136 2012-02-26 Ulrich Drepper <drepper@gmail.com>
17138 * conform/Makefile (tests): Run only when not cross-compiling and
17139 when fast-check is not defined.
17141 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17142 * conform/data/limits.h-data: Fixes for POSIX2008.
17143 * conform/run-conformtest.sh: Run all tests.
17144 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17146 * include/bits/dlfcn.h: Likewise.
17147 * include/langinfo.h: Likewise.
17148 * include/monetary.h: Likewise.
17149 * include/sys/poll.h: Likewise.
17151 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17153 * posix/spawn.h: Define __need_sigset_t.
17154 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17155 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17156 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17157 to get sigevent_t only.
17158 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17159 only for __USE_GNU.
17160 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17161 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17162 process_vm_writev only for __USE_GNU.
17163 * termios/termios.h: Declare tcgetsid also for POSIX2008.
17165 * conform/Makefile: For now ignore errors from run-conformtest.
17166 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17167 POSIX to avoid namespace pollution. Don't prepend headers.
17168 * conform/data/aio.h-data: Fixes for POSIX testing.
17169 * conform/data/fcntl.h-data: Likewise.
17170 * conform/data/glob.h-data: Likewise.
17171 * conform/data/grp.h-data: Likewise.
17172 * conform/data/pthread.h-data: Likewise.
17173 * conform/data/pwd.h-data: Likewise.
17174 * conform/data/signal.h-data: Likewise.
17175 * conform/data/spawn.h-data: Likewise.
17176 * conform/data/stdio.h-data: Likewise.
17177 * conform/data/stdlib.h-data: Likewise.
17178 * conform/data/stropts.h-data: Likewise.
17179 * conform/data/sys/mman.h-data: Likewise.
17180 * conform/data/sys/stat.h-data: Likewise.
17181 * conform/data/sys/types.h-data: Likewise.
17182 * conform/data/sys/wait.h-data: Likewise.
17183 * conform/data/time.h-data: Likewise.
17184 * conform/data/unistd.h-data: Likewise.
17185 * conform/data/utime.h-data: Likewise.
17187 * io/sys/stat.h: fchmod was always in POSIX.
17188 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17189 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17190 * rt/aio.h: Define __need_timespec before including <time.h>.
17191 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17192 struct. Add forward declaration of pthread_attr_t and use it in
17194 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17195 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17196 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17197 always remove CLK_TCK definition.
17199 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17201 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17203 2012-02-25 Ulrich Drepper <drepper@gmail.com>
17205 * conform/run-conformtest.sh: New file.
17206 * conform/Makefile: Run run-conformtest for tests.
17207 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17210 * conform/data/uchar.h-data: New file.
17211 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17212 * conform/data/arpa/inet.h-data: Likewise.
17213 * conform/data/assert.h-data: Likewise.
17214 * conform/data/complex.h-data: Likewise.
17215 * conform/data/cpio.h-data: Likewise.
17216 * conform/data/ctype.h-data: Likewise.
17217 * conform/data/dirent.h-data: Likewise.
17218 * conform/data/dlfcn.h-data: Likewise.
17219 * conform/data/errno.h-data: Likewise.
17220 * conform/data/fcntl.h-data: Likewise.
17221 * conform/data/float.h-data: Likewise.
17222 * conform/data/fmtmsg.h-data: Likewise.
17223 * conform/data/fnmatch.h-data: Likewise.
17224 * conform/data/ftw.h-data: Likewise.
17225 * conform/data/glob.h-data: Likewise.
17226 * conform/data/grp.h-data: Likewise.
17227 * conform/data/iconv.h-data: Likewise.
17228 * conform/data/inttypes.h-data: Likewise.
17229 * conform/data/langinfo.h-data: Likewise.
17230 * conform/data/libgen.h-data: Likewise.
17231 * conform/data/limits.h-data: Likewise.
17232 * conform/data/locale.h-data: Likewise.
17233 * conform/data/math.h-data: Likewise.
17234 * conform/data/monetary.h-data: Likewise.
17235 * conform/data/mqueue.h-data: Likewise.
17236 * conform/data/ndbm.h-data: Likewise.
17237 * conform/data/net/if.h-data: Likewise.
17238 * conform/data/netdb.h-data: Likewise.
17239 * conform/data/netinet/in.h-data: Likewise.
17240 * conform/data/nl_types.h-data: Likewise.
17241 * conform/data/poll.h-data: Likewise.
17242 * conform/data/pthread.h-data: Likewise.
17243 * conform/data/pwd.h-data: Likewise.
17244 * conform/data/regex.h-data: Likewise.
17245 * conform/data/sched.h-data: Likewise.
17246 * conform/data/search.h-data: Likewise.
17247 * conform/data/semaphore.h-data: Likewise.
17248 * conform/data/setjmp.h-data: Likewise.
17249 * conform/data/signal.h-data: Likewise.
17250 * conform/data/spawn.h-data: Likewise.
17251 * conform/data/stdarg.h-data: Likewise.
17252 * conform/data/stdio.h-data: Likewise.
17253 * conform/data/stdlib.h-data: Likewise.
17254 * conform/data/string.h-data: Likewise.
17255 * conform/data/strings.h-data: Likewise.
17256 * conform/data/stropts.h-data: Likewise.
17257 * conform/data/sys/ipc.h-data: Likewise.
17258 * conform/data/sys/mman.h-data: Likewise.
17259 * conform/data/sys/msg.h-data: Likewise.
17260 * conform/data/sys/resource.h-data: Likewise.
17261 * conform/data/sys/select.h-data: Likewise.
17262 * conform/data/sys/sem.h-data: Likewise.
17263 * conform/data/sys/shm.h-data: Likewise.
17264 * conform/data/sys/socket.h-data: Likewise.
17265 * conform/data/sys/stat.h-data: Likewise.
17266 * conform/data/sys/statvfs.h-data: Likewise.
17267 * conform/data/sys/time.h-data: Likewise.
17268 * conform/data/sys/timeb.h-data: Likewise.
17269 * conform/data/sys/times.h-data: Likewise.
17270 * conform/data/sys/types.h-data: Likewise.
17271 * conform/data/sys/uio.h-data: Likewise.
17272 * conform/data/sys/un.h-data: Likewise.
17273 * conform/data/sys/utsname.h-data: Likewise.
17274 * conform/data/sys/wait.h-data: Likewise.
17275 * conform/data/syslog.h-data: Likewise.
17276 * conform/data/tar.h-data: Likewise.
17277 * conform/data/termios.h-data: Likewise.
17278 * conform/data/utime.h-data: Likewise.
17279 * conform/data/utmpx.h-data: Likewise.
17280 * conform/data/varargs.h-data: Likewise.
17281 * conform/data/wchar.h-data: Likewise.
17282 * conform/data/wctype.h-data: Likewise.
17283 * conform/data/wordexp.h-data: Likewise.
17285 * include/stropts.h: New file.
17286 * include/uchar.h: New file.
17287 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17288 * include/assert.h: Likewise.
17289 * include/ctype.h: Likewise.
17290 * include/dirent.h: Likewise.
17291 * include/dlfcn.h: Likewise.
17292 * include/fcntl.h: Likewise.
17293 * include/fnmatch.h: Likewise.
17294 * include/glob.h: Likewise.
17295 * include/grp.h: Likewise.
17296 * include/libio.h: Likewise.
17297 * include/locale.h: Likewise.
17298 * include/math.h: Likewise.
17299 * include/net/if.h: Likewise.
17300 * include/netdb.h: Likewise.
17301 * include/netinet/in.h: Likewise.
17302 * include/pthread.h: Likewise.
17303 * include/pwd.h: Likewise.
17304 * include/regex.h: Likewise.
17305 * include/sched.h: Likewise.
17306 * include/search.h: Likewise.
17307 * include/setjmp.h: Likewise.
17308 * include/signal.h: Likewise.
17309 * include/stdio.h: Likewise.
17310 * include/stdlib.h: Likewise.
17311 * include/string.h: Likewise.
17312 * include/sys/cdefs.h: Likewise.
17313 * include/sys/mman.h: Likewise.
17314 * include/sys/msg.h: Likewise.
17315 * include/sys/resource.h: Likewise.
17316 * include/sys/select.h: Likewise.
17317 * include/sys/socket.h: Likewise.
17318 * include/sys/stat.h: Likewise.
17319 * include/sys/statvfs.h: Likewise.
17320 * include/sys/time.h: Likewise.
17321 * include/sys/times.h: Likewise.
17322 * include/sys/uio.h: Likewise.
17323 * include/sys/utsname.h: Likewise.
17324 * include/sys/wait.h: Likewise.
17325 * include/termios.h: Likewise.
17326 * include/time.h: Likewise.
17327 * include/ulimit.h: Likewise.
17328 * include/unistd.h: Likewise.
17329 * include/utime.h: Likewise.
17330 * include/wchar.h: Likewise.
17331 * include/wctype.h: Likewise.
17332 * include/wordexp.h: Likewise.
17334 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17336 * time/time.h: TIME_UTC must be a macro.
17337 Make timespec_get available for ISO C11 only as well.
17339 2012-02-24 Ulrich Drepper <drepper@gmail.com>
17341 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17342 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17344 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17346 * configure.in: Use -o not -a in test for unsupported multi-arch.
17348 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17350 * manual/texinfo.tex: Update to version 2012-01-19.16.
17352 2012-02-24 Joseph Myers <joseph@codesourcery.com>
17354 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17356 2012-02-24 Roland McGrath <roland@hack.frob.com>
17359 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17360 * manual/fdl-1.3.texi: New file.
17361 * manual/fdl-1.1.texi: File removed.
17364 * manual/libc.texinfo (FDL_VERSION): New @set.
17365 Use it for mention of FDL in cover text.
17366 (Documentation License): Use it in @include file name.
17368 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17369 Roland McGrath <roland@hack.frob.com>
17372 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17373 not LONG_LONG_MAX and LONG_LONG_MIN.
17374 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17375 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17377 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17379 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17383 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17384 manipulate bits before adding and subtracting TWO23[sx].
17385 * math/libm-test.inc (nearbyint_test): Add more tests.
17387 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17390 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17391 bits before adding and subtracting TWO23[sx].
17392 * math/libm-test.inc (rint_test): Add more tests.
17393 (rint_test_tonearest): Likewise.
17394 (rint_test_towardzero): Likewise.
17395 (rint_test_downward): Likewise.
17396 (rint_test_upward: Likewise.
17398 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17401 * include/stdc-predef.h: New file. Extracted from features.h.
17402 * include/features.h: Include stdc-predef.h.
17403 * Makefile (headers): Add stdc-predef.h.
17404 * CONFORMANCE (Compiler limitations): Update.
17406 2012-02-22 Joseph Myers <joseph@codesourcery.com>
17408 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17410 2012-02-21 David S. Miller <davem@davemloft.net>
17412 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17413 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17415 2012-02-20 David S. Miller <davem@davemloft.net>
17417 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17418 using a normal save/restore sequence, rather than allocating a
17419 dummy stack frame just to store a frame pointer and restore.
17420 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17422 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17424 * manual/install.texi: Fix stray word in line-wrapped comment.
17426 2012-02-20 David S. Miller <davem@davemloft.net>
17428 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17429 both binutils and gcc support GOTDATA.
17431 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17432 "rd %pc" in the PIC register setup sequences.
17434 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17435 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17436 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17437 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17438 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17439 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17440 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17441 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17442 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17443 (SYSCALL_ERROR_HANDLER): Likewise.
17444 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17445 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17446 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17447 (SYSCALL_ERROR_HANDLER): Likewise.
17449 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17450 (HAVE_GCC_GOTDATA): New.
17451 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17452 relocation support in both binutils and gcc.
17453 * sysdeps/sparc/elf/configure: Regenerate.
17455 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17456 * sysdeps/sparc/sparc32/elf/configure: Delete.
17457 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17458 * sysdeps/sparc/sparc64/elf/configure: Delete.
17459 * sysdeps/sparc/elf/configure.in: New file.
17460 * sysdeps/sparc/elf/configure: Generate.
17462 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17463 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17464 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17465 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17466 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17468 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17470 * manual/install.texi: Do not mention specific glibc version
17472 * manual/libc.texinfo (VERSION, UPDATED): Update.
17473 (@copying): Use @copyright{} and range of years.
17475 2012-02-21 Joseph Myers <joseph@codesourcery.com>
17478 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17479 [crti.S not in sysdirs] (generated): Do not append.
17480 [crti.S not in sysdirs] (omit-deps): Likewise.
17481 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17482 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17483 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17484 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17485 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17487 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17488 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17489 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17490 * csu/defs.awk: Remove file.
17491 * sysdeps/generic/initfini.c: Likewise.
17492 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17494 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17497 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17499 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17500 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17501 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17502 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17503 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17504 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17506 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17507 (__EPOLL_PACKED): Define to empty if not defined by
17509 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17513 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17515 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17516 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17517 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17518 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17520 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17524 2012-02-20 Joseph Myers <joseph@codesourcery.com>
17526 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17528 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17529 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17530 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17533 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17535 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17536 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17538 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17540 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17541 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17543 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17545 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17548 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17550 * math/w_acos.c: Use non-signaling floating-point comparisons.
17551 * math/w_acosf.c: Likewise.
17552 * math/w_acosh.c: Likewise.
17553 * math/w_acoshf.c: Likewise.
17554 * math/w_acoshl.c: Likewise.
17555 * math/w_acosl.c: Likewise.
17556 * math/w_asin.c: Likewise.
17557 * math/w_asinf.c: Likewise.
17558 * math/w_asinl.c: Likewise.
17559 * math/w_atanh.c: Likewise.
17560 * math/w_atanhf.c: Likewise.
17561 * math/w_atanhl.c: Likewise.
17562 * math/w_exp2.c: Likewise.
17563 * math/w_exp2f.c: Likewise.
17564 * math/w_exp2l.c: Likewise.
17565 * math/w_j0.c: Likewise.
17566 * math/w_j0f.c: Likewise.
17567 * math/w_j0l.c: Likewise.
17568 * math/w_j1.c: Likewise.
17569 * math/w_j1f.c: Likewise.
17570 * math/w_j1l.c: Likewise.
17571 * math/w_jn.c: Likewise.
17572 * math/w_jnf.c: Likewise.
17573 * math/w_log.c: Likewise.
17574 * math/w_log10.c: Likewise.
17575 * math/w_log10f.c: Likewise.
17576 * math/w_log10l.c: Likewise.
17577 * math/w_log2.c: Likewise.
17578 * math/w_log2f.c: Likewise.
17579 * math/w_log2l.c: Likewise.
17580 * math/w_logf.c: Likewise.
17581 * math/w_logl.c: Likewise.
17582 * math/w_sqrt.c: Likewise.
17583 * math/w_sqrtf.c: Likewise.
17584 * math/w_sqrtl.c: Likewise.
17585 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17586 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17587 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17588 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17589 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17591 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17594 * manual/string.texi (strnlen): Use correct parameter name in
17595 equivalent expression.
17597 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17600 * manual/users.texi (seteuid): Consistently use neweuid for
17603 2012-02-19 Joseph Myers <joseph@codesourcery.com>
17606 * manual/nss.texi (Services in the NSS configuration): Correct
17607 list of services in example configuration file.
17609 2012-02-19 Nick Bowler <nbowler@draconx.ca>
17612 * manual/arith.texi: Remove statements about negative zero
17613 behaving identically to zero.
17615 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17618 * manual/install.texi: Do not document upgrading from libc5.
17620 2012-02-18 Joseph Myers <joseph@codesourcery.com>
17623 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17625 2012-02-18 David S. Miller <davem@davemloft.net>
17627 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17628 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17629 %o7 across the call.
17630 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17633 SETUP_PIC_REG_LEAF.
17634 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17635 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17636 * sysdeps/sparc/crtn.S: Likewise.
17638 2012-02-17 Ulrich Drepper <drepper@gmail.com>
17640 * aout/Makefile: Remove.
17642 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17645 * manual/examples/argp-ex1.c (main): Format definition in GNU
17647 * manual/examples/argp-ex2.c (main): Likewise.
17648 * manual/examples/argp-ex3.c (main): Likewise.
17649 * manual/examples/argp-ex4.c (main): Likewise.
17650 * manual/examples/longopt.c (main): Use new-style prototype
17652 * manual/examples/strncat.c (main): Specify return type and use
17653 (void) for arguments.
17654 * manual/examples/subopt.c (main): Use char **argv argument.
17656 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17659 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17662 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17665 * manual/string.texi (strchr): Change when strchrnul is
17668 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17671 * manual/locale.texi (setlocale): Document LOCPATH.
17673 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17676 * manual/process.texi (execle): Move @dots{} before last argument.
17678 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
17681 * manual/charset.texi (Generic Charset Conversion): Fix typo
17682 (LC_TYPE -> LC_CTYPE).
17684 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17687 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17688 (scalbnf): Likewise.
17689 (scalbnl): Likewise.
17690 (scalbln): Likewise.
17691 (scalblnf): Likewise.
17692 (scalblnl): Likewise.
17693 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17694 (vwarnx): Likewise.
17697 * manual/filesys.texi (telldir): Use braces around return type.
17698 * manual/llio.texi (mmap): Add space after comma.
17699 (mmap64): Likewise.
17700 * manual/math.texi (jn): Use @var{} on parameter names.
17706 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17708 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17710 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17711 (sched_get_priority_max): Likewise.
17712 * manual/signal.texi (sigvec): Add space after comma.
17713 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17715 (if_indextoname): Likewise.
17716 (if_freenameindex): Likewise.
17717 (sendto): Use ',' instead of '.' in prototype.
17718 * manual/startup.texi (syscall): Use @dots{} instead of literal
17720 * manual/stdio.texi (__fpending): Separate initial words of
17721 paragraph from @deftypefun line.
17722 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17724 (vsyslog): Use @var{} on parameter names.
17725 * manual/terminal.texi (stty): Use @var{} on parameter names.
17726 * manual/users.texi (getutmp): Use @var{} on parameter names.
17727 (getutmpx): Likewise.
17729 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17732 * manual/stdio.texi (fopen): Fix typos in description of
17735 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17738 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17739 get clock_id definition.
17741 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
17744 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17745 (madvise): Cast every argument to void on its own.
17747 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17750 * manual/startup.texi (Exit Status): Fix typo.
17752 2012-02-17 Joseph Myers <joseph@codesourcery.com>
17755 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17756 * manual/examples/argp-ex2.c: Likewise.
17757 * manual/examples/argp-ex3.c: Likewise.
17759 2012-02-16 Richard Henderson <rth@redhat.com>
17761 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17762 * sysdeps/s390/s390-32/initfini.c: Remove.
17763 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17764 * sysdeps/s390/s390-64/initfini.c: Remove.
17766 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17768 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17769 compiler output for sysdeps/generic/initfini.c.
17770 * sysdeps/sh/elf/initfini.c: Remove file.
17772 2012-02-16 David S. Miller <davem@davemloft.net>
17775 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17777 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17778 * sysdeps/sparc/crti.S: New file.
17779 * sysdeps/sparc/crtn.S: New file.
17780 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17781 * sysdeps/sparc/sparc64/Makefile: Likewise.
17783 2012-02-15 Mike Frysinger <vapier@gentoo.org>
17786 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17788 2012-02-15 Roland McGrath <roland@hack.frob.com>
17791 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17793 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17794 (write, read, close): Likewise.
17795 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17797 2012-02-15 Joseph Myers <joseph@codesourcery.com>
17799 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17800 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17801 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17802 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17804 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17805 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17808 2012-02-14 Marek Polacek <polacek@redhat.com>
17810 * sysdeps/x86_64/crti.S: New file.
17811 * sysdeps/x86_64/crtn.S: New file.
17812 * sysdeps/x86_64/elf/initfini.c: Remove file.
17814 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17816 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17817 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17818 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17819 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17821 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17825 2012-02-13 Joseph Myers <joseph@codesourcery.com>
17827 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17828 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17829 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17830 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17832 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17836 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17838 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17839 __feraiseexcept instead of feraiseexcept.
17841 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17842 nanosleep invocations.
17843 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17844 strings, and add error checking for a nanosleep invocations.
17846 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17848 Replace FSF snail mail address with URLs, as per GNU coding standards.
17849 Most of the snail mail addresses were wrong anyway, and omitting
17850 them makes the source code easier to maintain. Almost all of the
17851 changes are to license notices and to locale LC_IDENTIFICATION
17852 addresses, except for this one:
17853 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17854 not its snail mail address.
17856 2012-02-09 Richard Henderson <rth@twiddle.net>
17858 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17859 of kernel-features.h.
17861 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17863 2012-02-08 Marek Polacek <polacek@redhat.com>
17865 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17866 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17867 * sysdeps/gnu/_G_config.h: Likewise.
17868 * sysdeps/generic/_G_config.h: Likewise.
17870 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17872 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17876 * sysdeps/powerpc/powerpc32/crti.S: New file.
17877 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17878 * sysdeps/powerpc/powerpc64/crti.S: New file.
17879 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17881 * Makeconfig (have-initfini): Don't set.
17882 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17883 * configure.in (nopic_initfini): Don't substitute.
17884 * config.h.in (HAVE_INITFINI): Don't #undef.
17885 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17886 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17888 2012-02-08 Joseph Myers <joseph@codesourcery.com>
17890 Support crti.S and crtn.S provided directly by architectures.
17891 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17892 [crti.S in sysdirs] (omit-deps): Likewise.
17893 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17894 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17895 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17896 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17897 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17898 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17899 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17900 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17901 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17902 compiler output for sysdeps/generic/initfini.c.
17903 * sysdeps/i386/elf/Makefile: Remove file.
17904 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17906 2012-02-07 Marek Polacek <polacek@redhat.com>
17908 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17909 * sysdeps/gnu/_G_config.h: Likewise.
17910 * sysdeps/mach/hurd/_G_config.h: Likewise.
17912 2012-02-07 Marek Polacek <polacek@redhat.com>
17914 * math/Makefile (tests): Add tst-CMPLX2.
17915 * math/tst-CMPLX2.c: New file.
17917 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17919 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17921 * math/libm-test.inc (jn_test): Add missing L suffix.
17923 2012-02-06 Marek Polacek <polacek@redhat.com>
17925 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17926 * sysdeps/i386/fpu/e_powf.S: Likewise.
17927 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17928 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17929 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17930 * sysdeps/i386/fpu/e_pow.S: Likewise.
17931 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17932 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17933 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17934 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17935 * sysdeps/i386/fpu/e_log2.S: Likewise.
17936 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17937 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17938 * sysdeps/i386/fpu/e_powl.S: Likewise.
17939 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17940 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17941 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17942 * sysdeps/i386/fpu/e_logl.S: Likewise.
17943 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17944 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17945 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17946 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17947 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17948 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17949 * sysdeps/i386/fpu/e_log.S: Likewise.
17950 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17951 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17952 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17953 * sysdeps/i386/fpu/e_logf.S: Likewise.
17954 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17955 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17956 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17957 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17958 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17959 * sysdeps/i386/fpu/e_log10.S: Likewise.
17960 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17961 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17962 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17963 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17964 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17965 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17966 * sysdeps/i386/asm-syntax.h: Likewise.
17967 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17968 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17969 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17970 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17971 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17972 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17973 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17974 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17975 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17976 * sysdeps/powerpc/sysdep.h: Likewise.
17977 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17978 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17980 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17983 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17985 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17987 * sysdeps/i386/sysdep.h: Include <features.h>.
17988 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17991 2012-02-05 Joseph Myers <joseph@codesourcery.com>
17993 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17995 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17998 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18000 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18001 (SETUP_PIC_REG): Use GET_PC_THUNK.
18002 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18005 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18007 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18008 for non-PIC compilation.
18009 (SETUP_PIC_REG): Add .p2align directive.
18010 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18011 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18012 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18013 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18014 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18015 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18016 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18017 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18018 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18019 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18020 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18021 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18022 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18023 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18024 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18025 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18026 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18027 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18028 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18029 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18030 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18031 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18032 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18033 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18034 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18035 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18036 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18037 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18038 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18039 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18040 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18041 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18042 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18043 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18044 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18045 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18046 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18047 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18048 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18049 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18050 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18052 2012-02-03 Joseph Myers <joseph@codesourcery.com>
18054 * math/tst-CMPLX.c: Include <stdio.h>.
18056 2012-01-31 Joseph Myers <joseph@codesourcery.com>
18058 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18060 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18061 * sysdeps/sparc/bits/mathdef.h: Likewise.
18063 2012-01-31 Marek Polacek <polacek@redhat.com>
18065 * libio/libio.h: Don't define _PARAMS.
18066 * locale/programs/config.h: Don't define PARAMS.
18067 * stdlib/strtol_l.c: Likewise.
18068 (__strtol_l): Remove PARAMS from the prototype.
18070 2012-01-31 Ulrich Drepper <drepper@gmail.com>
18072 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
18073 names. Just use the correct names. Remove unnecessary wrapper
18075 * malloc/arena.c: Likewise.
18076 * malloc/hooks.c: Likewise.
18078 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18079 ARENA_TEST says not to. Simplify test for creation of a new arena.
18080 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18082 2012-01-30 Ulrich Drepper <drepper@gmail.com>
18084 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18086 (update_get_addr): New function.
18087 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18088 GET_ADDR_MODULE parameter.
18090 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18092 * crypt/cert.c: Remove __STDC__ conditionals.
18093 * crypt/crypt-entry.c: Likewise.
18094 * crypt/crypt_util.c: Likewise.
18095 * libio/filedoalloc.c: Likewise.
18096 * libio/fileops.c: Likewise.
18097 * libio/genops.c: Likewise.
18098 * libio/iofclose.c: Likewise.
18099 * libio/iofdopen.c: Likewise.
18100 * libio/iofopen.c: Likewise.
18101 * libio/iofopen64.c: Likewise.
18102 * libio/iogetdelim.c: Likewise.
18103 * libio/iopopen.c: Likewise.
18104 * libio/obprintf.c: Likewise.
18105 * libio/oldfileops.c: Likewise.
18106 * libio/oldiofclose.c: Likewise.
18107 * libio/oldiofdopen.c: Likewise.
18108 * libio/oldiofopen.c: Likewise.
18109 * libio/oldiopopen.c: Likewise.
18110 * libio/wfiledoalloc.c: Likewise.
18111 * libio/wgenops.c: Likewise.
18112 * locale/programs/xmalloc.c: Likewise.
18113 * misc/syslog.c: Likewise.
18114 * stdio-common/xbug.c: Likewise.
18115 * string/memchr.c: Likewise.
18116 * string/memcmp.c: Likewise.
18117 * string/memrchr.c: Likewise.
18118 * string/rawmemchr.c: Likewise.
18119 * sysdeps/posix/getcwd.c: Likewise.
18120 * time/strftime_l.c: Likewise.
18122 2012-01-30 Joseph Myers <joseph@codesourcery.com>
18124 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18125 * config.make.in (config-cflags-sse2avx): Define.
18126 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18129 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18131 * scripts/config.guess: Update from upstream config git repository.
18132 * scripts/config.sub: Likewise.
18134 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18136 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18138 (R_TILEPRO_*, R_TILEGX_*): New macros.
18140 * scripts/firstversions.awk: Fix bug in version range handling.
18142 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18144 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18146 * include/sys/epoll.h: New file.
18147 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18150 2012-01-28 Ulrich Drepper <drepper@gmail.com>
18152 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18153 Avoid unnecessary __WORDSIZE == 64 test.
18154 (fmaxf): Use VEX format if possible.
18159 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18160 * math/math_private.h: Remove libc_fegetround* and
18162 * sysdeps/i386/configure.in: Check for -msse2avx.
18163 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18164 also if SSE2AVX is defined.
18165 Remove libc_fegetround* and libc_fesetround*.
18166 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18167 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18168 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18170 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18171 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18172 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18173 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18174 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18176 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18178 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18180 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18182 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18184 2012-01-27 Ulrich Drepper <drepper@gmail.com>
18187 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18189 * Makeconfig (libm): Define.
18190 * elf/Makefile: Add rules to build and run tst-relsort1.
18191 * elf/tst-relsort1.c: New file.
18192 * elf/tst-relsort1mod1.c: New file.
18193 * elf/tst-relsort1mod2.c: New file.
18195 2012-01-27 Joseph Myers <joseph@codesourcery.com>
18197 * math/s_ldexp.c: Remove __STDC__ conditionals.
18198 * math/s_ldexpf.c: Likewise.
18199 * math/s_ldexpl.c: Likewise.
18200 * math/s_nextafter.c: Likewise.
18201 * math/s_nexttowardf.c: Likewise.
18202 * math/s_significand.c: Likewise.
18203 * math/s_significandf.c: Likewise.
18204 * math/s_significandl.c: Likewise.
18205 * math/w_jnl.c: Likewise.
18206 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18207 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18208 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18209 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18210 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18211 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18212 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18213 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18214 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18215 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18216 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18217 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18218 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18219 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18220 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18221 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18222 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18223 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18224 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18225 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18226 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18227 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18228 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18229 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18230 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18231 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18232 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18233 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18234 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18235 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18236 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18237 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18238 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18239 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18240 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18241 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18242 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18243 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18244 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18245 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18246 * sysdeps/ieee754/k_standard.c: Likewise.
18247 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18251 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18252 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18256 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18263 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18265 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18266 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18268 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18279 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18280 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18282 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18290 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18292 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18295 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18296 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18297 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18298 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18299 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18300 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18301 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18302 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18303 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18304 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18308 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18313 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18321 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18322 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18323 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18326 * sysdeps/ieee754/s_matherr.c: Likewise.
18327 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18328 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18329 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18330 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18332 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18334 * crypt/md5.h: Remove __STDC__ conditionals.
18335 * libio/libioP.h: Likewise.
18336 * locale/programs/config.h: Likewise.
18337 * sysdeps/generic/sysdep.h: Likewise.
18338 * sysdeps/i386/asm-syntax.h: Likewise.
18339 * sysdeps/s390/asm-syntax.h: Likewise.
18340 * sysdeps/unix/sysdep.h: Likewise.
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18344 2012-01-26 Joseph Myers <joseph@codesourcery.com>
18346 * libio/libio.h: Remove __STDC__ conditionals.
18347 * malloc/obstack.h: Likewise.
18348 * math/complex.h: Likewise.
18349 * math/math.h: Likewise.
18350 * sysdeps/generic/_G_config.h: Likewise.
18351 * sysdeps/gnu/_G_config.h: Likewise.
18352 * sysdeps/mach/hurd/_G_config.h: Likewise.
18353 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18354 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18355 * sysdeps/sparc/bits/mathdef.h: Likewise.
18357 2012-01-26 Ulrich Drepper <drepper@gmail.com>
18360 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18361 Clean up HAS_* macros.
18362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18363 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18365 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18367 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18368 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18369 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18370 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18371 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18373 2012-01-25 Joseph Myers <joseph@codesourcery.com>
18375 * elf/tst-unique3.cc (gets): Remove declaration.
18376 * elf/tst-unique3lib.cc (gets): Likewise.
18377 * elf/tst-unique3lib2.cc (gets): Likewise.
18378 * elf/tst-unique4.cc (gets): Likewise.
18380 2012-01-24 Ulrich Drepper <drepper@gmail.com>
18382 * include/stdio.h: Add C++ protection. Add gets declarations and
18384 * debug/tst-chk1.c: Don't declare gets here.
18385 * stdio-common/tst-gets.c: Likewise.
18387 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18389 * posix/glob: Remove directory.
18391 2012-01-24 Joseph Myers <joseph@codesourcery.com>
18393 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18395 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18397 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18398 of the non-standard EPFNOSUPPORT.
18400 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18402 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18403 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18404 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18406 2012-01-21 Ulrich Drepper <drepper@gmail.com>
18408 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18410 2012-01-20 Ulrich Drepper <drepper@gmail.com>
18412 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18414 * nscd/grpcache.c (cache_addgr): Likewise.
18415 * nscd/hstcache.c (cache_addhst): Likewise.
18416 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18417 * nscd/pwdcache.c (cache_addpw): Likewise.
18418 * nscd/servicescache.c (cache_addserv): Likewise.
18420 2012-01-16 Ulrich Drepper <drepper@gmail.com>
18422 * malloc/malloc.c: Various cleanups.
18423 * malloc/hooks.c: Likewise.
18425 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18426 * stdlib/bug-fmtmsg1.c: New file.
18428 * stdlib/fmtmsg.c (init): Add missing unlock.
18429 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18431 2012-01-12 Marek Polacek <polacek@redhat.com>
18433 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18436 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18438 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18439 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18440 macro to ensure uniqueness of label name.
18441 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18442 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18444 2012-01-11 Ulrich Drepper <drepper@gmail.com>
18446 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18448 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18449 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18450 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18451 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18453 2012-01-10 Ulrich Drepper <drepper@gmail.com>
18455 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18457 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18458 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18459 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18461 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18463 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
18464 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18465 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18466 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
18468 * math/bits/math-finite.h: Add ldexp support.
18470 2012-01-10 Marek Polacek <polacek@redhat.com>
18472 * locale/programs/localedef.h (show_archive_content): Add noreturn
18475 2012-01-09 Ulrich Drepper <drepper@gmail.com>
18477 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18479 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18481 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18483 * io/Makefile (headers): Add bits/poll2.h.
18485 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18488 typo #include statement.
18490 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18492 * include/sys/cdefs.h: Define __attribute_alloc_size.
18493 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18494 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18495 * elf/pldd.c: Likewise.
18496 * iconv/iconv_charmap.c: Likewise.
18497 * iconv/iconvconfig.c: Likewise.
18498 * iconv/strtab.c: Likewise.
18499 * locale/programs/locale.c: Likewise.
18500 * locale/programs/localedef.h: Likewise.
18501 * locale/programs/simple-hash.c: Likewise.
18502 * nscd/nscd.h: Likewise.
18503 * nss/makedb.c: Likewise.
18504 * sysdeps/generic/ldconfig.h: Likewise.
18505 * locale/programs/localedef.c: Remove xmalloc prototype.
18506 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18508 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18510 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18513 2012-01-08 Ulrich Drepper <drepper@gmail.com>
18515 * math/Makefile (tests): Add tst-CMPLX.
18516 * math/tst-CMPLX.c: New file.
18518 * math/complex.h (CMPLXL): Fix typo.
18520 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18521 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18523 * debug/tst-chk1.c: Add poll and ppoll tests.
18524 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18525 * include/sys/poll.h: Add hidden proto for ppoll.
18526 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18527 * sysdeps/mach/hurd/ppoll.c: Likewise.
18528 * io/ppoll.c: Likewise.
18529 * debug/poll_chk.c: New file.
18530 * debug/ppoll_chk.c: New file.
18531 * include/bits/poll2.h: New file.
18532 * io/bits/poll2.h: New file.
18535 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18537 * configure.in: static is always set to yes. Remove.
18538 * config.make.in: Don't set build-static.
18539 * Makeconfig: Remove use of build-static.
18540 * dlfcn/Makefile: Likewise.
18541 * elf/Makefile: Likewise.
18542 * math/Makefile: Likewise.
18543 * misc/Makefile: Likewise.
18544 * nptl/Makefile: Likewise.
18545 * sysdeps/mach/hurd/Makefile: Likewise.
18547 * configure.in: PWD_P is not used anymore.
18548 * config.make.in: Remove PWD_P entry.
18550 * configure.in: Remove last remnants of RANLIB.
18551 No need to check for signed size_t anymore.
18552 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18554 Remove __builtin_expect test because we require at least gcc 3.4.
18555 * aclocal.m4: Likewise.
18557 * wcsmbs/mbrtoc16.c: Implement using towc function.
18558 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18559 * wcsmbs/wcsmbsload.c: Likewise.
18560 * iconv/gconv_simple.c: Likewise.
18561 * iconv/gconv_int.h: Likewise.
18562 * iconv/gconv_builtin.h: Likewise.
18563 * iconv/iconv_prog.c: Remove CHAR16 handling.
18565 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18567 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18569 * configure.in: Remove --with-elf and --enable-bounded options.
18570 Dont set base_machine for ia64. More non-ELF conditions removed.
18571 Remove testing and setting of leading underscore information.
18572 * config.make.in (build-bounded): Set to no.
18573 * config.h.in: Remove NO_UNDERSCORES entry.
18574 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18576 * csu/start.c: Remove !NO_UNDERSCORE code.
18577 * locale/localeinfo.h: Likewise.
18578 * sysdeps/generic/machine-gmon.h: Likewise.
18579 * sysdeps/generic/sysdep.h: Likewise.
18580 * sysdeps/i386/sysdep.h: Likewise.
18581 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18582 * sysdeps/mach/sysdep.h: Likewise.
18583 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18584 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18585 * sysdeps/sh/sysdep.h: Likewise.
18586 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18587 * sysdeps/unix/i386/sysdep.S: Likewise.
18588 * sysdeps/unix/sparc/start.c: Likewise.
18589 * sysdeps/unix/sparc/sysdep.S: Likewise.
18590 * sysdeps/unix/sparc/sysdep.h: Likewise.
18591 * sysdeps/unix/start.c: Likewise.
18592 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18593 * sysdeps/x86_64/sysdep.h: Likewise.
18595 2012-01-07 Ulrich Drepper <drepper@gmail.com>
18598 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18600 * argp/argp-fmtstream.h: Use const instead __const.
18601 * argp/argp.h: Likewise.
18602 * assert/assert.h: Likewise.
18603 * bits/fenv.h: Likewise.
18604 * bits/sched.h: Likewise.
18605 * bits/sigset.h: Likewise.
18606 * bits/sigthread.h: Likewise.
18607 * catgets/nl_types.h: Likewise.
18608 * conform/data/pthread.h-data: Likewise.
18609 * crypt/crypt-private.h: Likewise.
18610 * crypt/crypt.h: Likewise.
18611 * crypt/crypt_util.c: Likewise.
18612 * ctype/ctype.h: Likewise.
18613 * debug/execinfo.h: Likewise.
18614 * debug/mbsnrtowcs_chk.c: Likewise.
18615 * debug/mbsrtowcs_chk.c: Likewise.
18616 * debug/wcsnrtombs_chk.c: Likewise.
18617 * debug/wcsrtombs_chk.c: Likewise.
18618 * debug/wcstombs_chk.c: Likewise.
18619 * dirent/dirent.h: Likewise.
18620 * dlfcn/dlfcn.h: Likewise.
18621 * elf/neededtest4.c: Likewise.
18622 * grp/grp.h: Likewise.
18623 * gshadow/gshadow.h: Likewise.
18624 * iconv/gconv.h: Likewise.
18625 * iconv/gconv_int.h: Likewise.
18626 * iconv/gconv_simple.c: Likewise.
18627 * iconv/iconv.h: Likewise.
18628 * iconv/loop.c: Likewise.
18629 * iconv/skeleton.c: Likewise.
18630 * include/aio.h: Likewise.
18631 * include/aliases.h: Likewise.
18632 * include/argz.h: Likewise.
18633 * include/arpa/inet.h: Likewise.
18634 * include/assert.h: Likewise.
18635 * include/dirent.h: Likewise.
18636 * include/dlfcn.h: Likewise.
18637 * include/execinfo.h: Likewise.
18638 * include/fcntl.h: Likewise.
18639 * include/fenv.h: Likewise.
18640 * include/glob.h: Likewise.
18641 * include/grp.h: Likewise.
18642 * include/libintl.h: Likewise.
18643 * include/mntent.h: Likewise.
18644 * include/netdb.h: Likewise.
18645 * include/pwd.h: Likewise.
18646 * include/rpc/netdb.h: Likewise.
18647 * include/sched.h: Likewise.
18648 * include/search.h: Likewise.
18649 * include/shadow.h: Likewise.
18650 * include/signal.h: Likewise.
18651 * include/stdio.h: Likewise.
18652 * include/stdlib.h: Likewise.
18653 * include/string.h: Likewise.
18654 * include/sys/socket.h: Likewise.
18655 * include/sys/stat.h: Likewise.
18656 * include/sys/statfs.h: Likewise.
18657 * include/sys/statvfs.h: Likewise.
18658 * include/sys/syslog.h: Likewise.
18659 * include/sys/time.h: Likewise.
18660 * include/sys/uio.h: Likewise.
18661 * include/time.h: Likewise.
18662 * include/unistd.h: Likewise.
18663 * include/utmp.h: Likewise.
18664 * include/wchar.h: Likewise.
18665 * include/wctype.h: Likewise.
18666 * inet/aliases.h: Likewise.
18667 * inet/arpa/inet.h: Likewise.
18668 * inet/netinet/ether.h: Likewise.
18669 * inet/netinet/in.h: Likewise.
18670 * intl/libintl.h: Likewise.
18671 * io/bits/fcntl2.h: Likewise.
18672 * io/fcntl.h: Likewise.
18673 * io/ftw.h: Likewise.
18674 * io/sys/poll.h: Likewise.
18675 * io/sys/stat.h: Likewise.
18676 * io/sys/statfs.h: Likewise.
18677 * io/sys/statvfs.h: Likewise.
18678 * io/utime.h: Likewise.
18679 * libio/bits/stdio.h: Likewise.
18680 * libio/bits/stdio2.h: Likewise.
18681 * libio/libio.h: Likewise.
18682 * libio/libioP.h: Likewise.
18683 * libio/stdio.h: Likewise.
18684 * locale/lc-ctype.c: Likewise.
18685 * locale/locale.h: Likewise.
18686 * login/utmp.h: Likewise.
18687 * malloc/arena.c: Likewise.
18688 * malloc/malloc.c: Likewise.
18689 * malloc/malloc.h: Likewise.
18690 * malloc/mcheck.c: Likewise.
18691 * malloc/mtrace.c: Likewise.
18692 * math/bits/mathcalls.h: Likewise.
18693 * math/fenv.h: Likewise.
18694 * math/math_private.h: Likewise.
18695 * misc/bits/error.h: Likewise.
18696 * misc/bits/syslog.h: Likewise.
18697 * misc/err.h: Likewise.
18698 * misc/error.h: Likewise.
18699 * misc/fstab.h: Likewise.
18700 * misc/mntent.h: Likewise.
18701 * misc/regexp.h: Likewise.
18702 * misc/search.h: Likewise.
18703 * misc/sgtty.h: Likewise.
18704 * misc/sys/mman.h: Likewise.
18705 * misc/sys/syslog.h: Likewise.
18706 * misc/sys/uio.h: Likewise.
18707 * misc/sys/xattr.h: Likewise.
18708 * misc/ttyent.h: Likewise.
18709 * nis/rpcsvc/ypclnt.h: Likewise.
18710 * nss/nss.h: Likewise.
18711 * posix/bits/unistd.h: Likewise.
18712 * posix/fnmatch.h: Likewise.
18713 * posix/glob.h: Likewise.
18714 * posix/sched.h: Likewise.
18715 * posix/spawn.h: Likewise.
18716 * posix/sys/wait.h: Likewise.
18717 * posix/unistd.h: Likewise.
18718 * posix/wordexp.h: Likewise.
18719 * pwd/pwd.h: Likewise.
18720 * resolv/netdb.h: Likewise.
18721 * resource/sys/resource.h: Likewise.
18722 * rt/aio.h: Likewise.
18723 * rt/bits/mqueue2.h: Likewise.
18724 * rt/mqueue.h: Likewise.
18725 * shadow/shadow.h: Likewise.
18726 * signal/signal.h: Likewise.
18727 * socket/send.c: Likewise.
18728 * socket/sendto.c: Likewise.
18729 * socket/sys/socket.h: Likewise.
18730 * stdio-common/printf.h: Likewise.
18731 * stdlib/bits/stdlib.h: Likewise.
18732 * stdlib/fmtmsg.h: Likewise.
18733 * stdlib/monetary.h: Likewise.
18734 * stdlib/stdlib.h: Likewise.
18735 * stdlib/ucontext.h: Likewise.
18736 * streams/stropts.h: Likewise.
18737 * string/argz.h: Likewise.
18738 * string/bits/string2.h: Likewise.
18739 * string/string.h: Likewise.
18740 * string/strings.h: Likewise.
18741 * sunrpc/rpc/auth.h: Likewise.
18742 * sunrpc/rpc/auth_des.h: Likewise.
18743 * sunrpc/rpc/clnt.h: Likewise.
18744 * sunrpc/rpc/netdb.h: Likewise.
18745 * sunrpc/rpc/pmap_clnt.h: Likewise.
18746 * sunrpc/rpc/xdr.h: Likewise.
18747 * sysdeps/generic/inttypes.h: Likewise.
18748 * sysdeps/generic/net/if.h: Likewise.
18749 * sysdeps/generic/sys/swap.h: Likewise.
18750 * sysdeps/gnu/net/if.h: Likewise.
18751 * sysdeps/gnu/utmpx.h: Likewise.
18752 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18753 * sysdeps/i386/i486/bits/string.h: Likewise.
18754 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18755 * sysdeps/s390/bits/string.h: Likewise.
18756 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18757 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18758 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18759 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18760 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18761 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18762 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18763 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18764 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18765 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18766 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18767 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18768 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18769 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18770 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18771 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18772 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18773 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18774 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18775 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18776 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18777 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18778 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18779 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18780 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18781 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18782 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18783 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18784 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18785 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18786 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18787 * sysvipc/sys/ipc.h: Likewise.
18788 * sysvipc/sys/msg.h: Likewise.
18789 * sysvipc/sys/sem.h: Likewise.
18790 * sysvipc/sys/shm.h: Likewise.
18791 * termios/termios.h: Likewise.
18792 * time/sys/time.h: Likewise.
18793 * time/time.h: Likewise.
18794 * wcsmbs/bits/wchar2.h: Likewise.
18795 * wcsmbs/uchar.h: Likewise.
18796 * wcsmbs/wchar.h: Likewise.
18797 * wctype/wctype.h: Likewise.
18800 * Makeconfig: Remove all but ELF support including AIX support.
18801 * Makerules: Likewise.
18802 * config.h.in: Likewise.
18803 * config.make.in: Likewise.
18804 * configure: Likewise.
18805 * configure.in: Likewise.
18806 * csu/Makefile: Likewise.
18807 * csu/version.c: Likewise.
18808 * debug/Makefile: Likewise.
18809 * dlfcn/Makefile: Likewise.
18810 * elf/Makefile: Likewise.
18811 * extra-lib.mk: Likewise.
18812 * iconv/Makefile: Likewise.
18813 * include/libc-symbols.h: Likewise.
18814 * include/shlib-compat.h: Likewise.
18815 * resolv/Makefile: Likewise.
18816 * resolv/res_libc.c: Likewise.
18817 * rt/Makefile: Likewise.
18818 * sysdeps/i386/asm-syntax.h: Likewise.
18819 * sysdeps/i386/sysdep.h: Likewise.
18820 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18821 * sysdeps/mach/sysdep.h: Likewise.
18822 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18823 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18824 * sysdeps/s390/asm-syntax.h: Likewise.
18825 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18826 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18827 * sysdeps/sh/sysdep.h: Likewise.
18828 * sysdeps/unix/sparc/sysdep.h: Likewise.
18829 * sysdeps/wordsize-32/divdi3.c: Likewise.
18830 * sysdeps/x86_64/sysdep.h: Likewise.
18832 * argp/Versions: Remove _argp_unlock_xxx.
18835 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18836 * abilist/libBrokenLocale.abilist: Likewise.
18837 * abilist/libanl.abilist: Likewise.
18838 * abilist/libc.abilist: Likewise.
18839 * abilist/libcrypt.abilist: Likewise.
18840 * abilist/libdl.abilist: Likewise.
18841 * abilist/libm.abilist: Likewise.
18842 * abilist/libnsl.abilist: Likewise.
18843 * abilist/libpthread.abilist: Likewise.
18844 * abilist/libresolv.abilist: Likewise.
18845 * abilist/librt.abilist: Likewise.
18846 * abilist/libthread_db.abilist: Likewise.
18847 * abilist/libutil.abilist: Likewise.
18848 * abilist/libnss_db.abilist: New file.
18850 * scripts/abilist.awk: Add support for indirect functions.
18852 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18854 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18856 * shlib-versions: Remove entries for ports architectures.
18858 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18860 * elf/stackguard-macros.h: Remove support for IA-64.
18861 * elf/tst-auditmod1.c: Likewise.
18862 * sysdeps/generic/ldsodefs.h: Likewise.
18864 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18865 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18869 * configure.in: Remove --enable-omitfp support.
18871 * config.make.in: Likewise.
18872 * Makeconfig: Likewise.
18873 * manual/install.texi: Likewise.
18875 In case anyone cares, the IA-64 architecture could move to ports.
18876 * sysdeps/ia64/*: Removed.
18877 * sysdeps/unix/sysv/linux/ia64/*: Removed.
18878 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
18881 * configure.in: Remove entries for unsupported architectures.
18884 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18885 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18887 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18888 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18889 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18890 fall back to using wcrtomb.
18891 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18892 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18894 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18895 * wcsmbs/tst-c16c32-1.c: New file.
18897 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18900 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18902 * elf/tst-unique3.cc: Add explicit declaration of gets.
18903 * elf/tst-unique3lib.cc: Likewise.
18904 * elf/tst-unique3lib2.cc: Likewise.
18905 * elf/tst-unique4.cc: Likewise.
18907 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18909 2012-01-06 Joseph Myers <joseph@codesourcery.com>
18912 * assert/assert.h (static_assert): Don't define for C++.
18913 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18914 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18916 2012-01-03 Ulrich Drepper <drepper@gmail.com>
18918 * iconv/loop.c (single loop): Fix assertion in storing of
18921 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18923 2012-01-01 Ulrich Drepper <drepper@gmail.com>
18925 * posix/getconf.c: Update copyright year.
18926 * nss/getent.c: Likewise.
18927 * nss/makedb.c: Likewise.
18928 * iconv/iconvconfig.c: Likewise.
18929 * iconv/iconv_prog.c: Likewise.
18930 * elf/ldconfig.c: Likewise.
18931 * elf/pldd.c: Likewise.
18932 * elf/sotruss.ksh: Likewise.
18933 * catgets/gencat.c: Likewise.
18934 * csu/version.c: Likewise.
18935 * elf/ldd.bash.in: Likewise.
18936 * elf/sprof.c (print_version): Likewise.
18937 * locale/programs/locale.c: Likewise.
18938 * locale/programs/localedef.c: Likewise.
18939 * login/programs/pt_chown.c: Likewise.
18940 * nscd/nscd.c (print_version): Likewise.
18941 * debug/xtrace.sh: Likewise.
18942 * malloc/memusage.sh: Likewise.
18943 * malloc/mtrace.pl: Likewise.
18944 * debug/catchsegv.sh: Likewise.
18946 2011-12-30 Jakub Jelinek <jakub@redhat.com>
18948 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18951 2011-12-24 Ulrich Drepper <drepper@gmail.com>
18954 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18955 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18957 * iconv/gconv_int.h: Likewise.
18958 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18959 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18960 from libc for GLIBC_2.16.
18961 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18962 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18963 * wcsmbs/uchar.h: Really define mbstate_t.
18964 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18965 * wcsmbs/c16rtomb.c: New file.
18966 * wcsmbs/mbrtoc16.c: New file.
18967 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18968 for C/POSIX locale.
18969 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18970 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18972 * wcsmbs/wchar.h: Add missing __restrict.
18974 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18977 * time/Makefile (routines): Add timespec_get.
18978 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18979 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18980 timespec for ISO C11.
18981 * time/timespec_get.c: New file.
18982 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18983 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18986 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18987 * stdlib/stdlib.h: Declare aligned_alloc.
18988 * Versions.def: Add GLIBC_2.16 for libc.
18989 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18992 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18995 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
18999 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19002 * assert/assert.h (static_assert): Define.
19004 * version.h: Update for 2.16 development version.
19007 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19010 * version.h (RELEASE): Bump for 2.15 release.
19011 * include/features.h (__GLIBC_MINOR__): Bump to 15.
19013 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19014 Patch by Marek Polacek <mpolacek@redhat.com>.
19016 * bits/byteswap.h: Protect long long constants with __extension__.
19017 * sysdeps/i386/bits/byteswap.h: Likewise.
19018 * sysdeps/ia64/bits/byteswap.h: Likewise.
19019 * sysdeps/s390/bits/byteswap.h: Likewise.
19020 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19022 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19025 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19026 destination buffer.
19027 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19029 2011-12-23 Marek Polacek <polacek@redhat.com>
19031 * elf/dl-addr.c (determine_info): Add inline keyword.
19032 * elf/tst-auditmod4b.c (check_avx): Likewise.
19033 * elf/tst-auditmod6b.c (check_avx): Likewise.
19034 * elf/tst-auditmod6c.c (check_avx): Likewise.
19035 * elf/tst-auditmod7b.c (check_avx): Likewise.
19037 2011-12-23 Ulrich Drepper <drepper@gmail.com>
19039 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19042 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19045 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19046 processing for last bytes.
19048 2011-08-06 Bruno Haible <bruno@clisp.org>
19051 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19052 U+0385, not to U+1FEE.
19055 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19056 entry for U+00A5 U+0301.
19058 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19061 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19062 buffer for the output is too small.
19064 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19068 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19069 SSE flags if possible.
19071 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19074 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19075 processing for last bytes.
19077 2011-12-22 Joseph Myers <joseph@codesourcery.com>
19079 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19080 (syscall-list-default-options, syscall-list-default-condition)
19081 (syscall-list-includes): Define.
19082 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19083 list of ABIs and options and #if conditions for each ABI. Do not
19084 handle common syscalls between ABIs specially.
19085 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19087 (syscall-list-variants, syscall-list-32bit-options)
19088 (syscall-list-32bit-condition, syscall-list-64bit-options)
19089 (syscall-list-64bit-condition): Define.
19090 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19091 (syscall-list-variants, syscall-list-32bit-options)
19092 (syscall-list-32bit-condition, syscall-list-64bit-options)
19093 (syscall-list-64bit-condition): Define.
19094 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19096 (syscall-list-variants, syscall-list-32bit-options)
19097 (syscall-list-32bit-condition, syscall-list-64bit-options)
19098 (syscall-list-64bit-condition): Define.
19099 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19101 (syscall-list-variants, syscall-list-32bit-options)
19102 (syscall-list-32bit-condition, syscall-list-64bit-options)
19103 (syscall-list-64bit-condition): Define.
19105 2011-12-22 Ulrich Drepper <drepper@gmail.com>
19107 * locale/iso-639.def: Add brx entry.
19110 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19111 Proposed by Mariusz_Cukr <marcukr@op.pl>.
19113 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19114 __feraiseexcept_renamed.
19116 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19119 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19120 EPOLLET with unsigned values.
19121 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19122 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19124 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19125 to large cancellation.
19126 * math/s_cacoshf.c: Likewise.
19127 * math/s_cacoshl.c: Likewise.
19129 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19133 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19134 * math/s_cacoshf.c: Likewise.
19135 * math/s_cacoshl.c: Likewise.
19137 2011-12-21 Ulrich Drepper <drepper@gmail.com>
19140 * iconv/gconv.h: Define __GCONV_SWAP.
19141 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19142 * iconvdata/utf-16.c: Likewise.
19143 * iconvdata/utf-32.c: Likewise.
19145 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19148 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19149 numerator after shifting it by one limb.
19151 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19153 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19154 under [__USE_EXTERN_INLINES].
19156 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19159 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19161 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19163 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19164 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19166 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19167 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19168 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19169 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19170 for strncasecmp/strncasecmp_l compilation.
19171 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19172 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19174 2011-12-08 Marek Polacek <mpolacek@redhat.com>
19177 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19180 2011-12-17 Ulrich Drepper <drepper@gmail.com>
19183 * time/tzfile.c (__tzfile_read): Check values from file header.
19185 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19187 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19188 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19189 * powerpc/powerpc32/dl-start.S: Likewise.
19190 * powerpc/powerpc32/elf/start.S: Likewise.
19191 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19192 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19193 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19194 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19195 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19196 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19197 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19198 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19199 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19200 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19201 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19202 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19203 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19204 * powerpc/powerpc32/memset.S: Likewise.
19205 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19206 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19207 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19208 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19209 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19210 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19211 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19212 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19213 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19214 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19215 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19216 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19217 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19219 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19221 * math/libm-test.inc: Added more nearbyint tests.
19222 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19223 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19224 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19225 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19227 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19229 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19232 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19234 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19235 Add wcscpy-ssse3 wcscpy-c.
19236 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19237 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19238 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19239 * sysdeps/x86_64/wcschr.S: New file.
19240 * sysdeps/x86_64/wcsrchr.S: New file.
19241 * string/test-strcmp.c: Remove checking of wcscmp function for
19243 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19244 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19245 wcsrchr-sse2 wcsrchr-c.
19246 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19247 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19248 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19249 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19250 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19251 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19252 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19253 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19254 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19255 * wcsmbc/wcschr.c (WCSCHR): New macro.
19257 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19259 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19260 * wcsmbs/test-wcsrchr.c: New file.
19261 * string/test-strrchr.c: Add wcsrchr support.
19263 * wcsmbs/test-wcscpy.c: New file.
19264 * string/test-strcpy.c: Add wcscpy support.
19267 2011-12-10 Ulrich Drepper <drepper@gmail.com>
19269 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19272 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19275 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19277 2011-12-04 Ulrich Drepper <drepper@gmail.com>
19279 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19280 Minor optimizations.
19282 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19283 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19284 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19286 2011-12-03 Ulrich Drepper <drepper@gmail.com>
19288 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19289 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19290 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19291 for gcc to avoid warnings.
19292 * inet/Makefile (tests): Add tst-checks.
19293 * inet/tst-checks.c: New file.
19295 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19298 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19301 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19302 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19304 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19306 2011-12-02 Ulrich Drepper <drepper@gmail.com>
19308 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19311 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19313 2011-11-29 Joseph Myers <joseph@codesourcery.com>
19315 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19316 conditional on GCC version.
19317 (__arch_compare_and_exchange_val_8_acq)
19318 (__arch_compare_and_exchange_val_16_acq)
19319 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19320 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19321 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19323 2011-12-02 Joseph Myers <joseph@codesourcery.com>
19325 * sysdeps/sh/backtrace.c: New file.
19327 2011-12-02 Andreas Schwab <schwab@redhat.com>
19329 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19332 2011-12-01 Andreas Schwab <schwab@redhat.com>
19334 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19335 falling back to utime.
19337 2011-11-30 Andreas Schwab <schwab@redhat.com>
19339 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19340 expectations for float.
19342 2011-11-29 Andreas Schwab <schwab@redhat.com>
19344 * locale/weight.h (findidx): Add parameter len.
19345 * locale/weightwc.h (findidx): Likewise.
19346 * posix/fnmatch_loop.c (FCT): Adjust caller.
19347 * posix/regcomp.c (build_equiv_class): Likewise.
19348 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19349 * posix/regexec.c (check_node_accept_bytes): Likewise.
19350 * string/strcoll_l.c (STRCOLL): Likewise.
19351 * string/strxfrm_l.c (STRXFRM): Likewise.
19353 2011-11-17 Ulrich Drepper <drepper@gmail.com>
19355 * Makefile.in: Remove CVSOPT handling.
19356 * configure.in: Remove use of AC_REVISION.
19357 * iconvdata/Makefile (distribute): No need to filter out CVS.
19358 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19361 2011-11-16 Andreas Schwab <schwab@redhat.com>
19363 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19364 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19365 [USE_AS_STRNCASECMP_L]: Likewise.
19366 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19367 NO_TLS_DIRECT_SEG_REFS.
19368 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19369 Fix argument offsets for non-PIC.
19370 [USE_AS_STRNCASECMP_L]: Likewise.
19371 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19372 NO_TLS_DIRECT_SEG_REFS.
19374 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19376 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19378 * locale/loadlocale.c (_nl_load_locale): Likewise.
19380 2011-11-15 Andreas Schwab <schwab@redhat.com>
19382 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19383 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19384 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19385 (SYSCALL_GETTIME): Set errno on error.
19387 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19388 count references to noai6ai_cached.
19390 2011-11-15 Ulrich Drepper <drepper@gmail.com>
19392 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19394 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19395 FD_CLOEXEC for /proc/self/maps.
19397 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19398 FD_CLOEXEC for /proc/meminfo.
19400 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19403 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19404 FD_CLOEXEC for given file.
19406 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19408 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19409 FD_CLOEXEC for /etc/hosts.
19410 (_gethtent): Likewise.
19412 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19414 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19415 cancellation and set FD_CLOEXEC for /etc/netgroup.
19417 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19418 reading /etc/publickey.
19420 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19421 allow cancellation when reading /etc/group.
19423 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19425 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19427 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19428 when using data file.
19430 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19432 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19433 (write_nis_obj): Use "c" and "e" in fopen.
19435 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19437 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19439 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19441 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19443 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19446 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19448 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19450 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19452 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19453 file parsing and set FD_CLOEXEC.
19455 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19457 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19459 2011-11-14 Andreas Schwab <schwab@redhat.com>
19461 * malloc/arena.c (arena_get2): Don't call reused_arena when
19462 _int_new_arena failed.
19464 2011-11-14 Ulrich Drepper <drepper@gmail.com>
19466 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19467 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19468 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19469 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19470 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19471 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19472 to compile strcasecmp and strncasecmp.
19473 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19474 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19476 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19478 2011-11-13 Ulrich Drepper <drepper@gmail.com>
19480 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19481 locale-defines.sym to gen-as-const-headers.
19482 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19483 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19484 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19485 to compile strcasecmp and strncasecmp.
19486 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19487 strcasecmp_l and strncasecmp_l.
19488 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19489 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19490 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19491 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19492 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19493 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19494 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19495 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19496 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19497 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19498 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19500 2011-11-12 Ulrich Drepper <drepper@gmail.com>
19502 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19503 result of SYSDEP_GETTIME_CPU to retval.
19504 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19505 parameter list to macro. Remove trailing semicolon. Adjust users.
19507 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19510 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19512 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19514 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19515 from unused variable.
19517 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19519 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19522 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19525 * sunrpc/rpc_prot.c (rejected): Fix case value.
19527 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19528 unsigned long long int to avoid warnings in shift.
19530 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19532 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19535 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19536 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19537 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19539 * nis/nis_table.c (nis_list): Use variable of correct type for
19540 result of __follow_path call.
19542 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19544 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19545 of math functions ceil, trunc, floor, round, and sqrt, when
19546 avaliable on the platform.
19547 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19549 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19550 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19551 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19553 2011-10-30 Marek Polacek <mpolacek@redhat.com>
19555 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19556 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19558 2011-11-11 Roland McGrath <roland@hack.frob.com>
19560 * include/unistd.h: Fix __readlink return type.
19561 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19563 2011-11-11 Ulrich Drepper <drepper@gmail.com>
19565 * stdlib/ucontext.h: Undo last change for makecontext.
19567 2011-11-11 Andreas Schwab <schwab@redhat.com>
19569 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19571 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19572 * setjmp/setjmp.h: Mark functions as non-leaf.
19573 * setjmp/bits/setjmp2.h: Likewise.
19574 * stdlib/ucontext.h: Likewise.
19576 2011-11-10 Andreas Schwab <schwab@redhat.com>
19578 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19579 (reused_arena): Don't check arena limit.
19580 (arena_get2): Atomically check arena limit.
19582 2011-11-08 Ulrich Drepper <drepper@gmail.com>
19584 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19585 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19590 2011-11-07 Andreas Schwab <schwab@redhat.com>
19592 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19593 handler when locking.
19595 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19596 Fix size of allocated buffer.
19598 2011-11-04 Andreas Schwab <schwab@redhat.com>
19601 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19602 declarations for long double functions.
19603 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19605 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19607 2011-11-03 Andreas Schwab <schwab@redhat.com>
19609 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19612 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19615 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19617 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19619 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19621 * include/alloca.h (stackinfo_alloca_round): Define.
19622 (extend_alloca): Use it.
19623 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19624 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19627 * scripts/check-local-headers.sh: Ignore libaudit.h.
19629 * nscd/Makefile (extra-objs): Make recursively expanded.
19631 2011-11-01 Ulrich Drepper <drepper@gmail.com>
19633 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19634 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19636 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19637 * posix/tst-rfc3484-2.c: Likewise.
19638 * posix/tst-rfc3484-3.c: Likewise.
19640 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19642 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19644 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19645 process_vm_writev from libc using GLIBC_2.15 version.
19647 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19649 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19651 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19654 2011-10-31 Ulrich Drepper <drepper@gmail.com>
19657 * nss/getent.c (initgroups_keys): Show error message in case no group
19660 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19661 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19662 __bump_nl_timestamp.
19663 * nscd/connections (nscd_init): When host database is served open
19664 netlink socket and request notification about configuration changes.
19665 (main_loop_poll): Track netlink file descriptor and bump timestamp
19666 in case data becomes available.
19667 (main_loop_epoll): Likewise.
19668 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19669 (database_pers_head): Add extra_data fileds.
19670 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19671 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19672 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19674 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19675 in6ai data, call __free_in6ai.
19676 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19677 Add -DHAVE_NETLINK.
19678 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19679 interface information. Reuse previous data if netlink timestamp
19681 (__bump_nl_timestamp): New function.
19682 (__free_in6ai): New function.
19684 2011-10-30 Ulrich Drepper <drepper@gmail.com>
19686 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19687 close_not_cancel_no_status here.
19688 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19690 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19693 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19696 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
19697 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19698 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19700 2011-07-03 Andreas Jaeger <aj@suse.de>
19703 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19704 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19705 * math/libm-test.inc (sin_test): Add test case.
19707 2011-10-29 Ulrich Drepper <drepper@gmail.com>
19710 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19711 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19713 * elf/chroot_canon.c (chroot_canon): Cleanups.
19715 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19718 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19719 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19721 * string/test-strchr.c: Make usable for strchrnul testing.
19722 * string/test-strchrnul.c: New file.
19723 * string/Makefile (strop-tests): Add strchrnul.
19725 * po/it.po: Update from translation team.
19726 * po/es.po: Likewise.
19728 2011-10-28 Ulrich Drepper <drepper@gmail.com>
19730 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19731 the three constants needed as parameters. Drop the others.
19732 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19733 __m128i_strloadu_tolower.
19734 Create and initialize variable zero and use it in all the places
19735 where _mm_setzero_si128 was used.
19737 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19738 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19739 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19740 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19742 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19743 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19744 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19745 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19746 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19747 __mpranred, __mptan.
19748 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19749 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19750 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19751 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19752 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19753 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19754 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19755 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19756 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19758 2011-10-28 Andreas Schwab <schwab@redhat.com>
19760 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19761 redefine if SHARED.
19762 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19764 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19765 wide char related routines to wcsmbs subdir.
19767 2011-10-27 Andreas Schwab <schwab@redhat.com>
19770 * misc/sys/cdefs.h (__THROWNL): Define.
19771 * posix/unistd.h: Use __THREADNL instead of __THREAD
19772 for memory synchronization functions.
19774 2011-10-26 Roland McGrath <roland@hack.frob.com>
19777 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19779 * manual/stdio.texi (Obstack Streams): Node removed.
19781 2011-10-26 Andreas Schwab <schwab@redhat.com>
19783 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19784 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19785 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19787 * math/math_private.h (math_force_eval): Allow non-addressable
19789 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19791 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19793 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19794 file is not needed.
19796 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19797 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19798 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19799 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19800 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19801 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19802 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19803 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19805 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19806 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19807 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19808 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19809 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19810 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19811 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19812 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19813 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19814 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19815 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19816 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19817 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19818 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19819 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19820 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19821 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19822 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19823 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19825 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19826 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19828 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19829 place. Use VEX encoding when compiling for AVX.
19831 2011-10-25 Andreas Schwab <schwab@redhat.com>
19833 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19834 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19836 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19838 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19840 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
19841 useless if() expression.
19842 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19843 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19844 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19845 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19846 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19847 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19848 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19849 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19850 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19851 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19852 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19853 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19854 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19855 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19856 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19857 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19858 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19859 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19860 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19862 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19864 2011-10-25 Andreas Schwab <schwab@redhat.com>
19866 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19868 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19870 2011-10-25 Ulrich Drepper <drepper@gmail.com>
19872 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19873 .text section. Avoid duplicate constants.
19874 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19875 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19876 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19877 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19878 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19879 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19880 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19881 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19882 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19883 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19884 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19885 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19886 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19887 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19888 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19889 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19890 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19891 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19892 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19894 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19895 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19896 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19897 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19898 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19899 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19900 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19901 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19902 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19903 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19904 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19905 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19906 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19907 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19908 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19909 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19910 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19911 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19912 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19913 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19914 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19915 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19916 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19917 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19918 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19920 2011-10-24 Ulrich Drepper <drepper@gmail.com>
19922 * sysdeps/x86_64/dla.h: Move to ...
19923 * sysdeps/x86_64/fpu/dla.h: ...here.
19924 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19925 situations. Use __builtin_fma only for gcc 4.6 and up.
19927 * config.make.in: Add have-mfma4 entry.
19928 * configure.in: Substitute libc_cv_cc_fma4.
19929 * math/Makefile (dbl-only-routines): Add sincostab.
19930 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19931 Use __sincostab not sincos.
19932 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19934 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19936 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19937 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19939 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19940 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19941 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19942 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19944 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19945 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19947 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19948 define aliases when function name is a macro.
19949 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19950 sysdeps/ieee754/dbl-64/sincos.tbl.
19951 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19952 fma4-enabled routines.
19953 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19954 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19955 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19956 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19957 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19958 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19959 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19960 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19961 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19962 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19963 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19964 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19965 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19966 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19967 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19968 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19969 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19970 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19971 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19972 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19973 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19974 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19975 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19976 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19977 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19978 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19979 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19980 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19981 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19982 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19984 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19987 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19988 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19989 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19990 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19991 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19992 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19993 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19995 2011-10-24 Andreas Schwab <schwab@redhat.com>
19997 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19999 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20001 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20003 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20005 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20007 * string/strnlen.c: Don't define STRNLEN, reverse logic.
20008 Remove unused variable magic_bits.
20009 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20011 * string/strnlen.c: Define and use STRNLEN macro.
20012 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20013 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20014 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20015 * wcsmbs/wcslen.c: Define and use WCSLEN.
20016 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20017 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20018 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20019 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20020 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20021 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20022 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20024 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20026 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20027 strnlen-sse2-no-bsf.
20028 Rename strlen-no-bsf to strlen-sse2-no-bsf.
20029 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20030 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20031 Add strnlen support.
20032 (USE_AS_STRNLEN): New macro.
20033 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20034 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20035 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20036 * sysdeps/x86_64/wcslen.S: New file.
20038 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
20040 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20041 XMM-moves are used for copying on small sizes.
20043 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20045 * wcsmbs/Makefile (strop-tests): Add wcschr.
20046 * wcsmbs/test-wcschr.c: New file.
20047 * string/test-strchr.c: Update.
20048 Add wcschr support.
20051 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20053 * wcsmbs/Makefile (strop-tests): Add wcslen.
20054 * wcsmbs/test-wcslen.c: New file.
20055 * string/test-strlen.c: Update.
20056 Add wcslen support.
20059 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20061 * po/it.po: Update from translation team.
20063 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20065 * sysdeps/x86_64/wcscmp.S: Update.
20066 Fix wrong comparison semantics.
20067 wcscmp shall use signed comparison not unsigned.
20068 Don't use substraction to avoid overflow bug.
20069 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20070 * wcsmbc/wcscmp.c: Likewise.
20071 * string/test-strcmp.c: Likewise.
20072 Add new tests to check cases with negative values.
20074 2011-10-23 Ulrich Drepper <drepper@gmail.com>
20076 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20077 * sysdeps/x86_64/dla.h: ...here. New file.
20078 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20079 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20081 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20083 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20084 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20085 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20086 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20088 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
20090 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20091 __ynl_finite aliases.
20093 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20097 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20099 [DLA_FMA] (EMULV): Use DLA_FMA.
20100 [DLA_FMA] (MUL12): Use EMULV.
20101 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20102 that are not needed.
20103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20104 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20105 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20106 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20107 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20108 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20109 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20111 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
20113 * math/s_nan.c: Undef __nan.
20114 * math/s_nanf.c: Undef __nanf.
20115 * math/s_nanl.c: Undef __nanl.
20116 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20119 2011-10-22 Ulrich Drepper <drepper@gmail.com>
20121 * math/s_catan.c: Add branch predictions.
20122 * math/s_catanf.c: Likewise.
20123 * math/s_catanh.c: Likewise.
20124 * math/s_catanhf.c: Likewise.
20125 * math/s_catanhl.c: Likewise.
20126 * math/s_catanl.c: Likewise.
20127 * math/s_cexp.c: Likewise.
20128 * math/s_cexpf.c: Likewise.
20129 * math/s_cexpl.c: Likewise.
20130 * math/s_clog.c: Likewise.
20131 * math/s_clog10.c: Likewise.
20132 * math/s_clog10f.c: Likewise.
20133 * math/s_clog10l.c: Likewise.
20134 * math/s_clogf.c: Likewise.
20135 * math/s_clogl.c: Likewise.
20136 * math/s_csqrt.c: Likewise.
20137 * math/s_csqrtf.c: Likewise.
20138 * math/s_csqrtl.c: Likewise.
20139 * math/s_ctanf.c: Likewise.
20140 * math/s_ctanh.c: Likewise.
20141 * math/s_ctanhf.c: Likewise.
20142 * math/s_ctanhl.c: Likewise.
20143 * math/s_ctanl.c: Likewise.
20145 * math/math_private.h: Define __nan, __nanf, __nanl.
20146 * math/s_cacosh.c: Include <math_private.h>.
20147 * math/s_cacoshl.c: Likewise.
20148 * math/s_casinh.c: Likewise.
20149 * math/s_casinhf.c: Likewise.
20150 * math/s_casinhl.c: Likewise.
20151 * math/s_ccos.c: Rely entire on ccosh.
20152 * math/s_ccosf.c: Rely entire on ccoshf.
20153 * math/s_ccosl.c: Rely entirely on ccoshl.
20154 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20155 Remove tests for FE_INVALID.
20156 * math/s_ccoshf.c: Likewise.
20157 * math/s_ccoshl.c: Likewise.
20158 * math/s_csin.c: Likewise.
20159 * math/s_csinf.c: Likewise.
20160 * math/s_csinh.c Likewise.
20161 * math/s_csinhf.c: Likewise.
20162 * math/s_csinhl.c: Likewise.
20163 * math/s_csinl.c: Likewise.
20164 * math/s_ctan.c: Likewise.
20165 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20166 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20167 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20169 2011-10-21 Ulrich Drepper <drepper@gmail.com>
20171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20172 compilation problems.
20174 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20177 2011-10-20 Ulrich Drepper <drepper@gmail.com>
20179 * sysdeps/i386/configure.in: Test for -mfma4 option.
20180 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20181 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20182 COMMON_CPUID_INDEX_80000001.
20183 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20184 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20185 use it if FMA3 is not supported.
20186 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20188 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20189 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20191 2011-10-20 Andreas Schwab <schwab@redhat.com>
20194 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20195 it would create a cycle with a link time dependency.
20197 2011-10-19 Ulrich Drepper <drepper@gmail.com>
20199 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20201 * string/Makefile (strop-tests): Add rawmemchr.
20202 * string/test-rawmemchr.c: New file.
20204 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20205 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20206 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20207 when compiling str{,n}casecmp and when AVX is available. Hook up
20208 new optimized code in initializers.
20210 2011-10-19 Andreas Schwab <schwab@redhat.com>
20212 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20213 __feraiseexcept instead of feraiseexcept.
20215 2011-10-18 Ulrich Drepper <drepper@gmail.com>
20217 * math/math_private.h: Define defaults for libc_fetestexcept and
20219 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20220 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20221 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20222 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20223 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20224 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20225 libc_fetestexcept and libc_feupdateenv.
20227 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20228 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20229 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20230 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20231 libc_feholdexcept_setround.
20233 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20234 Add s_nearbyint-c and s_nearbyintf-c.
20235 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20236 nearbyintf inlines.
20237 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20238 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20239 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20240 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20242 * math/math_private.h: Define defaults for libc_fegetround,
20243 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20244 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20245 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20246 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20247 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20248 standard functions.
20249 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20250 Remove comments and hacks for old compiler versions.
20251 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20252 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20253 libc_feholdexceptl.
20255 2011-10-18 Andreas Schwab <schwab@redhat.com>
20257 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20258 (__feraiseexcept_renamed): Add __NTH.
20259 (feraiseexcept): Add __NTH. Rename local variables to fix
20260 namespace violations.
20262 2011-10-17 Ulrich Drepper <drepper@gmail.com>
20264 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20266 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20268 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20269 recently added interfaces.
20270 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20272 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20273 about macro parameter expansion.
20275 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20276 __NO_MATH_INLINES is defined. Cleanups.
20278 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20279 and __floorf is target has SSE4.1.
20280 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20281 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20282 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20283 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20285 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20287 (floorf): Likewise.
20289 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20291 2011-10-17 Andreas Schwab <schwab@redhat.com>
20293 * misc/sys/cdefs.h: Fix last change.
20295 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20298 2011-10-16 Ulrich Drepper <drepper@gmail.com>
20300 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20302 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20303 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20304 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20305 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20306 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20307 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20308 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20309 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20310 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20311 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20312 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20313 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20314 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20315 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20316 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20317 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20318 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20319 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20320 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20321 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20322 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20323 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20325 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20326 ceil, ceilf, floor, floorf.
20328 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20329 Perform IRELATIVE relocations last.
20331 * elf/do-rel.h: Add another parameter nrelative, replacing the
20332 local variable with the same name. Change name of the function
20333 to end in Rel or Rela (uppercase).
20334 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20335 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20336 elf_dynamic_do_##reloc function.
20338 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20340 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20341 is sufficient, at least on modern CPUs.
20343 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20345 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20346 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20348 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20350 * math/bits/math-finite.h: Add entries for exp.
20351 * math/e_expl.c: Add __*_finite alias.
20352 * sysdeps/i386/fpu/e_exp.S: Likewise.
20353 * sysdeps/i386/fpu/e_expf.S: Likewise.
20354 * sysdeps/i386/fpu/e_expl.c: Likewise.
20355 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20356 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20357 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20358 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20359 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20360 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20361 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20363 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20364 is sufficient, at least on modern CPUs.
20366 * ctype/ctype-info.c (__ctype_init): Define.
20367 * include/ctype.h (__ctype_init): Declare.
20368 (__ctype_b_loc): The variable is always initialized.
20369 (__ctype_toupper_loc): Likewise.
20370 (__ctype_tolower_loc): Likewise.
20371 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20372 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20374 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20376 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20378 * configure.in: Also look in $cxxmachine/include for C++ system
20381 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20383 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20384 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20385 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20386 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20387 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20388 (USE_AS_WMEMCMP): New macro.
20390 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20391 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20392 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20393 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20395 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20396 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20397 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20398 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20399 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20400 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20401 (USE_AS_WMEMCMP): New macro.
20402 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20403 * sysdeps/string/test-memcmp.c: Update.
20404 Fix simple_wmemcmp.
20406 * wcsmbs/wmemcmp.c: Update.
20407 (WMEMCMP): New macro.
20410 2011-10-12 Andreas Jaeger <aj@suse.de>
20413 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20415 2011-10-15 Ulrich Drepper <drepper@gmail.com>
20417 * libio/iofwide.c (do_length): Avoid warning.
20419 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20421 2011-10-14 Ulrich Drepper <drepper@gmail.com>
20423 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20425 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20426 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20427 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20428 * sysdeps/i386/i686/fpu/e_log.S: New file.
20429 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20430 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20432 * ctype/ctype.h: Add support for inlined isXXX functions when
20433 compiling C++ code.
20435 2011-10-14 Andreas Schwab <schwab@redhat.com>
20437 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20439 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20441 2011-10-13 Roland McGrath <roland@hack.frob.com>
20444 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20446 2011-10-13 Andreas Schwab <schwab@redhat.com>
20448 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20449 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20452 * sysdeps/x86_64/memrchr.S: Check for zero size.
20454 * string/stratcliff.c: Add memrchr tests.
20456 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20459 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20460 rawmemchr-sse2 rawmemchr-sse2-bsf.
20461 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20462 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20463 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20464 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20465 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20466 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20467 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20468 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20469 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20470 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20471 * string/memrchr.c (MEMRCHR): New macro.
20473 2011-10-12 Ulrich Drepper <drepper@gmail.com>
20475 Add integration with gcc's -ffinite-math-only and optimize wrapper
20477 * Versions.def: Define GLIBC_2.15 version for libm.
20478 * math/Makefile (headers): Add bits/math-finite.h.
20479 * math/bits/math-finite.h: New file.
20480 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20481 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20482 * math/e_acoshl.c: Add __*_finite alias.
20483 * math/e_acosl.c: Likewise.
20484 * math/e_asinl.c: Likewise.
20485 * math/e_atan2l.c: Likewise.
20486 * math/e_atanhl.c: Likewise.
20487 * math/e_coshl.c: Likewise.
20488 * math/e_exp10.c: Likewise.
20489 * math/e_exp10f.c: Likewise.
20490 * math/e_exp10l.c: Likewise.
20491 * math/e_exp2l.c: Likewise.
20492 * math/e_fmodl.c: Likewise.
20493 * math/e_gammal_r.c: Likewise.
20494 * math/e_hypotl.c: Likewise.
20495 * math/e_j0l.c: Likewise.
20496 * math/e_j1l.c: Likewise.
20497 * math/e_jnl.c: Likewise.
20498 * math/e_lgammal_r.c: Likewise.
20499 * math/e_log10l.c: Likewise.
20500 * math/e_log2l.c: Likewise.
20501 * math/e_logl.c: Likewise.
20502 * math/e_powl.c: Likewise.
20503 * math/e_sinhl.c: Likewise.
20504 * math/e_sqrtl.c: Likewise.
20505 * math/e_scalb.c: Completely rewritten and optimized.
20506 * math/e_scalbf.c: Likewise.
20507 * math/e_scalbl.c: Likewise.
20508 * math/w_acos.c: Likewise.
20509 * math/w_acosf.c: Likewise.
20510 * math/w_acosl.c: Likewise.
20511 * math/w_acosh.c: Likewise.
20512 * math/w_acoshf.c: Likewise.
20513 * math/w_acoshl.c: Likewise.
20514 * math/w_asin.c: Likewise.
20515 * math/w_asinf.c: Likewise.
20516 * math/w_asinl.c: Likewise.
20517 * math/w_atan2.c: Likewise.
20518 * math/w_atan2f.c: Likewise.
20519 * math/w_atan2l.c: Likewise.
20520 * math/w_atanh.c: Likewise.
20521 * math/w_atanhf.c: Likewise.
20522 * math/w_atanhl.c: Likewise.
20523 * math/w_exp10.c: Likewise.
20524 * math/w_exp10f.c: Likewise.
20525 * math/w_exp10l.c: Likewise.
20526 * math/w_fmod.c: Likewise.
20527 * math/w_fmodf.c: Likewise.
20528 * math/w_fmodl.c: Likewise.
20529 * math/w_j0.c: Likewise.
20530 * math/w_j0f.c: Likewise.
20531 * math/w_j0l.c: Likewise.
20532 * math/w_j1.c: Likewise.
20533 * math/w_j1f.c: Likewise.
20534 * math/w_j1l.c: Likewise.
20535 * math/w_jn.c: Likewise.
20536 * math/w_jnf.c: Likewise.
20537 * math/w_log.c: Likewise.
20538 * math/w_logf.c: Likewise.
20539 * math/w_logl.c: Likewise.
20540 * math/w_log10.c: Likewise.
20541 * math/w_log10f.c: Likewise.
20542 * math/w_log10l.c: Likewise.
20543 * math/w_log2.c: Likewise.
20544 * math/w_log2f.c: Likewise.
20545 * math/w_log2l.c: Likewise.
20546 * math/w_pow.c: Likewise.
20547 * math/w_powf.c: Likewise.
20548 * math/w_powl.c: Likewise.
20549 * math/w_remainder.c: Likewise.
20550 * math/w_remainderf.c: Likewise.
20551 * math/w_remainderl.c: Likewise.
20552 * math/w_scalb.c: Likewise.
20553 * math/w_scalbf.c: Likewise.
20554 * math/w_scalbl.c: Likewise.
20555 * math/w_sqrt.c: Likewise.
20556 * math/w_sqrtf.c: Likewise.
20557 * math/w_sqrtl.c: Likewise.
20558 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20559 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20561 * math/math_private.h: Declare __kernel_standard_f.
20562 * math/w_cosh.c: Remove cruft and optimize a bit.
20563 * math/w_coshf.c: Likewise.
20564 * math/w_coshl.c: Likewise.
20565 * math/w_exp2.c: Likewise.
20566 * math/w_exp2f.c: Likewise.
20567 * math/w_exp2l.c: Likewise.
20568 * math/w_hypot.c: Likewise.
20569 * math/w_hypotf.c: Likewise.
20570 * math/w_hypotl.c: Likewise.
20571 * math/w_lgamma.c: Likewise.
20572 * math/w_lgamma_r.c: Likewise.
20573 * math/w_lgammaf.c: Likewise.
20574 * math/w_lgammaf_r.c: Likewise.
20575 * math/w_lgammal.c: Likewise.
20576 * math/w_lgammal_r.c: Likewise.
20577 * math/w_sinh.c: Likewise.
20578 * math/w_sinhf.c: Likewise.
20579 * math/w_sinhl.c: Likewise.
20580 * math/w_tgamma.c: Likewise.
20581 * math/w_tgammaf.c: Likewise.
20582 * math/w_tgammal.c: Likewise.
20583 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20584 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20585 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20586 Minor optimizations. Pretty printing. Remove cruft.
20587 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20588 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20589 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20590 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20591 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20592 * sysdeps/i386/fpu/e_asin.S: Likewise.
20593 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20594 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20595 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20596 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20597 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20598 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20599 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20600 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20601 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20602 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20603 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20604 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20605 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20606 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20607 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20608 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20609 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20610 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20611 * sysdeps/i386/fpu/e_log.S: Likewise.
20612 * sysdeps/i386/fpu/e_log10.S: Likewise.
20613 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20614 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20615 * sysdeps/i386/fpu/e_log2.S: Likewise.
20616 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20617 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20618 * sysdeps/i386/fpu/e_logf.S: Likewise.
20619 * sysdeps/i386/fpu/e_logl.S: Likewise.
20620 * sysdeps/i386/fpu/e_pow.S: Likewise.
20621 * sysdeps/i386/fpu/e_powf.S: Likewise.
20622 * sysdeps/i386/fpu/e_powl.S: Likewise.
20623 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20624 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20625 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20626 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20627 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20628 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20629 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20630 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20631 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20632 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20633 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20634 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20635 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20636 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20637 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20638 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20639 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20640 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20641 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20642 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20643 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20644 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20645 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20646 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20647 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20648 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20649 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20650 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20651 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20652 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20653 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20654 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20655 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20656 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20657 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20658 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20659 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20660 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20661 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20662 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20663 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20664 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20665 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20666 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20667 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20668 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20669 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20670 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20671 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20672 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20673 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20674 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20675 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20676 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20677 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20678 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20679 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20680 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20681 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20682 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20683 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20684 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20685 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20686 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20687 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20688 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20689 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20690 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20691 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20692 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20693 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20694 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20695 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20696 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20697 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20698 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20699 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20700 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20701 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20702 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20703 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20704 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20705 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20706 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20707 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20708 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20709 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20710 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20711 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20712 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20713 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20714 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20715 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20716 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20717 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20718 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20719 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20720 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20721 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20722 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20723 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20724 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20725 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20726 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20727 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20728 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20729 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20730 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20731 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20732 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20733 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20734 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20735 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20736 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20737 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20738 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20739 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20740 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20741 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20742 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20743 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20744 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20745 (__isnanf): Likewise.
20746 (__isinf_ns): Likewise.
20747 (__isinf_nsf): Likewise.
20748 (__finite): Likewise.
20749 (__finitef): Likewise.
20750 (__ieee754_sqrt): Define as macro.
20751 (__ieee754_sqrtf): Define as macro.
20752 (__ieee754_sqrtl): Define as macro.
20753 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20755 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20756 __FINITE_MATH_ONLY__ consistent.
20757 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20759 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20761 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20764 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20766 2011-10-09 Ulrich Drepper <drepper@gmail.com>
20768 * po/ja.po: Update from translation team.
20770 2011-10-08 Roland McGrath <roland@hack.frob.com>
20772 * locale/programs/locarchive.c (prepare_address_space): New function.
20773 (create_archive, enlarge_archive, open_archive): Use it.
20775 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20776 inside [SHARED], where it is used.
20778 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20780 * nss/getent.c (netgroup_keys): Remove unused variable.
20781 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20783 2011-10-08 Ulrich Drepper <drepper@gmail.com>
20785 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20786 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20787 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20788 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20789 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20790 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20791 * math/Makefile (libm-calls): Add s_isinf_ns.
20792 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20793 * math/multc3.c: Likewise.
20794 * math/s_casin.c: Likewise.
20795 * math/s_casinf.c: Likewise.
20796 * math/s_casinl.c: Likewise.
20797 * math/s_ccos.c: Likewise.
20798 * math/s_ccosf.c: Likewise.
20799 * math/s_ccosl.c: Likewise.
20800 * math/s_ctan.c: Likewise.
20801 * math/s_ctanf.c: Likewise.
20802 * math/s_ctanh.c: Likewise.
20803 * math/s_ctanhf.c: Likewise.
20804 * math/s_ctanhl.c: Likewise.
20805 * math/s_ctanl.c: Likewise.
20806 * math/w_fmod.c: Likewise.
20807 * math/w_fmodf.c: Likewise.
20808 * math/w_fmodl.c: Likewise.
20809 * math/w_remainder.c: Likewise.
20810 * math/w_remainderf.c: Likewise.
20811 * math/w_remainderl.c: Likewise.
20812 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20813 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20814 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20815 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20816 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20817 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20818 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20819 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20821 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20823 * stdio-common/printf_fphex.c: Likewise.
20824 * stdio-common/printf_size.c: Likewise.
20826 * math/e_exp10.c: Include math_private.h using <...> not "...".
20827 * math/e_exp10f.c: Likewise.
20828 * math/e_exp10l.c: Likewise.
20829 * math/e_exp2l.c: Likewise.
20830 * math/e_j0l.c: Likewise.
20831 * math/e_j1l.c: Likewise.
20832 * math/e_jnl.c: Likewise.
20833 * math/e_lgammal_r.c: Likewise.
20834 * math/e_rem_pio2l.c: Likewise.
20835 * math/e_scalb.c: Likewise.
20836 * math/e_scalbf.c: Likewise.
20837 * math/e_scalbl.c: Likewise.
20838 * math/k_cosl.c: Likewise.
20839 * math/k_sinl.c: Likewise.
20840 * math/k_tanl.c: Likewise.
20841 * math/s_cacoshf.c: Likewise.
20842 * math/s_catan.c: Likewise.
20843 * math/s_catanf.c: Likewise.
20844 * math/s_catanh.c: Likewise.
20845 * math/s_catanhf.c: Likewise.
20846 * math/s_catanhl.c: Likewise.
20847 * math/s_catanl.c: Likewise.
20848 * math/s_ccosh.c: Likewise.
20849 * math/s_ccoshf.c: Likewise.
20850 * math/s_ccoshl.c: Likewise.
20851 * math/s_cexp.c: Likewise.
20852 * math/s_cexpf.c: Likewise.
20853 * math/s_cexpl.c: Likewise.
20854 * math/s_clog.c: Likewise.
20855 * math/s_clog10.c: Likewise.
20856 * math/s_clog10f.c: Likewise.
20857 * math/s_clog10l.c: Likewise.
20858 * math/s_clogf.c: Likewise.
20859 * math/s_clogl.c: Likewise.
20860 * math/s_csin.c: Likewise.
20861 * math/s_csinf.c: Likewise.
20862 * math/s_csinh.c: Likewise.
20863 * math/s_csinhf.c: Likewise.
20864 * math/s_csinhl.c: Likewise.
20865 * math/s_csinl.c: Likewise.
20866 * math/s_csqrt.c: Likewise.
20867 * math/s_csqrtf.c: Likewise.
20868 * math/s_csqrtl.c: Likewise.
20869 * math/s_ctan.c: Likewise.
20870 * math/s_ctanf.c: Likewise.
20871 * math/s_ctanh.c: Likewise.
20872 * math/s_ctanhf.c: Likewise.
20873 * math/s_ctanhl.c: Likewise.
20874 * math/s_ctanl.c: Likewise.
20875 * math/s_ldexp.c: Likewise.
20876 * math/s_ldexpf.c: Likewise.
20877 * math/s_ldexpl.c: Likewise.
20878 * math/s_significand.c: Likewise.
20879 * math/s_significandf.c: Likewise.
20880 * math/s_significandl.c: Likewise.
20881 * math/w_acos.c: Likewise.
20882 * math/w_acosf.c: Likewise.
20883 * math/w_acosh.c: Likewise.
20884 * math/w_acoshf.c: Likewise.
20885 * math/w_acoshl.c: Likewise.
20886 * math/w_acosl.c: Likewise.
20887 * math/w_asin.c: Likewise.
20888 * math/w_asinf.c: Likewise.
20889 * math/w_asinl.c: Likewise.
20890 * math/w_atan2.c: Likewise.
20891 * math/w_atan2f.c: Likewise.
20892 * math/w_atan2l.c: Likewise.
20893 * math/w_atanh.c: Likewise.
20894 * math/w_atanhf.c: Likewise.
20895 * math/w_atanhl.c: Likewise.
20896 * math/w_cosh.c: Likewise.
20897 * math/w_coshf.c: Likewise.
20898 * math/w_coshl.c: Likewise.
20899 * math/w_dremf.c: Likewise.
20900 * math/w_exp10.c: Likewise.
20901 * math/w_exp10f.c: Likewise.
20902 * math/w_exp10l.c: Likewise.
20903 * math/w_exp2.c: Likewise.
20904 * math/w_exp2f.c: Likewise.
20905 * math/w_fmod.c: Likewise.
20906 * math/w_fmodf.c: Likewise.
20907 * math/w_fmodl.c: Likewise.
20908 * math/w_hypot.c: Likewise.
20909 * math/w_hypotf.c: Likewise.
20910 * math/w_hypotl.c: Likewise.
20911 * math/w_j0.c: Likewise.
20912 * math/w_j0f.c: Likewise.
20913 * math/w_j0l.c: Likewise.
20914 * math/w_j1.c: Likewise.
20915 * math/w_j1f.c: Likewise.
20916 * math/w_j1l.c: Likewise.
20917 * math/w_jn.c: Likewise.
20918 * math/w_jnf.c: Likewise.
20919 * math/w_jnl.c: Likewise.
20920 * math/w_lgamma.c: Likewise.
20921 * math/w_lgamma_r.c: Likewise.
20922 * math/w_lgammaf.c: Likewise.
20923 * math/w_lgammaf_r.c: Likewise.
20924 * math/w_lgammal.c: Likewise.
20925 * math/w_lgammal_r.c: Likewise.
20926 * math/w_log.c: Likewise.
20927 * math/w_log10.c: Likewise.
20928 * math/w_log10f.c: Likewise.
20929 * math/w_log10l.c: Likewise.
20930 * math/w_log2.c: Likewise.
20931 * math/w_log2f.c: Likewise.
20932 * math/w_log2l.c: Likewise.
20933 * math/w_logf.c: Likewise.
20934 * math/w_logl.c: Likewise.
20935 * math/w_pow.c: Likewise.
20936 * math/w_powf.c: Likewise.
20937 * math/w_powl.c: Likewise.
20938 * math/w_remainder.c: Likewise.
20939 * math/w_remainderf.c: Likewise.
20940 * math/w_remainderl.c: Likewise.
20941 * math/w_scalb.c: Likewise.
20942 * math/w_scalbf.c: Likewise.
20943 * math/w_scalbl.c: Likewise.
20944 * math/w_sinh.c: Likewise.
20945 * math/w_sinhf.c: Likewise.
20946 * math/w_sinhl.c: Likewise.
20947 * math/w_sqrt.c: Likewise.
20948 * math/w_sqrtf.c: Likewise.
20949 * math/w_sqrtl.c: Likewise.
20950 * math/w_tgamma.c: Likewise.
20951 * math/w_tgammaf.c: Likewise.
20952 * math/w_tgammal.c: Likewise.
20954 * po/ja.po: Update from translation team.
20956 2011-09-29 Andreas Jaeger <aj@suse.de>
20959 * sunrpc/netname.c (netname2host): Fix logic.
20963 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20965 * math/w_remainder.c (__remainder): Likewise.
20966 * math/w_remainderf.c (__remainderf): Likewise.
20967 * math/libm-test.inc (remainder_test): Add test cases.
20969 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20971 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20974 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20976 * string/test-memcmp.c: Avoid unncessary #defines.
20977 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20979 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20981 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20982 Use new sse2 version for core i3 - i7 as it's faster
20983 than sse42 version.
20984 (bit_Prefer_PMINUB_for_stringop): New.
20985 * sysdeps/x86_64/rawmemchr.S: Update.
20986 Replace with faster SSE2 version.
20987 * sysdeps/x86_64/memrchr.S: New file.
20988 * sysdeps/x86_64/memchr.S: Update.
20989 Replace with faster SSE2 version.
20991 2011-09-12 Marek Polacek <mpolacek@redhat.com>
20993 * elf/dl-load.c (lose): Add cast to avoid warning.
20995 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20997 * po/ca.po: Update from translation team.
20999 * inet/getnetgrent_r.c: Hook up nscd.
21000 * nscd/Makefile (routines): Add nscd_netgroup.
21001 (nscd-modules): Add netgroupcache.
21002 (CFLAGS-netgroupcache.c): Define.
21003 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21004 (cache_search): Add const to second parameter.
21005 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21007 (dbs): Add netgrdb entry.
21008 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21009 (verify_persistent_db): Handle netgrdb.
21010 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21011 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21013 (netgroup_response_header): Define.
21014 (innetgroup_response_header): Define.
21015 (datahead): Add netgroup_response_header and innetgroup_response_header
21017 * nscd/nscd.conf: Add entries for netgroup cache.
21018 * nscd/nscd.h (dbtype): Add netgrdb.
21019 (_PATH_NSCD_NETGROUP_DB): Define.
21020 (netgroup_iov_disabled): Declare.
21021 (xmalloc, xcalloc, xrealloc): Move declarations here.
21022 (cache_search): Adjust prototype.
21023 Add netgroup-related prototypes.
21024 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21025 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21026 (__nscd_innetgr): Declare.
21027 * nscd/selinux.c (perms): Use access_vector_t as element type and
21028 add netgroup-related initializers.
21029 * nscd/netgroupcache.c: New file.
21030 * nscd/nscd_netgroup.c: New file.
21031 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21032 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21033 For four parameters use innetgr.
21034 * nss/nss_files/files-init.c: Add definition and callback for netgr.
21035 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21036 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21037 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21039 * nscd/connections.c (register_traced_file): Don't register file
21040 for disabled databases.
21042 2011-10-06 Ulrich Drepper <drepper@gmail.com>
21044 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21046 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21047 from tree and freeing node.
21049 2011-09-25 Jiri Olsa <jolsa@redhat.com>
21051 * nss/nsswitch.c (__nss_database_lookup): Handle
21052 nss_parse_service_list out of memory case.
21054 2011-09-15 Jiri Olsa <jolsa@redhat.com>
21056 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21057 out of memory case.
21059 2011-10-04 Andreas Schwab <schwab@redhat.com>
21061 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21062 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21064 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21065 elf_machine_rela, elf_machine_lazy_rel.
21066 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21067 (ELF_DYNAMIC_DO_REL): Likewise.
21068 (ELF_DYNAMIC_DO_RELA): Likewise.
21069 (ELF_DYNAMIC_RELOCATE): Likewise.
21070 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21071 to ELF_DYNAMIC_DO_REL.
21072 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21073 (dl_main): In trace mode always set __RTLD_NOIFUNC.
21074 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21076 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21077 skip_ifunc, don't call ifunc function if non-zero.
21078 (elf_machine_rela): Likewise.
21079 (elf_machine_lazy_rel): Likewise.
21080 (elf_machine_lazy_rela): Likewise.
21081 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21082 (elf_machine_lazy_rel): Likewise.
21083 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21085 (elf_machine_lazy_rel): Likewise.
21086 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21088 (elf_machine_lazy_rel): Likewise.
21089 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21090 (elf_machine_lazy_rel): Likewise.
21091 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21092 (elf_machine_lazy_rel): Likewise.
21093 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21094 (elf_machine_lazy_rel): Likewise.
21095 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21096 (elf_machine_lazy_rel): Likewise.
21097 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21098 (elf_machine_lazy_rel): Likewise.
21099 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21100 (elf_machine_lazy_rel): Likewise.
21102 2011-09-28 Ulrich Drepper <drepper@gmail.com>
21104 * nss/nss_files/files-init.c (_nss_files_init): Use static
21105 initialization for all the *_traced_file variables.
21107 2011-09-28 Andreas Schwab <schwab@redhat.com>
21109 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21111 2011-09-27 Roland McGrath <roland@hack.frob.com>
21114 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21116 2011-09-27 Andreas Schwab <schwab@redhat.com>
21118 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21119 Reread the line before reparsing it.
21121 2011-09-26 Andreas Schwab <schwab@redhat.com>
21123 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21125 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21126 Maxim Kuvyrkov <maxim@codesourcery.com>
21127 Joseph Myers <joseph@codesourcery.com>
21129 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21130 if needed for __stack_chk_guard.
21132 2011-09-19 Roland McGrath <roland@hack.frob.com>
21134 * sysdeps/posix/spawni.c (script_execute): Always define it.
21135 It will be optimized away if unused.
21136 (maybe_script_execute): New function.
21137 (__spawni): Call it.
21139 * Makerules: Don't include tls.make.
21140 (config-tls): Always set to thread.
21141 * tls.make.c: File removed.
21143 2011-09-19 Mike Frysinger <vapier@gentoo.org>
21145 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21146 * config.make.in (CPPFLAGS-config): New substituted variable.
21148 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21150 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21153 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21154 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21156 2011-09-15 Roland McGrath <roland@hack.frob.com>
21158 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21159 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21160 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21161 (CALL_FAIL): Likewise.
21162 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21163 (CALL_FAIL): Macro removed.
21164 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21166 2011-09-15 Ulrich Drepper <drepper@gmail.com>
21168 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21169 for __FINITE_MATH_ONLY__ == 1.
21171 2011-09-15 Andreas Schwab <schwab@redhat.com>
21173 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21174 __ieee754_sqrt instead of sqrt.
21175 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21176 __ieee754_sqrtf instead of sqrtf.
21177 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21178 __floorf instead of floorf.
21179 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21180 __floorf, __truncf instead of floorf, truncf.
21182 2011-09-14 Ulrich Drepper <drepper@gmail.com>
21184 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21186 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21187 __extern_always_inline.
21188 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21191 2011-09-14 Andreas Schwab <schwab@redhat.com>
21193 * elf/rtld.c (dl_main): Also relocate in dependency order when
21194 doing symbol dependency testing.
21196 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21198 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21199 Always define `refsym'.
21201 2011-09-13 Andreas Schwab <schwab@redhat.com>
21203 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21204 (__FD_ELT): Renamed from __FDELT.
21205 * misc/bits/select2.h (__FD_ELT): Likewise.
21206 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21207 __FD_MASK instead of __FDELT, __FDMASK.
21208 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21210 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21213 * elf/Makefile (gen-ldd): Fix pattern.
21215 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21216 (init_tls): Likewise.
21218 2011-09-12 Ulrich Drepper <drepper@gmail.com>
21220 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21222 2011-09-12 Andreas Schwab <schwab@redhat.com>
21224 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21225 `struct cmsghdr *' instead of `void *'.
21226 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21229 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21231 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21233 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21234 ldd_rewrite_script.
21236 2011-09-11 Ulrich Drepper <drepper@gmail.com>
21238 * configure.in: Remove --with-tls option.
21239 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21240 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21241 out in case it is missing.
21242 * sysdeps/ia64/elf/configure.in: Likewise.
21243 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21244 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21245 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21246 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21247 * sysdeps/sh/elf/configure.in: Likewise.
21248 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21249 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21250 * sysdeps/x86_64/elf/configure.in: Likewise.
21251 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21252 * sysdeps/mach/hurd/tls.h: Likewise.
21255 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21258 * configure.in: Fix use of AC_INIT.
21260 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21262 2011-09-10 Ulrich Drepper <drepper@gmail.com>
21264 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21266 * malloc/hooks.c: Likewise.
21269 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21270 variables statically.
21271 (narenas): Initialize.
21272 (list_lock): Initialize.
21273 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21274 initializtion of main_arena and list_lock. Small cleanups.
21275 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21276 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21277 Add initializers to main_arena and mp_.
21278 (malloc_state): Remove pagesize member. Change all users to use
21281 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21282 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21283 is always initialized.
21285 * malloc/malloc.c: Removed unused configurations and dead code.
21286 * malloc/arena.c: Likewise.
21287 * malloc/hooks.c: Likewise.
21288 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21290 * include/tls.h: Removed. USE___THREAD must always be defined.
21291 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21292 * elf/dl-libc.c: Likewise.
21293 * elf/dl-tsd.c: Likewise.
21294 * include/errno.h: Likewise.
21295 * include/netdb.h: Likewise.
21296 * include/resolv.h: Likewise.
21297 * inet/herrno-loc.c: Likewise.
21298 * inet/herrno.c: Likewise.
21299 * malloc/arena.c: Likewise.
21300 * malloc/hooks.c: Likewise.
21301 * malloc/malloc.c: Likewise.
21302 * resolv/res-state.c: Likewise.
21303 * resolv/res_libc.c: Likewise.
21304 * sysdeps/i386/dl-machine.h: Likewise.
21305 * sysdeps/ia64/dl-machine.h: Likewise.
21306 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21307 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21308 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21309 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21310 * sysdeps/sh/dl-machine.h: Likewise.
21311 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21312 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21313 * sysdeps/unix/i386/sysdep.S: Likewise.
21314 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21315 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21316 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21317 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21318 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21319 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21320 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21321 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21323 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21324 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21325 * sysdeps/x86_64/dl-machine.h: Likewise.
21326 * tls.make.c: Likewise.
21328 * configure.in: Remove --with-__thread option. Make tests for
21329 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21330 tls_model attribute fail if no support is available. Remove
21332 * Makeconfig: Adjust for dropped configure option. All features are
21334 * Makerules: Likewise.
21335 * Versions.def: Likewise.
21336 * argp/argp-fmtstream.c: Likewise.
21337 * argp/argp-fmtstream.h: Likewise.
21338 * argp/argp-help.c: Likewise.
21339 * assert/assert.c: Likewise.
21340 * config.h.in: Likewise.
21341 * config.make.in: Likewise.
21342 * configure: Likewise.
21343 * configure.in: Likewise.
21344 * csu/Versions: Likewise.
21345 * csu/init.c: Likewise.
21346 * elf/tst-audit2.c: Likewise.
21347 * elf/tst-tls10.c: Likewise.
21348 * elf/tst-tls10.h: Likewise.
21349 * elf/tst-tls11.c: Likewise.
21350 * elf/tst-tls12.c: Likewise.
21351 * elf/tst-tls14.c: Likewise.
21352 * elf/tst-tlsmod11.c: Likewise.
21353 * elf/tst-tlsmod12.c: Likewise.
21354 * elf/tst-tlsmod13.c: Likewise.
21355 * elf/tst-tlsmod13a.c: Likewise.
21356 * elf/tst-tlsmod14a.c: Likewise.
21357 * elf/tst-tlsmod15b.c: Likewise.
21358 * elf/tst-tlsmod16a.c: Likewise.
21359 * elf/tst-tlsmod16b.c: Likewise.
21360 * elf/tst-tlsmod7.c: Likewise.
21361 * elf/tst-tlsmod8.c: Likewise.
21362 * elf/tst-tlsmod9.c: Likewise.
21363 * gmon/gmon.c: Likewise.
21364 * grp/fgetgrent_r.c: Likewise.
21365 * grp/putgrent.c: Likewise.
21366 * hurd/fopenport.c: Likewise.
21367 * include/libc-symbols.h: Likewise.
21368 * include/tls.h: Likewise.
21369 * intl/gettextP.h: Likewise.
21370 * intl/loadinfo.h: Likewise.
21371 * locale/global-locale.c: Likewise.
21372 * locale/localeinfo.h: Likewise.
21373 * mach/devstream.c: Likewise.
21374 * malloc/arena.c: Likewise.
21375 * malloc/set-freeres.c: Likewise.
21376 * misc/err.c: Likewise.
21377 * misc/getttyent.c: Likewise.
21378 * misc/mntent_r.c: Likewise.
21379 * posix/getopt.c: Likewise.
21380 * posix/wordexp.c: Likewise.
21381 * pwd/fgetpwent_r.c: Likewise.
21382 * resolv/Versions: Likewise.
21383 * resolv/res_hconf.c: Likewise.
21384 * shadow/fgetspent_r.c: Likewise.
21385 * shadow/putspent.c: Likewise.
21386 * stdio-common/printf_fphex.c: Likewise.
21387 * stdio-common/tmpfile.c: Likewise.
21388 * stdlib/abort.c: Likewise.
21389 * stdlib/fmtmsg.c: Likewise.
21390 * sunrpc/auth_unix.c: Likewise.
21391 * sunrpc/clnt_perr.c: Likewise.
21392 * sunrpc/clnt_tcp.c: Likewise.
21393 * sunrpc/clnt_udp.c: Likewise.
21394 * sunrpc/clnt_unix.c: Likewise.
21395 * sunrpc/openchild.c: Likewise.
21396 * sunrpc/svc_simple.c: Likewise.
21397 * sunrpc/svc_tcp.c: Likewise.
21398 * sunrpc/svc_udp.c: Likewise.
21399 * sunrpc/svc_unix.c: Likewise.
21400 * sunrpc/xdr.c: Likewise.
21401 * sunrpc/xdr_array.c: Likewise.
21402 * sunrpc/xdr_rec.c: Likewise.
21403 * sunrpc/xdr_ref.c: Likewise.
21404 * sunrpc/xdr_stdio.c: Likewise.
21406 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21408 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21410 2011-07-03 Andreas Jaeger <aj@suse.de>
21412 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21413 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21414 regenerate with gen-libm-tests.pl.
21416 2010-05-12 Petr Baudis <pasky@suse.cz>
21419 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21420 around j0() zero points by switching to j1().
21421 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21422 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21423 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21424 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21426 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21428 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21430 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21432 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21433 Patch in part by Pavel Roskin <proski@gnu.org>.
21436 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21438 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21439 Free memory block if necessary.
21442 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21443 be NULL. Don't lock in this case.
21445 2011-09-09 Roland McGrath <roland@hack.frob.com>
21447 * elf/elf.h (ELFOSABI_GNU): New macro.
21448 (ELFOSABI_LINUX): Define to that.
21450 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21452 * string/strncat.c (strncat): Undef the symbol in case it has been
21453 defined in bits/string.h.
21455 2011-09-09 Ulrich Drepper <drepper@gmail.com>
21457 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21459 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21462 2011-08-17 Andreas Jaeger <aj@suse.de>
21464 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21466 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21467 Ian Lance Taylor <iant@google.com>
21469 * math/libm-test.inc (lround_test): New testcase.
21470 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21472 2011-09-08 Ulrich Drepper <drepper@gmail.com>
21474 * Makefile: Remove support for automatic cvs check-ins.
21475 * Makerules: Likewise.
21476 * config.make.in: Likewise.
21477 * configure.in: Likewise.
21478 * intl/Makefile: Likewise.
21479 * locale/Makefile: Likewise.
21480 * po/Makefile: Likewise.
21481 * posix/Makefile: Likewise.
21482 * sysdeps/gnu/Makefile: Likewise.
21483 * sysdeps/mach/hurd/Makefile: Likewise.
21484 * sysdeps/sparc/sparc32/Makefile: Likewise.
21487 * posix/Makefile (bug-regex32-ENV): Define.
21488 Patch by John Stanley <jpsinthemix@verizon.net>.
21490 * misc/Makefile (headers): Add bits/select2.h.
21491 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21492 * misc/bits/select2.h: New file.
21493 * include/bits/select2.h: New file.
21494 * debug/Makefile (routines): Add fdelt_chk.
21495 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21496 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21498 * debug/fdelt_chk.c: New file.
21500 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21501 * wcsmbs/test-wmemcmp.c: Likewise.
21502 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
21503 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
21505 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21507 * string/Makefile (strop-tests): Add memcmp.
21508 * string/test-wmemcmp.c: New file.
21509 * string/test-memcmp.c: Add wmemcmp support.
21511 2011-09-08 Roland McGrath <roland@hack.frob.com>
21514 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21517 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21518 garbage value in a __mach_port_mod_refs call in the cases of the
21519 task-self and thread-self ports.
21521 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21523 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21525 2011-09-08 Andreas Schwab <schwab@redhat.com>
21527 * elf/dl-load.c (lose): Check for non-null L.
21529 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21531 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21533 * elf/dl-libc.c (dlerror_run): Pass back error code from
21537 * elf/dl-load.c (lose): Free l_origin if it is valid.
21539 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21541 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21542 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21543 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21544 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21545 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21546 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21548 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21550 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21551 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21552 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21553 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21554 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21555 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21556 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21557 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21558 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21559 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21561 2011-08-15 Alan Modra <amodra@gmail.com>
21564 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21565 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21566 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21567 ppc_mcount to static-only-routines.
21568 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21570 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21571 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21573 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21575 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21576 for finite and infinity parameters.
21578 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21580 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21581 and add nop instructions for throughput optimization.
21582 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21584 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21586 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21587 aligned copy for power7 with vector-scalar instructions.
21588 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21590 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21592 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21595 2011-09-07 Andreas Schwab <schwab@redhat.com>
21598 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21601 2011-09-07 Ulrich Drepper <drepper@gmail.com>
21603 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21604 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21605 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21606 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21609 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21611 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21612 Forgot to demangle the pointer.
21614 * sysdeps/i386/sysdep.h: Define atom_text_section.
21615 * sysdeps/x86_64/sysdep.h: Likewise.
21616 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21617 section with atom_text_section.
21618 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21619 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21620 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21621 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21622 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21624 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21625 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21626 already be defined. Change to take two parameters and don't assign
21627 result to variable. Adjust all users.
21628 Define INTERNAL_GETTIME if not already defined.
21629 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21631 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21632 HAVE_CLOCK_GETTIME_VSYSCALL.
21633 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21635 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21636 gettimeofday vsyscall, just use time.
21638 2011-09-06 Andreas Schwab <schwab@redhat.com>
21640 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21643 2011-09-06 Ulrich Drepper <drepper@gmail.com>
21645 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21647 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21649 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21650 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21651 syscall if possible.
21653 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21655 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21656 e_ident. Don't pass to find_mapsXX.
21657 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21659 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21662 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21663 * sysdeps/x86_64/multiarch/strchr.S: Update.
21664 Check bit_slow_BSF bit.
21665 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21666 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21667 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21669 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21672 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21674 (tryshell): Define.
21675 (__spawni): Change last parameter to be flag. Test
21676 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21677 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21678 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21679 * posix/spawni.c: Likewise.
21680 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21681 * posix/spawnp.c: Likewise. Change normal version to use
21682 SPAWN_XFLAGS_USE_PATH.
21683 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21684 SPAWN_XFLAGS_TRY_SHELL.
21687 * posix/glob.h: Remove gcc 1.x support.
21690 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21692 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21694 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21695 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21697 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21698 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21699 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21700 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21701 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21702 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21704 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21706 * sysdeps/x86_64/wcscmp.S: New file.
21708 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21709 wcscmp-c wcscmp-sse2
21710 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21711 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21712 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21713 * wcsmbs/wcscmp.c: Allow renaming.
21715 2011-09-05 David S. Miller <davem@davemloft.net>
21717 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21718 stack slot, rather than the struct return pointer slot.
21719 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21720 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21722 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21724 2011-09-05 Ulrich Drepper <drepper@gmail.com>
21726 * po/ja.po: Update from translation team.
21729 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21730 kernel in 64-bit binaries.
21732 2011-09-01 David S. Miller <davem@davemloft.net>
21734 * elf/elf.h (HWCAP_SPARC_*): Move to..
21735 * sysdeps/sparc/sysdep.h: this new file and add new values.
21736 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21737 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21738 _DL_HWCAP_COUNT to 24.
21739 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21741 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21742 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21743 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21744 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21745 instead of magic constants.
21746 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21748 2011-08-31 David S. Miller <davem@davemloft.net>
21750 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21751 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21752 Reimplement to do errno handling inline.
21753 (SYSCALL_ERROR_HANDLER): New macro.
21754 (__SYSCALL_STRING): Do not do errno handling in asm.
21755 (__CLONE_SYSCALL_STRING): Delete.
21756 (__INTERNAL_SYSCALL_STRING): Delete.
21757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21758 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21759 (PSEUDO): Reimplement to do errno handling inline.
21760 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21761 (SYSCALL_ERROR_HANDLER): New macro.
21762 (__SYSCALL_STRING): Do not do errno handling in asm.
21763 (__CLONE_SYSCALL_STRING): Delete.
21764 (__INTERNAL_SYSCALL_STRING): Delete.
21765 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21766 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21768 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21769 (inline_syscall*): Add 'err' argument.
21770 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21771 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21772 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21773 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21775 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21776 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21778 2011-08-30 Andreas Schwab <schwab@redhat.com>
21780 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21782 2011-08-29 Jiri Olsa <jolsa@redhat.com>
21784 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21787 2011-08-24 David S. Miller <davem@davemloft.net>
21789 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21791 2011-08-24 Andreas Schwab <schwab@redhat.com>
21793 * elf/Makefile: Add rules to build and run unload8 test.
21794 * elf/unload8.c: New file.
21795 * elf/unload8mod1.c: New file.
21796 * elf/unload8mod1x.c: New file.
21797 * elf/unload8mod2.c: New file.
21798 * elf/unload8mod3.c: New file.
21800 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21803 2011-08-23 David S. Miller <davem@davemloft.net>
21805 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21806 subtract stack bias.
21807 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21808 %sp not %fp in calculations.
21809 (_JMPBUF_UNWINDS_ADJ): Likewise.
21811 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21812 (aio_suspend): Call it to force an exception region around the
21813 AIO_MISC_WAIT() invocation.
21815 2011-08-23 Andreas Schwab <schwab@redhat.com>
21817 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21820 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21822 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21824 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21825 and <dl-machine.h>.
21826 (Elf64_FuncDesc): Remove.
21828 2011-08-22 David S. Miller <davem@davemloft.net>
21830 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21831 sigaltstack check, add missing cfi directives.
21832 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21833 missing cfi directives, and sigaltstack handling.
21835 2011-08-16 Andreas Schwab <schwab@redhat.com>
21838 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21839 object is seen twice.
21840 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21842 * elf/Makefile (distribute): Add tst-initorder2.c.
21843 (tests): Add tst-initorder2.
21844 (modules-names): Add tst-initorder2a tst-initorder2b
21845 tst-initorder2c tst-initorder2d. Add rules to build them.
21846 ($(objpfx)tst-initorder2.out): New rule.
21847 * elf/tst-initorder2.c: New file.
21848 * elf/tst-initorder2.exp: New file.
21850 2011-08-22 Andreas Schwab <schwab@redhat.com>
21852 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21854 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21855 dependencies back to end of function.
21857 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21858 $(elfobjdir)/ld.so.
21860 2011-08-21 Ulrich Drepper <drepper@gmail.com>
21862 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21863 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21864 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21865 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21866 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21867 of __vdso_gettimeofday.
21868 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21869 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21871 (_libc_vdso_platform_setup): Remove initialization of
21872 __vdso_gettimeofday and __vdso_time.
21874 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21876 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21877 and fgetc_unlocked.
21878 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21881 * elf/dl-open.c (add_to_global): Report additions to the global scope
21882 for LD_DEBUG=scopes.
21883 (dl_open_worker): Also print scope of newly loaded dependencies.
21884 (_dl_show_scope): Indicate if there is no scope.
21887 * stdio-common/Makefile (tests): Add bug24.
21888 * stdio-common/bug24.c: New file.
21890 2011-08-19 Andreas Jaeger <aj@suse.de>
21893 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21894 non-existant file when using close-on-exec mode.
21896 2011-08-20 Ulrich Drepper <drepper@gmail.com>
21898 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21899 the very first instruction.
21901 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21902 the CFI state in the end.
21903 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21904 inclusion of dl-trampoline.h.
21905 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21907 2011-08-19 Andreas Schwab <schwab@redhat.com>
21909 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21910 expectations for long double.
21912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21913 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21915 2011-08-14 David S. Miller <davem@davemloft.net>
21917 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21918 artificual limit depends upon the system page size.
21920 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21922 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21923 * resolv/Makefile: Define CFLAGS-libresolv.
21925 2011-08-17 Andreas Schwab <schwab@redhat.com>
21927 * nss/makedb.c (compute_tables): Make variables used in nested
21930 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21932 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21933 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21934 if buffer was too small.
21936 * elf/pldd.c (main): Attach to all threads in the process.
21937 Rewrite /proc handling to use *at functions.
21939 2011-08-16 Ulrich Drepper <drepper@gmail.com>
21941 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21942 specifies first scope to show.
21943 (dl_open_worker): Update callers. Move printing scope of new
21944 object to before the relocation.
21945 * elf/rtld.c (dl_main): Update _dl_show_scope call.
21946 * sysdeps/generic/ldsodefs.h: Update declaration.
21948 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21949 string for the scope number.
21951 2011-08-14 Ulrich Drepper <drepper@gmail.com>
21953 * nscd/servicescache.c (cache_addserv): Make sure written is always
21956 2011-08-14 Roland McGrath <roland@hack.frob.com>
21958 * sysdeps/i386/i486/bits/atomic.h
21959 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21960 statement expression, so as to suppress "set but not used" warning.
21961 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21963 * string/strncat.c (STRNCAT): Use prototype definition.
21965 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21966 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21968 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21969 (localedef-modules): Add localedef.
21970 (locale-modules): Add locale.
21972 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21973 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21974 to avoid a warning.
21976 2011-08-14 David S. Miller <davem@davemloft.net>
21978 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21979 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21981 2011-08-13 Ulrich Drepper <drepper@gmail.com>
21983 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
21984 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21985 * elf/rtld.c (dl_main): Set l_name of vDSO.
21986 Call _dl_show_scope when DL_DEBUG_SCOPES.
21987 (process_dl_debug): Recognize scopes flag and also set it for all.
21988 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21989 Declare _dl_show_scope.
21991 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21992 (do_dlopen): Pass caller_dlopen to dl_open.
21993 (__libc_dlopen_mode): Initialize caller_dlopen.
21995 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21996 of libc. Make tolower call locale-independent. Optimize a bit by
21997 using isdigit instead of isalnum.
21998 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22000 2011-08-12 Ulrich Drepper <drepper@gmail.com>
22002 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22003 was a dependency or dynamically loaded.
22005 2011-08-11 Ulrich Drepper <drepper@gmail.com>
22007 * intl/l10nflist.c: Allow architecture-specific pop function.
22008 * sysdeps/x86_64/l10nflist.c: New file.
22010 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22013 2011-08-10 Andreas Schwab <schwab@redhat.com>
22015 * include/dirent.h: Add libc_hidden_proto for scandirat and
22016 scandirat64. Don't declare __scandirat64.
22017 * dirent/scandirat.c: Add libc_hidden_def.
22018 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22019 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22021 2011-08-10 David S. Miller <davem@davemloft.net>
22023 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22025 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22026 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22027 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22029 2011-08-09 Ulrich Drepper <drepper@gmail.com>
22031 * Versions.def [libc]: Add GLIBC_2.15.
22032 * dirent/Makefile (routines): Add scandirat and scandirat64.
22033 * dirent/Versions [libc]: Export scandirat and scandirat64 for
22035 * dirent/dirent.h: Declare scandirat and scandirat64.
22036 * dirent/scandirat.c: New file.
22037 * dirent/scandirat64.c: New file.
22038 * sysdeps/wordsize-64/scandirat.c: New file.
22039 * sysdeps/wordsize-64/scandirat64.c: New file.
22040 * dirent/opendir.c: Define opendirat.
22041 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
22043 * dirent/scandir64.c: Adjust for scandir.c change.
22044 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
22045 __scandirat64, and __scandir_cancel_handler.
22046 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
22047 additional parameter and use openat instead of open (outside of ld.so).
22048 Add new __opendir as wrapper around __opendirat.
22049 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22050 here without requiring old scandirat implementation.
22052 2011-08-08 Ulrich Drepper <drepper@gmail.com>
22054 * dirent/scandir.c (cancel_handler): Renamed to
22055 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
22056 defined. Adjust users.
22057 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22058 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22060 2011-08-04 Ulrich Drepper <drepper@gmail.com>
22062 * string/test-string.h (IMPL): Use __STRING to expand name and then
22065 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
22068 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22070 * string/Makefile: Update.
22071 (strop-tests): Append strncat.
22072 * string/test-wcscmp.c: New file.
22073 New comprehensive test for wcscmp.
22074 * string/test-strcmp.c: Update.
22075 (WIDE): New define.
22077 2011-07-22 Andreas Schwab <schwab@redhat.com>
22079 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22082 2011-07-26 Andreas Schwab <schwab@redhat.com>
22084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22085 encoding to ACE if AI_IDN.
22087 2011-08-01 Jakub Jelinek <jakub@redhat.com>
22089 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22090 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22092 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22094 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22095 Fix overflow bug in strncat.
22096 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22098 * string/test-strncat.c: Update.
22099 Add new tests for checking overflow bugs.
22101 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22104 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22105 * sysdeps/i386/i686/multiarch/strcat.S: New file.
22106 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22107 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22108 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22109 * sysdeps/i386/i686/multiarch/strncat.S: New file.
22110 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22111 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22113 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22114 (USE_AS_STRCAT): Define.
22115 Add strcat and strncat support.
22116 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22118 2011-07-25 Andreas Schwab <schwab@redhat.com>
22120 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22121 __n bigger than INT_MAX+1.
22122 (__strncmp_g): Likewise.
22124 2011-07-23 Ulrich Drepper <drepper@gmail.com>
22126 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22127 * libio/stido.h: Likewise.
22129 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22131 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22134 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22135 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22136 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22137 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22138 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22141 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22144 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22146 (_dl_x86_64_save_sse): Likewise.
22148 2011-07-22 Ulrich Drepper <drepper@gmail.com>
22150 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22152 (_dl_x86_64_save_sse): Likewise.
22154 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22156 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22158 2011-07-21 Andreas Schwab <schwab@redhat.com>
22160 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22162 (_dl_x86_64_save_sse): Use correct AVX check.
22164 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22166 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22167 bug in strncpy/strncat.
22168 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22170 2011-07-21 Ulrich Drepper <drepper@gmail.com>
22172 * string/tester.c (test_strcat): Add tests for different alignments
22173 of source and destination.
22174 (test_strncat): Likewise.
22176 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22179 * posix/glob.c (glob): Check passed in values before using them in
22180 expressions to avoid some overflows.
22181 (glob_in_dir): Likewise.
22184 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22185 check for AVX enablement so that we don't crash with old kernels and
22187 * elf/tst-audit4.c: Add same checks here.
22188 * elf/tst-audit6.c: Likewise.
22190 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22192 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22194 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22196 2011-07-20 Ulrich Drepper <drepper@gmail.com>
22198 * po/cs.po: Update from translation team.
22199 * po/bg.po: Likewise.
22201 2011-07-12 Marek Polacek <mpolacek@redhat.com>
22203 * misc/sys/cdefs.h: Add support for const attribute.
22204 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22205 to gnu_dev_{major,minor,makedev} functions.
22207 2011-07-20 Marek Polacek <mpolacek@redhat.com>
22209 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22211 2011-07-20 Andreas Schwab <schwab@redhat.com>
22213 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22216 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22218 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22219 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22220 register in order to avoid conflicts with the soft frame pointer
22221 being held in r11 when necessary.
22222 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22223 (INTERNAL_VSYSCALL_NCS): Likewise.
22225 2011-07-14 Marek Polacek <mpolacek@redhat.com>
22227 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22228 * elf/dl-fini.c (_dl_fini): Adjust caller.
22229 * elf/dl-close.c (_dl_close_worker): Likewise.
22230 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22232 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22234 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22235 "aux_cache->nlibs < 0".
22237 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22238 in the reload-count case.
22240 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22243 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22244 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22245 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22246 * sysdeps/x86_64/multiarch/strcat.S: New file.
22247 * sysdeps/x86_64/multiarch/strncat.S: New file.
22248 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22249 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22250 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22251 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22252 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22253 (USE_AS_STRCAT): Define.
22254 Add strcat and strncat support.
22255 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22256 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22257 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22258 * string/strncat.c: Update.
22259 (USE_AS_STRNCAT): Define.
22260 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22261 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22263 * sysdeps/x86_64/multiarch/init-arch.h
22264 (bit_Prefer_PMINUB_for_stringop): New.
22265 (index_Prefer_PMINUB_for_stringop): Likewise.
22266 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22267 bit_Prefer_PMINUB_for_stringop.
22269 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22271 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22273 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22274 of casting of buffer.
22275 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22276 buffer32 and buffer64.
22277 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22278 writes instead of casting of buffer.
22279 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22281 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22284 2011-07-19 Andreas Schwab <schwab@redhat.com>
22286 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22288 2011-07-19 Ulrich Drepper <drepper@gmail.com>
22290 * nscd/nscd.c (termination_handler): Don't do anything for a database
22291 if it has not yet been initialized.
22293 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22295 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22297 2011-07-15 Marek Polacek <mpolacek@redhat.com>
22299 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22301 2011-07-18 Ulrich Drepper <drepper@gmail.com>
22303 * po/nl.po: Update from translation team.
22304 * po/sv.po: Likewise.
22306 2011-07-16 Roland McGrath <roland@hack.frob.com>
22308 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22309 now disallowed by GCC.
22311 * configure.in (use-default-link): Default to yes if a test -shared
22312 link meets our qualifications.
22313 * configure: Regenerated.
22315 * config.make.in (output-format): New variable.
22316 * configure.in: Check for ld --print-output-format support.
22317 * configure: Regenerated.
22318 * Makerules ($(common-objpfx)format.lds)
22319 [$(output-format) != unknown]: Just use $(output-format),
22320 instead of the linker-script munging.
22322 2011-07-14 Roland McGrath <roland@hack.frob.com>
22324 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22325 of $(common-objpfx)shlib.lds.
22326 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22328 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22329 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22331 * configure.in (-z relro check): Adjust test code to add a large
22332 writable data section after it.
22333 * configure: Regenerated.
22335 2011-07-11 Roland McGrath <roland@hack.frob.com>
22337 * configure.in (-z relro check): Fix test code to make the variable
22339 * configure: Regenerated.
22341 2011-07-11 Ulrich Drepper <drepper@gmail.com>
22343 * nscd/nscd.h (struct traced_file): Define.
22344 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22345 elements. Add traced_files.
22346 (inotify_fd): Declare.
22347 (register_traced_file): Declare.
22348 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22349 (inotify_fd): Export.
22350 (resolv_conf_descr): Remove.
22351 (nscd_init): Move inotify descriptor creation to main.
22352 Don't register files for notification here.
22353 (register_traced_file): New function.
22354 (invalidate_cache): Don't use reset_res to determine whether to call
22355 res_init, go through the list of registered files.
22356 (main_loop_poll): The inotify descriptors are now stored in the
22357 structures for the traced files.
22358 (main_loop_epoll): Likewise
22359 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22360 to __nss_disable_nscd.
22361 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22362 for a database anymore. Check the records for all the registered
22364 * nss/Makefile (libnss_files-routines): Add files-init.
22365 (libnss_db-routines): Add db-init.
22366 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22367 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22368 * nss/nss_db/db-init.c: New file.
22369 * nss/nss_files/files-init.c: New file.
22370 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22371 __nss_lookup_function.
22372 (__nss_lookup_function): Call nss_load_library.
22373 (nss_load_all_libraries): New function.
22374 (__nss_disable_nscd): Take parameter with callback function for files
22375 to register. Set is_nscd. Load all the DSOs for the NSS modules
22376 used for the cached services.
22377 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22378 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22379 options for features to all the files in nscd.
22381 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22383 2011-07-10 Roland McGrath <roland@hack.frob.com>
22385 * csu/elf-init.c (__libc_csu_init): Comment typo.
22387 2011-07-09 Ulrich Drepper <drepper@gmail.com>
22389 * po/pl.po: Update from translation team.
22390 * po/ja.po: Likewise.
22391 * po/ru.po: Likewise.
22392 * po/ko.po: Likewise.
22393 * po/fr.po: Likewise.
22395 2011-07-09 Roland McGrath <roland@hack.frob.com>
22397 * configure.in (.ctors/.dtors header and trailer check):
22398 Use an empirical test on a built program.
22399 * configure: Regenerated.
22401 * configure.in (-z relro check): Use an empirical test on a built DSO.
22402 Detect, but do not require, on ia64.
22403 * configure: Regenerated.
22405 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22406 Update tests that use readelf to use $READELF instead.
22407 * configure: Regenerated.
22409 2011-07-08 Ulrich Drepper <drepper@gmail.com>
22411 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22412 if the result is not used.
22414 2011-07-05 Andreas Jaeger <aj@suse.de>
22417 * stdlib/tst-strtod.c: Add testcase.
22419 2011-07-07 Ulrich Drepper <drepper@gmail.com>
22421 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22422 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22423 The latter has a higher limit. Take additional parameter to pass to
22425 (__pathconf): Pass file to __statfs_link_max.
22426 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22428 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22432 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22433 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22435 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22436 (__statfs_filesize_max): Likewise.
22437 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22439 2011-07-05 Andreas Jaeger <aj@suse.de>
22441 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22443 2011-07-06 Marek Polacek <mpolacek@redhat.com>
22445 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22447 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22450 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22452 * Makefile (strop-tests): Add strncat.
22453 * string/test-strncat.c: New file.
22455 2011-06-30 Marek Polacek <mpolacek@redhat.com>
22457 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22459 2011-06-21 Andreas Jaeger <aj@suse.de>
22461 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22462 Copy rule from iconvdata/Makefile.
22464 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22467 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22468 but no long options are defined, just return 'W'.
22470 2011-06-22 Marek Polacek <mpolacek@redhat.com>
22473 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22475 2011-07-06 Ulrich Drepper <drepper@gmail.com>
22477 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22479 (innetgr): Likewise.
22481 2011-07-05 Roland McGrath <roland@hack.frob.com>
22483 * config.make.in (install_root): Default to $(DESTDIR).
22485 2011-07-05 Ulrich Drepper <drepper@gmail.com>
22487 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22489 2011-07-02 Roland McGrath <roland@hack.frob.com>
22491 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22493 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22494 containing directory rather than embedding absolute directory names.
22496 * scripts/check-local-headers.sh: Rewritten using awk.
22497 Match by word, not by line. Print error messages for matches.
22498 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22500 * Makerules [shlib-lds-flags empty]:
22501 ($(common-objpfx)libc_pic.opts): New target.
22502 ($(common-objpfx)libc_pic.os.clean): New target.
22503 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22505 * config.make.in (OBJCOPY): New variable.
22506 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22507 * configure: Regenerated.
22509 * config.make.in (use-default-link): New variable.
22510 * configure.in (use_default_link): Grok --with-default-link to set it.
22511 * configure: Regenerated.
22512 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22513 (shlib-lds, shlib-lds-flags): Define to empty.
22515 * Makerules (shlib-lds): New variable.
22516 (shlib-lds-flags): New variable.
22517 (build-shlib, build-moduile, build-module-asneeded): Use it.
22518 ($(common-objpfx)libc.so): Use $(shlib-lds).
22519 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22520 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22522 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22523 DT_FLAGS/DT_FLAGS_1 with zero flags.
22525 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22526 linker script munging.
22528 2011-07-02 Ulrich Drepper <drepper@gmail.com>
22530 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22532 * crypt/sha512.c (sha512_process_block): Perform total addition using
22533 128-bit if possible.
22534 (__sha512_finish_ctx): Likewise.
22535 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22537 * crypt/sha256.c (SWAP64): Define.
22538 (sha256_process_block): Perform total addition using 64-bit if
22540 (__sha256_finish_ctx): Likewise.
22542 2011-07-01 Ulrich Drepper <drepper@gmail.com>
22544 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22545 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22546 * nscd/hstcache.c (cache_addhst): Likewise.
22547 * nscd/grpcache.c (cache_addgr): Likewise.
22548 * nscd/aicache.c (addhstaiX): Likewise
22549 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22551 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
22553 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22554 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22555 * nscd/hstcache.c (cache_addhst): Likewise.
22556 * nscd/grpcache.c (cache_addgr): Likewise.
22557 * nscd/aicache.c (addhstaiX): Likewise
22559 2011-07-01 Andreas Schwab <schwab@redhat.com>
22561 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22562 domain only when needed.
22564 2011-06-30 Andreas Schwab <schwab@redhat.com>
22566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22567 is always restored.
22569 2011-06-29 Ulrich Drepper <drepper@gmail.com>
22571 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22572 are re-adding the entry.
22573 * nscd/servicescache.c (cache_addserv): Likewise.
22575 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22577 * sysdeps/generic/dl-irel.h: fix protection against multiple
22579 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22581 2011-06-28 Ulrich Drepper <drepper@gmail.com>
22584 * malloc/memusage.sh: Fix quoting in message.
22585 * debug/xtrace.sh: Likewise.
22587 * configure.in: Remove support for --experimental-malloc option, make
22589 * config.make.in: Likewise.
22590 * malloc/Makefile: Likewise.
22592 2011-06-27 Andreas Schwab <schwab@redhat.com>
22594 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22595 two-byte characters.
22597 2011-06-27 Roland McGrath <roland@hack.frob.com>
22599 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22600 AC_CACHE_CHECK invocation.
22601 * configure: Regenerated.
22603 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22605 2011-06-27 Ulrich Drepper <drepper@gmail.com>
22608 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22609 bit from old_res_options.
22611 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22613 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22614 value type for setfct.
22616 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22618 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22619 __gettimeofday instead of gettimeofday.
22621 2011-06-26 Ulrich Drepper <drepper@gmail.com>
22623 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22625 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22627 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22629 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22632 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22635 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22636 strcpy-sse2-unaligned strncpy-sse2-unaligned
22637 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22638 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22639 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22640 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22641 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22642 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22643 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22644 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22645 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22646 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22647 (STRCPY): Support SSE2 and SSSE3 versions.
22649 2011-06-24 Ulrich Drepper <drepper@gmail.com>
22652 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22653 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22654 kernels which artificially limit size of requests.
22656 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22658 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22659 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22660 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22661 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22662 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22663 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22664 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22665 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22666 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22667 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22668 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22669 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22670 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22671 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22672 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22674 Enable unaligned load optimization for Intel Core i3, i5 and i7
22676 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22678 (index_Fast_Unaligned_Load): Define.
22679 (HAS_FAST_UNALIGNED_LOAD): Define.
22681 2011-06-23 Marek Polacek <mpolacek@redhat.com>
22683 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22685 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22688 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22689 until it is clear that the information is realy needed.
22690 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22692 2011-06-22 Andreas Schwab <schwab@redhat.com>
22694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22696 2011-06-22 Ulrich Drepper <drepper@gmail.com>
22698 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22699 /sys/devices/system/cpu/online if it is usable.
22701 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22702 reading the information from the /proc filesystem to once a second.
22704 2011-06-21 Andreas Jaeger <aj@suse.de>
22706 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22707 NULL after inclusion of kernel headers.
22709 2011-06-21 Ulrich Drepper <drepper@gmail.com>
22711 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22712 calls to internal_setent.
22715 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22716 addresses using gethostbyname4_r ignore IPv4 addresses.
22718 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22719 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22721 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22723 2011-06-20 David S. Miller <davem@davemloft.net>
22725 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22727 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22729 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22730 (elf_irel): Use it.
22731 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22732 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22733 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22734 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22735 * sysdeps/x86_64/dl-irel.h: Likewise.
22737 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22738 * elf/dl-sym.c: Likewise.
22740 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22742 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22743 need to dereference resplen2.
22745 2011-06-14 Andreas Schwab <schwab@redhat.com>
22747 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22749 2011-06-15 Ulrich Drepper <drepper@gmail.com>
22751 * Makeconfig: Define vardbdir and inst_vardbdir.
22752 * nss/Makefile: Add rules to install db-Makefile.
22754 * nss/nss_db/db-XXX.c: Cleanup.
22756 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22757 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22759 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22760 * nss/makedb.c: Implement -g option to specify that value strings
22761 are generated and should not be added to table iterated over for
22763 * nss/nss_db/db-initgroups.c: New file.
22765 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22768 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22769 (internal_getgrouplist): Adjust to name change.
22770 Update use_initgroups_entry if this is not the first call.
22771 * nss/databases.def: Add initgroups entry.
22773 * nss/makedb.c (compute_tables): Check result of multiple hash table
22774 sizes to minimize maximum chain length.
22776 2011-06-14 Ulrich Drepper <drepper@gmail.com>
22778 * Versions.def: Add entry for libnss_db.
22779 * shlib-versions: Likewise.
22780 * nss/Makefile: Add rules to build libnss_db.
22781 * nss/Versions: Add libnss_db information. Organize libnss_files
22783 * nss/db-Makefile: Add gshadow support. Change rules for the new
22784 makedb progra. Some minor improvements to generate smaller files.
22785 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22787 * nss/makedb.c: ...here.
22788 Improve database format to be smaller and require less memory at
22790 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22792 * nss/nss_db/db-netgrp.c: Likewise.
22793 * nss/nss_db/db-open.c: Likewise.
22794 * nss/nss_files/flies-XXX.x: Adjust comments.
22795 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22796 * nss/nss_files/files-grp.c: Likewise.
22797 * nss/nss_files/files-hosts.c: Likewise.
22798 * nss/nss_files/files-network.c: Likewise.
22799 * nss/nss_files/files-proto.c: Likewise.
22800 * nss/nss_files/files-pwd.c: Likewise.
22801 * nss/nss_files/files-rpc.c: Likewise.
22802 * nss/nss_files/files-service.c: Likewise.
22803 * nss/nss_files/files-sgrp.c: Likewise.
22804 * nss/nss_files/files-spwd.c: Likewise.
22805 * nss/nss_db/db-alias.c: Removed.
22806 * nss/nss_db/dummy-db.h: Removed.
22808 2011-06-02 Ulrich Drepper <drepper@gmail.com>
22810 * nss/makedb.c: Rewritten to not use database library.
22811 * nss/Makefile: Update to build new makedb program.
22813 2011-06-14 Andreas Jaeger <aj@suse.de>
22815 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22816 memset declaration.
22818 2011-06-10 Andreas Schwab <schwab@redhat.com>
22820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22823 2011-06-10 Roland McGrath <roland@hack.frob.com>
22825 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22826 * elf/Makefile ($(objpfx)ld.so): Likewise.
22828 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22829 Don't list ld.so twice in dependencies.
22831 * posix/bug-regex31.c: Include <stdlib.h>.
22833 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22835 * nis/nss_compat/compat-spwd.c
22836 (getspent_next_nss_netgr): Remove unused variable.
22837 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22839 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22840 nonmembers" output to use the right array.
22842 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22844 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22846 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22847 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22848 * catgets/gencat.c (read_input_file): Likewise.
22849 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22851 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22852 variable definition inside #if's controlling its use.
22854 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22856 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22858 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22860 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22863 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22865 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22866 * configure: Regenerated.
22868 * Makerules: Revert last change.
22869 * elf/Makefile: Likewise.
22871 2011-06-09 Roland McGrath <roland@hack.frob.com>
22873 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22874 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22875 (reloc-link): Likewise.
22877 2011-06-09 Ulrich Drepper <drepper@gmail.com>
22879 * elf/Makefile: Add rules to build pldd.
22880 * elf/pldd.c: New file.
22881 * elf/pldd-xx.c: New file.
22883 2011-06-07 Ulrich Drepper <drepper@gmail.com>
22885 * version.h: Update for 2.15 development version.
22887 2011-06-07 David S. Miller <davem@davemloft.net>
22889 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22891 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22892 elf_machine_lazy_rel): Likewise.
22893 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22894 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22895 elf_machine_lazy_rel): Likewise.
22896 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22897 dl_hwcap via passed in argument.
22898 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22901 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22903 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22905 2011-06-06 Roland McGrath <roland@hack.frob.com>
22908 * manual/fdl-1.1.texi: New file, verbatim from:
22909 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22910 * manual/lgpl-2.1.texi: New file, verbatim from:
22911 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22912 * manual/Makefile (licenses): New variable, list those new file names.
22914 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22916 * manual/fdl.texi: File removed.
22917 * manual/lesser.texi: File removed.
22918 * manual/libc.texinfo (Copying, Documentation License):
22919 Use new @include file names, put @appendix directive before @include.
22921 2011-06-04 Jakub Jelinek <jakub@redhat.com>
22924 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22925 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22926 (mq_open): Add __NTH.
22928 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22931 Assume Intel Core i3/i5/i7 processor if AVX is available.
22933 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22935 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22938 2011-05-31 Andreas Schwab <schwab@redhat.com>
22940 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22941 memory. Use alloca_account. Fix memory leak when retrying.
22943 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22945 * version.h (RELEASE): Bump for 2.14 release.
22946 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22948 * config.make.in (RANLIB): Remove entry.
22950 2011-05-30 Ulrich Drepper <drepper@gmail.com>
22952 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22953 (libc.pot): Work around missing support for .ksh extension in xgettext.
22956 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22957 if both request failed.
22958 (send_dg): In case of server errors clear resplen or *resplen2.
22961 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22962 when there are multiple maps.
22963 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22964 (_dl_fini): Remove test here.
22966 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22968 2011-05-29 Ulrich Drepper <drepper@gmail.com>
22971 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22972 bit from old_res_options.
22973 (gaih_inet): Likewise.
22976 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
22979 * resolv/res_init.c (res_setoptions): Make the code more compact.
22982 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22986 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22988 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22991 * malloc/malloc.h: Declare malloc hook variables as volatile.
22993 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22997 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
22998 raise in the comment.
22999 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23000 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23001 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23003 2011-05-28 Ulrich Drepper <drepper@gmail.com>
23006 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23007 grow the buffers more if it already has to be sufficient.
23008 (build_wcs_upper_buffer): Likewise.
23009 * posix/regexec.c (check_matching): Likewise.
23010 (clean_state_log_if_needed): Likewise.
23011 (extend_buffers): Don't enlarge buffers beyond size of the input
23013 Patches mostly by Emil Wojak <emil@wojak.eu>.
23014 * posix/bug-regex32.c: New file.
23015 * posix/Makefile (tests): Add bug-regex32.
23017 * locale/findlocale.c (_nl_find_locale): Return right away if
23018 _nl_explode_name failed.
23019 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23021 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23023 * debug/xtrace.sh: Unify messages.
23024 * malloc/memusage.sh: Likewise.
23027 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23028 time symbol from vDSO. Substitute with vsyscall if not available.
23029 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23032 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23033 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23034 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23035 Add sendmmsg and internal_sendmmsg.
23036 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23037 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23038 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23040 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23041 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23042 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23044 2011-05-27 Ulrich Drepper <drepper@gmail.com>
23047 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23048 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
23050 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23054 * iconvdata/Makefile (tests): Add bug-iconv9.
23055 * iconvdata/bug-iconv9.c: New file.
23057 2011-05-27 Andreas Schwab <schwab@redhat.com>
23060 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23062 2011-05-25 Jakub Jelinek <jakub@redhat.com>
23064 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23065 (struct user_regs_struct): Change intcs field back to cs.
23067 2011-05-25 Ulrich Drepper <drepper@gmail.com>
23069 * po/ja.po: Update from translation team.
23071 2011-05-23 Ulrich Drepper <drepper@gmail.com>
23074 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23075 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23077 2011-05-20 Andreas Schwab <schwab@redhat.com>
23079 * stdlib/longlong.h: Update from GCC.
23081 2011-05-23 Andreas Schwab <schwab@redhat.com>
23083 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23085 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23086 Add parameter name.
23087 (__sysconf): Pass it down.
23089 2011-05-22 Ulrich Drepper <drepper@gmail.com>
23092 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23094 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23095 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23096 add in in __libc_use_alloca calls. Adjust callers.
23097 (glob): Use malloc in some situations.
23099 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23100 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23103 2011-05-21 Ulrich Drepper <drepper@gmail.com>
23105 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23106 and CLOCK_BOOTTIME_ALARM.
23109 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23112 * string/_strerror.c (__strerror_r): Print negative errors as signed
23116 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23117 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23118 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23120 * configure.in: Fix typo in redirection and correct removal of test
23121 files in two cases.
23124 * locale/setlocale.c (new_composite_name): Fix test to check for
23125 identical name of all categories.
23128 * libio/filedoalloc.c (local_isatty): New function.
23129 (_IO_file_doallocate): Use local_isatty.
23130 * stdio-common/perror.c (perror): In case a new stream is used
23131 forward the stream error.
23132 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23135 2011-05-20 Ulrich Drepper <drepper@gmail.com>
23138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23140 * include/alloca.h (extend_alloca_account): Define.
23143 * posix/regex.h: Fix comments with documentation of user-accessible
23144 fields after compilation and describe correct free'ing of pattern
23145 after re_compile_pattern.
23146 Patch by Reuben Thomas <rrt@sc3d.org>.
23148 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23150 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23151 and -mno-altivec to prevent the compiler from using Altivec and/or
23152 VSX instructions when the corresponding registers are not available.
23154 2011-05-19 Andreas Schwab <schwab@redhat.com>
23156 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23158 2011-05-19 Ulrich Drepper <drepper@gmail.com>
23160 * libio/freopen.c (freopen): Use __dup2, not dup2.
23161 * libio/freopen64.c (freopen64): Likewise.
23163 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23166 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23167 * math/Makefile (tests): Add test-powl.
23168 (CFLAGS-test-powl.c): Define.
23169 * math/test-powl.c: New file.
23171 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23173 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23175 2011-05-17 Ulrich Drepper <drepper@gmail.com>
23178 * iconvdata/gb18030.c: Update to GB18020-2005.
23180 2011-05-16 Ulrich Drepper <drepper@gmail.com>
23182 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23183 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23184 Patch by Aharon Robbins <arnold@skeeve.com>.
23187 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23191 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23192 through underflows.
23195 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23196 point to strings before performing equality test for error_one_per_line
23200 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23203 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23204 (struct user_fpregs_struct): Avoid __uint*_t types.
23207 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23208 symbol info. Use it instead of calling _dl_addr locally.
23209 (lock_and_info): New function.
23210 (tr_freehook): Call lock_and_info and pass symbol info as additional
23211 parameter to tr_where.
23212 (tr_mallochook): Likewise.
23213 (tr_reallochook): Likewise.
23214 (tr_memalignhook): Likewise.
23216 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23217 used and couldn't be at all thread-safe.
23219 2011-05-15 Ulrich Drepper <drepper@gmail.com>
23221 * libio/freopen.c (freopen): Don't close old file descriptor
23222 before the new one is opened. Instead dup the new file descriptor
23223 to the old one after the new stream is created.
23224 * libio/freopen64.c (freopen64): Likewise.
23225 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23226 * libio/fileops.c (_IO_new_file_close_it): Handle new
23227 _IO_FLAGS2_NOCLOSE flag.
23228 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23229 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23230 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23231 _IO_FLAGS2_NOCLOSE flag.
23232 * include/unistd.h: Add hidden_proto for dup3.
23233 Define __have_dup3.
23234 * io/dup3.c: Define hidden symbol.
23235 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23238 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23239 when an incomplete long option is used.
23240 * posix/tst-getopt_long1.c: New file.
23241 * posix/Makefile (tests): Add tst-getopt_long1.
23244 * scripts/config.guess: Update from autoconf-2.68.
23245 * scripts/config.sub: Likewise.
23248 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23250 (has_cpuclock): ...this. New function.
23251 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23252 macro here based on has_cpuclock code.
23255 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23256 First byte (not low byte) is now always NUL.
23257 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23259 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23260 Use non-cancelable interfaces.
23263 * locale/iso-639.def: Add entry for Sorani.
23266 * include/stdlib.h: Move include protection to the right place.
23267 Define abort_msg_s. Declare __abort_msg with it.
23268 * stdlib/abort.c (__abort_msg): Adjust type.
23269 * assert/assert.c (__assert_fail_base): New function. Majority
23270 of code from __assert_fail. Allocate memory for __abort_msg with
23272 (__assert_fail): Now call __assert_fail_base.
23273 * assert/assert-perr.c: Remove bulk of implementation. Use
23274 __assert_fail_base.
23275 * include/assert.hL Declare __assert_fail_base.
23276 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23278 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23280 2011-05-14 Ulrich Drepper <drepper@gmail.com>
23284 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23285 until all modules are registered in the DTV.
23286 * elf/Makefile: Add rules to build and run tst-tls19.
23287 * elf/tst-tls19.c: New file.
23288 * elf/tst-tls19mod1.c: New file.
23289 * elf/tst-tls19mod2.c: New file.
23290 * elf/tst-tls19mod3.c: New file.
23291 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23294 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23298 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23299 two-byte sequence errors.
23300 * iconvdata/Makefile (tests): Add bug-iconv8.
23301 * iconvdata/bug-iconv8.c: New file.
23304 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23307 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23310 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23311 (dummy_getcfa): New function.
23312 (init): Get _Unwind_GetCFA address, use dummy if not found.
23313 (backtrace_helper): In recursion check, also check whether CFA changes.
23314 (__backtrace): Completely initialize arg.
23316 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23317 storing incomplete byte sequence in state object. Avoid testing for
23318 guaranteed too small input if we know there is enough data available.
23320 2011-05-11 Andreas Schwab <schwab@redhat.com>
23322 * Makeconfig (+link-pie): Indent.
23323 * Rules (binaries-pie): Define if $(have-fpie) and
23325 (binaries-shared): Also filter out $(binaries-pie).
23326 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23327 * nscd/Makefile (others-pie): Add nscd.
23328 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23329 ($(objpfx)nscd): Remove command override.
23330 * login/Makefile (others-pie): Add pt_chown.
23331 ($(objpfx)pt_chown): Remove command override.
23332 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23333 remove command overrides.
23335 2011-05-13 Ulrich Drepper <drepper@gmail.com>
23337 * libio/tst_putwc.c: Fix error messages.
23340 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23341 currently writing and seek to current position when not.
23342 * libio/Makefile (tests): Add bug-fclose1.
23343 * libio/bug-fclose1.c: New file.
23345 2011-05-12 Ulrich Drepper <drepper@gmail.com>
23348 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23349 don't set DF_1_NODELETE here.
23350 (do_lookup_x): When entering new entry test for copy relocation
23351 and if necessary set DF_1_NODELETE flag.
23352 * elf/tst-unique4.cc: New file.
23353 * elf/tst-unique4.h: New file.
23354 * elf/tst-unique4lib.cc: New file.
23355 * elf/Makefile: Add rules to build and run tst-unique4.
23356 Patch by Piotr Bury <pbury@goahead.com>.
23358 2011-05-11 Ulrich Drepper <drepper@gmail.com>
23361 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23364 * misc/mntent_r.c (addmntent): Flush the stream after the output
23367 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23368 (is_trusted_path_normalize): Skip initial colon. Append slash
23369 to empty buffer. Duplicate is_trusted_path code but allow
23370 constructed patch to be prefix.
23371 (is_dst): Allow $ORIGIN followed by /.
23372 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23373 Correct testing of result of is_trusted_path_normalize
23374 (decompose_rpath): Fix warning.
23376 2011-05-10 Ulrich Drepper <drepper@gmail.com>
23379 * grp/initgroups.c (internal_getgrouplist): When we found the service
23380 list through the initgroups entry in nsswitch.conf do not always
23381 continue on a successful lookup. Don't always use the
23382 __nss_group_database value if it is set.
23383 * nss/nsswitch.conf (initgroups): Change action for successful db
23384 lookup to continue for compatibility.
23386 2011-05-09 Ulrich Drepper <drepper@gmail.com>
23389 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23391 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23393 * iconvdata/tst-tables.sh: Likewise.
23394 * iconvdata/cp770.c: New file.
23395 * iconvdata/cp771.c: New file.
23396 * iconvdata/cp772.c: New file.
23397 * iconvdata/cp773.c: New file.
23398 * iconvdata/cp774.c: New file.
23399 * iconvdata/testdata/CP770: New file.
23400 * iconvdata/testdata/CP770..UTF8: New file.
23401 * iconvdata/testdata/CP771: New file.
23402 * iconvdata/testdata/CP771..UTF8: New file.
23403 * iconvdata/testdata/CP772: New file.
23404 * iconvdata/testdata/CP772..UTF8: New file.
23405 * iconvdata/testdata/CP773: New file.
23406 * iconvdata/testdata/CP773..UTF8: New file.
23407 * iconvdata/testdata/CP774: New file.
23408 * iconvdata/testdata/CP774..UTF8: New file.
23410 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23412 * iconvdata/gen-8bit-gap.sh: Likewise.
23413 * iconvdata/gen-8bit.sh: Likewise.
23415 * locale/iso-639.def: Add ary entry.
23418 * locale/C-translit.h.in: Add U20A1 transliteration.
23421 * locale/iso-639.def: Add wae entry.
23422 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23425 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23429 * locale/C-translit.h.in: Add entry for U20B9.
23430 Patch by pravin.d.s@gmail.com.
23432 2011-05-08 Ulrich Drepper <drepper@gmail.com>
23435 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23436 ENAMETOOLONG use generic getcwd.
23437 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23438 in rtld. Use *stat64.
23439 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23440 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23441 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23442 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23443 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23444 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23445 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23446 __fstatat64 macros.
23447 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23448 * dirent/rewinddir.c: Add libc_hidden_def.
23449 * sysdeps/mach/hurd/rewinddir.c: Likewise.
23450 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
23452 * include/dirent.h (__alloc_dir): Add flags parameter.
23453 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23454 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23456 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23457 from fdopendir if O_CLOEXEC is already set.
23459 2011-03-15 Alan Modra <amodra@gmail.com>
23461 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23462 l_tls_firstbyte_offset non-zero. Save padding offset in
23463 l_tls_firstbyte_offset for later use.
23464 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23465 freeing static tls block.
23467 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23469 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23470 where #ifdef was intended. The intent is to prevent ARG_MAX from
23471 being defined by the kernel headers.
23473 2011-05-07 Ulrich Drepper <drepper@gmail.com>
23476 * resolv/resolv.h: Define RES_NOTLDQUERY.
23477 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23478 no-tld-query and set RES_NOTLDQUERY.
23479 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23480 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23481 modern BIND to search name as TLD unless forbidden.
23483 2011-05-07 Petr Baudis <pasky@suse.cz>
23484 Ulrich Drepper <drepper@gmail.com>
23487 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23488 (is_trusted_path): ...to here.
23489 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
23490 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
23491 using is_trusted_path_normalize() in setuid scripts.
23493 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23495 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23496 __BEGIN/__END_DECLS.
23498 2011-05-06 Ulrich Drepper <drepper@gmail.com>
23500 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23501 NSS_STATUS_NOTFOUND if no record was found.
23503 2011-05-05 Andreas Schwab <schwab@redhat.com>
23505 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23506 (headers-not-in-tirpc): Remove rpc/netdb.h
23507 * resolv/netdb.h: Revert last change.
23509 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23511 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23512 circular dependency between libgcc.a and libc.a.
23514 2011-05-05 Andreas Schwab <schwab@redhat.com>
23516 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23517 * nis/Makefile: Don't install rpcsvc/*.
23518 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23519 instead of <rpc/types.h>.
23520 (MAXHOSTNAMELEN): Define.
23522 2011-05-03 Andreas Schwab <schwab@redhat.com>
23524 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23526 2011-04-28 Maciej Babinski <mbabinski@google.com>
23529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23530 gethostbyname4_r when IPv6 results are possible.
23532 2011-05-02 Ulrich Drepper <drepper@gmail.com>
23535 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23536 _PC_PIPE_BUF handling.
23538 2011-04-30 Bruno Haible <bruno@clisp.org>
23541 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23542 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23544 * inet/getnameinfo.c (getnameinfo): Likewise.
23546 2011-04-29 Ulrich Drepper <drepper@gmail.com>
23548 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23549 to groups setting in database lookup.
23550 * nss/nsswitch.conf: Add initgroups entry.
23552 2011-04-22 Ulrich Drepper <drepper@gmail.com>
23555 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23557 Patch by Eric Blake <eblake@redhat.com>.
23559 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23561 * sunrpc/Makefile (need-export-routines): Add svc_run.
23562 (routines): Remove svc_run.
23563 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23564 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23565 * sunrpc/svc_run.c (svc_run): Likewise.
23566 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23568 2011-04-21 Ulrich Drepper <drepper@gmail.com>
23570 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23571 problem in reallocation in last patch.
23573 2011-04-20 Ulrich Drepper <drepper@gmail.com>
23575 * sunrpc/Makefile: Move inclusion of Rules.
23577 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23579 * nss/nss_files/files-initgroups.c: New file.
23580 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23581 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23582 _nss_files_initgroups_dyn.
23584 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23586 * elf/elf.h (R_ARM_IRELATIVE): Define.
23588 2011-04-19 Ulrich Drepper <drepper@gmail.com>
23590 * po/ru.po: Update from translation team.
23592 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23594 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23597 2011-02-06 Mike Frysinger <vapier@gentoo.org>
23600 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23601 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23602 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23603 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23604 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23606 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23608 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23610 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23611 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23612 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23614 2011-04-17 Ulrich Drepper <drepper@gmail.com>
23617 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23619 * stdlib/bug-getcontext.c: New file.
23620 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23622 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23624 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23625 instructions into .machine "z9-109".
23626 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23627 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23629 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23631 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23632 between environment variables and auxiliary vector.
23634 2011-04-16 Ulrich Drepper <drepper@gmail.com>
23636 * Makefile: Add rules to build linkobj/libc.so.
23637 * include/libc-symbols.h: Define libc_hidden_nolink.
23638 * include/rpc/auth.h: Mark functions which are to be hidden.
23639 * include/rpc/auth_des.h: Likewise.
23640 * include/rpc/auth_unix.h: Likewise.
23641 * include/rpc/clnt.h: Likewise.
23642 * include/rpc/des_crypt.h: Likewise.
23643 * include/rpc/key_prot.h: Likewise.
23644 * include/rpc/pmap_clnt.h: Likewise.
23645 * include/rpc/pmap_prot.h: Likewise.
23646 * include/rpc/pmap_rmt.h: Likewise.
23647 * include/rpc/rpc_msg.h: Likewise.
23648 * include/rpc/svc.h: Likewise.
23649 * include/rpc/svc_auth.h: Likewise.
23650 * include/rpc/xdr.h: Likewise.
23651 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23652 * nss/Makefile: Likewise.
23653 * sunrpc/Makefile: Don't install headers. Build library with normal
23654 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23655 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23656 for the compat linking library. Remove use of INTDEF/INTUSE.
23657 * sunrpc/auth_none.c: Likewise.
23658 * sunrpc/auth_unix.c: Likewise.
23659 * sunrpc/authdes_prot.c: Likewise.
23660 * sunrpc/authuxprot.c: Likewise.
23661 * sunrpc/clnt_gen.c: Likewise.
23662 * sunrpc/clnt_perr.c: Likewise.
23663 * sunrpc/clnt_raw.c: Likewise.
23664 * sunrpc/clnt_simp.c: Likewise.
23665 * sunrpc/clnt_tcp.c: Likewise.
23666 * sunrpc/clnt_udp.c: Likewise.
23667 * sunrpc/clnt_unix.c: Likewise.
23668 * sunrpc/des_crypt.c: Likewise.
23669 * sunrpc/des_soft.c: Likewise.
23670 * sunrpc/get_myaddr.c: Likewise.
23671 * sunrpc/key_call.c: Likewise.
23672 * sunrpc/key_prot.c: Likewise.
23673 * sunrpc/netname.c: Likewise.
23674 * sunrpc/pm_getmaps.c: Likewise.
23675 * sunrpc/pm_getport.c: Likewise.
23676 * sunrpc/pmap_clnt.c: Likewise.
23677 * sunrpc/pmap_prot.c: Likewise.
23678 * sunrpc/pmap_prot2.c: Likewise.
23679 * sunrpc/pmap_rmt.c: Likewise.
23680 * sunrpc/publickey.c: Likewise.
23681 * sunrpc/rpc_cmsg.c: Likewise.
23682 * sunrpc/rpc_common.c: Likewise.
23683 * sunrpc/rpc_dtable.c: Likewise.
23684 * sunrpc/rpc_prot.c: Likewise.
23685 * sunrpc/rpc_thread.c: Likewise.
23686 * sunrpc/rtime.c: Likewise.
23687 * sunrpc/svc.c: Likewise.
23688 * sunrpc/svc_auth.c: Likewise.
23689 * sunrpc/svc_authux.c: Likewise.
23690 * sunrpc/svc_raw.c: Likewise.
23691 * sunrpc/svc_run.c: Likewise.
23692 * sunrpc/svc_simple.c: Likewise.
23693 * sunrpc/svc_tcp.c: Likewise.
23694 * sunrpc/svc_udp.c: Likewise.
23695 * sunrpc/svc_unix.c: Likewise.
23696 * sunrpc/svcauth_des.c: Likewise.
23697 * sunrpc/xcrypt.c: Likewise.
23698 * sunrpc/xdr.c: Likewise.
23699 * sunrpc/xdr_array.c: Likewise.
23700 * sunrpc/xdr_float.c: Likewise.
23701 * sunrpc/xdr_intXX_t.c: Likewise.
23702 * sunrpc/xdr_mem.c: Likewise.
23703 * sunrpc/xdr_rec.c: Likewise.
23704 * sunrpc/xdr_ref.c: Likewise.
23705 * sunrpc/xdr_sizeof.c: Likewise.
23706 * sunrpc/xdr_stdio.c: Likewise.
23708 2011-04-10 Ulrich Drepper <drepper@gmail.com>
23711 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23712 * sysdeps/ia64/dl-tls.h: Likewise.
23713 * sysdeps/powerpc/dl-tls.h: Likewise.
23714 * sysdeps/s390/dl-tls.h: Likewise.
23715 * sysdeps/sh/dl-tls.h: Likewise.
23716 * sysdeps/sparc/dl-tls.h: Likewise.
23717 * sysdeps/x86_64/dl-tls.h: Likewise.
23718 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23720 2011-03-14 Andreas Schwab <schwab@redhat.com>
23722 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23723 rpath element also skip the following colon.
23724 (expand_dynamic_string_token): Add is_path parameter and pass
23725 down to DL_DST_REQUIRED and _dl_dst_substitute.
23726 (decompose_rpath): Call expand_dynamic_string_token with
23727 non-zero is_path. Ignore empty rpaths.
23728 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23731 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23736 2011-04-09 Ulrich Drepper <drepper@gmail.com>
23739 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23740 Patch by Filipe David Manana <fdmanana@apache.org>.
23742 2011-04-07 Andreas Schwab <schwab@redhat.com>
23744 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23745 Maintain aligned stack.
23746 (CHECK_RSP): Remove unused macro.
23748 2011-04-03 Ulrich Drepper <drepper@gmail.com>
23750 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23751 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23753 2011-04-02 Ulrich Drepper <drepper@gmail.com>
23755 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23757 * include/features.h: Mention __USE_XOPEN2K8 in comment.
23759 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23762 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23763 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23764 * sysdeps/x86_64/memmove.c: New file.
23765 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23766 (memcpy): Renamed to ...
23767 (__new_memcpy): This.
23768 (memcpy): Provide GLIBC_2_14 memcpy.
23769 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23770 (memcpy): Provide GLIBC_2_2_5 memcpy.
23772 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23775 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23777 2011-03-30 Andreas Schwab <schwab@redhat.com>
23779 * misc/syncfs.c: New file.
23780 * misc/Makefile (routines): Add syncfs.
23781 * posix/unistd.h: Declare syncfs.
23782 * sysdeps/unix/syscalls.list: Add syncfs.
23784 2011-04-01 Andreas Schwab <schwab@redhat.com>
23786 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23788 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23789 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23790 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23791 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23792 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23793 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23794 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23796 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23798 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23799 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23800 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23801 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23802 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23804 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23806 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23807 sync_file_range.c with -fexceptions.
23808 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23809 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23810 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23811 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23812 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23813 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23814 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
23815 sync_file_range as cancellation point
23816 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23817 now a wrapper around __call_sync_file_range with cancellation handling.
23818 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23819 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23820 function name to __call_sync_file_range.
23821 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23822 Add call_sync_file_range.
23824 2011-04-01 Andreas Schwab <schwab@redhat.com>
23826 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23829 2011-04-01 Ulrich Drepper <drepper@gmail.com>
23831 * iconv/iconv.h: Fix typo in comment.
23832 * io/fcntl.h: Likewise.
23833 * libio/stdio.h: Likewise.
23834 * posix/spawn.h: Likewise.
23835 * posix/unistd.h: Likewise.
23836 * stdlib/stdlib.h: Likewise.
23837 * time/time.h: Likewise.
23838 * wcsmbs/wchar.h: Likewise.
23840 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23841 open_by_handle): Add.
23842 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23843 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23844 Augment a few comments.
23845 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23846 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23847 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23849 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23850 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23853 * io/fcntl.h (AT_EMPTY_PATH): Define.
23855 2011-03-30 Ulrich Drepper <drepper@gmail.com>
23857 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23858 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23859 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23861 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
23862 * Versions.def: Add GLIBC_2.14.
23863 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23866 2011-03-22 Ulrich Drepper <drepper@gmail.com>
23868 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23870 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23872 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23875 * string/test-strncmp.c (do_page_test): New function.
23876 (check2): Likewise.
23877 (test_main): Call check2.
23878 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23880 2011-03-20 Ulrich Drepper <drepper@gmail.com>
23883 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23884 Handle cache information in CPU leaf 4.
23885 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23887 2011-03-18 Ulrich Drepper <drepper@gmail.com>
23890 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23891 character representation.
23892 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23894 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23896 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23897 END(__isnan) to END(__isnanf) to match function entry point/label
23898 EALIGN(__isnanf,...).
23900 2011-03-10 Jakub Jelinek <jakub@redhat.com>
23902 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23904 2011-03-10 Ulrich Drepper <drepper@gmail.com>
23907 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23908 copy from the symbol referenced in the relocation to initialize the
23910 Patch by Piotr Bury <pbury@goahead.com>.
23911 * elf/Makefile: Add rules to build and tst-unique3.
23912 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23913 * elf/tst-unique3.cc: New file.
23914 * elf/tst-unique3.h: New file.
23915 * elf/tst-unique3lib.cc: New file.
23916 * elf/tst-unique3lib2.cc: New file.
23918 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23920 2011-03-10 Mike Frysinger <vapier@gentoo.org>
23922 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23923 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23926 2011-03-06 Ulrich Drepper <drepper@gmail.com>
23928 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23929 to-be-loaded object along a path to loader is ld.so.
23931 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23932 Ulrich Drepper <drepper@gmail.com>
23934 * sysdeps/x86_64/memset.S: After aligning destination, code
23935 branches to different locations depending on the value of
23936 misalignment, when multiarch is enabled. Fix this.
23938 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23940 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23941 Set _x86_64_preferred_memory_instruction for AMD processsors.
23942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23943 Set bit_Prefer_SSE_for_memop for AMD processors.
23945 2011-03-04 Ulrich Drepper <drepper@gmail.com>
23947 * libio/fmemopen.c (fmemopen): Optimize a bit.
23949 2011-03-03 Andreas Schwab <schwab@redhat.com>
23951 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23953 2011-03-03 Roland McGrath <roland@redhat.com>
23955 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23957 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23959 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
23960 __bzero_ultra1 instead of __memset_ultra1.
23962 2011-02-23 Andreas Schwab <schwab@redhat.com>
23963 Ulrich Drepper <drepper@gmail.com>
23966 * include/link.h (struct link_map): Add l_orig_initfini.
23967 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23968 returning unsuccessfully.
23969 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23970 close of a file loaded at startup, restore the original l_initfini
23972 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23973 list, store the pointer.
23974 * elf/Makefile ($(objpfx)noload-mem): New rule.
23975 (noload-ENV): Define.
23976 (tests): Add $(objpfx)noload-mem.
23977 * elf/noload.c: Include <memcheck.h>.
23978 (main): Call mtrace. Close all opened handles.
23980 2011-02-17 Andreas Schwab <schwab@redhat.com>
23983 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23984 dependencies are missing.
23986 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23988 Fix __if_freereq crash: Unlike the generic version which uses free,
23990 * sysdeps/mach/hurd/ifreq.h: New file.
23992 2011-01-27 Petr Baudis <pasky@suse.cz>
23993 Ulrich Drepper <drepper@gmail.com>
23996 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23997 to extend_alloca().
23998 * stdio-common/bug23.c: New file.
23999 * stdio-common/Makefile (tests): Add bug23.
24001 2010-09-28 Andreas Schwab <schwab@redhat.com>
24002 Ulrich Drepper <drepper@gmail.com>
24005 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24006 before performing relro protection. At old place add assertion
24007 to make sure nothing changed.
24009 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
24010 Glauber de Oliveira Costa <glommer@gmail.com>
24012 * elf/elf.h: Add new ARM TLS relocs.
24014 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
24016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24017 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24019 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
24021 * sysdeps/wordsize-64/tst-writev.c: New file.
24023 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
24025 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24026 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24027 insns in _dl_start to prevent a TOC reference before relocs are
24030 2011-02-15 Ulrich Drepper <drepper@gmail.com>
24033 * Makeconfig: Remove RANLIB definition.
24034 * Makerules: Don't use RANLIB.
24035 * aclocal.m4: Remove ranlib test.
24036 * configure.in: No need to check for ranlib.
24037 * elf/rtld-Rules: Don't use RANLIB.
24039 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24041 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24043 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24044 inclusion protection macro.
24046 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24047 SIGRTMIN and SIGRTMAX and print information in that case only when
24048 SIGRTMIN is defined.
24050 2011-02-11 Jakub Jelinek <jakub@redhat.com>
24052 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24053 arginfo fn returning -1.
24055 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24056 and thousands string is zero terminated.
24058 2011-02-03 Andreas Schwab <schwab@redhat.com>
24060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24061 sysdeps/unix/sysv/linux/bits/socket.h.
24063 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
24065 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24066 (__CPU_COUNT): Remove old macros.
24067 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24068 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24069 (__CPU_ALLOC, __CPU_FREE): Add macros.
24070 (__sched_cpualloc, __sched_cpufree): Add declarations.
24072 2011-02-05 Ulrich Drepper <drepper@gmail.com>
24074 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24075 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24076 * nscd/aicache.c (addhstaiX): Return timeout of added value.
24077 (readdhstai): Return value of addhstaiX call.
24078 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24079 (addgrbyX): Return value returned by cache_addgr.
24080 (readdgrbyname): Return value returned by addgrbyX.
24081 (readdgrbygid): Likewise.
24082 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24083 (addpwbyX): Return value returned by cache_addpw.
24084 (readdpwbyname): Return value returned by addhstbyX.
24085 (readdpwbyuid): Likewise.
24086 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24087 (addservbyX): Return value returned by cache_addserv.
24088 (readdservbyname): Return value returned by addservbyX:
24089 (readdservbyport): Likewise.
24090 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24091 (addhstbyX): Return value returned by cache_addhst.
24092 (readdhstbyname): Return value returned by addhstbyX.
24093 (readdhstbyaddr): Likewise.
24094 (readdhstbynamev6): Likewise.
24095 (readdhstbyaddrv6): Likewise.
24096 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24097 (readdinitgroups): Return value returned by addinitgroupsX.
24098 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24099 (prune_cache): Keep track of timeout value of re-added entries.
24100 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24101 * nscd/nscd.h: Adjust prototypes of readd* functions.
24103 2011-02-04 Roland McGrath <roland@redhat.com>
24105 * nis/nis_server.c (nis_servstate): Use the right name for 0.
24106 (nis_stats): Likewise.
24107 * nis/nis_modify.c (nis_modify): Likewise.
24108 * nis/nis_remove.c (nis_remove): Likewise.
24109 * nis/nis_add.c (nis_add): Likewise.
24111 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24113 * posix/fnmatch_loop.c: Add some consts.
24115 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24117 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
24120 * config.make.in (config-cflags-novzeroupper): Define.
24121 * configure.in: Substitute libc_cv_cc_novzeroupper.
24122 * elf/Makefile (AVX-CFLAGS): Define.
24123 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24124 (CFLAGS-tst-auditmod4a.c): Likewise.
24125 (CFLAGS-tst-auditmod4b.c): Likewise.
24126 (CFLAGS-tst-auditmod6b.c): Likewise.
24127 (CFLAGS-tst-auditmod6c.c): Likewise.
24128 (CFLAGS-tst-auditmod7b.c): Likewise.
24129 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24131 2011-02-02 Ulrich Drepper <drepper@gmail.com>
24133 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24134 function to the callback.
24135 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24137 2011-02-02 Andreas Schwab <schwab@redhat.com>
24139 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24142 2011-01-19 Ulrich Drepper <drepper@gmail.com>
24145 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24147 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24149 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24152 * elf/Makefile: Add rules to build and run new test.
24153 * elf/tst-initorder.c: New file.
24154 * elf/tst-initorder.exp: New file.
24155 * elf/tst-initordera1.c: New file.
24156 * elf/tst-initordera2.c: New file.
24157 * elf/tst-initordera3.c: New file.
24158 * elf/tst-initordera4.c: New file.
24159 * elf/tst-initorderb1.c: New file.
24160 * elf/tst-initorderb2.c: New file.
24161 * elf/tst-order-a1.c: New file.
24162 * elf/tst-order-a2.c: New file.
24163 * elf/tst-order-a3.c: New file.
24164 * elf/tst-order-a4.c: New file.
24165 * elf/tst-order-b1.c: New file.
24166 * elf/tst-order-b2.c: New file.
24167 * elf/tst-order-main.c: New file.
24168 New test case by George Gensure <werkt0@gmail.com>.
24170 2010-10-01 Andreas Schwab <schwab@redhat.com>
24172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24173 decoding ACE if AI_CANONIDN.
24175 2011-01-18 Ulrich Drepper <drepper@gmail.com>
24177 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24179 2011-01-17 Ulrich Drepper <drepper@gmail.com>
24181 * version.h (RELEASE): Bump for 2.13 release.
24182 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24184 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24186 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24188 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24189 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24190 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24191 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24192 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24193 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24195 * posix/getconf.c: Update copyright year.
24196 * catgets/gencat.c: Likewise.
24197 * csu/version.c: Likewise.
24198 * debug/catchsegv.sh: Likewise.
24199 * debug/xtrace.sh: Likewise.
24200 * elf/ldconfig.c: Likewise.
24201 * elf/ldd.bash.in: Likewise.
24202 * elf/sprof.c (print_version): Likewise.
24203 * iconv/iconv_prog.c: Likewise.
24204 * iconv/iconvconfig.c: Likewise.
24205 * locale/programs/locale.c: Likewise.
24206 * locale/programs/localedef.c: Likewise.
24207 * malloc/memusage.sh: Likewise.
24208 * malloc/mtrace.pl: Likewise.
24209 * nscd/nscd.c (print_version): Likewise.
24210 * nss/getent.c: Likewise.
24212 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24213 PF_CAIF, and PF_ALG.
24214 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24216 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24218 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24219 (modules-names): Use them.
24220 (ifunc-test-modules, ifunc-pie-tests): Define.
24221 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24222 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24223 (test-extras): Likewise.
24224 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24225 $(compile-command.c).
24226 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24227 (all-built-dso): Define.
24228 (check-textrel.out, check-execstack.out): Depend on it.
24230 * configure.in: Don't override --enable-multi-arch.
24232 2011-01-15 Ulrich Drepper <drepper@gmail.com>
24235 * nscd/hstcache.c (tryagain): Define.
24236 (cache_addhst): Return tryagain not notfound for temporary errors.
24237 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24240 2011-01-14 Ulrich Drepper <drepper@gmail.com>
24243 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24244 to make the syscall.
24245 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24248 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24249 and fall back to matching as normal character if the string ends before
24250 the matching ']' is found. This is what POSIX requires.
24251 * posix/testfnm.c: Adjust test result.
24252 * posix/globtest.sh: Adjust test result. Add new test.
24253 * posix/tst-fnmatch.input: Likewise.
24254 * posix/tst-fnmatch2.c: Add new test.
24256 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24258 * elf/Makefile (check-execstack): Revert last change. Depend on
24260 (check-execstack.h): New target.
24261 (generated): Add check-execstack.h.
24262 * elf/check-execstack.c: Include "check-execstack.h".
24263 (main): Revert last change.
24264 (handle_file): Return zero if GNU_STACK is absent and
24265 DEFAULT_STACK_PERMS doesn't include PF_X.
24267 2011-01-13 Ulrich Drepper <drepper@gmail.com>
24269 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24270 in child fails because the descriptor is already closed.
24271 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24272 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24273 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24276 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24280 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24281 temporary buffer used to handle multi lookups locally.
24282 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24284 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24286 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24289 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24291 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24292 alignment for SSE2.
24294 2011-01-12 Ulrich Drepper <drepper@gmail.com>
24297 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24298 characters. When rounding increased number of integer digits recompute
24300 * stdio-common/tst-grouping.c: New file.
24301 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24303 2011-01-09 Ulrich Drepper <drepper@gmail.com>
24305 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24306 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24308 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24310 * bits/select.h: Likewise.
24312 2011-01-08 Ulrich Drepper <drepper@gmail.com>
24314 * po/ja.po: Update from translation team.
24316 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
24319 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24320 implementation just like for lxstat, fxstatat, et al.
24322 2010-12-27 Jim Meyering <meyering@redhat.com>
24325 * posix/regexec.c (build_trtable): Return failure indication upon
24326 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24328 2010-12-25 Ulrich Drepper <drepper@gmail.com>
24331 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24332 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24333 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24334 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24337 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24340 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24341 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24343 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24345 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24346 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24347 script has SORT_BY_INIT_PRIORITY.
24348 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24349 NO_CTORS_DTORS_SECTIONS is defined.
24350 * elf/soinit.c: Likewise.
24351 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24352 NO_CTORS_DTORS_SECTIONS is defined.
24353 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24354 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24355 * sysdeps/sh/init-first.c: Likewise.
24356 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24358 2010-12-24 Ulrich Drepper <drepper@gmail.com>
24360 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24361 always use the slow path.
24363 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24365 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24366 similar rule which adds the sysdep directories to the header search in
24367 order to pick up the correct platform stackinfo.h.
24368 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24369 perform test if it is, otherwise return successfully without testing.
24370 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24371 DEFAULT_STACK_PERMS define in stackinfo.h.
24372 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24373 defined in stackinfo.h.
24374 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24375 DEFAULT_STACK_PERMS defined in stackinfo.h.
24376 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24377 * sysdeps/ia64/stackinfo.h: Likewise.
24378 * sysdeps/s390/stackinfo.h: Likewise.
24379 * sysdeps/sh/stackinfo.h: Likewise.
24380 * sysdeps/sparc/stackinfo.h: Likewise.
24381 * sysdeps/x86_64/stackinfo.h: Likewise.
24382 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24383 PF_X for powerpc64. Retain PF_X for powerpc32.
24385 2010-12-19 Ulrich Drepper <drepper@gmail.com>
24387 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24389 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24390 GETDENTS_64BIT_ALIGNED.
24392 2010-12-14 Ulrich Drepper <dreper@gmail.com>
24394 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24396 2010-12-10 Andreas Schwab <schwab@redhat.com>
24398 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24401 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24402 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24404 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24405 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24407 2010-12-09 Ulrich Drepper <drepper@gmail.com>
24410 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24413 2010-12-09 Jakub Jelinek <jakub@redhat.com>
24415 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24417 2010-12-03 Ulrich Drepper <drepper@gmail.com>
24419 * po/it.po: Update from translation team.
24421 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24423 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24426 2010-11-30 Ulrich Drepper <drepper@gmail.com>
24428 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24430 2010-11-24 Andreas Schwab <schwab@redhat.com>
24432 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24434 (gaih_getanswer_slice): Likewise.
24436 2010-10-20 Jakub Jelinek <jakub@redhat.com>
24438 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24440 2010-05-31 Petr Baudis <pasky@suse.cz>
24443 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24444 silently even in the chroot mode.
24446 2010-11-22 Ulrich Drepper <drepper@gmail.com>
24448 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24449 last patch a bit. Pretty printing
24451 2010-05-31 Petr Baudis <pasky@suse.cz>
24454 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24455 initialization of skip_initgroups_dyn.
24457 2010-11-19 Ulrich Drepper <drepper@gmail.com>
24459 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24460 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24462 2010-11-16 Ulrich Drepper <drepper@gmail.com>
24464 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24466 2010-11-11 Andreas Schwab <schwab@redhat.com>
24468 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24469 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24470 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24471 ($(objpfx)tst-fnmatch-mem): New rule.
24472 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24473 * posix/tst-fnmatch.c (main): Call mtrace.
24475 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24478 Support Intel processor model 6 and model 0x2c.
24480 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
24482 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24485 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24488 * string/test-strncasecmp.c (check_result): New function.
24489 (do_one_test): Use it.
24490 (check1): New function.
24491 (test_main): Use it.
24492 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24493 Support strcasecmp and strncasecmp.
24495 2010-11-08 Ulrich Drepper <drepper@gmail.com>
24498 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24499 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24501 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24503 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24505 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24507 * sysdeps/x86_64/multiarch/bzero.S: New file.
24508 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24509 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24510 * sysdeps/x86_64/multiarch/memset.S: New file.
24511 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24513 Set bit_Prefer_SSE_for_memop for Intel processors.
24514 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24516 (index_Prefer_SSE_for_memop): Define.
24517 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24519 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
24521 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24522 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24524 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24527 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24528 (__x86_64_raw_data_cache_size_half): Likewise.
24529 (__x86_64_raw_shared_cache_size): Likewise.
24530 (__x86_64_raw_shared_cache_size_half): Likewise.
24532 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24533 (__x86_64_raw_data_cache_size_half): Likewise.
24534 (__x86_64_raw_shared_cache_size): Likewise.
24535 (__x86_64_raw_shared_cache_size_half): Likewise.
24536 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24537 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24538 and __x86_64_raw_shared_cache_size_half. Round
24539 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24540 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24541 to multiple of 256 bytes.
24543 2010-11-03 Ulrich Drepper <drepper@gmail.com>
24546 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24547 of inacessible symlinks. Verify result of symlink before returning it.
24548 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24549 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24551 2010-10-28 Erich Ritz <erichritz@gmail.com>
24553 * math/math.h (isinf): Fix typo in comment.
24555 2010-11-01 Ulrich Drepper <drepper@gmail.com>
24557 * po/da.po: Update from translation team.
24559 2010-10-26 Ulrich Drepper <drepper@gmail.com>
24561 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24562 is added to the list.
24564 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24565 Ulrich Drepper <drepper@gmail.com>
24567 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24568 the global list here. Move code to...
24569 (_dl_add_to_namespace_list): ...here. New function.
24570 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24571 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24572 * elf/dl-load.c (lose): Don't remove the element from the list.
24573 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24574 (_dl_map_object): Likewise.
24576 2010-10-25 Ulrich Drepper <drepper@gmail.com>
24579 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24580 into all bytes of SSE register.
24581 Patch by Richard Li <richardpku@gmail.com>.
24583 2010-10-24 Ulrich Drepper <drepper@gmail.com>
24586 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24589 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24591 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24592 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24593 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24594 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24599 2010-10-22 Andreas Schwab <schwab@redhat.com>
24601 * include/dlfcn.h (__RTLD_SECURE): Define.
24602 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24603 mode & __RTLD_SECURE instead.
24604 (open_path): Rename preloaded parameter to secure.
24605 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24606 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24607 * elf/dl-deps.c (openaux): Likewise.
24608 * elf/rtld.c (struct map_args): Remove is_preloaded.
24609 (map_doit): Don't use it.
24610 (dl_main): Likewise.
24611 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24612 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24614 2010-09-09 Andreas Schwab <schwab@redhat.com>
24616 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24617 (sysd-rules-targets): Remove duplicates.
24618 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24619 rtld-%.$o dependency.
24621 2010-10-18 Andreas Schwab <schwab@redhat.com>
24623 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24624 _dl_map_object do it.
24626 2010-10-19 Ulrich Drepper <drepper@gmail.com>
24628 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24629 fast fma builtins, define the macros in the C99 standard.
24630 (FP_FAST_FMAF): Likewise.
24631 (FP_FAST_FMAL): Likewise.
24632 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24634 * bits/mathdef.h: Update copyright year.
24635 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24637 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24639 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24640 builtins, define the macros in the C99 standard.
24641 (FP_FAST_FMAF): Likewise.
24642 (FP_FAST_FMAL): Likewise.
24643 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24645 (FP_FAST_FMAF): Likewise.
24647 2010-10-15 Jakub Jelinek <jakub@redhat.com>
24650 * math/libm-test.inc (fma_test): Some new testcases.
24651 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24652 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24653 y and infinite z. Do multiplication by C already in long double.
24654 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24655 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24656 y and infinite z. Do bitwise or of inexact bit into u.d.
24657 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24658 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24659 * sysdeps/i386/fpu/s_fma.S: Removed.
24660 * sysdeps/i386/fpu/s_fmal.S: Removed.
24662 2010-10-16 Jakub Jelinek <jakub@redhat.com>
24665 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24666 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24667 computation is not scheduled after fetestexcept. Fix value
24668 of minimum denormal long double.
24670 2010-10-14 Jakub Jelinek <jakub@redhat.com>
24673 * math/libm-test.inc (fma_test): Add some more tests.
24674 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24677 2010-10-15 Andreas Schwab <schwab@redhat.com>
24679 * scripts/data/localplt-s390-linux-gnu.data: New file.
24680 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24682 2010-10-13 Jakub Jelinek <jakub@redhat.com>
24685 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24686 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24688 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24690 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24692 if one of x and y is very large and the other is subnormal.
24693 * sysdeps/s390/fpu/s_fmaf.c: New file.
24694 * sysdeps/s390/fpu/s_fma.c: New file.
24695 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24696 * sysdeps/powerpc/fpu/s_fma.S: New file.
24697 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24698 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24699 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24701 2010-10-12 Jakub Jelinek <jakub@redhat.com>
24704 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24706 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24707 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24708 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24709 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24710 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24711 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24712 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24714 2010-10-12 Ulrich Drepper <drepper@redhat.com>
24717 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24718 * posix/bug-regex31.input: Add test case.
24720 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24722 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24723 * posix/bug-regex31.input: New file.
24726 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24727 (parse_sub_exp): Fix last change, use postorder.
24729 * posix/bug-regex31.c: New file.
24730 * posix/Makefile: Add rules to build and run bug-regex31.
24732 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24735 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24738 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24739 to have entries in sys_siglist.
24742 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24745 2010-10-07 Jakub Jelinek <jakub@redhat.com>
24748 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24749 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24750 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24751 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24752 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24753 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24754 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24755 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24756 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24757 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24758 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24759 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24760 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24761 * math/ftestexcept.c (fetestexcept): Likewise.
24762 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24763 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24764 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24765 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24766 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24767 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24768 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24770 2010-10-11 Ulrich Drepper <drepper@gmail.com>
24773 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24776 2010-10-06 Ulrich Drepper <drepper@gmail.com>
24778 * string/bug-strstr1.c: New file.
24779 * string/Makefile: Add rules to build and run bug-strstr1.
24781 2010-10-05 Eric Blake <eblake@redhat.com>
24784 * string/str-two-way.h (two_way_long_needle): Always clear memory
24785 when skipping input due to the shift table.
24787 2010-10-03 Ulrich Drepper <drepper@gmail.com>
24790 * malloc/mcheck.c: Handle large requests.
24793 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24794 for strncmp and strncasecmp.
24795 * string/stratcliff.c: Add tests for strcmp and strncmp.
24796 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24798 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24800 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24803 2010-09-30 Andreas Jaeger <aj@suse.de>
24805 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24806 (CGROUP_SUPER_MAGIC): Define.
24807 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24808 Handle btrfs and cgroup file systems.
24809 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24812 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
24814 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24815 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24817 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24820 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24821 trying to locate the ELF header.
24823 2010-09-27 Andreas Schwab <schwab@redhat.com>
24826 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24827 Mask out sign-bit copies when constructing f_fsid.
24829 2010-09-24 Petr Baudis <pasky@suse.cz>
24831 * debug/stack_chk_fail_local.c: Add missing licence exception.
24832 * debug/warning-nop.c: Likewise.
24834 2010-09-15 Joseph Myers <joseph@codesourcery.com>
24836 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24837 implementing getdents64 using getdents syscall, set d_type if
24838 __ASSUME_GETDENTS32_D_TYPE.
24840 2010-09-16 Andreas Schwab <schwab@redhat.com>
24842 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24843 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24845 2010-09-21 Ulrich Drepper <drepper@redhat.com>
24848 * posix/unistd.h: Undo change of feature selection for ftruncate from
24851 2010-09-20 Ulrich Drepper <drepper@redhat.com>
24853 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
24856 2010-09-20 Andreas Schwab <schwab@redhat.com>
24858 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24860 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24862 2010-09-14 Andreas Schwab <schwab@redhat.com>
24864 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24865 variables after CHECK_SP call.
24866 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24868 2010-09-13 Andreas Schwab <schwab@redhat.com>
24869 Ulrich Drepper <drepper@redhat.com>
24871 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24872 re-relocationg ld.so.
24873 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24874 _dl_init_paths call.
24875 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24878 2010-09-14 Ulrich Drepper <drepper@redhat.com>
24880 * resolv/res_init.c (__res_vinit): Count the default server we added.
24882 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24883 Ulrich Drepper <drepper@redhat.com>
24886 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24887 (____longjmp_chk): Use %ebx for saving value across system call.
24890 2010-09-06 Andreas Schwab <schwab@redhat.com>
24892 * manual/Makefile: Don't mix pattern rules with normal rules.
24894 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24896 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24898 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24899 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24900 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24901 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24902 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24905 2010-09-04 Ulrich Drepper <drepper@redhat.com>
24908 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24909 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24911 2010-09-02 Ulrich Drepper <drepper@redhat.com>
24913 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24914 * sysdeps/x86_64/addmul_1.S: Likewise.
24915 * sysdeps/x86_64/lshift.S: Likewise.
24916 * sysdeps/x86_64/mul_1.S: Likewise.
24917 * sysdeps/x86_64/rshift.S: Likewise.
24918 * sysdeps/x86_64/sub_n.S: Likewise.
24919 * sysdeps/x86_64/submul_1.S: Likewise.
24921 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24923 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24924 Define __sched_param instead of SCHED_* and sched_param when
24925 <bits/sched.h> is included with __need_schedparam defined.
24926 * bits/sched.h [__need_schedparam]
24927 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
24928 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24929 (__defined_schedparam): Define to 1.
24930 (__sched_param): New structure, identical to sched_param.
24931 (__need_schedparam): Undefine.
24933 2010-08-31 Mike Frysinger <vapier@gentoo.org>
24935 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24936 (epoll_create1): Declare.
24938 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24940 2010-08-31 Andreas Schwab <schwab@redhat.com>
24943 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24944 shifting retval into place.
24946 2010-09-01 Ulrich Drepper <drepper@redhat.com>
24948 * nis/rpcsvc/nis.h: Update copyright notice.
24949 * nis/rpcsvc/nis.x: Likewise.
24950 * nis/rpcsvc/nis_callback.h: Likewise.
24951 * nis/rpcsvc/nis_callback.x: Likewise.
24952 * nis/rpcsvc/nis_object.x: Likewise.
24953 * nis/rpcsvc/nis_tags.h: Likewise.
24954 * nis/rpcsvc/yp.h: Likewise.
24955 * nis/rpcsvc/yp.x: Likewise.
24956 * nis/rpcsvc/ypupd.h: Likewise.
24957 * nis/yp_xdr.c: Likewise.
24958 * nis/ypupdate_xdr.c: Likewise.
24960 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24961 mainly the body of pmap_getport. Add parameters to specify timeouts.
24962 (pmap_getport): Use __libc_rpc_getport.
24963 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24964 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24965 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24967 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24972 2010-08-27 Roland McGrath <roland@redhat.com>
24974 * sysdeps/i386/i686/multiarch/Makefile
24975 (CFLAGS-varshift.c): New variable.
24977 2010-08-27 Ulrich Drepper <drepper@redhat.com>
24979 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24980 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24982 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24984 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24986 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24988 * sysdeps/x86_64/strlen.S: Unroll the loop.
24989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24990 strlen-sse2 strlen-sse2-bsf.
24991 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24992 __strlen_no_bsf if bit_Slow_BSF is set.
24993 (__strlen_sse42): Removed.
24994 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24995 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24997 2010-08-25 Roland McGrath <roland@redhat.com>
24999 * sysdeps/x86_64/multiarch/varshift.S: File removed.
25000 * sysdeps/x86_64/multiarch/varshift.c: New file.
25001 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25002 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25003 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25004 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25006 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
25008 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25009 strlen-sse2 strlen-sse2-bsf.
25010 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25011 __strlen_sse2_bsf if bit_Slow_BSF is unset.
25012 (__strlen_sse2): Removed.
25013 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25014 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25016 bit_Slow_BSF for Atom.
25017 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25018 (index_Slow_BSF): Define.
25019 (HAS_SLOW_BSF): Define.
25021 2010-08-25 Ulrich Drepper <drepper@redhat.com>
25024 * resolv/res_init.c (__res_vinit): When no server address at all
25025 is given default to loopback.
25027 2010-08-24 Roland McGrath <roland@redhat.com>
25029 * configure.in: Remove config-name.h generation.
25030 * configure: Regenerated.
25031 * config-name.in: File removed.
25032 * scripts/config-uname.sh: New file.
25033 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25034 ($(objdir)config-name.h): New target.
25036 * sunrpc/rpc_parse.h: Avoid nested comment.
25038 2010-08-24 Richard Henderson <rth@redhat.com>
25039 Ulrich Drepper <drepper@redhat.com>
25040 H.J. Lu <hongjiu.lu@intel.com>
25042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25044 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25045 Replace _mm_srli_si128 with __m128i_shift_right. Replace
25046 _mm_alignr_epi8 with _mm_loadu_si128.
25047 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25048 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25049 (__m128i_shift_right): Removed.
25050 * sysdeps/i386/i686/multiarch/varshift.h: New file.
25051 * sysdeps/i386/i686/multiarch/varshift.S: New file.
25052 * sysdeps/x86_64/multiarch/varshift.h: New file.
25053 * sysdeps/x86_64/multiarch/varshift.S: New file.
25055 2010-08-21 Mike Frysinger <vapier@gentoo.org>
25057 * configure.in: Move assembler checks to before sysdep dir checking.
25059 2010-08-20 Petr Baudis <pasky@suse.cz>
25061 * LICENSES: Sync the sunrpc license.
25063 2010-08-19 Ulrich Drepper <drepper@redhat.com>
25065 * sunrpc/auth_des.c: Update copyright notice once again.
25066 * sunrpc/auth_none.c: Likewise.
25067 * sunrpc/auth_unix.c: Likewise.
25068 * sunrpc/authdes_prot.c: Likewise.
25069 * sunrpc/authuxprot.c: Likewise.
25070 * sunrpc/bindrsvprt.c: Likewise.
25071 * sunrpc/clnt_gen.c: Likewise.
25072 * sunrpc/clnt_perr.c: Likewise.
25073 * sunrpc/clnt_raw.c: Likewise.
25074 * sunrpc/clnt_simp.c: Likewise.
25075 * sunrpc/clnt_tcp.c: Likewise.
25076 * sunrpc/clnt_udp.c: Likewise.
25077 * sunrpc/clnt_unix.c: Likewise.
25078 * sunrpc/des_crypt.c: Likewise.
25079 * sunrpc/des_soft.c: Likewise.
25080 * sunrpc/get_myaddr.c: Likewise.
25081 * sunrpc/getrpcport.c: Likewise.
25082 * sunrpc/key_call.c: Likewise.
25083 * sunrpc/key_prot.c: Likewise.
25084 * sunrpc/openchild.c: Likewise.
25085 * sunrpc/pm_getmaps.c: Likewise.
25086 * sunrpc/pm_getport.c: Likewise.
25087 * sunrpc/pmap_clnt.c: Likewise.
25088 * sunrpc/pmap_prot.c: Likewise.
25089 * sunrpc/pmap_prot2.c: Likewise.
25090 * sunrpc/pmap_rmt.c: Likewise.
25091 * sunrpc/rpc/auth.h: Likewise.
25092 * sunrpc/rpc/auth_unix.h: Likewise.
25093 * sunrpc/rpc/clnt.h: Likewise.
25094 * sunrpc/rpc/des_crypt.h: Likewise.
25095 * sunrpc/rpc/key_prot.h: Likewise.
25096 * sunrpc/rpc/netdb.h: Likewise.
25097 * sunrpc/rpc/pmap_clnt.h: Likewise.
25098 * sunrpc/rpc/pmap_prot.h: Likewise.
25099 * sunrpc/rpc/pmap_rmt.h: Likewise.
25100 * sunrpc/rpc/rpc.h: Likewise.
25101 * sunrpc/rpc/rpc_des.h: Likewise.
25102 * sunrpc/rpc/rpc_msg.h: Likewise.
25103 * sunrpc/rpc/svc.h: Likewise.
25104 * sunrpc/rpc/svc_auth.h: Likewise.
25105 * sunrpc/rpc/types.h: Likewise.
25106 * sunrpc/rpc/xdr.h: Likewise.
25107 * sunrpc/rpc_clntout.c: Likewise.
25108 * sunrpc/rpc_cmsg.c: Likewise.
25109 * sunrpc/rpc_common.c: Likewise.
25110 * sunrpc/rpc_cout.c: Likewise.
25111 * sunrpc/rpc_dtable.c: Likewise.
25112 * sunrpc/rpc_hout.c: Likewise.
25113 * sunrpc/rpc_main.c: Likewise.
25114 * sunrpc/rpc_parse.c: Likewise.
25115 * sunrpc/rpc_parse.h: Likewise.
25116 * sunrpc/rpc_prot.c: Likewise.
25117 * sunrpc/rpc_sample.c: Likewise.
25118 * sunrpc/rpc_scan.c: Likewise.
25119 * sunrpc/rpc_scan.h: Likewise.
25120 * sunrpc/rpc_svcout.c: Likewise.
25121 * sunrpc/rpc_tblout.c: Likewise.
25122 * sunrpc/rpc_util.c: Likewise.
25123 * sunrpc/rpc_util.h: Likewise.
25124 * sunrpc/rpcinfo.c: Likewise.
25125 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25126 * sunrpc/rpcsvc/key_prot.x: Likewise.
25127 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25128 * sunrpc/rpcsvc/mount.x: Likewise.
25129 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25130 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25131 * sunrpc/rpcsvc/rex.x: Likewise.
25132 * sunrpc/rpcsvc/rstat.x: Likewise.
25133 * sunrpc/rpcsvc/rusers.x: Likewise.
25134 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25135 * sunrpc/rpcsvc/spray.x: Likewise.
25136 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25137 * sunrpc/rtime.c: Likewise.
25138 * sunrpc/svc.c: Likewise.
25139 * sunrpc/svc_auth.c: Likewise.
25140 * sunrpc/svc_authux.c: Likewise.
25141 * sunrpc/svc_raw.c: Likewise.
25142 * sunrpc/svc_run.c: Likewise.
25143 * sunrpc/svc_simple.c: Likewise.
25144 * sunrpc/svc_tcp.c: Likewise.
25145 * sunrpc/svc_udp.c: Likewise.
25146 * sunrpc/svc_unix.c: Likewise.
25147 * sunrpc/svcauth_des.c: Likewise.
25148 * sunrpc/xcrypt.c: Likewise.
25149 * sunrpc/xdr.c: Likewise.
25150 * sunrpc/xdr_array.c: Likewise.
25151 * sunrpc/xdr_float.c: Likewise.
25152 * sunrpc/xdr_mem.c: Likewise.
25153 * sunrpc/xdr_rec.c: Likewise.
25154 * sunrpc/xdr_ref.c: Likewise.
25155 * sunrpc/xdr_sizeof.c: Likewise.
25156 * sunrpc/xdr_stdio.c: Likewise.
25158 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25161 2010-08-19 Andreas Schwab <schwab@redhat.com>
25163 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25165 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
25167 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25168 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25169 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25170 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25171 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25172 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25173 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25174 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25175 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25176 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25177 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25178 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25179 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25180 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25182 2010-07-26 Anton Blanchard <anton@samba.org>
25184 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25185 * malloc/arena.c (heap_trim): Likewise.
25187 2010-08-16 Ulrich Drepper <drepper@redhat.com>
25189 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25191 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25192 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25194 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25196 * sysdeps/i386/elf/Makefile: New file.
25198 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25200 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25201 from fanotify_init.
25202 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25203 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25205 2010-08-15 Ulrich Drepper <drepper@redhat.com>
25207 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25209 * sysdeps/multiarch/strcmp.S: Likewise.
25211 2010-08-14 Ulrich Drepper <drepper@redhat.com>
25213 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25214 strncase_l-nonascii.
25215 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25216 Add strncase_l-ssse3.
25217 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25218 * sysdeps/x86_64/strcmp.S: Likewise.
25219 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25220 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25221 * sysdeps/x86_64/strncase.S: New file.
25222 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25223 * sysdeps/x86_64/strncase_l.S: New file.
25224 * string/Makefile (strop-tests): Add strncasecmp.
25225 * string/test-strncasecmp.c: New file.
25227 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25230 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25231 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25233 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25235 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25237 2010-08-12 Ulrich Drepper <drepper@redhat.com>
25239 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25240 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25241 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25243 2010-05-01 Alan Modra <amodra@gmail.com>
25245 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25246 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25247 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25248 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25249 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25250 tidying. Don't tail-call __sigjmp_save for static lib.
25251 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25253 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25254 (CALL_MCOUNT): Add eh info, and nop after bl.
25255 (TAIL_CALL_SYSCALL_ERROR): New macro.
25256 (PSEUDO_RET): Use it.
25257 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25258 Correct save location of integer regs and cr.
25259 (_dl_profile_resolve): Correct cr save location. Delete nops
25260 after bl when SHARED. Reduce cfi size a little by better
25261 placement of cfi directives.
25262 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25263 make a stack frame. Instead use parm save area as a temp.
25264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25265 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25267 Don't make a stack frame for parent, use parm save area.
25268 Increase child stack frame to 112 bytes. Don't save unused reg,
25269 and adjust reg usage. Set up cfi on error recovery and
25270 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25272 (__makecontext): Add dummy nop after jump to exit.
25273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25274 Use correct parm save area and cr save, reduce stack frame.
25275 Correct cfi for possible PSEUDO_RET frame setup.
25276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25277 Branch to local label emitted by PSEUDO_RET rather than
25280 2010-08-12 Andreas Schwab <schwab@redhat.com>
25283 * locale/programs/locale.c (print_assignment): New function.
25284 (show_locale_vars): Use it.
25286 2010-08-11 Ulrich Drepper <drepper@redhat.com>
25288 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25290 (struct statfs64): Likewise.
25291 (_STATFS_F_FLAGS): Define.
25292 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25293 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25294 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25295 (ST_VALID): Define locally.
25296 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25297 __statvfs_getflags, use the provided value.
25298 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25299 __ASSUME_STATFS_F_FLAGS.
25301 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25303 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25304 Add sys/fanotify.h.
25305 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25306 fanotify_mask for GLIBC_2.13.
25307 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25308 fanotify_init and fanotify_mark.
25309 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25310 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25312 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25314 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25315 prlimit64 for GLIBC_2.13.
25316 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25318 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25321 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25322 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25323 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25324 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25326 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25329 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25330 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25332 * nss/Makefile: Add rules to build and run tst-nss-test1.
25333 * shlib-versions: Add entry for libnss_test1.
25334 * nss/nss_test1.c: New file.
25335 * nss/tst-nss-test1.c: New file.
25337 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25338 (__nss_configure_lookup): Set appropriate entry in
25339 __nss_configure_lookup to true.
25340 * nss/nsswitch.h: Define enum with indeces of databases in
25341 databases and __nss_database_custom arrays. Declare
25342 __nss_database_custom.
25343 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25344 to avoid using nscd when custom rules are installed.
25345 * nss/getXXbyYY_r.c: Likewise.
25346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25348 * nss/nss_files/files-parse.c: Whitespace fixes.
25350 2010-08-09 Ulrich Drepper <drepper@redhat.com>
25353 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25354 * posix/fnmatch_loop.c: Likewise.
25356 2010-07-17 Andi Kleen <ak@linux.intel.com>
25358 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25359 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25360 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25361 * Versions.def [GLIBC_2.13]: Add.
25363 2010-08-06 Ulrich Drepper <drepper@redhat.com>
25365 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25366 Also fail if tpwd after pwuid call is NULL.
25368 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25370 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25371 when converting to ms.
25373 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25375 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25376 EOPNOTSUPP errors with ENOTTY.
25377 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25378 EOPNOTSUPP errors with ENOTTY.
25380 2010-07-31 Ulrich Drepper <drepper@redhat.com>
25382 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25383 Add strcasecmp_l-ssse3.
25384 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25386 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25387 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25388 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25390 2010-07-30 Ulrich Drepper <drepper@redhat.com>
25392 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25394 * string/Makefile (strop-tests): Add strcasecmp.
25395 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25396 strcasecmp_l-nonascii.
25397 (gen-as-const-headers): Add locale-defines.sym.
25398 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25399 * sysdeps/x86_64/strcasecmp.S: New file.
25400 * sysdeps/x86_64/strcasecmp_l.S: New file.
25401 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25402 * sysdeps/x86_64/locale-defines.sym: New file.
25403 * string/test-strcasecmp.c: New file.
25405 * string/test-strcasestr.c: Test both ends of the range of characters.
25406 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25408 2010-07-29 Roland McGrath <roland@redhat.com>
25411 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25413 2010-07-27 Ulrich Drepper <drepper@redhat.com>
25415 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25418 2010-07-27 Andreas Schwab <schwab@redhat.com>
25420 * manual/memory.texi (Malloc Tunable Parameters): Document
25423 2010-07-26 Roland McGrath <roland@redhat.com>
25426 * configure.in (-fgnu89-inline check): Set and substitute
25427 gnu89_inline, not libc_cv_gnu89_inline.
25428 * configure: Regenerated.
25429 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25431 2010-07-26 Ulrich Drepper <drepper@redhat.com>
25433 * string/test-strnlen.c: New file.
25434 * string/Makefile (strop-tests): Add strnlen.
25435 * string/tester.c (test_strnlen): Add a few more test cases.
25436 * string/tst-strlen.c: Better error reporting.
25438 * sysdeps/x86_64/strnlen.S: New file.
25440 2010-07-24 Ulrich Drepper <drepper@redhat.com>
25442 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25443 lower-latency instructions.
25445 2010-07-23 Ulrich Drepper <drepper@redhat.com>
25447 * string/test-strcasestr.c: New file.
25448 * string/test-strstr.c: New file.
25449 * string/Makefile (strop-tests): Add strstr and strcasestr.
25450 * string/str-two-way.h: Don't undefine MAX.
25451 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25453 2010-07-21 Andreas Schwab <schwab@redhat.com>
25455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25456 strcasestr-nonascii.
25457 (CFLAGS-strcasestr-nonascii.c): Define.
25458 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25459 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25460 Remove unused attribute.
25462 2010-07-20 Roland McGrath <roland@redhat.com>
25464 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25465 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25466 ld.so.cache was broken. With it, there is no way to disable dsocaps
25467 like LD_HWCAP_MASK can disable hwcaps.
25469 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25471 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25473 2010-07-16 Ulrich Drepper <drepper@redhat.com>
25475 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25476 call in strcasestr.
25477 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25478 __strcasestr_sse42_nonascii.
25479 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25480 strcasestr-nonascii.c.
25481 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25483 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
25485 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25486 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25487 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25488 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25490 2010-07-09 Ulrich Drepper <drepper@redhat.com>
25492 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25495 2010-07-06 Andreas Schwab <schwab@redhat.com>
25498 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25501 2010-07-06 Ulrich Drepper <drepper@redhat.com>
25503 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25504 _PC_PIPE_BUF using F_GETPIPE_SZ.
25506 2010-07-05 Roland McGrath <roland@redhat.com>
25508 * manual/arith.texi (Rounding Functions): Fix rint description
25509 implicit in round description.
25511 2010-07-02 Ulrich Drepper <drepper@redhat.com>
25513 * elf/Makefile: Fix linking for a few tests to make recent linker
25516 2010-06-30 Andreas Schwab <schwab@redhat.com>
25518 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25519 $(common-objpfx)libc_nonshared.a.
25521 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
25523 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25524 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25525 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25526 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25527 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25528 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25529 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25530 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25545 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25546 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25547 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25548 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25549 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25550 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25551 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25552 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25553 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25554 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25555 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25556 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25572 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25574 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25575 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25576 * string/memmove.c (memmove): Renamed to ...
25577 (MEMMOVE): ...this. Default to memmove.
25578 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25579 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25582 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25583 mempcpy-ssse3-back memmove-ssse3-back.
25584 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25585 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25586 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25587 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25588 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25589 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25590 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25591 * sysdeps/x86_64/multiarch/memmove.c: New file.
25592 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25593 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25594 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25595 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25596 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25597 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25599 (index_Fast_Copy_Backward): Define.
25600 (HAS_ARCH_FEATURE): Define.
25601 (HAS_FAST_REP_STRING): Define.
25602 (HAS_FAST_COPY_BACKWARD): Define.
25604 2010-06-21 Andreas Schwab <schwab@redhat.com>
25606 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25607 Restore proper fallback handling.
25609 2010-06-19 Ulrich Drepper <drepper@redhat.com>
25612 * posix/group_member.c (__group_member): Correct checking loop.
25614 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25615 OOM in getpwuid_r correctly. Return error number when the caller
25616 should return, otherwise -1.
25617 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25618 call returning > 0 value.
25619 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25621 2010-06-07 Andreas Schwab <schwab@redhat.com>
25623 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25624 libc_nonshared.a from targets in modules-names.
25626 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25628 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25631 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
25633 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25634 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25635 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25636 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25638 2010-06-02 Andreas Schwab <schwab@redhat.com>
25640 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25642 2010-06-14 Ulrich Drepper <drepper@redhat.com>
25644 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25646 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25647 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25648 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25649 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25650 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25651 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25653 2010-06-14 Roland McGrath <roland@redhat.com>
25655 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25657 2010-06-07 Jakub Jelinek <jakub@redhat.com>
25659 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25660 __REDIRECT followed by __THROW.
25661 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25662 * posix/getopt.h (getopt): Likewise.
25664 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25666 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25667 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25668 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25670 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25671 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25673 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
25675 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25677 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25681 Properly check family and model.
25683 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25685 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25687 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
25689 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25691 2010-05-21 Ulrich Drepper <drepper@redhat.com>
25693 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25696 2010-05-19 Andreas Schwab <schwab@redhat.com>
25698 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25701 2010-05-21 Andreas Schwab <schwab@redhat.com>
25703 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25704 and internal_recvmmsg.
25705 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25706 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25707 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25708 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25710 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25711 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25712 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25714 2010-05-20 Andreas Schwab <schwab@redhat.com>
25716 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25718 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
25720 POWER7 optimizations.
25721 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25722 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25724 2010-05-19 Ulrich Drepper <drepper@redhat.com>
25726 * version.h: Update for 2.13 development version.
25728 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
25730 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25731 exceptions. Return 0.
25733 2010-05-07 Roland McGrath <roland@redhat.com>
25735 * elf/ldconfig.c (main): Add a const.
25737 2010-05-06 Ulrich Drepper <drepper@redhat.com>
25739 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25740 (args_options): Add no-idn option.
25741 (ahosts_keys_int): Add idn_flags to ai_flags.
25742 (parse_option): Handle 'i' option to clear idn_flags.
25744 * malloc/malloc.c (_int_free): Possible race in the most recently
25745 added check. Only act on the data if no current modification
25748 See ChangeLog.17 for earlier changes.